Convert dlfcn/tststatic2 to use test-skeleton.
[glibc.git] / ChangeLog
blob0b5c27d4898e139362795c4dcb0a7a430060c322
1 2015-02-27  Roland McGrath  <roland@hack.frob.com>
3         * dlfcn/tststatic2.c (main): Converted to ...
4         (do_test): ... this.
5         (TEST_FUNCTION): New macro.
6         Include test-skeleton.c.
8 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
10         [BZ #17711]
11         * elf/Makefile (tests): Add vismain only if PIE is enabled.
12         (tests-pie): Add vismain.
13         (CFLAGS-vismain.c): New.
14         * elf/vismain.c: Add comments for PIE requirement.
16 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
18         [BZ #18046]
19         [BZ #18047]
20         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
21         0x1p-56L as threshold for just returning the argument.
22         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
23         0x1p-32L as threshold for just returning the argument.
24         * math/auto-libm-test-in: Add more tests of atanh.
25         * math/auto-libm-test-out: Regenerated.
26         * sysdeps/i386/fpu/libm-test-ulps: Update.
27         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
29 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
31         * string/bcopy.c (bcopy): Call memmove for performance.
33 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
35         * string/bzero.c (__bzero): Call memset for performance.
37 2015-02-27  John David Anglin  <dave.anglin@bell.net>
39         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
40         to 00100000.
42 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
44         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
46 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
48         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
49         (__kernel_standard): Use CSTR macro when setting exc.name.
50         * sysdeps/ieee754/Makefile [$(subdir) = math]
51         (CFLAGS-k_standard.c): Remove variable.
53         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
54         setting p and q from "else if" to "else".
55         (qzero): Likewise.
56         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
57         (qone): Likewise.
58         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
59         (qzerof): Likewise.
60         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
61         (qonef): Likewise.
62         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
63         (qzero): Likewise.
64         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
65         (qone): Likewise.
67         [BZ #18038]
68         [BZ #18039]
69         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
70         return pi/2 for arguments below 0x1p-113L.
71         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
72         return pi/2 for arguments below 0x1p-106L.
73         * math/auto-libm-test-in: Add more tests of acos.
74         * math/auto-libm-test-out: Regenerated.
76         [BZ #16351]
77         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
78         (MO): New macro.
79         (__ieee754_asin): Force underflow exception for results with small
80         absolute value.
81         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
82         (MO): New macro.
83         (__ieee754_asinf): Force underflow exception for results with
84         small absolute value.
85         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
86         (__ieee754_asin): Force underflow exception for results with small
87         absolute value.
88         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
89         (__ieee754_asinf): Force underflow exception for results with
90         small absolute value.
91         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
92         (__ieee754_asinl): Force underflow exception for results with
93         small absolute value.
94         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
95         (__ieee754_asinl): Force underflow exception for results with
96         small absolute value.
97         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
98         (__ieee754_asinl): Force underflow exception for results with
99         small absolute value.
100         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
101         Include <math.h>.
102         * math/auto-libm-test-in: Do not mark underflow exceptions as
103         possibly missing for bug 16351.
104         * math/auto-libm-test-out: Regenerated.
106         [BZ #18030]
107         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
108         of power of 2 down when low part has opposite sign.
109         * math/libm-test.inc (logb_test_data): Add more tests.
111 2015-02-26  Andreas Schwab  <schwab@suse.de>
113         [BZ #18032]
114         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
115         over collating symbol inside a bracket expression.  Minor cleanup.
116         * posix/tst-fnmatch3.c (do_test): Add test case.
118 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
120         [BZ #18029]
121         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
122         Adjust exponent of power of 2 down when low part has opposite
123         sign.
124         * math/libm-test.inc (ilogb_test_data): Add more tests.
126 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
128         [BZ #15969]
129         * locale/findlocale.c (_nl_find_locale): Fix constness error in
130         the previous change.
132         [BZ #15969]
133         * locale/findlocale.c (_nl_find_locale): Retry archive search
134         after alias expansion.
136 2015-02-25  Roland McGrath  <roland@hack.frob.com>
138         * iconv/tst-iconv3.c (main): Converted to ...
139         (do_test): ... this.
140         (TEST_FUNCTION): New macro.
141         Include test-skeleton.c.
143         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
144         (convert): Make function static.
145         (test_unalign): Likewise.  Add const to argument pointee types.
146         (main): Replace with static function do_test.
147         Print "Succeeded." only if RET is zero.
148         (TEST_FUNCTION): New macro.
149         Include test-skeleton.c.
151         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
152         returns a null pointer.
154 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
156         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
157         to __memcpy_ppc only for static builds.
159 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
161         [BZ #18020]
162         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
163         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
164         * math/auto-libm-test-in: Add more tests of asinh.
165         * math/auto-libm-test-out: Regenerated.
166         * sysdeps/i386/fpu/libm-test-ulps: Update.
167         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
169 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
171         [BZ #15850]
172         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
173         and ip6_mtuinfo definitions here.
174         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
175         in this define too.  Update comment.
177 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
179         * elf/sprof.c (load_shobj): Tweak error message to match others.
181 2015-02-24  Kevin Easton  <kevin@guarana.org>
183         [BZ #16145] (partial fix)
184         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
185         to reduce lock contention.
187 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
189         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
190         (struct timex): Update time comment.
191         (ADJ_SETOFFSET): Define.
193 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
195         [BZ #18019]
196         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
197         2**56 not 2**28 as threshold for log (2x) formula.
198         * math/auto-libm-test-in: Add more tests of acosh.
199         * math/auto-libm-test-out: Regenerated.
200         * sysdeps/i386/fpu/libm-test-ulps: Update.
201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
203 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
205         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
206         parenthesis around the buf assignment.
207         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
209 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
211         [BZ #16783]
212         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
213         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
214         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
215         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
216         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
217         * math/libm-test.inc (scalb_test_data): Add more tests.
219 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
221         [BZ #17916]
222         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
223         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
225 2015-02-24  Eric Rannaud  <e@nanocritical.com>
227         [BZ #17523]
228         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
229         * io/bits/fcntl2.h (open): Use it.
230         (openat): Likewise.
231         * io/open.c (__libc_open): Likewise.
232         * io/open64.c (__libc_open64): Likewise.
233         * io/open64_2.c (__open64_2): Likewise.
234         * io/open_2.c (__open_2): Likewise.
235         * io/openat.c (__openat): Likewise.
236         * io/openat64.c (__openat64): Likewise.
237         * io/openat64_2.c (__openat64_2): Likewise.
238         * io/openat_2.c (__openat_2): Likewise.
239         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
240         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
241         * sysdeps/posix/open64.c (__libc_open64): Likewise.
242         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
243         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
244         (__open_nocancel): Likewise.
245         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
246         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
247         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
249 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
251         [BZ #14841]
252         * resolv/gethnamaddr.c (getanswer): Skip logging if
253         RES_USE_DNSSEC is set.
254         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
256 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
258         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
260 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
262         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
263         201304L, for Unicode 7.
265 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
267         [BZ #17836]
268         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
269         shared library.  Add gmon-start.os otherwise.
270         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
271         $(objpfx)gmon-start.os if builing shared library.
272         ($(objpfx)g$(static-start-installed-name)): Likewise.
274 2015-02-23  Andreas Schwab  <schwab@suse.de>
276         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
278 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
280         [BZ #17269]
281         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
282         (enlarge_userbuf): Likewise.
284 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
286         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
287         * math/atest-exp.c (TIMEOUT): Adjust to 200.
288         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
289         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
291 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
293         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
294         expression inside statement expression.
296 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
298         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
299         <sysdeps/nptl/lowlevellock.h> and remove macros and
300         functions that are now defined there.
301         (SYS_futex): Remove.
302         (lll_compare_and_swap): Remove.
303         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
305 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
307         [BZ #17999]
308         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
309         instead of scandirat.
310         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
311         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
312         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
313         __scandirat.
314         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
315         (__scandirat): Declare.  Use libc_hidden_proto.
316         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
317         Remove variable.
318         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
320 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
322         [BZ #15319]
323         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
324         (MO): New macro.
325         (__ieee754_atan2): For results with small absolute value, force
326         underflow exception and remove excess range and precision from
327         return value.
328         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
329         (MO): New macro.
330         (__ieee754_atan2f): For results with small absolute value, force
331         underflow exception and remove excess range and precision from
332         return value.
333         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
334         (MO): New macro.
335         (__atan): For results with small absolute value, force underflow
336         exception and remove excess range and precision from return value.
337         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
338         (MO): New macro.
339         (__atanf): For results with small absolute value, force underflow
340         exception and remove excess range and precision from return value.
341         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
342         <math.h>.
343         (__ieee754_atan2): Force underflow exception for results with
344         small absolute value.
345         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
346         <math_private.h>.
347         (atan): Force underflow exception for results with small absolute
348         value.
349         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
350         (__atanf): Force underflow exception for results with small
351         absolute value.
352         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
353         <math.h>.
354         (__atanl): Force underflow exception for results with small
355         absolute value.
356         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
357         (__atanl): Force underflow exception for results with small
358         absolute value.
359         * sysdeps/x86/fpu/bits/mathinline.h
360         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
361         (__ieee754_atan2): Only define inline for long double.
362         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
363         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
364         * math/auto-libm-test-in: Do not mark underflow exceptions as
365         possibly missing for bug 15319.  Add more tests of atan2.
366         * math/auto-libm-test-out: Regenerated.
367         * math/libm-test.inc (casin_test_data): Do not mark underflow
368         exceptions as possibly missing for bug 15319.
369         (casinh_test_data): Likewise.
370         * sysdeps/i386/fpu/libm-test-ulps: Update.
372 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
374         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
375         * sysdeps/mips/bits/endian.h: Fix comments.
377 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
379         [BZ #17996]
380         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
381         (hdestroy_r): Likewise.
382         (hsearch_r): Likewise.
383         (__hcreate_r): Declare and use libc_hidden_proto.
384         (__hdestroy_r): Likewise.
385         (__hsearch_r): Likewise.
386         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
387         (hcreate): Call __hcreate_r instead of hcreate_r.
388         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
389         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
390         as weak alias of __hcreate_r.
391         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
392         __hdestroy_r.
393         (hsearch_r): Rename to __hsearch_r and define as weak alias of
394         __hsearch_r.
395         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
396         Remove variable.
397         (test-xfail-XPG4/search.h/linknamespace): Likewise.
398         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
399         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
400         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
402 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
404         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
405         arena_lock into a single arena_get.
407 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
409         * dl-reloc.c: Inlucde libc-internal.h.
410         (_dl_try_allocate_static_tls): Call ALIGN_UP.
411         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
412         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
413         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
414         (grow_heap): Likewise.
415         * malloc/malloc.c: Include libc-internal.h.
416         (do_check_malloc): Call powerof2.
417         (sysmalloc): Use pagesize. Call ALIGN_UP.
418         (systrim): Use pagesize.
419         (mremap_chunk): Use pagesize. Call ALIGN_UP.
420         (__libc_valloc): Use pagesize.
421         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
423 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
425         [BZ #17991]
426         * include/sys/resource.h (__getrlimit64): Declare.  Use
427         libc_hidden_proto.
428         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
429         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
430         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
431         getrlimit64.
432         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
433         __getrlimit64.
434         [!getrlimit64] (getrlimit64): Define as weak alias of
435         __getrlimit64.  Use libc_hidden_weak.
436         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
437         using __getrlimit64 not __new_getrlimit64.
438         (__GI_getrlimit64): Likewise.
439         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
440         Likewise.
441         (__GI_getrlimit64): Likewise.
442         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
444         (getrlimit): Add __getrlimit64 alias.
445         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
446         Likewise.
447         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
448         Remove variable.
449         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
450         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
452 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
454         * libio/fileops.c: Add missing sys/mman.h
455         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
457 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
459         * manual/math.texi (Errors in Math Functions): Clarify goals
460         regarding inexact and underflow exceptions.
462 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
464         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
465         * sysdeps/mips/memset.S: Ditto.
467 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
469         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
471 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
473         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
474         (__v1longjmp): Remove versioned symbol.
475         (__v1siglongjmp): Remove alias and versioned symbol.
476         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
477         (__v2siglongjmp): Likewise.
479 2015-02-16  Torvald Riegel  <triegel@redhat.com>
481         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
483 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
485         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
487 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
489         [BZ #17987]
490         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
491         zero result does not depend on the sign resulting from
492         subtraction.
493         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
494         Likewise.
495         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
496         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
497         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
498         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
499         * math/libm-test.inc (remquo_test_data): Add more tests.
501 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
503         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
504         Problem reported by J William Piggott.
506 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
508         [BZ #17978]
509         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
510         products 4 * y and 2 * y where those would overflow.
511         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
512         Likewise.
513         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
514         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
515         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
516         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
517         * math/libm-test.inc (remquo_test_data): Add more tests.
519         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
521         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
522         [defined _COMPILING_NEWLIB].
523         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
524         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
526         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
527         [!defined __mips_isa_rev || __mips_isa_rev < 6].
529 2015-02-16  Torvald Riegel  <triegel@redhat.com>
531         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
532         acquired.
534 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
536         [BZ #17792]
537         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
538         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
539         HOST_STACK_END_ADDR): Likewise.
541 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
543         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
544         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
545         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
547 2015-02-13  Roland McGrath  <roland@hack.frob.com>
549         * sysdeps/generic/c++-types.data: New file.
550         * sysdeps/generic/ld.abilist: New file.
551         * sysdeps/generic/libBrokenLocale.abilist: New file.
552         * sysdeps/generic/libanl.abilist: New file.
553         * sysdeps/generic/libc.abilist: New file.
554         * sysdeps/generic/libcrypt.abilist: New file.
555         * sysdeps/generic/libdl.abilist: New file.
556         * sysdeps/generic/libm.abilist: New file.
557         * sysdeps/generic/libpthread.abilist: New file.
558         * sysdeps/generic/libresolv.abilist: New file.
559         * sysdeps/generic/librt.abilist: New file.
561 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
563         [BZ #17569]
564         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
565         Compute absolute value of x as modified by fmod, not original
566         value of x.
567         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
568         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
569         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
570         RUN_TEST_ffI_f1_mod8.
571         (remquo_test_data): Add more tests.
573 2015-02-13  Roland McGrath  <roland@hack.frob.com>
575         * sysdeps/init_array/pt-crti.S: New file.
577 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
579         [BZ #17967]
580         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
581         __builtin_fmaf instead of relying on contraction of a * b + c.
583 2015-02-12  J William Piggott  <elseifthen@gmx.com>
585         [BZ #17969]
586         * manual/time.texi: correct the zoneinfo path in the TZ Variable
587         node.
589 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
591         [BZ #17964]
592         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
593         __builtin_fma instead of relying on contraction of a * b + c.
595 2015-02-12  Roland McGrath  <roland@hack.frob.com>
597         * Makeconfig (ASFLAGS): Add -Werror=undef.
598         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
599         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
600         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
602         * Makeconfig (after-link): New variable.
603         (+link-pie, +link-pie-tests): Use it.
604         (+link-static, +link-static-tests): Likewise.
605         (+link, +link-tests): Likewise.
606         * Makerules (build-module, build-module-asneeded): Likewise.
607         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
608         Likewise.
609         * elf/Makefile ($(objpfx)ld.so): Likewise.
611 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
613         [BZ #17965]
614         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
615         both struct timeval and struct timespec.
617 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
619         [BZ #16560]
620         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
621         and redefine.
622         (__ieee754_exp2l): Do not multiply small fractional parts by
623         M_LN2l.
624         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
625         small argument.
626         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
627         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
628         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
629         * math/auto-libm-test-in: Add more tests of exp2.
630         * math/auto-libm-test-out: Regenerated.
632 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
634         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
635         unaligned path.
637 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
639         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
640         little endian.
642 2015-02-12  Andreas Schwab  <schwab@suse.de>
644         [BZ #15790]
645         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
646         Filter out elision flags from value returned in kind.
647         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
648         * nptl/tst-pthread-mutexattr.c: New file.
650 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
652         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
653         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
654         into gnu-gnu, and update comment to refer to abi-tags.
656 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
658         [BZ #15467]
659         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
660         (__sincos): Set errno to EDOM for infinite argument.
661         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
662         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
663         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
664         (__sincosl): Set errno to EDOM for infinite argument.
665         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
666         (__sincosl): Set errno to EDOM for infinite argument.
667         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
668         (__sincosl): Set errno to EDOM for infinite argument.
669         * math/libm-test.inc (sincos_test_data): Test errno setting.
671 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
673         * string/strxfrm_l.c: Remove #define STRCMP.
674         * string/strcoll_l.c: Remove #define STRLEN.
675         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
676         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
678 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
680         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
681         * sysdeps/mips/mips32/sfp-machine.h: ... here.
682         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
683         * sysdeps/mips/mips64/Makefile: ... here.
684         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
685         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
686         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
687         * sysdeps/mips/mips64/sfp-machine.h: ... here.
688         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
689         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
690         * sysdeps/mips/mips64/n64/Implies: Likewise.
692 2015-02-10  Roland McGrath  <roland@hack.frob.com>
694         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
695         <sys/time.h>, <string.h>, and <errno.h>.
696         (dest_offset, dest_address, value, zero): Remove unused variables.
697         (ldouble): Remove typedef.
698         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
699         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
700         1).  Fix code style.
701         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
702         (check): Function removed.
703         (CHECK): New macro.
704         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
705         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
706         Don't call set_sigaction_FP and remove_sigaction_FP here.
707         (ldouble_test): Just use 'long double' as macro argument, no need for
708         the 'ldouble' typedef.
709         (do_test): Set up SIGFPE handler at start, using plain signal rather
710         than sigaction.  Fix code style.
712 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
714         [BZ #17949]
715         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
716         jump label.
718 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
720         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
721         * sysdeps/powerpc/powerpc32/configure: Regenerated.
723         * sysdeps/powerpc/configure.ac: Remove file.
724         * sysdeps/powerpc/configure: Likewise.
726         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
727         [sysdep_routines]: Remove wordcopy-power6 object.
728         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
729         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
730         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
731         (__memmove_ppc32): Likewise.
732         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
733         file.
734         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
735         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
736         Remove preprocessor.
738         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
739         [sysdep_routines]: Remove wide chars objects.
740         [wcsmbs]: New rule for wide char objects.
742         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
743         Remove wordcopy-power6 obejct.
744         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
745         Use local call for wordcopy and memcpy symbols.
746         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
747         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
748         implementation for loader.
749         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
751         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
752         Remove wordcopy-power7 object.
753         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
754         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
755         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
756         (_wordcopy_fwd_dest_aligned): Likewise.
757         (_wordcopy_bwd_aligned): Likewise.
758         (_wordcopy_bwd_dest_aligned): Likewise.
760         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
761         Rewrite to call __memmove_ppc instead of include default
762         implementation.
764         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
765         Remove wide chars objects.
766         [wcsmbs]: New rule for wide char objects.
768 2015-02-09  Andreas Schwab  <schwab@suse.de>
770         [BZ #17912]
771         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
772         in terms of __O_DIRECTORY.
774 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
776         * time/getdate.c: Include <stdbool.h>.
777         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
778         call PTR_MANGLE.
779         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
780         PTR_DEMANGLE.
782 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
784         Add ersatz _Static_assert on older C hosts
785         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
786         pre-C11 C platform that is not known to support _Static_assert.
788 2015-02-07  Richard Braun  <rbraun@sceen.net>
790         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
791         sigstate.
792         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
794 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
796         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
797         priority against unexistent AIO_PRIO_DELTA_MAX.
798         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
799         instead of int.
800         * misc/fchflags.c (fchflags): Likewise.
801         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
802         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
803         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
804         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
805         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
806         Declare macros.
807         [__USE_MISC] (chflags, fchflags): Declare functions.
808         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
809         EINVAL when nfds is greater than FD_SETSIZE.
810         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
811         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
812         45.
813         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
814         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
815         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
816         MACH_RCV_TIMED_OUT.
817         * hurd/hurd/signal.h (_hurd_self_sigstate,
818         _hurd_critical_section_lock, _hurd_critical_section_unlock):
819         Explicit casts from void *.
820         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
821         * abi-tags: Rename gnu-gnu os into gnu.
823         [BZ #4719]
824         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
825         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
826         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
827         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
828         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
829         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
831         [BZ #17944]
832         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
833         duplicates ADDR->sun_path with sockaddr LEN limitation.
834         * sysdeps/mach/hurd/connect.c: Include <string.h>
835         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
836         * sysdeps/mach/hurd/sendmsg.c: Likewise.
837         * sysdeps/mach/hurd/sendto.c: Likewise.
838         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
839         implementing it by hand.
841 2015-02-06  Roland McGrath  <roland@hack.frob.com>
843         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
844         Use sfi_breg on ldr.
845         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
846         Likewise.
848         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
849         it's defined.
850         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
851         Test SIGSETXID only if it's defined.
853         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
855         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
856         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
858         * nptl/tst-align2.c: Moved ...
859         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
860         * nptl/Makefile (tests): Remove tst-align2.
861         * sysdeps/unix/sysv/linux/Makefile
862         [$(subdir) = nptl] (tests): Add tst-align-clone.
863         * nptl/tst-getpid1.c: Moved ...
864         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
865         * nptl/tst-getpid2.c: Moved ...
866         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
867         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
868         * sysdeps/unix/sysv/linux/Makefile
869         [$(subdir) = nptl] (tests): ... here.
870         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
871         * sysdeps/unix/sysv/linux/Makefile
872         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
874         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
875         Drop trailing \n from perror argument.  Use return rather than exit.
877         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
878         on [SA_SIGINFO].
879         * nptl/tst-cancel21.c (do_test): Likewise.
880         * debug/tst-backtrace6.c: Include <signal.h> first thing.
881         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
882         [!SA_SIGINFO]: Make it a stub test.
884         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
885         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
887         * posix/tst-getlogin.c: Move to ...
888         * login/tst-getlogin.c: ... here.
889         * posix/Makefile (tests): Move tst-getlogin to ...
890         * login/Makefile (tests): ... here.
892         * libio/tst-atime.c (do_test): Move local variables SV and E
893         inside [ST_NOATIME] conditional.
895         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
897         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
899         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
900         (wait_code): New function replaces macro.
901         Call nanosleep rather than syscall.
903         * nptl/pt-system.c: Rewritten.  Put everything under
904         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
905         Use IFUNC to redirect when possible.
907         * nptl/pt-longjmp.c: Rewritten.  Put everything under
908         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
909         Use IFUNC to redirect when possible.
911         * nptl/pt-fork.c: Rewritten.  Put everything under
912         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
913         Use IFUNC to redirect when possible.
914         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
916         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
917         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
918         unconditionally nowadays.  This included the only reference to
919         __vdso_clock_gettime that appears outside libc proper.
920         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
921         Remove version set (containing only __vdso_clock_gettime).
922         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
923         Add attribute_hidden.
924         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
925         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
926         libc_hidden_data_def.
927         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
928         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
930         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
931         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
932         setrpcent, and getrpcport to ...
933         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
934         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
935         getrpcbynumber_r, and getrpcent_r to ...
936         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
937         * inet/getrpcbyname.c: Moved ...
938         * sunrpc/getrpcbyname.c: ... here.
939         * inet/getrpcbyname_r.c: Moved ...
940         * sunrpc/getrpcbyname_r.c: ... here.
941         * inet/getrpcbynumber.c: Moved ...
942         * sunrpc/getrpcbynumber.c: ... here.
943         * inet/getrpcbynumber_r.c: Moved ...
944         * sunrpc/getrpcbynumber_r.c: ... here.
945         * inet/getrpcent.c: Moved ...
946         * sunrpc/getrpcent.c: ... here.
947         * inet/getrpcent_r.c: Moved ...
948         * sunrpc/getrpcent_r.c: ... here.
949         * inet/Makefile (routines): Move those to ...
950         * sunrpc/Makefile (routines): ... here.
951         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
952         the $(subdirs) list.
953         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
954         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
955         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
956         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
958         * elf/Makefile (routines): Include $(all-dl-routines), not just
959         $(dl-routines).
960         (rtld-routines): Likewise.  Use = rather than :=.
961         * sysdeps/aarch64/Makefile [$(subdir) = elf]
962         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
963         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
964         * sysdeps/arm/Makefile: Likewise.
965         * sysdeps/i386/Makefile: Likewise.
966         * sysdeps/x86_64/Makefile: Likewise.
967         * sysdeps/hppa/Makefile [$(subdir) = elf]
968         (sysdep_routines, sysdep-rtld-routines): Don't add
969         $(sysdep-dl-routines) to these.
970         * sysdeps/ia64/Makefile: Likewise.
971         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
972         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
973         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
974         Don't add dl-static to these; sysdep-dl-routines alone is enough.
975         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
976         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
977         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
978         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
979         * sysdeps/powerpc/Makefile [$(subdir) = elf]
980         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
981         these; sysdep-dl-routines alone is enough.
983 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
985         [BZ #17932]
986         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
987         where multiplication results in zero and third argument is finite
988         and nonzero.
989         * math/auto-libm-test-in: Add more tests of fma.
990         * math/auto-libm-test-out: Regenerated.
992         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
993         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
994         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
995         (_FP_CMP_EQ): Likewise.
996         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
998         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
999         extra argument CHECK_NAN.  Redefine as wrapper around
1000         _FP_EXTEND_CNAN.
1002 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
1004         * version.h (RELEASE): Set to "stable".
1005         (VERSION): Set to "2.21"
1006         * include/features.h (__GLIBC_MINOR__): Set to 21.
1008         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
1010 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
1011             Paul Eggert  <eggert@cs.ucla.edu>
1013         [BZ #16618]
1014         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
1015         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
1016         size in bytes. Store needed elements in wpmax. Use needed size
1017         in bytes for extend_alloca.
1019 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
1021         * manual/install.texi: Latest tested versions are GCC 4.9.2,
1022         binutls 2.25, and texinfo 5.2.
1023         * INSTALL: Regenerate.
1024         * sysdeps/nios2/configure: Regenerate.
1025         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
1026         * manual/contrib.texi: Update.
1027         * po/be.po: Update.
1028         * po/bg.po: Update.
1029         * po/ca.po: Update.
1030         * po/cs.po: Update.
1031         * po/da.po: Update.
1032         * po/de.po: Update.
1033         * po/el.po: Update.
1034         * po/eo.po: Update.
1035         * po/es.po: Update.
1036         * po/fi.po: Update.
1037         * po/fr.po: Update.
1038         * po/gl.po: Update.
1039         * po/hr.po: Update.
1040         * po/hu.po: Update.
1041         * po/ia.po: Update.
1042         * po/id.po: Update.
1043         * po/it.po: Update.
1044         * po/ja.po: Update.
1045         * po/ko.po: Update.
1046         * po/lt.po: Update.
1047         * po/nb.po: Update.
1048         * po/nl.po: Update.
1049         * po/pl.po: Update.
1050         * po/pt_BR.po: Update.
1051         * po/ru.po: Update.
1052         * po/rw.po: Update.
1053         * po/sk.po: Update.
1054         * po/sl.po: Update.
1055         * po/sv.po: Update.
1056         * po/tr.po: Update.
1057         * po/uk.po: Update.
1058         * po/vi.po: Update.
1059         * po/zh_CN.po: Update.
1060         * po/zh_TW.po: Update.
1062         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
1063         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
1064         * sysdeps/hppa/dl-irel.h: Remove #warning.
1065         * sysdeps/hppa/entry.h: Provide prototype for
1066         __canonicalize_funcptr_for_compare and cast argument.
1067         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
1068         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
1069         * sysdeps/hppa/sotruss-lib.c: New file.
1070         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
1071         (atomic_compare_and_exchange_val_acq): Use __typeof__.
1072         (atomic_compare_and_exchange_bool_acq): Likewise.
1073         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
1074         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
1076         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
1077         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
1078         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
1080 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
1082         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
1083         called function in non-PIC case.
1085 2015-01-31  David S. Miller  <davem@davemloft.net>
1087         * sysdeps/sparc/sparc32/bits/atomic.h
1088         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
1089         unlock not after it.
1090         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
1091         volatile register usage warnings from the compiler.
1093         * sysdeps/sparc/nptl/sem_init.c: Delete.
1094         * sysdeps/sparc/nptl/sem_post.c: Delete.
1095         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
1096         * sysdeps/sparc/nptl/sem_wait.c: Delete.
1097         * sysdeps/sparc/sparc32/sem_init.c: New file.
1098         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
1099         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
1100         padding explicitly initialized.
1101         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
1102         padding for in-semaphore spinlock.
1103         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
1104         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
1105         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
1106         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
1107         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
1108         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
1109         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
1110         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
1111         version.
1112         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
1113         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
1115 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
1117         [BZ #17801]
1118         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1119         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
1120         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
1121         New.
1122         (index_AVX_Fast_Unaligned_Load): Likewise.
1123         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
1124         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
1125         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
1126         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
1127         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
1128         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
1129         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
1130         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
1131         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
1133 2015-01-29  Andreas Schwab  <schwab@suse.de>
1135         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
1137 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
1139         [BZ #17892]
1140         * nscd/nscd_stat.c (send_stats): Initialize DATA.
1142 2015-01-28  Martin Sebor  <msebor@redhat.com>
1144         * math/README.libm-test: Clarify. Add "How to read the test output."
1146 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
1148         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
1149         Define to 0.
1151 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
1153         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
1154         (__HAVE_64B_ATOMICS): Define to 0.
1156 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1158         [BZ #17885]
1159         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
1160         value to set as new flag.
1162         [BZ #16576]
1163         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
1164         and use _ARCH_PPCSQ instead.
1165         (__ieee754_sqrt): Likewise.
1166         (__ieee754_sqrtf): Likewise.
1167         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
1168         _ARCH_PPCSQ is defined.
1169         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
1170         fsqrt instruction.
1171         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
1172         _ARCH_PPCSQ is defined.
1173         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
1174         fsqrts instruction.
1175         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
1177 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1179         * iconv/loop.c: Suppress array out of bound warning caused by GCC
1180         bug (GCC BZ #64739).
1182 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
1184         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
1185         Mark _retval as used.
1186         (lll_futex_wake_unlock): Likewise.
1187         (lll_futex_timed_wait_requeue_pi): Likewise.
1189         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
1190         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
1191         register variables.
1193         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
1194         libm_hidden_def.
1196         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
1197         (__bswap_64): Mark as __always_inline.
1199 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
1201         [BZ #15378]
1202         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
1203         when none of the search directories exist.
1205 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
1207         [BZ #17869]
1208         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
1209         power8 in .machine directive.
1211         [BZ #17868]
1212         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
1213         set dependency from opd value.
1215 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1217         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1218         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
1219         architecture.
1221 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
1223         [BZ #17870]
1224         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
1225         with uint64_t.
1226         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
1227         (uint64_t) 1.
1228         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
1229         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
1230         Replace 1UL with (uint64_t) 1.
1231         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
1232         int with uint64_t.
1234 2015-01-23  Roland McGrath  <roland@hack.frob.com>
1236         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
1237         (if_freenameindex): Likewise.
1239         * resource/getrlimit64.c: Add missing libc_hidden_def.
1241 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
1243         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
1244         __label__.
1245         (_FP_FMA): Likewise.
1246         (_FP_TO_INT_ROUND): Likewise.
1247         (_FP_FROM_INT): Likewise.
1249 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1251         [BZ #16418]
1252         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
1253         Make code racy and cancel safe.
1255 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
1257         * sysdeps/arm/unwind-resume.h: Fix copyright year.
1258         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1259         attribution.
1261         * pwd/tst-getpw.c: Rewrite.
1263         [BZ #17702]
1264         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1265         (modules-names): Add moddummy1 and moddummy2.
1266         ($(objpfx)tst-rec-dlopen): Define.
1267         * dlfcn/moddummy1.c: New file.
1268         * dlfcn/moddummy2.c: New file.
1269         * dlfcn/tst-rec-dlopen.c: New file.
1270         * elf/dl-cache.c (_dl_load_cache_lookup):
1271         Return char*. Copy result with alloca/strcpy/strdup.
1272         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1273         returns char*. Free cached. If not saving realname
1274         free cached.
1275         * elf/dl-open.c (dl_open_worker): Do not assert that
1276         _r_debug->r_state is RT_CONSISTENT.
1277         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1278         returns char*.
1280 2015-01-21  Torvald Riegel  <triegel@redhat.com>
1281             Carlos O'Donell  <carlos@redhat.com>
1283         [BZ #12674]
1284         * nptl/sem_waitcommon.c: New file.
1285         * nptl/sem_wait.c: Include sem_waitcommon.c.
1286         (__sem_wait_cleanup, do_futex_wait): Remove.
1287         (__new_sem_wait): Adapt.
1288         (__new_sem_trywait): New function.
1289         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1290         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1291         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1292         (sem_timedwait): Adapt.
1293         * nptl/sem_post.c (__new_sem_post): Adapt.
1294         (futex_wake): New function.
1295         (__old_sem_post): Add release MO fence.
1296         * nptl/sem_open.c (sem_open): Adapt.
1297         * nptl/sem_init.c (__new_sem_init): Adapt.
1298         (futex_private_if_supported): New function.
1299         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1300         (__old_sem_getvalue): Add using previous code.
1301         * sysdeps/nptl/internaltypes.h: Adapt.
1302         * nptl/tst-sem13.c (do_test): Adapt.
1303         * nptl/tst-sem11.c (main): Adapt.
1304         * nptl/sem_trywait.c: Remove.
1305         * nptl/DESIGN-sem.txt: Remove.
1306         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1307         (gen-as-const-headers): Remove structsem.sym.
1308         * nptl/structsem.sym: Remove.
1309         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1310         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1311         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1312         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1313         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1314         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1315         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1316         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1317         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1318         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1319         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1320         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1321         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1322         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1323         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1324         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1325         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1326         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1327         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1328         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1329         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1330         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1332 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
1334         * INSTALL: Regenerated.
1336         * po/libc.pot: Regenerated.
1338 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
1339             Sandra Loosemore  <sandra@codesourcery.com>
1340             Andrew Jenner  <andrew@codesourcery.com>
1341             Joseph Myers  <joseph@codesourcery.com>
1342             Nathan Sidwell  <nathan@codesourcery.com>
1344         * NEWS: Mention new Nios II port.
1345         * sysdeps/nios2/Implies: New file.
1346         * sysdeps/nios2/Makefile: New file.
1347         * sysdeps/nios2/Subdirs: New file.
1348         * sysdeps/nios2/Versions: New file.
1349         * sysdeps/nios2/__longjmp.S: New file.
1350         * sysdeps/nios2/abort-instr.h: New file.
1351         * sysdeps/nios2/backtrace.c: New file.
1352         * sysdeps/nios2/bits/endian.h: New file.
1353         * sysdeps/nios2/bits/fenv.h: New file.
1354         * sysdeps/nios2/bits/link.h: New file.
1355         * sysdeps/nios2/bits/setjmp.h: New file.
1356         * sysdeps/nios2/bsd-_setjmp.S: New file.
1357         * sysdeps/nios2/bsd-setjmp.S: New file.
1358         * sysdeps/nios2/configure: New generated file.
1359         * sysdeps/nios2/configure.ac: New file.
1360         * sysdeps/nios2/crti.S: New file.
1361         * sysdeps/nios2/crtn.S: New file.
1362         * sysdeps/nios2/dl-init.c: New file.
1363         * sysdeps/nios2/dl-machine.h: New file.
1364         * sysdeps/nios2/dl-sysdep.h: New file.
1365         * sysdeps/nios2/dl-tls.h: New file.
1366         * sysdeps/nios2/dl-trampoline.S: New file.
1367         * sysdeps/nios2/gccframe.h: New file.
1368         * sysdeps/nios2/gmp-mparam.h: New file.
1369         * sysdeps/nios2/jmpbuf-offsets.h: New file.
1370         * sysdeps/nios2/jmpbuf-unwind.h: New file.
1371         * sysdeps/nios2/ldsodefs.h: New file.
1372         * sysdeps/nios2/libc-tls.c: New file.
1373         * sysdeps/nios2/libm-test-ulps: New file.
1374         * sysdeps/nios2/machine-gmon.h: New file.
1375         * sysdeps/nios2/math-tests.h: New file.
1376         * sysdeps/nios2/math_private.h: New file.
1377         * sysdeps/nios2/memusage.h: New file.
1378         * sysdeps/nios2/nptl/Makefile: New file.
1379         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1380         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1381         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1382         * sysdeps/nios2/nptl/pthreaddef.h: New file.
1383         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1384         * sysdeps/nios2/nptl/tls.h: New file.
1385         * sysdeps/nios2/preconfigure: New file.
1386         * sysdeps/nios2/s_fma.c: New file.
1387         * sysdeps/nios2/s_fmaf.c: New file.
1388         * sysdeps/nios2/setjmp.S: New file.
1389         * sysdeps/nios2/sfp-machine.h: New file.
1390         * sysdeps/nios2/sotruss-lib.c: New file.
1391         * sysdeps/nios2/stackguard-macros.h: New file.
1392         * sysdeps/nios2/stackinfo.h: New file.
1393         * sysdeps/nios2/start.S: New file.
1394         * sysdeps/nios2/sysdep.h: New file.
1395         * sysdeps/nios2/tls-macros.h: New file.
1396         * sysdeps/nios2/tst-audit.h: New file.
1397         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1398         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1399         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1400         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1401         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1402         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1403         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1404         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1405         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1406         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1407         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1408         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1409         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1410         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1411         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1412         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1413         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1414         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1415         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1416         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1417         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1418         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1419         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1420         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1421         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1422         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1423         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1424         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1425         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1426         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1427         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1428         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1429         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1430         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1431         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1432         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1433         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1434         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1435         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1436         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1437         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1438         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1439         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1440         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1442 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1444         [BZ #17844]
1445         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1446         (getutent): Use weak_alias in non SHARED case
1447         and default_symbol_version in SHARED case.
1448         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1449         (getutent_r, pututline): Likewise.
1450         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1451         (getutid): Likewise.
1452         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1453         (getutid_r): Likewise.
1454         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1455         (getutline): Likewise.
1456         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1457         (getutline_r): Likewise.
1458         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1459         (updwtmp): Likewise.
1461 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1463         [BZ #17848]
1464         * sysdeps/s390/s390-32/memcmp.S
1465         (memcmp_g5): Rename to __memcmp_g5.
1466         * sysdeps/s390/s390-32/memcpy.S
1467         (memcpy_g5): Rename to __memcpy_g5.
1468         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1469         (memcpy_mvcle) Rename to __memcpy_mvcle.
1470         * sysdeps/s390/s390-32/memset.S
1471         (memset_g5): Rename to __memset_g5.
1472         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1473         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1474         and use prefixed functions.
1475         * sysdeps/s390/s390-32/multiarch/memcmp.S
1476         (memcmp_z196): Rename to __memcmp_z196.
1477         (memcmp_z10): Rename to __memcmp_z10.
1478         (memcmp): Set alias to __memcmp_g5.
1479         (bcmp): Set alias to __memcmp_g5.
1480         * sysdeps/s390/s390-32/multiarch/memcpy.S
1481         (memcpy_z196): Rename to __memcpy_z196.
1482         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1483         (memcpy_z10): Rename to __memcpy_z10.
1484         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1485         (memcpy): Set alias to __memcpy_g5.
1486         * sysdeps/s390/s390-32/multiarch/memset.S
1487         (memset_z196): Rename to __memset_z196.
1488         Jump to __memset_mvcle instead of memset_mvcle.
1489         (memset_z10): Rename to __memset_z10.
1490         Jump to __memset_mvcle instead of memset_mvcle.
1491         (memset_mvcle) Rename to __memset_mvcle.
1492         (memset): Set alias to __memset_g5.
1493         * sysdeps/s390/s390-64/memcmp.S
1494         (memcmp_z900): Rename to __memcmp_z900.
1495         * sysdeps/s390/s390-64/memcpy.S
1496         (memcpy_z900): Rename to __memcpy_z900.
1497         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1498         (memcpy_mvcle) Rename to __memcpy_mvcle.
1499         * sysdeps/s390/s390-64/memset.S
1500         (memset_z900): Rename to __memset_z900.
1501         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1502         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1503         and use prefixed functions.
1504         * sysdeps/s390/s390-64/multiarch/memcmp.S
1505         (memcmp_z196): Rename to __memcmp_z196.
1506         (memcmp_z10): Rename to __memcmp_z10.
1507         (memcmp): Set alias to __memcmp_z900.
1508         (bcmp): Set alias to __memcmp_z900.
1509         * sysdeps/s390/s390-64/multiarch/memcpy.S
1510         (memcpy_z196): Rename to __memcpy_z196.
1511         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1512         (memcpy_z10): Rename to __memcpy_z10.
1513         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1514         (memcpy): Set alias to __memcpy_z900.
1515         * sysdeps/s390/s390-64/multiarch/memset.S
1516         (memset_z196): Rename to __memset_z196.
1517         Jump to __memset_mvcle instead of memset_mvcle.
1518         (memset_z10): Rename to __memset_z10.
1519         Jump to __memset_mvcle instead of memset_mvcle.
1520         (memset_mvcle) Rename to __memset_mvcle.
1521         (memset): Set alias to __memset_z900.
1523 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
1525         [BZ #17748]
1526         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1527         __fesetenv instead of fesetenv.
1529 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1531         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1532         macro.
1534 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1536         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1537         regression on LE.
1539         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1540         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1541         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1542         strncmp-power8 object.
1543         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1544         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1545         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1546         * NEWS: Update.
1548 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1549             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1551         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1552         trailing byte check.
1554 2015-01-13  David S. Miller  <davem@davemloft.net>
1556         * include/signal.h (__sigreturn): Guard with __USE_MISC.
1558 2015-01-13  Roland McGrath  <roland@hack.frob.com>
1560         * login/logout.c (logout): Use memset rather than bzero.
1561         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1562         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1563         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1564         (_gethtbyaddr): Likewise.
1565         * locale/programs/simple-hash.c (bcopy): Macro removed.
1567 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1569         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1570         Add strcmp-power8 object.
1571         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1572         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1573         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1574         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1575         __strcmp_power8 implementation.
1576         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1577         * NEWS: Update.
1579         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1580         Add strncpy-power8 and stpncpy-power8 objects.
1581         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1582         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1583         implementations.
1584         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1585         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1586         __stpncpy_power8 implementation.
1587         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1588         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1589         __strncpy_power8 implementation.
1590         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1591         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1592         * NEWS: Update.
1594         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1595         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1596         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1598         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1599         strncat-power8 object.
1600         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1601         __strcat_power8 implementation.
1602         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1603         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1604         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1605         optimized strcat for power8.
1607         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1608         strcpy-power8 and stpcpy-power8 objects.
1609         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1610         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1611         implementations.
1612         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1613         multiarch stpcpy implementation for POWER8.
1614         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1615         multiarch strcpy implementation for POWER8.
1616         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1617         __strcpy_power8 function.
1618         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1619         stpcpy for POWER8.
1620         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1621         strcpy for POWER8.
1622         * NEWS: Update.
1624 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
1626         [BZ #16009]
1627         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1628         weights and rules. Use do_xfrm_cached if data fits in cache,
1629         do_xfrm otherwise.  Moved former main loop to...
1630         * (do_xfrm_cached): New function.
1631         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1632         find_idx, find_position and stack_push.
1633         * (find_idx): New function.
1634         * (find_position): Likewise.
1635         * localedata/sort-test.sh: Added test run for do_xfrm.
1636         * localedata/xfrm-test.c (main): Added command line option
1637         -nocache to run the test with strings that are too large for
1638         the STRXFRM cache.
1640 2015-01-13  Torvald Riegel  <triegel@redhat.com>
1642         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1643         variable to lll_futex_wake call, not the value itself.
1645 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
1647         [BZ #17803]
1648         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1649         twom64.  Adjust value to 0x1p-64L.
1650         (__scalblnl): Only return standard underflowing result for K <=
1651         -64 not K <= -63; adjust exponent for underflowing result by 64
1652         not 63.
1653         * math/libm-test.inc (scalbn_test_data): Add more tests.
1654         (scalbln_test_data): Likewise.
1656         [BZ #17834]
1657         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1658         0x1p63L.
1659         (__scalblnl): Get new exponent of adjusted subnormal value from ES
1660         not HX.
1661         * math/libm-test.inc (scalbn_test_data): Add more tests.
1662         (scalbln_test_data): Likewise.
1664 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1665             Stefani Seibold  <stefani@seibold.net>
1667         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1668         (sysdep_routines): Add dl-vdso here, ...
1669         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1670         (sysdep_routines): ... not here.
1671         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1672         fallback when vDSO is not presented.
1673         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1674         Define with libc_hidden_proto/libc_hidden_data_def definitions.
1675         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1676         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1677         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1678         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1679         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1680         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1681         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1682         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1683         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
1684         fallback configurable symbol when vDSO is not available.
1685         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1686         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
1687         be able to redefine fallback symbol when vDSO is not available.
1688         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1689         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1691 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1693         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1694         (TLS_INIT_TP): Add tm_capable initialization.
1695         (TLS_DEFINE_INIT_TP): Likewise.
1696         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1697         TCB.
1698         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1699         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1700         calculation.
1701         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1702         transactoion is lock elision is built and TCB tm_capable is set.
1703         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1705         (INTERNAL_SYSCALL_NCS): Likewise.
1706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1707         (INTERNAL_SYSCALL_NCS): Likewise.
1708         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1710         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1711         for powerpc.
1712         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1713         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1714         and remove it for 32 bits case.
1715         [pthread_rwlock_t] (__rwelision): New field for lock elision.
1716         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1717         initialization.
1718         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1719         Disable lock elision with rdlocks if elision is not available.
1721         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1722         (sysdep_routines): Add lock elision objects.
1723         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1724         [pthread_mutex_t] (__spins): Rework to add lock elision field.
1725         [pthread_mutex_t] (__elision): Add field.
1726         [__PTHREAD_SPINS]: Adjust to init lock elision field.
1727         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1728         elision definitions for powerpc.
1729         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1730         implementation of lock elision for powerpc.
1731         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1732         implementation of timed lock elision for powerpc.
1733         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1734         implementation of trylock with lock elision for powerpc.
1735         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1736         implementaion of unlock for lock elision for powerpc.
1737         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1738         automatic enable lock elision for mutexes.
1739         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1740         transaction execution definitions for powerpc.
1741         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1742         definitions.
1743         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1744         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1745         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1746         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1747         * NEWS: Update.
1749 2015-01-09  Roland McGrath  <roland@hack.frob.com>
1751         * sysdeps/posix/shm-directory.c: Use <> rather than ""
1752         for #include of <shm-directory.h>.
1754 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
1756         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1757         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1759 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
1761         [BZ #17791]
1762         * NEWS: Mention bug fix.
1763         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1764         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1765         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1767 2015-01-09  Torvald Riegel <triegel@redhat.com>
1769         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1771 2015-01-09  Torvald Riegel <triegel@redhat.com>
1773         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1775 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1777         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1778         pointer and cast to uintptr_t.
1780 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1782         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1783         removed.
1784         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1786 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1788         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1789         of 0.
1791 2015-01-08  Roland McGrath  <roland@hack.frob.com>
1793         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1794         <nptl/pthreadP.h> instead.
1795         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1797         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1798         already defined.
1799         [__SIGRTMIN] (init): Function removed.
1800         [__SIGRTMIN] (initialized): Variable removed.
1801         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1802         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1803         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1804         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1805         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1806         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1807         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1808         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1809         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1810         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1811         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1812         * sysdeps/nptl/allocrtsig.c: New file.
1813         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1814         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1815         * sysdeps/generic/testrtsig.h: File removed.
1817         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1818         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1820         * nptl/nptl-init.c (pthread_functions): Conditionalize
1821         .ptr__nptl_setxid initialization on [SIGSETXID].
1823         * sysdeps/nptl/sys/procfs.h: New file.
1824         * nptl_db/Makefile (headers): Add it.
1825         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1827         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1828         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1829         * nptl/pthread_attr_setaffinity.c: Include it.
1830         * nptl/pthread_setattr_default_np.c: Likewise.
1831         * nptl/check-cpuset.h: New file.
1833 2015-01-08  Richard Henderson  <rth@redhat.com>
1835         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1836         (CFLAGS-tst-execstack-prog.c): Likewise.
1837         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1839 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1840             Sandra Loosemore  <sandra@codesourcery.com>
1841             Andrew Jenner  <andrew@codesourcery.com>
1842             Joseph Myers  <joseph@codesourcery.com>
1843             Nathan Sidwell  <nathan@codesourcery.com>
1845         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1846         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1847         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1848         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1849         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1850         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1851         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1852         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1853         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1854         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1855         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1856         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1857         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1858         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1859         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1860         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1861         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1863 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1865         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1866         timespec struct member in syscall macro.
1867         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1868         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1869         first timeval struct member in syscall macro.
1870         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1872 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1874         [BZ #17748]
1875         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1876         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1877         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1878         __feupdateenv and define as weak alias of __feupdateenv.  Use
1879         libm_hidden_weak.
1880         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1881         libm_hidden_def.
1882         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1883         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1884         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1885         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1886         libm_hidden_def.
1887         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1888         __feupdateenv and define as weak alias of __feupdateenv.  Use
1889         libm_hidden_weak.
1890         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1891         libm_hidden_def.
1892         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1893         __feupdateenv and define as weak alias of __feupdateenv.  Use
1894         libm_hidden_weak.
1895         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1896         libm_hidden_def.
1897         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1898         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1899         (__feupdateenv): Likewise.
1900         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1901         __feupdateenv and define as weak alias of __feupdateenv.  Use
1902         libm_hidden_weak.
1903         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1904         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1905         libm_hidden_def.
1906         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1907         function.
1908         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1909         libm_hidden_def.
1910         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1911         __feupdateenv instead of feupdateenv.
1912         (default_libc_feupdateenv_test): Likewise.
1913         (libc_feresetround_ctx): Likewise.
1915 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1917         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1918         prototype.
1920 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1922         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1923         COLL_SYM in a couple of places to avoid uninitialized variable
1924         wanings on tilegx gcc 4.8.2.
1926 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1928         * sysdeps/aarch64/strcpy.S: New file.
1929         * sysdeps/aarch64/stpcpy.S: New file.
1930         * NEWS: Updated.
1932 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1934         * sysdeps/aarch64/strrchr.S: New file.
1935         * NEWS: Updated.
1937 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1939         [BZ #17658]
1940         * stdlib/setenv.c: Fix memory leak when setting large,
1941         duplicate string.
1943 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1945         [BZ #17273]
1946         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1947         and tabs from buffer before parsing fstab entry.
1948         * misc/tst-mntent.c (main): Add test for mount entry with
1949         trailing spaces and tabs.
1951 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1953         [BZ #17748]
1954         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1955         * math/fesetround.c (fesetround): Rename to __fesetround and
1956         define as weak alias of __fesetround.  Use libm_hidden_weak.
1957         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1958         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1959         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1960         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1961         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1962         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1963         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1964         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1965         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1966         __fesetround_inline.
1967         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1968         __fesetround_inline instead of __fesetround.
1969         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1970         __fesetround and define as weak alias of __fesetround.  Use
1971         libm_hidden_weak.  Call __fesetround_inline instead of
1972         __fesetround.
1973         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1974         __fesetround and define as weak alias of __fesetround.  Use
1975         libm_hidden_weak.
1976         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1977         Likewise.
1978         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1979         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1980         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1981         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1982         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1983         __fesetround and define as weak alias of __fesetround.  Use
1984         libm_hidden_weak.
1985         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1986         __fesetround instead of fesetround.
1987         (default_libc_feholdexcept_setround): Likewise.
1988         (libc_feholdsetround_ctx): Likewise.
1989         (libc_feholdsetround_noex_ctx): Likewise.
1991         [BZ #17748]
1992         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1993         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1994         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1995         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1996         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1997         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1998         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1999         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
2000         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2001         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2002         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2003         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2004         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2005         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2006         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
2007         libm_hidden_def.
2008         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
2009         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
2010         Likewise.
2011         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
2012         define as weak alias of __fesetenv.  Use libm_hidden_weak.
2013         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
2014         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
2015         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
2016         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
2017         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
2018         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
2019         __fesetenv instead of fesetenv.
2020         (libc_feresetround_noex_ctx): Likewise.
2021         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2022         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
2023         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
2024         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2025         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2026         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2027         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
2028         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
2029         (__feupdateenv): Likewise.
2030         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2031         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2032         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2033         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
2035 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2037         [BZ #17806]
2038         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
2039         addresses have been freed.
2041 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
2043         * resolv/res_init.c (__res_vinit): Improve comments about nserv
2044         and nservall.
2046 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
2048         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
2049         Clean up check_pf allocation pattern. addresses
2051 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2053         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
2054         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
2055         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
2056         * nptl/pthread_exit.c (__pthread_exit): Likewise.
2057         * nptl/pthread_join.c (pthread_join): Likewise.
2058         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
2059         * sysdeps/posix/waitid.c (__waitid): Likewise.
2060         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
2061         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
2062         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
2063         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
2064         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
2065         Likewise.
2066         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
2067         (__libc_pread64): Likewise.
2068         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
2069         (__libc_pwrite): Likewise.
2070         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
2071         (__libc_pwrite64): Likewsie.
2072         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
2073         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
2074         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
2075         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
2076         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
2077         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
2078         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
2079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
2080         Likewise.
2081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
2082         (__libc_pread64): Likewise.
2083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
2084         Likewise.
2085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
2086         (__libc_pwrite64): Likewise.
2087         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
2088         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
2089         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
2090         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
2091         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
2092         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
2093         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
2094         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
2095         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
2096         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
2097         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
2098         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
2099         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
2100         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
2101         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
2102         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
2103         Likewise.
2105 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2107         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
2108         (CFLAGS-test-double.c): Likewise.
2109         (CFLAGS-test-ldouble.c): Likewise.
2110         (CPPFLAGS-test-ifloat.c): Likewise.
2111         (CPPFLAGS-test-idouble.c): Likewise.
2112         (CPPFLAGS-test-ildoubl.c): Likewise.
2113         (CFLAGS-test-test-fenv.c): Remove variable.
2114         (CFLAGS-test-misc.c): Likewise.
2116 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
2118         [BZ #17797]
2119         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
2120         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
2121         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
2122         CLOCKS_PER_SEC == 1000000.
2123         * time/clocktest.c (main): Replace %ld with %jd and cast to
2124         intmax_t.
2126 2015-01-05  Roland McGrath  <roland@hack.frob.com>
2128         * sysdeps/generic/unwind-resume.h: New file.
2129         * sysdeps/gnu/unwind-resume.c: Include it.
2130         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
2131         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
2132         argument list.
2133         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
2134         global rather than static.
2135         (_Unwind_Resume): Update user.
2136         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
2137         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
2138         rather than static.  Add __attribute__ ((cold)).
2139         (_Unwind_Resume, __gcc_personality_v0): Update callers.
2140         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
2141         * sysdeps/arm/arm-unwind-resume.S: New file.
2142         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
2143         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
2144         * sysdeps/arm/Makefile [$(subdir) = csu]
2145         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
2146         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
2147         Add rt-arm-unwind-resume.
2148         [$(subdir) = nptl]
2149         (libpthread-sysdep_routines, libpthread-shared-only-routines):
2150         Add pt-arm-unwind-resume.
2151         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
2152         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
2154 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2156         [BZ #17748]
2157         * include/fenv.h (__feholdexcept): Declare.  Use
2158         libm_hidden_proto.
2159         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
2160         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
2161         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2162         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
2163         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
2164         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
2165         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
2166         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2167         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
2168         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
2169         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2170         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
2171         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
2172         (feholdexcept): Likewise.
2173         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
2174         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
2175         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
2176         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
2177         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
2178         __feholdexcept instead of feholdexcept.
2179         (default_libc_feholdexcept_setround): Likewise.
2181 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2183         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
2184         to avoid using stl/str to align destination.
2186 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2188         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
2190 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2192         [BZ #17796]
2193         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
2194         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
2195         Define as weak alias not strong alias.
2197 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
2199         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
2200         bltzal with addiupc.
2201         (RTLD_START): Ditto.
2203 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
2205         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
2206         for __vdso_* functions in declarations.
2207         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
2208         definitions.
2209         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
2210         INTERNAL_VSYSCALL): Use struct return types to check for error.
2212         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
2213         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
2214         function with cast from llround().
2215         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
2216         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
2217         Define.
2219 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
2221         [BZ #17793]
2222         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
2223         Define as weak alias not strong alias.
2225         [BZ #17635]
2226         * ctype/ctype-c99.c: New file.  isblank implementation moved from
2227         ...
2228         * ctype/ctype-extn.c: ... here.
2229         (__isblank_l): Move to ...
2230         * ctype/ctype-c99_l.c: ... here.  New file.
2231         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
2232         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
2233         Remove variable.
2234         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2235         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2236         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2237         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2238         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2240         [BZ #17777]
2241         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
2242         (posix_fadvise64): Define as weak alias not strong alias.
2243         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
2244         (posix_fallocate64): Likewise.
2245         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
2246         Remove variable.
2247         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2248         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2249         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2250         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2251         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2253 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
2255         [BZ #16191]
2256         * NEWS: Mention bug fix.
2257         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2258         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2259         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2260         (HOST_STACK_END_ADDR): Likewise.
2262 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2264         [BZ #17748]
2265         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
2266         * math/fegetround.c (fegetround): Rename to __fegetround and
2267         define as weak alias of __fegetround.  Use libm_hidden_weak.
2268         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2269         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2270         * sysdeps/arm/fegetround.c (fegetround): Likewise.
2271         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2272         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2273         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2274         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2275         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2276         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2277         Undefine after rather than before function definition; use
2278         parentheses around function name in definition.
2279         (__fegetround): Also undefine macro after function definition.
2280         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2281         __fegetround and define as weak alias of __fegetround.  Use
2282         libm_hidden_weak.  Do not undefine as macro.
2283         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2284         Likewise.
2285         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2286         __fegetround and define as weak alias of __fegetround.  Use
2287         libm_hidden_weak.
2288         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2289         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2290         * sysdeps/tile/math_private.h (__fegetround): New inline function.
2291         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2292         __fegetround and define as weak alias of __fegetround.  Use
2293         libm_hidden_weak.
2294         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2295         __fegetround instead of fegetround.
2297         [BZ #17782]
2298         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2299         Condition macro definition on [__USE_MISC].
2301         [BZ #17781]
2302         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2303         (struct sigaction): Change type of sa_flags field to int.
2305         [BZ #17780]
2306         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2307         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2308         __glibc_reserved0.
2310         * nptl/version.c (banner): Use single year in copyright notice.
2312         * NEWS: Update copyright dates.
2313         * catgets/gencat.c (print_version): Likewise.
2314         * csu/version.c (banner): Likewise.
2315         * debug/catchsegv.sh: Likewise.
2316         * debug/pcprofiledump.c (print_version): Likewise.
2317         * debug/xtrace.sh (do_version): Likewise.
2318         * elf/ldconfig.c (print_version): Likewise.
2319         * elf/ldd.bash.in: Likewise.
2320         * elf/pldd.c (print_version): Likewise.
2321         * elf/sotruss.sh: Likewise.
2322         * elf/sprof.c (print_version): Likewise.
2323         * iconv/iconv_prog.c (print_version): Likewise.
2324         * iconv/iconvconfig.c (print_version): Likewise.
2325         * locale/programs/locale.c (print_version): Likewise.
2326         * locale/programs/localedef.c (print_version): Likewise.
2327         * login/programs/pt_chown.c (print_version): Likewise.
2328         * malloc/memusage.sh (do_version): Likewise.
2329         * malloc/memusagestat.c (print_version): Likewise.
2330         * malloc/mtrace.pl: Likewise.
2331         * manual/libc.texinfo: Likewise.
2332         * nptl/version.c (banner): Likewise.
2333         * nscd/nscd.c (print_version): Likewise.
2334         * nss/getent.c (print_version): Likewise.
2335         * nss/makedb.c (print_version): Likewise.
2336         * posix/getconf.c (main): Likewise.
2337         * scripts/test-installation.pl: Likewise.
2338         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2340 2015-01-02  Will Newton  <will.newton@linaro.org>
2342         * sysdeps/arm/armv7/configure: Removed.
2343         * sysdeps/arm/armv7/configure.ac: Likewise.
2345 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2347         * All files with FSF copyright notices: Update copyright dates
2348         using scripts/update-copyrights.
2349         * intl/plural.c: Regenerated.
2350         * locale/programs/charmap-kw.h: Likewise.
2351         * locale/programs/locfile-kw.h: Likewise.
2353 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2355         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2357 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2359         [BZ #17748]
2360         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2361         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2362         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2363         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
2364         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2365         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2366         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2367         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2368         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2369         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2370         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2371         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2372         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2373         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2374         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2375         libm_hidden_def.
2376         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2377         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2378         Likewise.
2379         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2380         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2381         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2382         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2383         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2384         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2385         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
2386         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2387         __fegetenv instead of fegetenv.
2388         (libc_feholdsetround_noex_ctx): Likewise.
2390 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2392         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2393         (Elf_MIPS_ABIFlags_v0): New structure.
2394         (EF_MIPS_FP64): Define.
2395         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2396         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2397         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2398         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2399         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2400         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2401         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2402         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2403         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2404         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2405         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2406         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2407         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2408         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2409         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2410         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2411         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2412         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2413         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2414         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2415         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2416         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2417         field.
2418         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2419         EF_MIPS_FP64.
2420         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2421         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2422         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2423         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2424         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2425         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2426         * sysdeps/mips/tst-abi-interlink.c: Likewise.
2427         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2428         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2429         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2430         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2431         record the current FP ABI extension.
2432         (mips-mode-switch): Define to show if kernel headers support mode
2433         switching.
2434         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2435         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2436         supported SYSV ABI version to 3.
2437         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2438         feature.
2440 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2441             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2443         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2444         path.
2445         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2447 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2449         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2450         __fegetround and redefine to call __fegetround.  Remove condition
2451         on [!__NO_MATH_INLINES].
2452         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2453         function.
2454         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2455         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2456         Remove macro.
2457         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2458         instead of <fenv_libc.h>.
2459         (__llrintl): Call fegetround instead of __fegetround.
2460         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2461         instead of <fenv_libc.h>.
2462         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2463         (__lrintl): Call fegetround instead of __fegetround.
2464         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2465         instead of <fenv_libc.h>.
2466         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2467         (__rintl): Call fegetround instead of __fegetround.
2469 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2471         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2472         arrays.
2474 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2476         [BZ #17775]
2477         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2478         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2479         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2481 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2483         * sysdeps/i386/tls-macros.h: Include <features.h>.
2484         (TLS_LE): Use non-PIC version for GCC >= 5.0.
2485         (TLS_IE): Likewise.
2486         (TLS_LD): Likewise.
2487         (TLS_GD): Likewise.
2488         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2489         define for GCC >= 5.0.
2491 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
2493         * math/test-fenv.c (test_single_exception, set_single_exc,
2494         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2495         feexcp_mask_test, feenable_test, fe_single_test): Add
2496         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2497         case where they are not used.
2498         * math/libm-test.inc: Likewise.
2499         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2500         unused in the absence of FP rounding/exception support.
2501         * stdio-common/tst-printf-round.c: Likewise.
2502         * stdlib/tst-strtod-round.c: Likewise.
2503         * stdlib/tst-strtod-underflow.c: Likewise.
2505 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
2507         [BZ #17723]
2508         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2509         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2510         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2511         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2512         libm_hidden_weak.
2513         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2514         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2515         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2516         libm_hidden_def.
2517         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2518         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2519         libm_hidden_weak.
2520         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2521         Likewise.
2522         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2523         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2524         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2525         libm_hidden_weak.
2526         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2527         libm_hidden_def.
2528         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2529         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2530         (__feraiseexcept): Likewise.
2531         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2532         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2533         libm_hidden_weak.
2534         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2535         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2536         libm_hidden_def.
2537         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2538         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2539         Use libm_hidden_def.
2540         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2541         libm_hidden_def.
2542         (feraiseexcept): Define as weak not strong alias.  Use
2543         libm_hidden_weak.
2544         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2545         New inline function.  Factored out of ...
2546         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
2547         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2548         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2549         feraiseexcept.
2550         * math/w_acos.c (__acos): Likewise.
2551         * math/w_asin.c (__asin): Likewise.
2552         * math/w_ilogb.c (__ilogb): Likewise.
2553         * math/w_j0.c (y0): Likewise.
2554         * math/w_j1.c (y1): Likewise.
2555         * math/w_jn.c (yn): Likewise.
2556         * math/w_log.c (__log): Likewise.
2557         * math/w_log10.c (__log10): Likewise.
2558         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2559         * sysdeps/aarch64/fpu/math_private.h
2560         (libc_feupdateenv_test_aarch64): Likewise.
2561         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2562         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2563         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2564         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2565         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2566         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2567         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2568         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2569         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2570         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2572 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2574         [BZ #17732]
2575         * io/test-utime.c (main): Replace %ld with %jd and cast to
2576         intmax_t.
2577         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2578         * nptl/tst-mutex5.c: Include <stdint.h>.
2579         (do_test): Replace %ld with %jd and cast to intmax_t.
2580         * posix/tst-regex.c (run_test): Likewise.
2581         (run_test_backwards): Likewise.
2582         * rt/tst-clock.c: Include <stdint.h>.
2583         (clock_test): Replace %ld with %jd and cast to intmax_t.
2584         * rt/tst-cpuclock1.c: Include <stdint.h>.
2585         (do_test): Replace %lu with %ju and cast to uintmax_t.
2586         * rt/tst-cpuclock2.c: Include <stdint.h>.
2587         (do_test): Replace %lu with %ju and cast to uintmax_t.
2588         * rt/tst-mqueue1.c: Include <stdint.h>.
2589         (check_attrs): Replace %ld with %jd and cast to intmax_t.
2590         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2591         intmax_t.
2592         * rt/tst-mqueue4.c (do_test): Likewise.
2593         * rt/tst-timer4.c: Include <stdint.h>.
2594         (check_ts): Replace %ld with %jd and cast to intmax_t.
2595         (do_test): Likewise.
2596         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2597         and cast to intmax_t.
2598         * sysdeps/pthread/tst-timer.c (main): Likewise.
2599         * time/clocktest.c (main): Likewise.
2600         * time/tst-posixtz.c (do_test): Likewise.
2601         * timezone/tst-timezone.c (main): Likewise.
2603 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2604             H.J. Lu  <hongjiu.lu@intel.com>
2606         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2607         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2608         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2609         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2610         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2611         version if bit_Fast_Unaligned_Load is set.
2612         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2613         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2614         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2615         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2616         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2617         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2618         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2619         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2620         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2621         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2622         to 4.
2623         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2624         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2625         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2626         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2628 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
2630         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2631         instead of #if to avoid a Wundef warning.
2632         * stdlib/tst-limits.c (do_test): Likewise.
2634         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2635         parallel other exception macros.
2636         (fegetenv): Convert from macro to extern inline so that it applies
2637         retroactively to inline functions already seen by the compiler.
2638         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2640         * posix/Makefile (before-compile): Use $(objpfx) for
2641         posix-conf-vars-def.h.
2643 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2645         * posix/getconf.c (main): Use size_t for type of I.
2646         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2647         NSPEC.
2649         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2650         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2651         * posix/posix-envs.def: Likewise.
2652         * sysdeps/posix/sysconf.c: Likewise.
2653         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2654         (specs): Remove array.
2655         * scripts/gen-posix-conf-vars.awk: Support generation of specs
2656         array.
2658         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2659         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2660         (__sysconf): Use CONF_IS_* macros.
2662         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2663         ($(objpfx)posix-conf-vars-def.h): New target.
2664         * posix/posix-conf-vars.list: New file.
2665         * posix/posix-conf-vars.h: New file.
2666         * posix/confstr.c: Include posix-conf-vars.h.
2667         (confstr): Use CONF_IS_* macros.
2668         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
2669         CONF_IS_* macros.
2670         * scripts/gen-posix-conf-vars.awk: New file.
2672 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
2674         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2675         fegetround): Add no-op macros to avoid linknamespace issues.
2677         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2678         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2680         * sysdeps/unix/sysv/linux/tile/sysdep.h
2681         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2682         assembly-specific section to avoid a redefinition warning.
2684         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2685         long before casting to pointer to avoid a cast warning.
2687 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
2689         * sysdeps/tile/tilegx/Implies: New file.
2691 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
2693         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2695 2014-12-23  Florian Weimer  <fweimer@redhat.com>
2697         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2699 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2701         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2702         not define.
2703         * sysdeps/unix/sysv/linux/utimes.c: Do not include
2704         <kernel-features.h>.
2705         (__utimes) [__NR_utimes]: Make code unconditional.
2706         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2707         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2708         (__ASSUME_UTIMES): Do not undefine.
2709         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2710         (__ASSUME_UTIMES): Likewise.
2711         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2712         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2713         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2714         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2716 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2718         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2720 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
2722         [BZ #17747]
2723         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2724         alias to weak alias for j0l, y0l.
2725         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2726         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2728         [BZ #17746]
2729         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2730         conversion.
2732 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2734         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2735         to zero if not already defined.
2737 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2739         [BZ #17724]
2740         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2741         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
2742         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
2743         (char *) casts added.
2744         * sysdeps/ieee754/k_standardf.c: New file.
2745         * sysdeps/ieee754/k_standardl.c: Likewise.
2746         * math/Makefile (libm-support): Remove k_standard.
2747         (libm-calls): Add k_standard.
2749 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2751         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2752         Optimize to avoid an unnecessary FPCR read.
2754 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2756         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2757         Optimize to reduce FPCR/FPSR accesses.
2759 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2761         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2762         Call libc_fetestexcept_aarch64.
2764 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2766         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2767         Call libc_fesetround_aarch64.
2769 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2771         [BZ #17733]
2772         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2773         (__bind): Do not define as weak alias.
2774         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2775         define.
2776         (__getsockname): Do not define as weak alias.
2778 2014-12-22  Will Newton  <will.newton@linaro.org>
2780         * manual/install.texi: Document that we require bison 2.7
2781         or above.
2782         * INSTALL: Regenerate.
2783         * configure.ac: Use AC_CHECK_PROG_VER instead of
2784         AC_PATH_PROG when checking for bison and check for
2785         version 2.7 or above.
2786         * configure: Regenerate.
2788 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
2790         [BZ #17745]
2791         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2792         * sysdeps/tile/ffsll.c (ffsll): To here.
2794         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2796 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2798         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2799         if not defined.
2800         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2801         definition.
2802         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2803         hidden ___tls_get_addr.
2804         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2805         hidden __tls_get_addr.
2806         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2807         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2808         Likewise.
2810 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
2812         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2813         _dl_init call.
2815 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2817         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2818         from "call _dl_init@PLT".
2819         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2821 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
2823         * manual/search.texi: (Array Sort Function): Clarify stable sorting
2824         guarantees.
2826 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
2828         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2830 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2832         [BZ #17744]
2833         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2834         strnlen.
2836 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2838         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2839         of multu on MIPSr6.
2840         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2841         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2842         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2843         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2844         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2846 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2848         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2849         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2850         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2851         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2852         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2853         mips32r6/mips64r6.
2854         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2856 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2858         * string/strncat.c (STRNCAT): Simplify implementation.
2860 2014-12-19  David S. Miller  <davem@davemloft.net>
2862         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2863         access the quad as both a long double and as a series of 4 words.
2865         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2866         link_map->l_info array access.
2868 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2870         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2872         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2873         * math/atest-exp2.c (TIMEOUT): Likewise.
2874         * math/atest-sincos.c (TIMEOUT): Likewise.
2876 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2878         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2879         -Wno-error with -fno-builtin-lround.
2881 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2883         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2884         Contains futex constants and functions moved over from ...
2885         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2886         <lowlevellock-futex.h>.
2887         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2888         (lll_timedwait_tid): Add comments and parentheses around macro
2889         arguments.
2891 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2893         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2894         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2895         (__lll_private_flag): Remove.
2896         (lll_futex_wait): Likewise.
2897         (lll_futex_timed_wait): Likewise.
2898         (lll_futex_wake): Likewise.
2899         (lll_futex_requeue): Likewise.
2900         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2901         (__lll_timedwait_tid): Spell out argument names.
2902         (lll_timedwait_tid): Add comments and parentheses around macro
2903         arguments.
2904         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2905         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2907 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2909         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2910         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2911         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2912         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2913         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2914         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2915         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2916         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2917         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2918         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2919         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2920         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2921         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2922         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2923         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2924         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2925         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2926         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2927         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2929 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2931         * sysdeps/x86_64/x32/Makefile: New file.
2933 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2935         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2936         1L with (mp_limb_t) 1.
2938 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2940         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2941         * nptl/libc_pthread_init.c: ... here.
2942         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2943         * nptl/register-atfork.c: ... here.
2945         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2946         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2947         Use assert_perror to check its return value.
2948         (__gai_create_helper_thread): Likewise.
2950         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2952         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2954 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2956         [BZ #17725]
2957         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2958         __profil_counter.
2959         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2960         Likewise.
2961         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2962         Likewise.
2963         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2964         Likewise.
2965         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2966         (profil_counter): Likewise.
2967         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2968         (profil_counter): Likewise.
2969         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2970         Likewise.
2971         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2972         Likewise.
2973         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2974         (profil_counter): Likewise.
2975         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2976         Likewise.
2977         [!__profil_counter] (profil_counter): Define as weak alias of
2978         __profil_counter.
2979         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2980         (profil_counter): Rename to __profil_counter.
2981         [!__profil_counter] (profil_counter): Define as weak alias of
2982         __profil_counter.
2983         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2984         (profil_counter): Rename to __profil_counter.
2985         [!__profil_counter] (profil_counter): Define as weak alias of
2986         __profil_counter.
2987         * sysdeps/posix/profil.c: Update comment referring to
2988         profil_counter.
2989         (__profil): Use __profil_counter instead of profil_counter.
2990         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2991         __profil_counter.  Use __profil_counter_ushort and
2992         __profil_counter_uint in definitions.
2993         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2994         instead of profil_counter_uint and profil_counter_ushort.
2996         [BZ #17722]
2997         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2998         define as weak alias of __inet_makeaddr.
2999         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
3000         as weak alias of __inet_addr.
3001         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
3002         as weak alias of __inet_pton.  Use libc_hidden_weak.
3003         * include/arpa/inet.h (__inet_pton): Declare.  Use
3004         libc_hidden_proto.
3005         (inet_makeaddr): Don't use libc_hidden_proto.
3006         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
3007         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
3008         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
3009         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
3010         Remove variable.
3011         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
3012         (test-xfail-POSIX/time.h/linknamespace): Likewise.
3014 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
3016         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
3018 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3020         * stdio-common/bug-vfprintf-nargs.c (do_test):
3021         Cast value to intptr_t to avoid format warning
3022         for usage with PRIdPTR printing macro.
3024 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
3026         * libio/tst-widetext.c (do_test):
3027         Use format type %td instead of %Zd for ptrdiff_t
3028         in order to avoid format warning.
3030 2014-12-17  Andreas Schwab  <schwab@suse.de>
3032         * nscd/mem.c (gc): Add size_t cast to match printf format.
3034 2014-12-16  Roland McGrath  <roland@hack.frob.com>
3036         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
3037         (init): Apply PTR_MANGLE to pointers before storing them.
3038         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
3039         before using them.
3041 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
3043         [BZ #17719]
3044         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
3045         define as weak alias of __memrchr.
3046         (__memrchr): Do not define as strong alias of memrchr.
3047         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
3048         Remove variable.
3049         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
3050         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
3051         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
3053         [BZ #17717]
3054         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
3055         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
3056         (if_indextoname): Rename to __if_indextoname and define as weak
3057         alias of __if_indextoname.  Use libc_hidden_weak.
3058         (if_freenameindex): Rename to __if_freenameindex and define as
3059         weak alias of __if_freenameindex.
3060         (if_nameindex): Rename to __if_nameindex and define as weak alias
3061         of __if_nameindex.
3062         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
3063         __if_nametoindex and define as weak alias of __if_nametoindex.
3064         Use libc_hidden_weak.
3065         (if_freenameindex): Rename to __if_freenameindex and define as
3066         weak alias of __if_freenameindex.
3067         (if_nameindex): Rename to __if_nameindex and define as weak alias
3068         of __if_nameindex.
3069         (if_indextoname): Rename to __if_indextoname and define as weak
3070         alias of __if_indextoname.  Use libc_hidden_weak.
3071         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
3072         __if_nametoindex and define as weak alias of __if_nametoindex.
3073         Use libc_hidden_weak.
3074         (if_freenameindex): Rename to __if_freenameindex and define as
3075         weak alias of __if_freenameindex.  Use libc_hidden_weak.
3076         (if_nameindex_netlink): Use __if_freenameindex instead of
3077         if_freenameindex.
3078         (if_nameindex): Rename to __if_nameindex and define as weak alias
3079         of __if_nameindex.  Use libc_hidden_weak.
3080         (if_indextoname): Rename to __if_indextoname and define as weak
3081         alias of __if_indextoname.  Use libc_hidden_weak.
3082         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
3083         libc_hidden_proto.
3084         [!_ISOMAC] (__if_freenameindex): Likewise.
3085         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
3086         if_nametoindex.
3087         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
3088         variable.
3089         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
3090         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
3091         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
3092         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
3093         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
3094         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
3095         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
3097         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
3098         Remove variable.
3099         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
3100         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
3102 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
3104         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
3105         subscript above bounds'
3107         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
3108         bounds.
3110 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
3112         * libio/tst-fopenloc.c: Use test-skeleton.c.
3114         * stdlib/tst-bsearch.c: Use test-skeleton.c.
3115         (entry): Rename to ITEM.
3116         (do_test, comp): Adjust.
3118         * stdio-common/tst-fseek.c: Use test-skeleton.c.
3120 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3122         * string/tester.c: Include <libc-internal.h>.
3123         (test_memset): Ignore -Wmemset-transposed-args.
3125 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3127         * misc/tst-mntent2.c (do_test): Fix warning.
3129 2014-12-16  Torvald Riegel  <triegel@redhat.com>
3131         * elf/tst-unique4lib.cc(a): Mark as used.
3133 2014-12-16  Florian Weimer  <fweimer@redhat.com>
3135         [BZ #17630]
3136         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
3137         names.
3139 2014-12-16  Allan McRae  <allan@archlinux.org>
3141         * stdio-common/Makefile (tests): Re-add bug26.
3143 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
3145         [BZ #17657]
3146         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
3147         static array.
3149 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
3151         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
3152         (__lll_lock_wait): Likewise.
3153         (__lll_timedlock_wait): Likewise.
3154         (__lll_timedwait_tid): Likewise.
3155         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
3156         (__lll_robust_timedlock_wait): Likewise.
3157         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
3158         (lll_cond_trylock): Likewise.
3159         (__lll_lock): Likewise.
3160         (__lll_robust_lock): Likewise.
3161         (__lll_cond_lock): Likewise.
3162         (lll_robust_cond_lock): Likewise.
3163         (__lll_timedlock): Likewise.
3164         (__lll_robust_timedlock): Likewise.
3165         (__lll_unlock): Likewise.
3166         (__lll_robust_unlock): Likewise.
3167         (lll_wait_tid): Likewise.
3168         (lll_timedwait_tid): Likewise.
3170 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3172         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
3174 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3176         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
3178 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3180         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
3181         * stdio-common/tst-sprintf.c: Likewise.
3183 2014-12-15  Torvald Riegel  <triegel@redhat.com>
3185         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
3187 2014-12-15  Jeff Law  <law@redhat.com>
3189         [BZ #16617]
3190         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
3191         on the heap.  (CVE-2012-3406)
3192         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
3193         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
3194         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
3196 2014-12-15  Will Newton  <will.newton@linaro.org>
3198         * manual/install.texi: Bump required version of texinfo
3199         to 4.7 from 4.5.
3200         * INSTALL: Regenerated.
3201         * configure.ac: Check for makeinfo version 4.7 and above.
3202         * configure: Regenerated.
3204 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3206         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
3207         PREFIX, string constant to insert between directory and name.
3208         * sysdeps/posix/shm_open.c: Update caller.
3209         * sysdeps/posix/shm_unlink.c: Likewise.
3210         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
3211         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
3212         (SEM_SHM_PREFIX): New macro.
3213         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
3214         [$(have-thread-library) = no].
3215         * nptl/Makefile (libpthread-routines): Add shm-directory.
3216         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
3217         * sysdeps/nptl/shm-directory.h: New file.
3218         * sysdeps/posix/shm-directory.c
3219         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
3220         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
3221         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
3222         INTERNAL_SYSCALL.
3223         (__where_is_shmfs): Function removed.
3224         (mountpoint, defaultmount, defaultdir, __namedsem_once):
3225         Variables removed.
3226         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
3227         Use SHM_GET_NAME.
3228         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
3230         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
3231         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
3232         unconditional for use inside libpthread.
3233         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
3235 2014-12-12  Roland McGrath  <roland@hack.frob.com>
3237         * nptl/pthread_getaffinity.c: New file.
3238         * nptl/pthread_setaffinity.c: New file.
3239         * nptl/pthread_getname.c: New file.
3240         * nptl/pthread_setname.c: New file.
3242         * nptl/pthread_create.c (START_THREAD_DEFN)
3243         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
3245 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3246             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3248         * resolv/res_send.c (send_vc): Disable warning resplen may
3249         be used uninitialized.
3251 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
3253         * nptl/tst-mutex6.c
3254         (ATTR_NULL): New define checks ATTR against NULL.
3255         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3256         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3258 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
3260         [BZ #17581]
3261         * malloc/hooks.c
3262         (mem2mem_check): Revert my previous change.
3263         (malloc_check_get_size): Revert my previous change.
3264         (mem2chunk_check): Revert my previous change.
3266 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3268         * sysdeps/posix/shm-directory.c: New file.
3269         * sysdeps/posix/shm-directory.h: New file.
3270         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3271         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3272         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
3273         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3274         Transmute EPERM to EACCES.
3275         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3276         from ...
3277         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
3278         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3280 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3282         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3283         pointer and cast to uintptr_t.
3284         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3285         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3286         Add cast to avoid warning.
3287         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3289 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3291         * nptl/semaphore.h: Move to ...
3292         * sysdeps/pthread/semaphore.h: ... here.
3293         * Makefile (installed-headers): Change nptl/semaphore.h to
3294         sysdeps/pthread/semaphore.h.
3296 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3298         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3299         generated error format strings.
3301         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3302         -Wformat-extra-args warnings for scanf formats.
3303         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3304         test of zero-length format (duh).
3305         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3306         corner-case scanf format test.
3307         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3308         generated fprintf format string.
3309         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3310         corner-case sprintf format tests.
3311         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3312         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3313         -Wformat-extra-args warnings throughout.
3314         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3315         (CFLAGS-scanf4.c): Likewise.
3316         (CFLAGS-scanf7.c): Likewise.
3317         (CFLAGS-tst-sprintf.c): Likewise.
3318         (CFLAGS-tst-printf.c): Likewise.
3319         (CFLAGS-tst-printfsz.c): Likewise.
3321 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3323         * include/cpio.h: New file.
3324         * include/fmtmsg.h: Likewise.
3326         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
3327         corresponding format argument to size_t.
3328         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
3329         arguments.
3330         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
3331         corresponding format argument to size_t.
3332         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
3333         arguments.
3334         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
3335         corresponding format argument to size_t.
3336         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3337         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3338         (CFLAGS-tst-mbswcs2.c): Likewise.
3339         (CFLAGS-tst-mbswcs3.c): Likewise.
3340         (CFLAGS-tst-mbswcs4.c): Likewise.
3341         (CFLAGS-tst-mbswcs5.c): Likewise.
3342         (CFLAGS-tst-trans.c): Likewise
3344 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3346         * posix/regexbug1.c (main): Use "%s" format with regerror results,
3347         rather than assuming they won't contain any '%'s.
3349 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
3351         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3352         inhibit_loop_to_libcall to avoid recursive calls.
3353         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3354         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3356 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3358         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3359         prototype.
3361 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
3363         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3364         integer value instead of boolean.
3366 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
3368         * malloc/malloc.c: Fix powerof2 check.
3370 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3372         * locale/programs/locfile.h (maybe_swap_uint32):
3373         Remove inline and add unused attribute.
3375 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3377         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3378         Truncating assembler expression to a .long expression.
3380 2014-12-11  Andreas Schwab  <schwab@suse.de>
3382         * elf/rtld.c (struct map_args): Constify str member.
3383         (do_preload): Constify fname argument.
3385 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3387         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3388         constants definition.
3390 2014-12-11  Andreas Schwab  <schwab@suse.de>
3392         [BZ #16657]
3393         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3394         FORCE_ELISION instead of DO_ELISION.
3395         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3396         Remove.
3397         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3398         Likewise.
3400         * iconvdata/gconv-modules: Remove duplicate entry.
3402 2014-12-11  Will Newton  <will.newton@linaro.org>
3404         Merge gettext 0.19.3 into intl/.
3406         This involves a number of cosmetic changes to comments
3407         and ANSI function definitions and prototypes throughout
3408         all the files. The gettext copyright header is used but
3409         with the date ranges taken from the glibc copy.
3411         * NEWS: Add gettext merge to 2.21.
3412         * intl/bindtextdom.c: Switch to gettext copyright.
3413         Use ANSI definitions and prototypes.
3414         Use gl_* locking primitives rather than __libc_* ones.
3415         Use __builtin_expect rather than __glibc_likely/unlikely.
3416         * intl/dcgettext.c: Switch to gettext copyright.
3417         Use ANSI definitions and prototypes.
3418         * intl/dcigettext.c: Switch to gettext copyright.
3419         Use ANSI definitions and prototypes.
3420         (INTDIV0_RAISES_SIGFPE): New define.
3421         Use gl_* locking primitives rather than __libc_* ones.
3422         Include eval-plural.h instead of plural-eval.c.
3423         Use __builtin_expect rather than __glibc_likely/unlikely.
3424         * intl/dcngettext.c: Switch to gettext copyright.
3425         Use ANSI definitions and prototypes.
3426         * intl/dgettext.c: Likewise.
3427         * intl/dngettext.c: Likewise.
3428         * intl/plural-eval.c: Renamed to...
3429         * intl/eval-plural.h: ...this.
3430         * intl/explodename.c: Switch to gettext copyright.
3431         Use ANSI definitions and prototypes.
3432         (_nl_explode_name): Use strchr instead of __rawmemchr.
3433         * intl/finddomain.c: Switch to gettext copyright.
3434         Use ANSI definitions and prototypes.
3435         Use gl_* locking primitives rather than __libc_* ones.
3436         (_nl_find_domain): Use malloc rather than alloca for
3437         allocation of temporary locale name.
3438         * intl/gettext.c: Switch to gettext copyright.
3439         Use ANSI definitions and prototypes.
3440         * intl/gettextP.h: Switch to gettext copyright.
3441         Use ANSI definitions and prototypes.
3442         Use gl_* locking primitives rather than __libc_* ones.
3443         * intl/gmo.h: Switch to gettext copyright.
3444         (struct sysdep_string): Move struct segment_pair outside of
3445         struct definition.
3446         * intl/hash-string.c: Use ANSI definitions and prototypes.
3447         * intl/hash-string.h: Switch to gettext copyright.
3448         Use ANSI definitions and prototypes.
3449         * intl/l10nflist.c: Switch to gettext copyright.
3450         Use ANSI definitions and prototypes.
3451         (_nl_normalize_codeset): Avoid integer overflow.
3452         * intl/loadinfo.h: Switch to gettext copyright.
3453         Use ANSI definitions and prototypes.
3454         (LIBINTL_DLL_EXPORTED): New define.
3455         (PATH_SEPARATOR): New define.
3456         * intl/loadmsgcat.c: Switch to gettext copyright.
3457         * intl/localealias.c: Switch to gettext copyright.
3458         Use ANSI definitions and prototypes.
3459         (_nl_expand_alias): Use PATH_SEPARATOR.
3460         * intl/ngettext.c: Switch to gettext copyright.
3461         Use ANSI definitions and prototypes.
3462         * intl/plural-exp.c: Likewise.
3463         * intl/plural-exp.h: Switch to gettext copyright.
3464         Use ANSI definitions and prototypes.
3465         (struct expression): Move definition of enum operator outside
3466         of struct definition.
3467         * intl/plural.c: Regenerate.
3468         * intl/plural.y: Switch to gettext copyright.
3469         Use ANSI definitions and prototypes.
3470         Port to bison 3.0.
3471         * intl/textdomain.c: Switch to gettext copyright.
3472         Use ANSI definitions and prototypes.
3473         Use gl_* locking primitives rather than __libc_* ones.
3475 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
3477         * debug/warning-nop.c: Add used atrribute.
3479 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3481         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3483         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3484         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3485         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3487 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3488             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3490         [BZ #17634]
3491         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3492         Undefine after defining function.  Define as weak alias of
3493         __wcschr.  Use libc_hidden_weak.
3494         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
3495         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3496         (libc_hidden_def): Also define __GI___wcschr alias.
3497         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3498         __wcschr and define as weak alias of __wcschr.
3499         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3500         __wcschr.
3501         [!WCSCHR] (DEFAULT_WCSCHR): Define.
3502         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3503         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
3504         libc_hidden_weak.  Do not use libc_hidden_def.
3505         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3506         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3507         __GI___wcschr alias.
3508         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3509         [IS_IN (libc)] (wcschr): Define as macro expanding to
3510         __redirect_wcschr.
3511         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3512         [IS_IN (libc)] (__wcschr_power6): Likewise.
3513         [IS_IN (libc)] (__wcschr_power7): Likewise.
3514         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
3515         instead of wcschr.
3516         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3517         __libc_wcschr.
3518         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3519         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3520         __wcschr and define as weak alias of __wcschr.  Use
3521         libc_hidden_builtin_def.
3522         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3523         as weak alias of __wcschr.  Use libc_hidden_weak.
3524         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3525         wcschr.
3526         * time/era.c (_nl_init_era_entries): Likewise.
3527         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3528         variable.
3529         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3530         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3532 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3534         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3535         format for long int variable.
3537 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
3539         [BZ #10672]
3540         * manual/search.texi: (Array Sort Function): Remove claim how to make
3541         qsort stable.
3543 2014-12-10  Andreas Schwab  <schwab@suse.de>
3545         [BZ #12847]
3546         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3547         user-controlled locks.
3549 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
3551         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3552         register.
3554 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3556         * configure.ac (--disable-werror): New configure option.
3557         (enable_werror): New AC_SUBST.
3558         * configure: Regenerated.
3559         * config.make.in (enable-werror): New variable.
3560         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3561         -Wno-error=undef.
3562         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3563         * manual/install.texi (Configuring and compiling): Document
3564         --disable-werror.
3565         * INSTALL: Regenerated.
3566         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3567         (CFLAGS-tst-chk2.c): Likewise.
3568         (CFLAGS-tst-chk3.c): Likewise.
3569         (CFLAGS-tst-chk4.cc): Likewise.
3570         (CFLAGS-tst-chk5.cc): Likewise.
3571         (CFLAGS-tst-chk6.cc): Likewise.
3572         (CFLAGS-tst-lfschk1.c): Likewise.
3573         (CFLAGS-tst-lfschk2.c): Likewise.
3574         (CFLAGS-tst-lfschk3.c): Likewise.
3575         (CFLAGS-tst-lfschk4.cc): Likewise.
3576         (CFLAGS-tst-lfschk5.cc): Likewise.
3577         (CFLAGS-tst-lfschk6.cc): Likewise.
3579         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3580         (main): Disable -Wdeprecated-declarations around calls to
3581         register_printf_function.
3583         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3584         (do_test): Disable -Wdiv-by-zero around some calls to
3585         fwrite_unlocked and fread_unlocked.
3587         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3588         (DIAG_POP_NEEDS_COMMENT): Likewise.
3589         (_DIAG_STR1): Likewise.
3590         (_DIAG_STR): Likewise.
3591         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3592         * stdio-common/bug21.c: Include <libc-internal.h>.
3593         (do_test): Disable -Wformat around call to sscanf.
3594         * stdio-common/scanf14.c: Include <libc-internal.h>.
3595         (main): Disable -Wformat around some calls to scanf functions.
3597 2014-12-09  Torvald Riegel  <triegel@redhat.com>
3599         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3601 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3603         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3604         stack variable alignment.
3606 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
3608         [BZ #17682]
3609         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3610         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3611         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3612         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3613         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3614         __getrlimit instead of getrlimit.
3615         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3616         __gettimeofday instead of gettimeofday.
3617         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3618         Likewise.
3619         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3620         Likewise.
3621         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3622         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3623         Remove variable.
3624         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3625         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3627 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3629         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3630         for wide-character tests.
3632 2014-12-04  Roland McGrath  <roland@hack.frob.com>
3634         * io/openat64.c: #include <libc-internal.h>
3635         (__openat64): Prototypify.  Use ignore_value on MODE.
3636         * io/openat.c: Likewise.
3637         * misc/reboot.c: #include <libc-internal.h>
3638         (reboot): Prototypify.  Use ignore_value on HOWTO.
3639         * misc/ptrace.c: #include <libc-internal.h>
3640         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
3642 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
3644         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3645         XPG4, UNIX98 and XOPEN2K.
3646         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3647         Remove variable.
3648         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3650 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3652         * libio/fileops.c: Use ISO C style for function definitions.
3653         * libio/iofopen.c: Likewise.
3654         * libio/wfileops.c: Likewise.
3656         [BZ #17653]
3657         * libio/fileops.c (_IO_new_file_underflow): Unset cached
3658         offset on EOF.
3659         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3660         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3661         (fgets_func): Function pointer to fgets and fgetws.
3662         (do_ftell_test): Add test to verify ftell value after read
3663         EOF.
3664         (do_test): Set fgets_func.
3666         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3667         O_TRUNC flag for w and w+ modes.
3668         (do_rewind_test): Likewise.
3669         (do_ftell_test): Likewise.
3670         (do_write_test): Likewise.
3672         [BZ #17647]
3673         * libio/fileops.c (do_ftell): Seek only when there are
3674         unflushed writes.
3675         * libio/wfileops.c (do_ftell_wide): Likewise.
3676         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3677         test case.
3678         (do_one_test): Call it.
3680 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
3682         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3683         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3684         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3685         Remove variable.
3686         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3687         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3688         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3690 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3692         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3693         Remove variable.
3694         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3696         [BZ #17668]
3697         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3698         as weak alias of __getifaddrs.  Use libc_hidden_weak.
3699         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3700         __freeifaddrs.  Use libc_hidden_weak.
3701         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3702         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
3703         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3704         __freeifaddrs.  Use libc_hidden_weak.
3705         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3706         __getifaddrs and define as weak alias of __getifaddrs.  Use
3707         libc_hidden_weak.
3708         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3709         __freeifaddrs.  Use libc_hidden_weak.
3710         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3711         Remove variable.
3712         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3713         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3715 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3717         [BZ #17601]
3718         * sysdeps/mips/start.S (__start): Use indirect jump to call
3719         __libc_start_main.
3721 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3723         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3725         * nptl/tst-mutex1.c: Include <stdbool.h>.
3726         [!ATTR] (ATTR_NULL): New macro.
3727         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3728         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3729         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3731         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3732         to char *.
3734         [BZ #17665]
3735         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3736         Change conditional to [__USE_MISC].
3738         [BZ #17664]
3739         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3740         fgets_unlocked.
3741         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3742         __fgets_unlocked.
3743         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3744         fgets_unlocked.
3745         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3746         Remove variable.
3747         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3748         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3749         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3750         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3751         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3752         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3753         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3754         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3755         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3757         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3759 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3761         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3762         Remove strpbrk objects.
3763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3764         (__libc_ifunc_impl_list): Remove strpbrk implementation.
3765         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3766         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3767         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3768         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3770         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3771         Remove strcspn objects.
3772         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3773         (__libc_ifunc_impl_list): Remove strcspn implementation.
3774         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3775         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3776         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3777         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3779         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3780         Remove strspn objetcs.
3781         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3782         (__libc_ifunc_impl_list): Remove strspn implementation.
3783         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3784         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3785         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3786         * sysdeps/powerpc/powerpc64/strspn.S: New file.
3788 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
3790         [BZ #17581]
3791         * malloc/hooks.c
3792         (mem2mem_check): Add a terminator to the chain of checking blocks.
3793         (malloc_check_get_size): Use it here.
3794         (mem2chunk_check): Ditto.
3796 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3798         * sysdeps/powerpc/powerpc64/strtok.S: New file.
3799         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3801 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
3803         * bits/ioctl-types.h: Indent preprocessor directives correctly.
3805         * nptl/nptl-init.c: Include libc-internal.h.
3806         (__pthread_initialize_minimal_internal): Use ROUND_UP.
3808         * elf/ldconfig.c (search_dir): Expand comment.
3810 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
3812         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3813         variable.
3814         (linknamespace-symlist-stdlibs-tests): Likewise.
3815         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3816         instead of $(objpfx)symlist-stdlibs.
3817         (linknamespace-libs-isoc): New variable.
3818         (linknamespace-libs): Use $(linknamespace-libs-isoc).
3819         (linknamespace-libs-ISO): New variable.
3820         (linknamespace-libs-ISO99): Likewise.
3821         (linknamespace-libs-ISO11): Likewise.
3822         (linknamespace-libs-XPG3): Likewise.
3823         (linknamespace-libs-XPG4): Likewise.
3824         (linknamespace-libs-POSIX): Likewise.
3825         (linknamespace-libs-UNIX98): Likewise.
3826         (linknamespace-libs-XOPEN2K): Likewise.
3827         (linknamespace-libs-POSIX2008): Likewise.
3828         (linknamespace-libs-XOPEN2K8): Likewise.
3829         ($(objpfx)symlist-stdlibs): Replace by
3830         $(linknamespace-symlist-stdlibs-tests).  Use
3831         $(linknamespace-libs-$*) as set of libraries.
3832         ($(linknamespace-header-tests)): Update dependencies.  Use
3833         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3834         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3835         * conform/linknamespace.pl: Remove comment about considering
3836         definitions of symbols from irrelevant libraries.
3838 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3840         [BZ #13862]
3841         * elf/dl-tls.c: Include <atomic.h>.
3842         (oom): Remove #ifdef SHARED/#endif.
3843         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3844         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3845         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3846         big enough.
3847         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3848         * nptl/Makefile (tests): Add tst-stack4.
3849         (modules-names): Add tst-stack4mod.
3850         ($(objpfx)tst-stack4): New.
3851         (tst-stack4mod.sos): Likewise.
3852         ($(objpfx)tst-stack4.out): Likewise.
3853         ($(tst-stack4mod.sos)): Likewise.
3854         (clean): Likewise.
3855         * nptl/tst-stack4.c: New file.
3856         * nptl/tst-stack4mod.c: Likewise.
3858 2014-11-27  J. Brown  <jb999@gmx.de>
3860         * sysdeps/x86/bits/string.h: Add recent CPUs.
3862 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3864         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3865         sigblock.
3867         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3868         feof.
3870         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3871         variable.
3873 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3875         * nscd/connections.c: Include libc-internal.h because of macro
3876         usage ignore_value.
3878 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3880         * string/bits/string3.h (__warn_memset_zero_len): Don't
3881         declare for gcc newer than 5.0.
3882         (memset): Don't test for zero-length __LEN for gcc newer than
3883         5.0.
3885 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3887         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3888         size_t for %zu format.
3890         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3891         difference, not %ju.
3893 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3895         * include/libc-internal.h (ignore_value): New macro.
3896         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3897         with ignore_value.
3899         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3900         definition.
3902         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3903         pthread_cleanup_push to void *.
3905         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3906         Undefine.
3908         [BZ #16619]
3909         [BZ #16740]
3910         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3911         instead of 1L << 52.
3913         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3914         * libio/bug-rewind2.c (do_test): Likewise.
3916         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3917         * debug/test-strcpy_chk-ifunc.c: Likewise.
3918         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3919         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3920         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3921         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3922         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3923         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3924         * Rules [$(multi-arch) = no] (tests): Do not filter out
3925         $(tests-ifunc).
3926         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3927         * debug/Makefile (tests-ifunc): Remove variable.
3928         (tests): Do not add $(tests-ifunc).
3929         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3930         (tests): Do not add $(tests-ifunc).
3931         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3932         [TEST_IFUNC]: Remove conditionals.
3933         * string/test-string.h (TEST_IFUNC): Remove macro.
3934         [TEST_IFUNC]: Remove conditionals.
3936         * string/test-strchr.c [!WIDE] (L): New macro.
3937         [WIDE] (L): Likewise.
3938         (check1): Use CHAR instead of char.  Use L on string and character
3939         constants.
3941 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3943         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3944         tests.
3945         * sysdeps/powerpc/bits/atomic.h
3946         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3947         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3948         (atomic_exchange_and_add_acq): Likewise.
3949         (atomic_exchange_and_add_rel): Likewise.
3950         * sysdeps/powerpc/powerpc32/bits/atomic.h
3951         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3952         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3953         * sysdeps/powerpc/powerpc64/bits/atomic.h
3954         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3955         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3957 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3959         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3960         Change synchronization of __sched_fifo_min_prio and
3961         __sched_fifo_max_prio.
3962         * nptl/pthread_mutexattr_getprioceiling.c
3963         (pthread_mutexattr_getprioceiling): Likewise.
3964         * nptl/pthread_mutexattr_setprioceiling.c
3965         (pthread_mutexattr_setprioceiling): Likewise.
3966         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3967         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3968         Likewise.
3970 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3972         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3973         void.
3975 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3977         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3978         third argument const.
3980 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3982         fnmatch: work around GCC compiler warning bug with uninit var
3983         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3984         This works around a bug with x86-64 GCC 4.9.2 and earlier
3985         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3986         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3987         used uninitialized in this function [-Wmaybe-uninitialized]".
3989 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3991         * posix/bug-regex31.c (main): Return RES not 0.
3993 2014-11-25  Anton Blanchard <anton@samba.org>
3995         * sysdeps/powerpc/bits/atomic.h
3996         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3998 2014-11-24  Sterling Augustine  <saugustine@google.com>
4000         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
4002 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
4004         [BZ #17608]
4005         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
4007 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
4009         [BZ #17633]
4010         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
4011         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
4012         variable.
4013         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4014         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4016 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4018         * string/strncpy.c (strncpy): Improve performance by using memset.
4020 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
4022         * string/strcpy.c (strcpy):
4023         Improve performance by using strlen and memcpy.
4025 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
4027         * string/strcoll_l.c (get_next_seq): __always_inline.
4028         * string/strcoll_l.c (do_compare): __always_inline.
4030 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
4032         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
4033         defined.
4034         * include/mqueue.h: Likewise.
4035         * include/stdlib.h: Likewise.
4037         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
4038         (get_null_defines): Adjust.
4039         * sunrpc/Makefile: Adjust comment.
4040         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
4041         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
4042         (CFLAGS-interp.c): Likewise.
4043         (CFLAGS-ldconfig.c): Likewise.
4044         (CPPFLAGS-.os): Likewise.
4045         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4046         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4047         * extra-modules.mk (extra-modules.mk): Likewise.
4048         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
4049         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
4050         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
4051         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
4052         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
4053         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
4054         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
4055         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
4056         * iconvdata/Makefile (CPPFLAGS): Likewise.
4057         (cpp-srcs-left): Add libof for all iconvdata routines.
4058         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
4059         * include/assert.h: Likewise.
4060         * include/ctype.h: Likewise.
4061         * include/errno.h: Likewise.
4062         * include/libc-symbols.h: Likewise.
4063         * include/math.h: Likewise.
4064         * include/netdb.h: Likewise.
4065         * include/resolv.h: Likewise.
4066         * include/stdio.h: Likewise.
4067         * include/stdlib.h: Likewise.
4068         * include/string.h: Likewise.
4069         * include/sys/stat.h: Likewise.
4070         * include/wctype.h: Likewise.
4071         * intl/l10nflist.c: Likewise.
4072         * libidn/idn-stub.c: Likewise.
4073         * libio/libioP.h: Likewise.
4074         * nptl/libc_multiple_threads.c: Likewise.
4075         * nptl/pthreadP.h: Likewise.
4076         * posix/regex_internal.h: Likewise.
4077         * resolv/res_hconf.c: Likewise.
4078         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
4079         * sysdeps/arm/memmove.S: Likewise.
4080         * sysdeps/arm/sysdep.h: Likewise.
4081         * sysdeps/generic/_itoa.h: Likewise.
4082         * sysdeps/generic/symbol-hacks.h: Likewise.
4083         * sysdeps/gnu/errlist.awk: Likewise.
4084         * sysdeps/gnu/errlist.c: Likewise.
4085         * sysdeps/i386/i586/memcpy.S: Likewise.
4086         * sysdeps/i386/i586/memset.S: Likewise.
4087         * sysdeps/i386/i686/memcpy.S: Likewise.
4088         * sysdeps/i386/i686/memmove.S: Likewise.
4089         * sysdeps/i386/i686/mempcpy.S: Likewise.
4090         * sysdeps/i386/i686/memset.S: Likewise.
4091         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
4092         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
4093         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
4094         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
4095         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
4096         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4097         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
4098         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
4099         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
4100         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
4101         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
4102         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
4103         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
4104         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
4105         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
4106         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
4107         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
4108         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
4109         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
4110         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
4111         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4112         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4113         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
4114         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
4115         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
4116         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4117         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
4118         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
4119         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
4120         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
4121         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
4122         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4123         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4124         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
4125         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4126         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
4127         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
4128         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
4129         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
4130         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
4131         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
4132         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
4133         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
4134         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
4135         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
4136         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
4137         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
4138         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
4139         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
4140         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
4141         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
4142         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
4143         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
4144         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
4145         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
4146         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
4147         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
4148         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
4149         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
4150         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
4151         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
4152         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
4153         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
4154         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4155         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4156         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
4157         * sysdeps/posix/closedir.c: Likewise.
4158         * sysdeps/posix/opendir.c: Likewise.
4159         * sysdeps/posix/readdir.c: Likewise.
4160         * sysdeps/posix/rewinddir.c: Likewise.
4161         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
4162         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
4163         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
4164         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
4165         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4166         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
4167         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
4168         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
4169         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
4170         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
4171         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
4172         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
4173         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
4174         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
4175         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
4176         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
4177         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
4178         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
4179         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
4180         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
4181         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
4182         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
4183         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
4184         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
4185         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
4186         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
4187         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
4188         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
4189         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
4190         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
4191         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
4192         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
4193         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
4194         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
4195         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
4196         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
4197         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4198         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4199         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
4200         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
4201         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
4202         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
4203         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
4204         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
4205         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
4206         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
4207         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
4208         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
4209         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
4210         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
4211         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
4212         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
4213         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
4214         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
4215         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
4216         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
4217         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
4218         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
4219         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
4220         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
4221         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
4222         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
4223         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
4224         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
4225         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
4226         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
4227         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
4228         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
4229         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
4230         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
4231         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
4232         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
4233         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
4234         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
4235         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
4236         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
4237         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
4238         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
4239         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
4240         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
4241         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
4242         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
4243         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
4244         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
4245         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
4246         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
4247         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
4248         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
4249         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
4250         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
4251         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
4252         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
4253         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
4254         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4255         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4256         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4257         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4258         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4259         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4260         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4261         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4262         * sysdeps/unix/alpha/sysdep.S: Likewise.
4263         * sysdeps/unix/alpha/sysdep.h: Likewise.
4264         * sysdeps/unix/make-syscalls.sh: Likewise.
4265         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4266         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4267         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4268         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4269         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4270         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4271         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4272         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4273         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4274         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4275         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4276         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4277         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4278         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4279         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4280         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4281         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4282         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4283         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4284         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4285         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4286         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4287         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4288         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4289         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4290         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4291         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4294         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4295         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4296         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4297         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4298         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4299         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4300         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4301         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4302         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4303         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4304         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4305         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4306         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4307         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4308         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4309         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4310         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4311         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4312         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4313         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4314         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4315         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4316         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4317         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4318         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4319         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4320         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4321         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4322         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4323         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4324         * sysdeps/x86_64/memcpy.S: Likewise.
4325         * sysdeps/x86_64/memmove.c: Likewise.
4326         * sysdeps/x86_64/memset.S: Likewise.
4327         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4328         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4329         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4330         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4331         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4332         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4333         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4334         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4335         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4336         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4337         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4338         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4339         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4340         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4341         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4342         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4343         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4344         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4345         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4346         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4347         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4348         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4349         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4350         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4351         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4352         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4353         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4354         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4355         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4356         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4357         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4358         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4359         * sysdeps/x86_64/strcmp.S: Likewise.
4361         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4363         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4364         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4365         * elf/rtld-Rules: Likewise.
4366         * elf/setup-vdso.h: Likewise.
4367         * include/assert.h: Likewise.
4368         * include/bits/stdlib-float.h: Likewise.
4369         * include/errno.h: Likewise.
4370         * include/sys/stat.h: Likewise.
4371         * include/unistd.h: Likewise.
4372         * sysdeps/aarch64/setjmp.S: Likewise.
4373         * sysdeps/alpha/setjmp.S: Likewise.
4374         * sysdeps/arm/__longjmp.S: Likewise.
4375         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4376         * sysdeps/arm/setjmp.S: Likewise.
4377         * sysdeps/arm/sysdep.h: Likewise.
4378         * sysdeps/generic/_itoa.h: Likewise.
4379         * sysdeps/generic/dl-sysdep.h: Likewise.
4380         * sysdeps/generic/ldsodefs.h: Likewise.
4381         * sysdeps/i386/dl-tls.h: Likewise.
4382         * sysdeps/i386/setjmp.S: Likewise.
4383         * sysdeps/m68k/setjmp.c: Likewise.
4384         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4385         * sysdeps/mach/hurd/opendir.c: Likewise.
4386         * sysdeps/posix/getcwd.c: Likewise.
4387         * sysdeps/posix/opendir.c: Likewise.
4388         * sysdeps/posix/profil.c: Likewise.
4389         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4390         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4391         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4392         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4393         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4394         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4395         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4396         * sysdeps/s390/dl-tls.h: Likewise.
4397         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4398         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4399         * sysdeps/sh/sh3/setjmp.S: Likewise.
4400         * sysdeps/sh/sh4/setjmp.S: Likewise.
4401         * sysdeps/unix/alpha/sysdep.h: Likewise.
4402         * sysdeps/unix/arm/sysdep.S: Likewise.
4403         * sysdeps/unix/i386/sysdep.S: Likewise.
4404         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4405         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4406         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4407         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4408         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4409         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4410         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4411         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4412         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4413         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4414         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4415         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4416         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4419         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4420         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4421         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4422         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4423         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4424         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4425         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4426         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4427         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4428         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4429         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4430         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4431         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4432         * sysdeps/x86_64/setjmp.S: Likewise.
4434         * include/math.h: Use IS_IN instead of IS_IN_libm.
4435         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4436         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4437         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4438         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4439         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4440         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4441         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4442         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4443         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4444         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4445         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4446         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4447         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4448         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4449         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4450         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4451         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4452         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4453         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4454         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4455         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4456         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4457         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4458         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4459         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4460         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4461         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4462         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4463         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4464         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4465         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4466         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4467         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4468         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4469         Likewise.
4470         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4471         Likewise.
4472         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4473         Likewise.
4474         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4475         Likewise.
4476         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4477         Likewise.
4478         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4479         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4480         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4481         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4482         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4483         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4484         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4486         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4489         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4490         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4491         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4492         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4493         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4494         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4495         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4496         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4497         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4498         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4499         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4500         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4501         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4502         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4503         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4504         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4506         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4507         * nptl/pthreadP.h: Likewise.
4508         * nptl_db/structs.def: Likewise.
4509         * sysdeps/arm/sysdep.h: Likewise.
4510         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4511         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4512         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4513         * sysdeps/unix/alpha/sysdep.h: Likewise.
4514         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4515         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4516         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4517         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4518         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4519         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4520         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4521         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4522         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4523         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4524         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4525         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4526         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4527         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4530         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4531         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4532         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4533         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4534         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4535         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4536         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4537         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4538         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4539         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4541         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4542         * nptl/pthreadP.h: Likewise.
4543         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4544         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4545         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4546         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4547         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4548         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4549         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4550         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4551         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4552         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4553         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4554         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4556         Likewise.
4557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4558         Likewise.
4559         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4560         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4561         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4562         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4563         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4564         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4565         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4566         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4568         * dlfcn/dladdr.c: Use IS_IN.
4569         * dlfcn/dladdr1.c: Likewise.
4570         * dlfcn/dlclose.c: Likewise.
4571         * dlfcn/dlerror.c: Likewise.
4572         * dlfcn/dlinfo.c: Likewise.
4573         * dlfcn/dlmopen.c: Likewise.
4574         * dlfcn/dlopen.c: Likewise.
4575         * dlfcn/dlsym.c: Likewise.
4576         * dlfcn/dlvsym.c: Likewise.
4578         * include/ifaddrs.h: Use IS_IN.
4579         * inet/check_pf.c: Likewise.
4580         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4581         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4583         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4584         IS_IN_ldconfig.
4585         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4586         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4588         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4589         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4590         IS_IN (libc).
4592         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4594         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4595         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4596         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4597         * include/libc-symbols.h (IS_IN_LIB): New macro.
4598         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4599         * include/netdb.h: Likewise.
4600         * include/stap-probe.h: Remove all uses of IN_LIB.
4602         * Makeconfig (module-cppflags-real): Define MODULE_NAME
4603         instead of IN_MODULE.
4604         * include/libc-symbols.h (IN_MODULE): Define using
4605         MODULE_NAME.
4606         (PASTE_NAME, PASTE_NAME1): New macros.
4607         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4608         of IN_LIB.
4609         (STAP_PROBE_ASM): Likewise.
4611 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4613         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4614         __mach_init in dlopened libc.
4616 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
4618         * sysdeps/arm/preconfigure.ac: Delete EABI check.
4619         * sysdeps/arm/preconfigure: Regenerate.
4621 2014-11-21  Roland McGrath  <roland@hack.frob.com>
4623         * nptl/pthread_create.c (__pthread_create_2_1): Set
4624         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4625         when copying values from IATTR into PD.
4627 2014-11-21  Will Newton  <will.newton@linaro.org>
4628             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4630         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4631         Refactor inline-asm.  Also add comment.
4633         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4634         ElfW macro instead of hardcoded Elf64 types.
4635         (la_aarch64_gnu_pltenter): Likewise.
4636         * sysdeps/aarch64/dl-machine.h
4637         (elf_machine_runtime_setup): Use ElfW(Addr).
4639         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4640         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4641         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4642         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4643         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4644         (R_AARCH64_TLS_DTPMOD64): Rename to ..
4645         (R_AARCH64_TLS_DTPMOD): This.
4646         (R_AARCH64_TLS_DTPREL64): Rename to ...
4647         (R_AARCH64_TLS_DTPREL): This.
4648         (R_AARCH64_TLS_TPREL64): Rename to ...
4649         (R_AARCH64_TLS_TPREL): This.
4650         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4651         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4652         R_AARCH64_TLS_TPREL64.
4653         (elf_machine_rela): Likewise.
4655 2014-11-21  Torvald Riegel  <triegel@redhat.com>
4657         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4658         by setting it to 0.  64b atomics are not supported currently.
4660 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4662         [BZ #16469]
4663         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4664         search domain names.
4666 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4668         [BZ #16469]
4669         * NEWS: Update.
4670         * resolv/res_query.c (__libc_res_nquerydomain): Retain
4671         trailing dot.
4672         * posix/tst-getaddrinfo5.c: New.
4673         * posix/Makefile (tests): Add it.
4675 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4677         [BZ #14498]
4678         * NEWS: Fixed.
4679         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4680         after parsing line but before break_if_match.
4681         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4682         if there is a protocol mismatch.
4684 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4686         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4687         because the potential race is on the user-supplied stream.
4689 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4691         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4692         string literal if not passed a buffer.
4693         * manual/job.texi (ctermid): Update reasoning, note deviation
4694         from posix, suggest mtasurace when not passed a buffer, for
4695         future non-preliminary safety notes.
4697 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4699         * manual/users.texi (cuserid): Fix MT-Safety note for the case
4700         of not passing it a buffer.
4701         Reported by Peng Haitao.
4703 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4705         * manual/Makefile ($(objpfx)stamp-summary): Require
4706         check-safety.sh to pass.
4707         * manual/check-safety.sh: Wish for verification that every
4708         @deftypefn and @deftypefun is followed by a @safety remark.
4710 2014-11-20  Roland McGrath  <roland@hack.frob.com>
4712         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4714         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4715         PTHREAD_CANCEL_ASYNCHRONOUS.
4716         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4717         send SIGCANCEL.
4719         * nptl/default-sched.h: New file.
4720         * sysdeps/unix/sysv/linux/default-sched.h: New file.
4721         * nptl/pthread_create.c: Include it.
4722         (__pthread_create_2_1): Use collect_default_sched instead of making
4723         Linux syscalls here directly.
4725 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4727         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4728         __pthread_once): Use C11 atomics.
4730 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4732         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4734 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4736         * include/atomic.h (__atomic_link_error, __atomic_check_size,
4737         atomic_thread_fence_acquire, atomic_thread_fence_release,
4738         atomic_thread_fence_seq_cst, atomic_load_relaxed,
4739         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4740         atomic_compare_exchange_weak_relaxed,
4741         atomic_compare_exchange_weak_acquire,
4742         atomic_compare_exchange_weak_release,
4743         atomic_exchange_acquire, atomic_exchange_release,
4744         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4745         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4746         atomic_fetch_and_acquire,
4747         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4749 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4751         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4752         USE_ATOMIC_COMPILER_BUILTINS): Define.
4753         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4754         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4755         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4756         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4757         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4758         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4759         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4760         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4761         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4762         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4763         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4764         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4765         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4766         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4767         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4768         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4769         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4770         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4771         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4772         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4773         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4774         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4775         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4776         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4777         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4778         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4779         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4780         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4781         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4782         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4783         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4784         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4785         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4786         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4787         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4788         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4789         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4790         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4791         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4792         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4794 2014-11-19  Roland McGrath  <roland@hack.frob.com>
4796         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4797         the sched_priority value here.  It was already checked when the user
4798         called pthread_attr_setschedparam.
4800         * nptl/tst-bad-schedattr.c: New file.
4801         * nptl/Makefile (tests): Add it.
4803 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
4804             Florian Weimer  <fweimer@redhat.com>
4805             Joseph Myers  <joseph@codesourcery.com>
4806             Adam Conrad  <adconrad@0c3.net>
4807             Andreas Schwab  <schwab@suse.de>
4808             Brooks  <bmoses@google.com>
4810         [BZ #17625]
4811         * wordexp-test.c (__dso_handle): Add prototype.
4812         (__register_atfork): Likewise.
4813         (__app_register_atfork): New function.
4814         (registered_forks): New global.
4815         (register_fork): New function.
4816         (test_case): Add 3 new tests for WRDE_CMDSUB.
4817         (main): Call __app_register_atfork.
4818         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4819         fork count is non-zero fail the test.
4820         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4821         is set.
4822         (parse_dollars): Remove check for WRDE_NOCMD.
4823         (parse_dquote): Likewise.
4825 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4827         * Makeconfig (built-modules): List non-library modules to be
4828         built.
4829         (module-cppflags): Include libc-modules.h for
4830         everything except shlib-versions.v.i.
4831         (CPPFLAGS): Use it.
4832         (before-compile): Add libc-modules.h.
4833         ($(common-objpfx)libc-modules.h,
4834         $(common-objpfx)libc-modules.stmp): New targets.
4835         (common-generated): Add libc-modules.h and libc-modules.stmp.
4836         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4837         * include/libc-symbols.h: Don't include libc-modules.h.
4838         * include/libc-modules.h: Remove file.
4839         * scripts/gen-libc-modules.awk: New script to generate
4840         libc-modules.h.
4841         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4842         Depend on libc-modules.stmp.
4844         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4846         * Makeconfig (in-module): Get value of libof set for the
4847         translation unit.
4848         (CPPFLAGS): Use $(in-module).
4849         * Makerules: Don't suffix routine names for nonlib.
4850         * include/libc-modules.h: New file.
4851         * include/libc-symbols.h: Include libc-modules.h
4852         (IS_IN): New macro to replace IS_IN_* macros.
4853         * elf/Makefile: Set libof-* for each routine.
4854         * elf/rtld-Rules: Likewise.
4855         * extra-modules.mk: Likewise.
4856         * iconv/Makefile: Likewise.
4857         * iconvdata/Makefile: Likewise.
4858         * locale/Makefile: Likewise.
4859         * malloc/Makefile: Likewise.
4860         * nss/Makefile: Likewise.
4861         * sysdeps/gnu/Makefile: Likewise.
4862         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4863         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4864         * sysdeps/s390/s390-64/Makefile: Likewise.
4865         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4866         CPPFLAGS for nscd instead of nonlib.
4868 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4870         * nptl/createthread.c: New file.
4872         * nptl/createthread.c: Moved ...
4873         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4875         * nptl/createthread.c: Add proper top-line comment.
4876         (do_clone): Folded into ...
4877         (create_thread): ... here.  Take new arguments STOPPED_START and
4878         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4879         increment __nptl_threads, do event-reporting logic, do
4880         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4881         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4882         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4883         just send SIGCANCEL.
4884         * nptl/pthread_create.c: Forward-declare create_thread before
4885         including createthread.c.
4886         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4887         declaration, and new macro START_THREAD_SELF to replace argument.
4888         Remove return statement.
4889         (report_thread_creation): New function.
4890         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4891         synchronization logic, and __nptl_nthreads increment here, around
4892         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4893         PD->parent_cancelhandling here, before create_thread.  When
4894         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4895         __deallocate_stack, and ENOMEM translation here.
4897 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4899         [BZ #17616]
4900         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4901         (mptwo): Rename to __mptwo.
4902         (__inv): Use __mptwo instead of mptwo.
4903         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4904         (mptwo): Rename to __mptwo.
4905         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4906         of mpone and __mptwo instead of mptwo.
4907         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4908         instead of mpone.
4909         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4910         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4911         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4912         of mpone and __mptwo instead of mptwo.
4913         (__mpranred): Use __mpone instead of mpone.
4914         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4915         variable.
4916         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4917         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4918         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4919         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4920         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4921         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4922         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4923         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4924         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4925         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4926         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4927         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4928         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4929         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4930         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4931         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4932         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4933         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4934         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4936 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4938         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4939         replace BSD Handler xref with BSD Signal Handling.
4941 2014-11-17  Richard Henderson  <rth@redhat.com>
4943         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4944         (_FP_PACK_RAW_2): Remove.
4945         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4946         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4947         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4948         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4949         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4950         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4951         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4952         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4953         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4954         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4955         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4956         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4957         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4958         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4959         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4960         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4962 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4964         * signal/signal.h [__USE_MISC]
4965         (struct sigvec): Remove type.
4966         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4967         (sigvec): Remove declaration.
4968         * sysdeps/posix/sigvec.c: Moved ...
4969         * signal/sigvec.c: ... here, replacing old file.
4970         (struct sigvec): New type, copied from old signal.h definition.
4971         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4972         (__sigvec): Convert definition to prototype.
4973         (sigvec): Replace weak_alias with compat_symbol.
4974         * signal/Versions (libc: GLIBC_2.21): New version set.
4975         * include/signal.h: Remove __sigvec declaration.
4976         * sysdeps/unix/bsd/sigvec.c: Remove file.
4977         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4978         * manual/signal.texi (BSD Handler): Remove subsection.
4979         Move siginterrupt up to ...
4980         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4981         (Blocking in BSD): Fold subsection into its parent.
4982         * NEWS: Mention sigvec removal.
4984 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4986         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4987         (DLA_FMS): Make definition conditional only on [__FMA4__].
4988         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4989         definition.
4991         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4992         Make definition conditional only on [PROF].
4993         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4994         definition.
4995         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4996         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4998         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4999         !__GNUC__].
5000         * include/signal.h (__sigpause): Move declaration above call to
5001         libc_hidden_proto.
5002         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
5003         variable.
5004         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5005         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5007 2014-11-14  David S. Miller  <davem@davemloft.net>
5009         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
5010         Define before including <string/memcpy.c> and <string/mempcpy.c>.
5012 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
5014         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
5015         * configure: Regenerated.
5016         * manual/install.texi (Tools for Compilation): Document a
5017         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
5018         compiler verified to work.
5019         * INSTALL: Regenerated.
5021         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
5022         redeclare with asm name.
5023         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
5024         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
5025         including <string.h>.
5026         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5027         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
5028         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5029         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
5030         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5031         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
5032         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
5034 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
5036         * stdlib/strtol.c (__strtol): Use prototype definition.
5038         [BZ #17594]
5039         * stdlib/strtol.c (SYM__): New macro.
5040         (SYM__1): Likewise.
5041         (__strtol): Likewise.
5042         (strtol): Rename to __strtol and define as weak alias of
5043         __strtol.  Use libc_hidden_weak.
5045 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5047         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
5048         Use numbered labels in inline assembly.
5050 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5052         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
5053         Add setjmp LIBC_PROBE.
5054         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
5055         Likewise.
5056         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
5057         Add longjmp, longjmp_target LIBC_PROBE.
5058         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
5059         Likewise.
5061 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5063         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
5064         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
5065         to get rid of unused variable warning.
5067 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
5069         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
5070         Check for unwind_backtrace ==  NULL only in SHARED case.
5071         (__backchain_backtrace): Compile only in SHARED case.
5072         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
5073         Likewise.
5074         (__backchain_backtrace): Declare as static.
5076 2014-11-12  Roland McGrath  <roland@hack.frob.com>
5078         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
5079         (__libc_multiple_threads_ptr): Variable moved ...
5080         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
5082 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
5084         * conform/GlibcConform.pm: New file.
5085         * conform/conformtest.pl: Use GlibcConform module.
5086         * conform/linknamespace.pl: New file.
5087         * conform/list-header-symbols.pl: Likewise.
5088         * conform/Makefile (linknamespace-symlists-base): New variable.
5089         (linknamespace-symlists-tests): Likewise.
5090         (linknamespace-header-base): Likewise.
5091         (linknamespace-header-tests): Likewise.
5092         (tests-special): Add new tests.
5093         ($(linknamespace-symlists-tests)): New rule.
5094         (linknamespace-libs): New variable.
5095         ($(objpfx)symlist-stdlibs): New rule.
5096         ($(linknamespace-header-tests)): Likewise.
5097         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
5098         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
5099         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
5100         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
5101         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
5102         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
5103         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
5104         (test-xfail-ISO/math.h/linknamespace): Likewise.
5105         (test-xfail-ISO/signal.h/linknamespace): Likewise.
5106         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
5107         (test-xfail-ISO/time.h/linknamespace): Likewise.
5108         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
5109         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
5110         (test-xfail-ISO99/math.h/linknamespace): Likewise.
5111         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
5112         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
5113         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
5114         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
5115         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
5116         (test-xfail-ISO11/math.h/linknamespace): Likewise.
5117         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
5118         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
5119         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
5120         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
5121         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
5122         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
5123         (test-xfail-XPG3/math.h/linknamespace): Likewise.
5124         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
5125         (test-xfail-XPG3/search.h/linknamespace): Likewise.
5126         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
5127         (test-xfail-XPG3/time.h/linknamespace): Likewise.
5128         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
5129         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
5130         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
5131         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
5132         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
5133         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
5134         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
5135         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
5136         (test-xfail-XPG4/math.h/linknamespace): Likewise.
5137         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
5138         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
5139         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
5140         (test-xfail-XPG4/search.h/linknamespace): Likewise.
5141         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
5142         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
5143         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
5144         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
5145         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
5146         (test-xfail-XPG4/time.h/linknamespace): Likewise.
5147         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
5148         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
5149         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
5150         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
5151         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
5152         (test-xfail-POSIX/math.h/linknamespace): Likewise.
5153         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
5154         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
5155         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
5156         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
5157         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
5158         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
5159         (test-xfail-POSIX/time.h/linknamespace): Likewise.
5160         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
5161         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
5162         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
5163         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
5164         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
5165         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
5166         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
5167         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
5168         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
5169         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
5170         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
5171         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
5172         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
5173         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
5174         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
5175         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
5176         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
5177         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
5178         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
5179         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
5180         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
5181         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
5182         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
5183         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
5184         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
5185         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
5186         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
5187         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
5188         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
5189         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
5190         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
5191         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
5192         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
5193         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
5194         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
5195         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
5196         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
5197         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
5198         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
5199         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
5200         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
5201         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
5202         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
5203         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
5204         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
5205         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
5206         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
5207         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
5208         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
5209         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
5210         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
5211         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
5212         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
5213         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
5214         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
5215         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
5216         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
5217         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
5218         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
5219         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
5220         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
5221         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
5222         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
5223         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
5224         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
5225         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
5226         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
5227         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
5228         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
5229         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
5230         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
5231         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
5232         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
5233         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
5234         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
5235         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
5236         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
5237         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
5238         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
5239         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
5240         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
5241         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
5242         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
5243         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
5244         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
5245         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
5246         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
5247         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
5248         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
5249         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
5250         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
5251         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
5252         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
5253         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
5254         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5255         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5256         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5257         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5259         [BZ #17589]
5260         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5261         of fgets_unlocked.
5263         [BZ #17585]
5264         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5265         (memmem): Rename to __memmem and define as weak alias of
5266         __memmem.  Use libc_hidden_weak.
5267         (__memmem): Use libc_hidden_def.
5268         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
5269         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5270         memmem.
5272         [BZ #17582]
5273         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5274         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
5275         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5276         and define as weak alias of __fgets_unlocked.  Use
5277         libc_hidden_weak.
5278         (__fgets_unlocked): Use libc_hidden_def.
5279         * include/stdio.h (__fgets_unlocked): Declare.  Use
5280         libc_hidden_proto.
5281         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5282         __fgets_unlocked instead of fgets_unlocked.
5283         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5284         (GET_NPROCS_CONF_PARSER): Likewise.
5285         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5286         (GET_NPROCS_CONF_PARSER): Likewise.
5288         [BZ #17574]
5289         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5290         weak alias of __wmemset.  Use libc_hidden_weak.
5291         (__wmemset): Use libc_hidden_def.
5292         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
5293         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5294         of wmemset.
5296         [BZ #17573]
5297         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5298         with asm name __mempcpy.
5299         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5301         [BZ #17572]
5302         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5303         and define as weak alias of __rawmemchr.
5304         (__rawmemchr): Do not define as strong alias of rawmemchr.
5306         [BZ #17571]
5307         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5308         alias of __qsort_r.
5309         (qsort): Call __qsort_r instead of qsort_r.
5310         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5311         (__qsort_r): Declare.  Call libc_hidden_proto.
5312         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5313         instead of qsort_r.
5314         * nscd/gai.c (__qsort_r): Define to qsort_r.
5315         * posix/tst-rfc3484.c (__qsort_r): Likewise.
5316         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5317         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5319         [BZ #17570]
5320         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5321         define as weak alias of __malloc_info.
5323         [BZ #17584]
5324         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5325         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5326         (__rewinddir): Use libc_hidden_def.
5327         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5328         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5329         (__rewinddir): Use libc_hidden_def.
5330         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5331         weak alias of __rewinddir.  Don't use libc_hidden_def.
5332         (__rewinddir): Use libc_hidden_def.
5333         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5334         (__rewinddir): Use libc_hidden_proto.
5335         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5336         rewinddir.
5337         (__getcwd): Use __rewinddir instead of rewinddir.
5339         [BZ #17583]
5340         * libio/fileno.c (fileno): Rename to __fileno and define as weak
5341         alias of __fileno.  Use libc_hidden_weak.
5342         (__fileno): Use libc_hidden_def.
5343         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5344         * libio/ftello.c (ftello): Rename to __ftello and define as weak
5345         alias of __ftello.
5346         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5347         __ftello.
5348         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5349         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
5350         libc_hidden_def.
5351         (fread_unlocked): Don't use libc_hidden_ver.
5352         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5353         and define as weak alias of __fread_unlocked.  Don't use
5354         libc_hidden_def.
5355         (__fread_unlocked): Use libc_hidden_def.
5356         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
5357         (ftello): Don't use libc_hidden_proto.
5358         (__ftello): Declare.  Use libc_hidden_proto.
5359         (fread_unlocked): Don't use libc_hidden_proto.
5360         (__fread_unlocked): Declare.  Use libc_hidden_proto.
5361         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5362         and __ftello instead of fileno, fread_unlocked and ftello.
5364 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5366         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5367         GOT12.
5368         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5369         Likewise.
5370         (_dl_start_user): Likewise.
5371         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5373 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
5374             Siddhesh Poyarekar  <siddhesh@redhat.com>
5376         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5377         Move argv and envp down instead of moving argc up.
5378         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5380 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
5382         [BZ #17506]
5383         * test-skeleton.c (main): Return successful if one of
5384         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5385         * string/tst-strcoll-overflow.c: Define expected status.
5387 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
5389         [BZ #17475]
5390         * locale/iso-639.def: Define Bhili and Tulu language codes.
5392 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
5394         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5396 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
5398         [BZ #17555]
5399         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5401 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5403         * configure.ac: Updated check of minimal required version to
5404         2.22.
5405         * manual/install.texi (Tools for Compilation): Updated version
5406         number.
5407         * configure: Regenerated.
5408         * INSTALL: Likewise.
5410 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
5412         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5413         __tls_get_addr.
5415 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
5417         * include/sys/wait.h (__libc_waitpid): Remove declaration.
5418         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5419         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5420         libc_hidden_weak.
5421         (waitpid): Define as alias of __waitpid.
5422         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5423         __waitpid.
5424         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5425         libc_hidden_weak.
5426         (waitpid): Define as alias of __waitpid.
5427         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5428         __libc_waitpid alias.
5429         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5430         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5431         Likewise.
5432         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5433         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5434         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5435         alias.
5436         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5437         __waitpid.
5438         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5439         libc_hidden_weak.
5440         (waitpid): Define as alias of __waitpid.
5442 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
5444         * manual/llio.texi: Add comment that write safety has been
5445         fixed in Linux.
5447         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5448         (localplt-build-dso): Add elf/ld.so.
5449         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5450         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5451         and free for ld.so.
5452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5453         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5455         Likewise.
5456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5457         Likewise.
5458         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5459         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5460         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5461         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5462         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5463         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5464         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5465         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5466         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5467         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5468         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5470 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
5472         [BZ #14132]
5473         * include/libc-symbols.h (INTUSE): Remove macro.
5474         (INTDEF): Likewise.
5475         (INTVARDEF): Likewise.
5476         (_INTVARDEF): Likewise.
5477         (INTDEF2): Likewise.
5478         (INTVARDEF2): Likewise.
5479         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5480         rtld_hidden_def instead of INTVARDEF.
5481         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5482         (_dl_starting_up_internal): Remove declaration.
5483         (_dl_starting_up): Use rtld_hidden_proto.
5484         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5485         declaration.
5486         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5487         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5488         _dl_starting_up.
5489         * elf/dl-writev.h (_dl_writev): Likewise.
5490         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5491         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5492         _dl_starting_up_internal.
5494 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5496         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5497         test-skeleton.c.
5499 2014-11-05  Will Newton  <will.newton@linaro.org>
5501         * benchtests/Makefile: (bench-malloc): Add malloc thread
5502         scalability benchmark.
5503         * benchtests/bench-malloc-threads.c: New file.
5505 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
5507         * sysdeps/aarch64/strchrnul.S: New file.
5509 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5511         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5512         definition.
5513         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5514         Likwise.
5515         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5516         Likewise.
5517         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5518         Likewise.
5519         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5520         Likewise.
5521         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5522         Likewise.
5524 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
5526         * catgets/test-gencat.c: Use test-skeleton.c.
5527         * catgets/tst-catgets.c: Likewise.
5528         * csu/tst-empty.c: Likewise.
5529         * elf/tst-audit2.c: Likewise.
5530         * elf/tst-global1.c: Likewise.
5531         * elf/tst-pathopt.c: Likewise.
5532         * elf/tst-piemod1.c: Likewise.
5533         * elf/tst-tls10.c: Likewise.
5534         * elf/tst-tls11.c: Likewise.
5535         * elf/tst-tls12.c: Likewise.
5536         * gnulib/tst-gcc.c: Likewise.
5537         * iconvdata/tst-e2big.c: Likewise.
5538         * iconvdata/tst-loading.c: Likewise.
5539         * iconv/tst-iconv1.c: Likewise.
5540         * iconv/tst-iconv2.c: Likewise.
5541         * inet/test-inet6_opt.c: Likewise.
5542         * inet/tst-gethnm.c: Likewise.
5543         * inet/tst-network.c: Likewise.
5544         * inet/tst-ntoa.c: Likewise.
5545         * intl/tst-codeset.c: Likewise.
5546         * intl/tst-gettext2.c: Likewise.
5547         * intl/tst-gettext3.c: Likewise.
5548         * intl/tst-ngettext.c: Likewise.
5549         * intl/tst-translit.c: Likewise.
5550         * io/test-stat.c: Likewise.
5551         * libio/test-fmemopen.c: Likewise.
5552         * libio/tst-freopen.c: Likewise.
5553         * libio/tst-sscanf.c: Likewise.
5554         * libio/tst-ungetwc1.c: Likewise.
5555         * libio/tst-ungetwc2.c: Likewise.
5556         * libio/tst-widetext.c: Likewise.
5557         * localedata/tst-ctype.c: Likewise.
5558         * localedata/tst-digits.c: Likewise.
5559         * localedata/tst-leaks.c: Likewise.
5560         * localedata/tst-mbswcs1.c: Likewise.
5561         * localedata/tst-mbswcs2.c: Likewise.
5562         * localedata/tst-mbswcs3.c: Likewise.
5563         * localedata/tst-mbswcs4.c: Likewise.
5564         * localedata/tst-mbswcs5.c: Likewise.
5565         * localedata/tst-setlocale.c: Likewise.
5566         * localedata/tst-trans.c: Likewise.
5567         * localedata/tst-wctype.c: Likewise.
5568         * localedata/tst-xlocale1.c: Likewise.
5569         * login/tst-grantpt.c: Likewise.
5570         * malloc/tst-calloc.c: Likewise.
5571         * malloc/tst-malloc.c: Likewise.
5572         * malloc/tst-mallocstate.c: Likewise.
5573         * malloc/tst-mcheck.c: Likewise.
5574         * malloc/tst-mtrace.c: Likewise.
5575         * malloc/tst-obstack.c: Likewise.
5576         * math/atest-exp2.c: Likewise.
5577         * math/atest-exp.c: Likewise.
5578         * math/atest-sincos.c: Likewise.
5579         * math/test-matherr.c: Likewise.
5580         * math/test-misc.c: Likewise.
5581         * math/test-powl.c: Likewise.
5582         * math/tst-definitions.c: Likewise.
5583         * misc/tst-dirname.c: Likewise.
5584         * misc/tst-efgcvt.c: Likewise.
5585         * misc/tst-fdset.c: Likewise.
5586         * misc/tst-hsearch.c: Likewise.
5587         * misc/tst-mntent2.c: Likewise.
5588         * nptl/tst-sem7.c: Likewise.
5589         * nptl/tst-sem8.c: Likewise.
5590         * nptl/tst-sem9.c: Likewise.
5591         * nss/test-netdb.c: Likewise.
5592         * posix/tst-fnmatch.c: Likewise.
5593         * posix/tst-getlogin.c: Likewise.
5594         * posix/tst-gnuglob.c: Likewise.
5595         * posix/tst-mmap.c: Likewise.
5596         * pwd/tst-getpw.c: Likewise.
5597         * resolv/tst-inet_ntop.c: Likewise.
5598         * rt/tst-timer.c: Likewise.
5599         * stdio-common/test-fseek.c: Likewise.
5600         * stdio-common/test-popen.c: Likewise.
5601         * stdio-common/test-vfprintf.c: Likewise.
5602         * stdio-common/tst-cookie.c: Likewise.
5603         * stdio-common/tst-fileno.c: Likewise.
5604         * stdio-common/tst-gets.c: Likewise.
5605         * stdio-common/tst-obprintf.c: Likewise.
5606         * stdio-common/tst-perror.c: Likewise.
5607         * stdio-common/tst-sprintf2.c: Likewise.
5608         * stdio-common/tst-sprintf3.c: Likewise.
5609         * stdio-common/tst-sprintf.c: Likewise.
5610         * stdio-common/tst-swprintf.c: Likewise.
5611         * stdio-common/tst-tmpnam.c: Likewise.
5612         * stdio-common/tst-unbputc.c: Likewise.
5613         * stdio-common/tst-wc-printf.c: Likewise.
5614         * stdlib/tst-environ.c: Likewise.
5615         * stdlib/tst-fmtmsg.c: Likewise.
5616         * stdlib/tst-limits.c: Likewise.
5617         * stdlib/tst-rand48-2.c: Likewise.
5618         * stdlib/tst-rand48.c: Likewise.
5619         * stdlib/tst-random2.c: Likewise.
5620         * stdlib/tst-random.c: Likewise.
5621         * stdlib/tst-strtol.c: Likewise.
5622         * stdlib/tst-strtoll.c: Likewise.
5623         * stdlib/tst-tls-atexit.c: Likewise.
5624         * stdlib/tst-xpg-basename.c: Likewise.
5625         * string/test-ffs.c: Likewise.
5626         * string/tst-bswap.c: Likewise.
5627         * string/tst-inlcall.c: Likewise.
5628         * string/tst-strtok.c: Likewise.
5629         * string/tst-strxfrm.c: Likewise.
5630         * sysdeps/x86_64/tst-audit10.c: Likewise.
5631         * sysdeps/x86_64/tst-audit3.c: Likewise.
5632         * sysdeps/x86_64/tst-audit4.c: Likewise.
5633         * sysdeps/x86_64/tst-audit5.c: Likewise.
5634         * time/tst-ftime_l.c: Likewise.
5635         * time/tst-getdate.c: Likewise.
5636         * time/tst-mktime3.c: Likewise.
5637         * time/tst-mktime.c: Likewise.
5638         * time/tst-posixtz.c: Likewise.
5639         * time/tst-strptime2.c: Likewise.
5640         * time/tst-strptime3.c: Likewise.
5641         * wcsmbs/tst-btowc.c: Likewise.
5642         * wcsmbs/tst-mbrtowc.c: Likewise.
5643         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5644         * wcsmbs/tst-wchar-h.c: Likewise.
5645         * wcsmbs/tst-wcpncpy.c: Likewise.
5646         * wcsmbs/tst-wcrtomb.c: Likewise.
5647         * wcsmbs/tst-wcsnlen.c: Likewise.
5648         * wcsmbs/tst-wcstof.c: Likewise.
5650 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
5652         [BZ #14132]
5653         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5654         INTDEF.
5655         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5656         declaration.
5657         (_dl_mcount): Use rtld_hidden_proto.
5658         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5659         _dl_mcount.
5660         * elf/rtld.c (_rtld_global_ro): Likewise.
5662         [BZ #14132]
5663         * elf/dl-init.c (_dl_init): Don't use INTDEF.
5664         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5665         of _dl_init_internal.
5666         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5667         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5668         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5669         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5670         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5671         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5672         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5673         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5674         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5675         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5676         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5677         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5678         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5679         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5680         * sysdeps/tile/dl-start.S (_start): Likewise.
5681         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5682         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5684         [BZ #14132]
5685         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5686         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5687         (rtld_progname): Make macro definition unconditional.
5688         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5689         INTDEF.
5690         (dlmopen_doit): Do not use INTUSE with _dl_argv.
5691         (dl_main): Likewise.
5692         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5693         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5694         instead of _dl_argv_internal.
5695         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5696         __GI__dl_argv instead of INTUSE(_dl_argv).
5697         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5698         __GI__dl_argv instead of _dl_argv_internal.
5700         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5701         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5702         macro.
5703         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5704         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5705         New macro.
5706         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5707         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5708         macro.
5709         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5710         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5712 2014-11-04  Andreas Schwab  <schwab@suse.de>
5714         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5716 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5718         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5719         mtvsrd instruction in binary form.
5721 2014-11-03  Andreas Schwab  <schwab@suse.de>
5723         [BZ #17522]
5724         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5725         for less than MB_LEN_MAX use a local buffer of that size.
5726         * libio/tst-fputws.c: New file.
5727         * libio/Makefile (tests): Add tst-fputws.
5729 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
5731         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5732         the size of the fpu_fr.fpu_dregs[] array.
5734 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
5736         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5737         (__nanosleep): Do not define as alias.
5738         (nanosleep): Define as alias of __nanosleep.
5739         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5740         __libc_nanosleep name.
5742 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5744         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5745         install.texi in comment.
5747 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5749         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5750         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5751         ... add here and use lwsync or sync ...
5752         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5753         ... and add here using lwsync.
5755 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5757         * elf/dl-machine-reject-phdr.h: New file.
5758         * elf/dl-load.c: #include that.
5759         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5760         if that returned true.
5762 2014-10-31  Roland McGrath  <roland@hack.frob.com>
5764         [BZ #17496]
5765         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5766         gen-as-const-headers chunk.  Add a big scare comment after the last
5767         safe place to touch before-compile.
5769 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5771         * manual/install.texi (Tools for Compilation): Update autoconf
5772         version requirements.
5773         * INSTALL: Regenerated.
5775         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5776         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5777         (__libc_pselect): Likewise.
5779         [BZ #14138]
5780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5782         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5785 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5787         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5788         correct barrier instruction.
5789         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5790         Likewise.
5791         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5792         Likewise.
5794 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5796         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5797         after defining inlines.  Instead, just use parens to defeat macro
5798         expansion of __isctype in its declaration.
5800 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5802         * include/sys/uio.h (__libc_readv): Remove declaration.
5803         (__libc_writev): Likewise.
5804         * misc/readv.c (__libc_readv): Rename to __readv.
5805         (__readv): Do not define as alias.
5806         (readv): Define as alias of __readv.
5807         * misc/writev.c (__libc_writev): Rename to __writev.
5808         (__writev): Do not define as alias.
5809         (writev): Define as alias of __writev.
5810         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5811         (__readv): Do not define as alias.
5812         (readv): Define unconditionally as alias of __readv.
5813         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5814         (__writev): Do not define as alias.
5815         (writev): Define unconditionally as alias of __writev.
5816         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5817         name.
5818         (writev): Do not define __libc_writev name.
5820 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5822         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5823         (convert_charseq): New function, broken out of ...
5824         (use_from_charmap): ... here.  Call it.
5825         (use_to_charmap): Use convert_charseq and free instead of duplicating
5826         its code with a variable-length stack struct.
5828 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5830         * include/fcntl.h (__libc_creat): Remove declaration.
5831         * io/creat.c (__libc_creat): Rename to creat.
5832         (creat): Do not define as alias.
5833         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5834         of creat instead of __libc_creat.
5835         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5836         to creat.
5837         (creat): Do not define as alias.
5838         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5839         __libc_creat.
5840         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5841         __libc_creat name.
5842         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5843         Likewise.
5845 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5847         * manual/llio.texi: Add comments discussing why write() may be
5848         considered MT-unsafe on Linux.
5850 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5852         * dl-load.c (local_strdup): Remove.
5853         (expand_dynamic_string_token): Use __strdup.
5854         (decompose_rpath): Likewise.
5855         (_dl_map_object): Likewise.
5857 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5859         [BZ #14132]
5860         * sysdeps/generic/unwind-dw2-fde.c
5861         (__register_frame_info_bases_internal): Do not declare.
5862         (__register_frame_info_table_bases_internal): Likewise.
5863         (__deregister_frame_info_bases_internal): Likewise.
5864         (__register_frame_info_bases): Declare and use hidden_proto before
5865         definition.  Use hidden_def instead of INTDEF.
5866         (__register_frame_info_table_bases): Likewise.
5867         (__deregister_frame_info_bases): Likewise.
5868         (__register_frame_info): Do not use INTUSE.
5869         (__register_frame): Likewise.
5870         (__register_frame_info_table): Likewise.
5871         (__register_frame_table): Likewise.
5872         (__deregister_frame_info): Likewise.
5873         (__deregister_frame): Likewise.
5875 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5877         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5878         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5879         not undefine.
5880         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5881         Likewise.
5882         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5883         Likewise.
5885 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5887         [BZ #14138]
5888         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5889         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5890         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5891         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5892         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5893         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5894         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5895         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5896         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5897         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5898         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5899         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5900         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5901         syscall.
5902         (setfsuid): Likewise.
5903         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5904         (setfsuid): Likewise.
5905         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5906         (setfsuid): Likewise.
5907         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5908         Likewise.
5909         (setfsuid): Likewise.
5910         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5911         (setfsuid): Likewise.
5912         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5913         Likewise.
5914         (setfsuid): Likewise.
5916 2014-10-27  Andreas Schwab  <schwab@suse.de>
5918         [BZ #17501]
5919         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5920         check for Slow_SSE4_2 feature bit.
5921         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5922         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5923         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5924         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5926 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5928         * configure.ac: Validate compiler version with a empirical test of
5929         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5930         $CC -v output.
5931         * configure: Regenerated.
5933         * inet/htons.c (htons): Prototypify.
5934         * inet/htonl.c (htonl): Likewise.
5936 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5938         * string/strncat.c (strncat): Improve performance by using strlen.
5940 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5942         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5944 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5946         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5947         Call libc_fetestexcept_aarch64.
5949 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5951         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5952         Call libc_feholdexcept_aarch64.
5954 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5956         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5957         Call get_rounding_mode.
5959 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5961         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5962         Simplify logic.
5964 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5966         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5967         Simplify logic.
5969 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5971         [BZ #14138]
5972         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5973         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5974         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5975         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5976         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5977         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5978         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5979         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5980         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5981         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5982         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5983         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5984         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5985         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5986         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5987         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5988         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5989         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5990         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5991         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5992         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5993         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5994         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5995         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5996         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5997         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5998         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5999         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
6000         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
6001         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
6002         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
6003         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
6004         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
6005         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
6006         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
6007         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
6008         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
6009         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
6010         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
6011         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
6012         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
6013         syscall.
6014         (geteuid): Likewise.
6015         (getgid): Likewise.
6016         (getuid): Likewise.
6017         (getresgid): Likewise.
6018         (getresuid): Likewise.
6019         (getgroups): Likewise.
6020         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
6021         (geteuid): Likewise.
6022         (getgid): Likewise.
6023         (getuid): Likewise.
6024         (getresgid): Likewise.
6025         (getresuid): Likewise.
6026         (getgroups): Likewise.
6027         * sysdeps/unix/sysv/linux/m68k/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/s390/s390-32/syscalls.list (getegid):
6035         Likewise.
6036         (geteuid): Likewise.
6037         (getgid): Likewise.
6038         (getuid): Likewise.
6039         (getresgid): Likewise.
6040         (getresuid): Likewise.
6041         (getgroups): Likewise.
6042         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
6043         (geteuid): Likewise.
6044         (getgid): Likewise.
6045         (getuid): Likewise.
6046         (getresgid): Likewise.
6047         (getresuid): Likewise.
6048         (getgroups): Likewise.
6049         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
6050         Likewise.
6051         (geteuid): Likewise.
6052         (getgid): Likewise.
6053         (getuid): Likewise.
6054         (getgroups): Likewise.
6056         [BZ #14138]
6057         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
6058         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
6059         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
6060         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
6061         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
6062         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
6063         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
6064         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
6065         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
6066         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
6067         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
6068         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
6069         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
6070         __chown.
6071         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
6072         (lchown): Likewise.
6073         (fchown): Likewise.
6074         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
6075         Likewise.
6076         (lchown): Likewise.
6077         (fchown): Likewise.
6078         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
6079         (lchown): Likewise.
6080         (fchown): Likewise.
6081         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
6082         Likewise.
6083         (lchown): Likewise.
6084         (fchown): Likewise.
6086 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6088         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
6089         Simplify logic.
6091 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6093         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6094         Cleanup logic.
6096 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6098         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
6099         Remove unused include.
6101 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
6103         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
6104         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
6105         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
6106         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
6108 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
6109             Helge Deller <deller@gmx.de>
6111         [BZ #17508]
6112         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
6113         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
6114         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
6116 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
6118         [BZ #14132]
6119         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
6120         Remove macro definition.
6121         (__ashrdi3_v_glibc20): Likewise.
6122         (__lshrdi3_v_glibc20): Likewise.
6123         (__cmpdi2_v_glibc20): Likewise.
6124         (__ucmpdi2_v_glibc20): Likewise.
6125         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
6126         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
6127         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
6128         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
6129         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
6130         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
6132 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6134         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
6135         old GNU extension [0] syntax.
6136         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
6137         alloca rather than an array member with variable length.
6138         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
6139         * nscd/nscd.c (invalidate_db): New function, broken out of ...
6140         (parse_opt): ... here.  Likewise use alloca there.
6141         Validate the -i argument before checking for rootness.
6142         (send_shutdown): New function, broken out of ...
6143         (parse_opt): ... here.
6145 2014-10-22  Roland McGrath  <roland@hack.frob.com>
6147         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
6148         macro to get at the _rt_local_ro field.
6149         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
6150         ([PIC] case) or _dl_hwcap ([!PIC] case).
6151         * sysdeps/arm/setjmp.S: Likewise.
6153         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
6154         * sysdeps/arm/configure.ac: New check to define it.
6155         * sysdeps/arm/configure: Regenerated.
6156         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
6157         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
6158         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
6159         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
6160         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
6161         Use move/movt pair instead of a load.
6162         (LDST_GLOBAL): Macro removed.
6163         (LDR_GLOBAL): New macro replaces it.
6164         (LDR_HIDDEN): New macro.
6165         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
6166         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
6168         * setjmp/tst-setjmp-static.c: New file.
6169         * setjmp/Makefile (tests): Add it.
6170         (tests-static): New variable.
6172 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
6174         [BZ #17485]
6175         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
6177 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
6179         [BZ #14132]
6180         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
6182 2014-10-21  Roland McGrath  <roland@hack.frob.com>
6184         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
6186 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6188         * io/fts.c (dirent_not_directory): New function.
6189         (fts_build): Call it.
6191 2014-10-20  Roland McGrath  <roland@hack.frob.com>
6193         * nptl/version.c (__nptl_main): Use normal __write rather than
6194         INTERNAL_SYSCALL.
6195         (banner): Update copyright years.
6197         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
6198         gettimeofday.
6199         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
6200         * nptl/pthread_cond_timedwait.c: Likewise.
6201         * nptl/pthread_mutex_timedlock.c: Likewise.
6202         * nptl/sem_timedwait.c: Likewise.
6204         * sysdeps/nptl/bits/libc-lock.h
6205         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
6206         (__libc_lock_init_recursive): Return void, not 0.
6207         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
6208         (__libc_rwlock_init): Likewise.
6209         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
6211 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6213         [BZ #15215]
6214         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
6215         (__pthread_once_slow): ... here.
6216         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
6217         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
6219 2014-10-20  Torvald Riegel  <triegel@redhat.com>
6221         [BZ #15215]
6222         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
6223         __PTHREAD_ONCE_FORK_GEN_INCR): New.
6224         * sysdeps/nptl/fork.c (__libc_fork): Use them.
6225         * nptl/pthread_once.c (__pthread_once): Likewise.
6226         Update comments.
6228 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
6230         [BZ #14138]
6231         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
6232         name.
6233         (writev): Use __libc_writev as strong name.
6234         * sysdeps/unix/sysv/linux/readv.c: Remove file.
6235         * sysdeps/unix/sysv/linux/writev.c: Likewise.
6237 2014-10-17  Roland McGrath  <roland@hack.frob.com>
6239         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
6241         * sysdeps/i386/nptl/tls.h
6242         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
6243         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
6244         New macros.
6245         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
6246         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
6247         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
6248         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
6249         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
6250         Call CHECK_THREAD_SYSINFO instead of doing an assert.
6252         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
6253         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
6254         on [__NR_futex].
6255         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6256         broken out of ...
6257         (__pthread_mutex_init): ... here.  Call it.
6258         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6259         Conditionalize PI cases on [__NR_futex].
6260         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6261         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6262         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6264         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6265         conditional on [SIGSETXID].
6266         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6267         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6268         is defined.  Likewise for SIGSETXID.
6269         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6270         Conditionalize definitions on [SIGSETXID].
6271         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6272         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6273         unblocking on [SIGCANCEL].
6275         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6276         [__NR_set_robust_list].
6278 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6280         * string/strcoll_l.c (get_next_seq): Fix up formatting.
6281         (do_compare): Likewise.
6283 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
6285         [BZ #15884]
6286         * string/strcoll_l.c: Don't include stdio.h.
6287         (coll_seq): Remove members idxarr and rulearr.
6288         (get_next_seq_cached): Remove function.
6289         (get_next_seq): Likewise.
6290         (get_next_seq_nocache): Rename to get_next_seq.
6291         (do_compare): Remove function.
6292         (do_compare_nocache): Rename to do_compare.
6293         (STRCOLL): Remove weight and rules cache.
6295 2014-10-16  Roland McGrath  <roland@hack.frob.com>
6297         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6298         * sysdeps/arm/sfp-machine.h: ... to here.
6299         * sysdeps/arm/Implies: Remove arm/soft-fp.
6301 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
6303         * conform/data/sys/utsname.h-data (*_t): Allow.
6304         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6305         [POSIX] (WEXITED): Do not expect constant.
6306         [POSIX] (WSTOPPED): Likewise.
6307         [POSIX] (WNOHANG): Likewise.
6308         [POSIX] (WNOWAIT): Likewise.
6309         [POSIX] (siginfo_t): Do not expect type or elements.
6310         [POSIX] (pid_t): Do not expect type.
6311         [POSIX] (signal.h): Do not allow header.
6312         [POSIX] (sys/resource.h): Likewise.
6313         [POSIX] (si_*): Do not allow pattern.
6314         [POSIX] (W*): Likewise.
6315         [POSIX] (P_*): Likewise.
6316         [POSIX] (BUS_*): Likewise.
6317         [POSIX] (CLD_*): Likewise.
6318         [POSIX] (FPE_*): Likewise.
6319         [POSIX] (ILL_*): Likewise.
6320         [POSIX] (POLL_*): Likewise.
6321         [POSIX] (SEGV_*): Likewise.
6322         [POSIX] (SI_*): Likewise.
6323         [POSIX] (TRAP_*): Likewise.
6324         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6325         variable.
6327 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6329         [BZ #12926]
6330         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6331         infinite loop when __recvmsg returns 0.
6333 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
6335         * CANCEL-FCT-WAIVE: Remove file.
6336         * CANCEL-FILE-WAIVE: Likewise.
6338         [BZ #14132]
6339         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6340         instead of INTVARDEF.
6341         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6342         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6343         rtld_hidden_data_def instead of INTVARDEF.
6344         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6345         * elf/dl-deps.c (expand_dst): Likewise.
6346         * elf/dl-load.c (_dl_dst_count): Likewise.
6347         (_dl_dst_substitute): Likewise.
6348         (decompose_rpath): Likewise.
6349         (_dl_init_paths): Likewise.
6350         (open_path): Likewise.
6351         (_dl_map_object): Likewise.
6352         * elf/rtld.c (dl_main): Likewise.
6353         (process_dl_audit): Likewise.
6354         (process_envvars): Likewise.
6355         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6356         Remove declaration.
6357         (__libc_enable_secure): Use rtld_hidden_proto.
6359 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6361         * elf/dl-load.c
6362         (add_path): New function broken out of _dl_rtld_di_serinfo.
6363         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
6365 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6367         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6368         parentheses around macro arguments.
6369         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6370         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6371         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6372         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6373         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6374         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6375         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6376         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6377         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6378         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6379         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6380         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6381         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6382         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6383         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6384         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6385         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6386         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6387         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6388         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6389         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6390         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6391         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6392         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6393         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6394         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6395         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6396         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6397         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6398         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6399         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6400         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6401         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6402         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6403         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6404         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6405         Likewise.
6406         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6407         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6408         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6409         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6410         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6411         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6412         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6413         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6414         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6415         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6416         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6417         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6418         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6419         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6420         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6421         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6422         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6423         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6424         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6425         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6426         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6427         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6428         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6429         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6430         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6431         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6432         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6433         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6434         (_FP_FRAC_SRS_1): Likewise.
6435         (_FP_FRAC_CLZ_1): Likewise.
6436         (_FP_MUL_MEAT_1_imm): Likewise.
6437         (_FP_MUL_MEAT_1_wide): Likewise.
6438         (_FP_MUL_MEAT_1_hard): Likewise.
6439         (_FP_SQRT_MEAT_1): Likewise.
6440         (_FP_FRAC_ASSEMBLE_1): Likewise.
6441         (_FP_FRAC_DISASSEMBLE_1): Likewise.
6442         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6443         (__FP_CLZ_2): Likewise.
6444         (_FP_MUL_MEAT_2_wide): Likewise.
6445         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6446         (_FP_MUL_MEAT_2_gmp): Likewise.
6447         (_FP_MUL_MEAT_2_120_240_double): Likewise.
6448         (_FP_SQRT_MEAT_2): Likewise.
6449         (_FP_FRAC_ASSEMBLE_2): Likewise.
6450         (_FP_FRAC_DISASSEMBLE_2): Likewise.
6451         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6452         (_FP_FRAC_CLZ_4): Likewise.
6453         (_FP_MUL_MEAT_4_wide): Likewise.
6454         (_FP_MUL_MEAT_4_gmp): Likewise.
6455         (_FP_SQRT_MEAT_4): Likewise.
6456         (_FP_FRAC_ASSEMBLE_4): Likewise.
6457         (_FP_FRAC_DISASSEMBLE_4): Likewise.
6458         * soft-fp/op-common.h (_FP_CMP): Likewise.
6459         (_FP_CMP_EQ): Likewise.
6460         (_FP_CMP_UNORD): Likewise.
6461         (_FP_TO_INT): Likewise.
6462         (_FP_FROM_INT): Likewise.
6463         [!__FP_CLZ] (__FP_CLZ): Likewise.
6464         (_FP_DIV_HELP_imm): Likewise.
6465         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6466         Likewise.
6467         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6468         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6469         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6470         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6471         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6472         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6473         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6474         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6475         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6476         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6477         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6478         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6479         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6480         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6481         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6482         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6483         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6484         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6485         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6486         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6487         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6488         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6489         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6490         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6491         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6492         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6493         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6494         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6495         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6496         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6497         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6498         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6499         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6500         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6501         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6502         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6503         (FP_UNPACK_RAW_SP): Likewise.
6504         (FP_PACK_RAW_S): Likewise.
6505         (FP_PACK_RAW_SP): Likewise.
6506         (FP_UNPACK_S): Likewise.
6507         (FP_UNPACK_SP): Likewise.
6508         (FP_UNPACK_SEMIRAW_S): Likewise.
6509         (FP_UNPACK_SEMIRAW_SP): Likewise.
6510         (FP_PACK_S): Likewise.
6511         (FP_PACK_SP): Likewise.
6512         (FP_PACK_SEMIRAW_S): Likewise.
6513         (FP_PACK_SEMIRAW_SP): Likewise.
6514         (_FP_SQRT_MEAT_S): Likewise.
6515         (FP_CMP_S): Likewise.
6516         (FP_CMP_EQ_S): Likewise.
6517         (FP_CMP_UNORD_S): Likewise.
6518         (FP_TO_INT_S): Likewise.
6519         (FP_FROM_INT_S): Likewise.
6521         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6523         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6524         (FP_EX_INVALID_IMZ): Likewise.
6525         (FP_EX_INVALID_IMZ_FMA): Likewise.
6526         (FP_EX_INVALID_ISI): Likewise.
6527         (FP_EX_INVALID_ZDZ): Likewise.
6528         (FP_EX_INVALID_IDI): Likewise.
6529         (FP_EX_INVALID_SQRT): Likewise.
6530         (FP_EX_INVALID_CVI): Likewise.
6531         (FP_EX_INVALID_VC): Likewise.
6532         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6533         "invalid" exceptions.
6534         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6535         (_FP_ADD_INTERNAL): Likewise.
6536         (_FP_MUL): Likewise.
6537         (_FP_FMA): Likewise.
6538         (_FP_DIV): Likewise.
6539         (_FP_CMP_CHECK_NAN): Likewise.
6540         (_FP_SQRT): Likewise.
6541         (_FP_TO_INT): Likewise.
6542         (FP_EXTEND): Likewise.
6544 2014-10-09  Allan McRae  <allan@archlinux.org>
6546         * po/fr.po: Update French translation from translation project.
6548 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6550         [BZ #14132]
6551         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6552         of INTDEF.
6553         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6554         (__cxa_atexit): Use libc_hidden_proto.
6555         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6557         [BZ #14132]
6558         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6559         declaration.
6560         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6561         [!_ISOMAC] (__iswspace_l_internal): Likewise.
6562         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6563         [!_ISOMAC] (__iswctype_internal): Likewise.
6564         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6565         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6566         alias.
6567         (fcntl): Remove __fcntl_internal alias.
6568         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6569         __connect_internal alias.
6570         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6571         Likewise.
6573         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6574         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6575         FP_DENORM_ZERO.
6576         (_FP_CHECK_FLUSH_ZERO): New macro.
6577         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6578         (_FP_CMP): Likewise.
6579         (_FP_CMP_EQ): Likewise.
6580         (_FP_TO_INT): Do not set inexact for subnormal arguments if
6581         FP_DENORM_ZERO.
6582         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6583         (FP_TRUNC): Likewise.
6585         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6586         treated as invalid conversion, not as normal exponent.
6588         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6589         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
6590         (_FP_CMP_EQ): Likewise.
6591         (_FP_CMP_UNORD): Likewise.
6592         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6593         (FP_CMP_EQ_D): Likewise.
6594         (FP_CMP_UNORD_D): Likewise.
6595         * soft-fp/extended.h (FP_CMP_E): Likewise.
6596         (FP_CMP_EQ_E): Likewise.
6597         (FP_CMP_UNORD_E): Likewise.
6598         * soft-fp/quad.h (FP_CMP_Q): Likewise.
6599         (FP_CMP_EQ_Q): Likewise.
6600         (FP_CMP_UNORD_Q): Likewise.
6601         * soft-fp/single.h (FP_CMP_S): Likewise.
6602         (FP_CMP_EQ_S): Likewise.
6603         (FP_CMP_UNORD_S): Likewise.
6604         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6605         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6606         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6607         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6608         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6609         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6610         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6611         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6612         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6613         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6614         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6615         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6616         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6617         to FP_CMP_Q.
6618         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6619         FP_CMP_Q.
6620         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6621         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6622         FP_CMP_EQ_Q.
6623         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6624         FP_CMP_Q.
6625         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6626         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6627         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6628         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6629         FP_CMP_EQ_Q.
6630         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6631         FP_CMP_Q.
6632         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6633         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6634         FP_CMP_EQ_Q.
6635         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6636         FP_CMP_Q.
6637         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6638         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6639         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6640         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6641         FP_CMP_EQ_Q.
6643         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6644         a subnormal result, set the underflow exception if trapping on
6645         underflow is enabled.
6646         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6647         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6648         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6649         redefine to 0.
6650         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6651         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6652         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6653         * soft-fp/extendxftf2.c (__extendxftf2): Use
6654         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6656         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6657         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6658         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6659         FP_HANDLE_EXCEPTIONS.
6660         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6661         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6662         FP_HANDLE_EXCEPTIONS.
6663         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6664         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6665         FP_HANDLE_EXCEPTIONS.
6666         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6667         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6668         FP_HANDLE_EXCEPTIONS.
6670 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
6672         [BZ #14132]
6673         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6674         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6675         use INTUSE.
6676         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6677         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6678         Remove alias.
6679         (__adjtimex): Define using libc_hidden_ver.
6680         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6681         Remove declaration.
6682         (ntp_gettime): Call __adjtimex directly.
6683         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6684         Remove declaration.
6685         (ntp_gettimex): Call __adjtimex directly.
6686         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6687         __adjtimex_internal alias.
6689 2014-10-08  Roland McGrath  <roland@hack.frob.com>
6691         [BZ #17460]
6692         * nscd/nscd.c (more_help): Rewrite list of tables collection
6693         using xstrdup and asprintf.
6695         * nscd/nscd_conf.c: Remove local xstrdup declaration.
6697 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6698             Roland McGrath  <roland@hack.frob.com>
6700         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6701         (do_lookup_unique): ... local function 'enter' here; update callers.
6703 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
6705         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6706         compat_symbol calls on [SHARED].
6707         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6708         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6709         Remove.
6710         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6711         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6712         (oldsetrlimit): Remove.
6713         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6715         (lchown): New syscall entry.
6716         (oldsetrlimit): Remove.
6717         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6718         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6719         (oldsetrlimit): Remove.
6720         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6722         [BZ #14138]
6723         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6724         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6725         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6726         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6727         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6728         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6729         (fchown): Likewise.
6730         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6731         (fchown): Likewise.
6732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6733         Likewise.
6735 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6737         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6738         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6739         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6740         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6741         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6742         Likewise.
6743         (__old_sem_post): Likewise.
6745 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
6747         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6748         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6749         HAVE_CLOCK_GETTIME_VSYSCALL macros.
6750         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6751         Use INLINE_VSYSCALL macro.
6752         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6753         __vdso_clock_gettime.
6754         * sysdeps/unix/sysv/linux/tile/init-first.c
6755         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6756         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6757         __vdso_clock_gettime.
6759         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6760         to set up frame more cleanly.
6762         * sysdeps/tile/memcmp.c: New file.
6764         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6766         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6767         * sysdeps/tile/tilegx/strcasestr.c: New file.
6768         * sysdeps/tile/tilegx/strnlen.c: New file.
6769         * sysdeps/tile/tilegx/strstr.c: New file.
6771         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6773 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
6775         * nptl/tst-setuid3.c: Write errors to stdout.
6777 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6779         * elf/dl-deps.c
6780         (preload): New functions broken out of _dl_map_object_deps.
6781         (_dl_map_object_deps):  Remove a nested function. Update call sites.
6783 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
6785         [BZ #14138]
6786         * sysdeps/unix/sysv/linux/execve.c: Remove file.
6787         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6789 2014-10-01  Steve Ellcey  <sellcey@mips.com>
6791         * sysdeps/mips/strcmp.S: New.
6793 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
6795         [BZ #14138]
6796         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6797         (linkat): Likewise.
6798         (mkdirat): Likewise.
6799         (readlinkat): Likewise.
6800         (renameat): Likewise.
6801         (symlinkat): Likewise.
6802         (unlinkat): Likewise.
6803         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6804         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6805         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6806         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6807         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6808         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6809         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6811 2014-09-30  Will Newton  <will.newton@linaro.org>
6813         * math/math.h: Define long double math functions if
6814         _LIBC_TEST is defined.
6815         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6817         * localedata/Makefile: Move assignment to tests-special
6818         into an ifdef testing run-built-tests.
6819         * timezone/Makefile: Likewise.
6821 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
6823         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6824         with $(BASH) not $(SHELL).
6826 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
6827             Matthew LeGendre  <legendre1@llnl.gov>
6829         [BZ #17411]
6830         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6831         l_reloc_result.
6833 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6835         * stdio-common/printf_fp.c
6836         (hack_digit): New function, broken out of ...
6837         (__printf_fp): ... local function here.  Update call sites.
6838         hack_digit now takes an additional parameter that is a pointer
6839         to a struct of the referenced locals.  Those locals moved inside
6840         the struct and references updated.
6842 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6844         * aclocal.m4: Require autoconf 2.69.
6845         * configure: Regenerated.
6846         * sysdeps/aarch64/configure: Likewise.
6847         * sysdeps/alpha/configure: Likewise.
6848         * sysdeps/arm/armv7/configure: Likewise.
6849         * sysdeps/arm/configure: Likewise.
6850         * sysdeps/ia64/configure: Likewise.
6851         * sysdeps/mach/configure: Likewise.
6852         * sysdeps/mips/configure: Likewise.
6853         * sysdeps/s390/configure: Likewise.
6854         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6857         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6858         file.
6859         * sysdeps/ia64/configure.ac: Likewise.
6861 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6863         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6864         specify symbol version for ld.so.  Do not include entry for
6865         libpthread.
6866         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6867         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6868         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6870         [BZ #14171]
6871         * Makeconfig [$(build-shared) = yes]
6872         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6873         makefiles.
6874         [$(build-shared) = yes && $(soversions.mk-done) = t]
6875         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6876         [$(build-shared) = yes && $(soversions.mk-done) = t]
6877         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6878         to Makerules.
6879         [$(build-shared) = yes && $(soversions.mk-done) = t]
6880         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6881         here.
6882         [$(build-shared) = yes && $(soversions.mk-done) = t]
6883         (common-generated): Don't append gnu/lib-names.h and
6884         gnu/lib-names.stmp here.
6885         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6886         (lib-names-h-abi): New variable.
6887         [$(build-shared) = yes && $(soversions.mk-done) = t]
6888         (lib-names-stmp-abi): Likewise.
6889         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6890         abi-variants] (before-compile): Append
6891         $(common-objpfx)$(lib-names-h-abi).
6892         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6893         abi-variants] (common-generated): Append gnu/lib-names.h.
6894         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6895         abi-variants] (install-others-nosubdir): Depend on
6896         $(inst_includedir)/$(lib-names-h-abi).
6897         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6898         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6899         [$(build-shared) = yes && $(soversions.mk-done) = t]
6900         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6901         [$(build-shared) = yes && $(soversions.mk-done) = t]
6902         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6903         [$(build-shared) = yes && $(soversions.mk-done) = t]
6904         (common-generated): Append $(lib-names-h-abi) and
6905         $(lib-names-stmp-abi).
6906         * scripts/lib-names.awk: Do not handle multi being set.
6907         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6908         Remove variable.
6909         (abi-lp64_be-ld-soname): Likewise.
6910         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6911         Likewise.
6912         (abi-hard-ld-soname): Likewise.
6913         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6914         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6915         Remove variable.
6916         (abi-o32_hard-ld-soname): Likewise.
6917         (abi-o32_soft_2008-ld-soname): Likewise.
6918         (abi-o32_hard_2008-ld-soname): Likewise.
6919         (abi-n32_soft-ld-soname): Likewise.
6920         (abi-n32_hard-ld-soname): Likewise.
6921         (abi-n32_soft_2008-ld-soname): Likewise.
6922         (abi-n32_hard_2008-ld-soname): Likewise.
6923         (abi-n64_soft-ld-soname): Likewise.
6924         (abi-n64_hard-ld-soname): Likewise.
6925         (abi-n64_soft_2008-ld-soname): Likewise.
6926         (abi-n64_hard_2008-ld-soname): Likewise.
6927         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6928         Likewise.
6929         (abi-64-v2-ld-soname): Likewise.
6930         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6931         ld.so entries.
6932         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6933         variable.
6934         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6935         entry.
6936         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6937         variable.
6938         (abi-64-ld-soname): Likewise.
6939         (abi-x32-ld-soname): Likewise.
6940         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6941         entry.
6942         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6944 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6946         [BZ #14138]
6947         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6948         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6949         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6950         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6951         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6952         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6953         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6954         syscall entry for GLIBC_2.2 symbol version.
6955         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6956         Likewise.
6957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6958         (setrlimit): Likewise.
6959         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6960         Likewise.
6962 2014-09-23  Will Newton  <will.newton@linaro.org>
6964         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6965         _LINUX_ARM_SYSDEP_H include guard too.
6966         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6967         define.
6969 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6971         * sysdeps/unix/sysv/linux/eventfd.c:
6972         Make first argument unsigned.
6973         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6974         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6976 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6978         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6979         * socket/sys/socket.h: Likewise
6980         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6982 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6984         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6986 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6988         * time/tst-ftime.c: New test.
6989         * time/Makefile (tests): Add tst-ftime.
6991 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6993         * soft-fp/extended.h: Fix comment formatting.
6994         * soft-fp/op-1.h: Likewise.
6995         * soft-fp/op-2.h: Likewise.
6996         * soft-fp/op-4.h: Likewise.
6997         * soft-fp/op-8.h: Likewise.
6998         * soft-fp/op-common.h: Likewise.
6999         * soft-fp/soft-fp.h: Likewise.
7001         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
7003 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
7005         [BZ #6652]
7006         * Makeconfig (soversions-default-setname): Remove variable.
7007         ($(common-objpfx)soversions.i): Don't pass default_setname to
7008         soversions.awk.
7009         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
7010         oldest_abi to abi-versions.awk.
7011         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
7012         * config.make.in (oldest-abi): Remove variable.
7013         * configure.ac (--enable-oldest-abi): Remove configure option.
7014         * configure: Regenerated.
7015         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
7016         text.
7017         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
7018         * scripts/soversions.awk: Do not handle default_setname variable.
7019         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
7020         variable.
7021         * sysdeps/mach/hurd/configure: Regenerated.
7022         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
7023         variable.
7024         * sysdeps/unix/sysv/linux/configure: Regenerated.
7026 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7028         * elf/Makefile (CFLAGS-interp.c): Remove.
7029         ($(elf-objpfx)runtime-linker.h): Generate header with linker
7030         path string.
7031         * elf/interp.c: Include generated runtime-linker.h
7033         * Makerules (lib%.so): Don't include $(+interp) in
7034         prerequisites.
7035         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
7036         * dlfcn/eval.c: Remove file.
7038         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
7039         macros.
7041         [BZ #17266]
7042         * misc/sys/cdefs.h: Define __extern_always_inline for clang
7043         4.2 and newer.
7045         [BZ #17370]
7046         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
7048 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7049             Jakub Jelinek  <jakub@redhat.com>
7051         [BZ #17266]
7052         * libio/stdio.h: Check definition of __fortify_function
7053         instead of __extern_always_inline to include bits/stdio2.h.
7054         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
7055         check if __extern_always_inline is defined.
7056         [__USE_MISC || __USE_XOPEN]: Likewise.
7057         [__USE_ISOC99] Likewise.
7058         * misc/sys/cdefs.h (__fortify_function): Define only if
7059         __extern_always_inline is defined.
7060         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
7061         __extern_always_inline and __extern_inline only for g++-4.3
7062         and newer or a compatible gcc.
7064 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
7066         [BZ #17371]
7067         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
7068         last change to handle zero prefix length.
7070 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
7072         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
7073         _SC_REGEX_VERSION.
7075         * posix/getconf.c (vars): Add _POSIX_IPV6 and
7076         _POSIX_RAW_SOCKETS.
7078 2014-09-13  Allan McRae  <allan@archlinux.org>
7080         * po/ru.po: Update Russian translation from translation project.
7082 2014-09-12  Roland McGrath  <roland@hack.frob.com>
7084         * locale/programs/locale.c (show_locale_vars): Inline local function
7085         into its sole call site.  Clean up some style nits.
7086         (print_item): New function, broken out of ...
7087         (show_info): ... local function here.  Clean up style nits.
7089         * locale/programs/ld-ctype.c (set_one_default): New function, broken
7090         out of ...
7091         (set_class_defaults): ... local function set_default here.
7092         Define set_default as a macro locally to pass constant parameters.
7093         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
7094         rather than a shared local.
7096         * stdlib/rpmatch.c (try): New function, broken out of ...
7097         (rpmatch): ... local function here.  Also, prototypify definition.
7099 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
7101         * scripts/soversions.awk: Do not handle configuration names.
7102         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
7103         vendor and os variables to soversions.awk.
7104         * configure.ac: Do not modify gnu-* host_os.
7105         * configure: Regenerated
7106         * shlib-versions: Remove first column with configuration names.
7107         * nptl/shlib-versions: Likewise.
7108         * nptl_db/shlib-versions: Likewise.
7109         * sysdeps/hppa/shlib-versions: Likewise.
7110         * sysdeps/m68k/shlib-versions: Likewise.
7111         * sysdeps/mach/hurd/shlib-versions: Likewise.
7112         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
7113         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
7114         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
7115         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
7116         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
7117         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
7118         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
7119         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
7120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7121         Likewise.
7122         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7123         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7124         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7125         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7126         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7127         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
7128         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
7129         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
7131         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
7132         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
7133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7134         Regenerated.
7135         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
7136         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
7137         Condition symbol version definitions on [HAVE_ELFV2_ABI].
7139         * shlib-versions: Remove OS-specific entries.  Moved to files in
7140         sysdeps.
7141         * sysdeps/mach/hurd/shlib-versions: New file.
7142         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
7144         * nptl/shlib-versions: Remove architecture-specific entries.
7145         Moved to files in sysdeps.
7146         * shlib-versions: Likewise.
7147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
7148         file.
7149         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
7150         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
7151         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
7152         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
7154         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
7155         (UDP_NO_CHECK6_RX): Likewise.
7157 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7159         * sysdeps/posix/sysconf.c (__sysconf): Spell
7160         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
7162 2014-08-12  Florian Weimer  <fweimer@redhat.com>
7164         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
7165         loading.
7166         * iconv/Versions (__gconv_transliterate): Export for use from
7167         gconv modules.
7168         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
7169         (struct __gconv_trans_data, __gconv_trans_fct,
7170         __gconv_trans_context_fct, __gconv_trans_query_fct,
7171         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
7172         definitions.
7173         (struct __gconv_step_data): Remove __trans member.
7174         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
7175         longer hidden.  Remove unused trans_data argument.
7176         * iconv/gconv_int.h (struct trans_struct): Remove definition.
7177         (__gconv_translit_find): Remove declaration.
7178         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
7179         prototype.
7180         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
7181         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
7182         trans_data argument.  Add hidden definition.
7183         (__gconv_translit_find): Remove.
7184         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
7185         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
7186         * iconv/skeleton.c: Remove transliteration initialization.
7187         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
7188         __gconv_step_data initialization.
7189         * libio/iofwide.c (__libio_translit_): Remove.
7190         (_IO_fwide): Adjust struct __gconv_step_data initialization.
7191         * wcsmbs/btowc.c (__btowc): Likewise.
7192         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
7193         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
7194         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
7195         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
7196         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
7197         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
7198         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
7199         * wcsmbs/wctob.c (wctob): Likewise.
7201 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7203         [BZ #16194]
7204         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
7205         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
7206         register usage.
7207         * sysdeps/x86/Makefile: Adjust.
7209 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
7210             Roland McGrath  <roland@hack.frob.com>
7212         * locale/weight.h: Add include guard.
7213         (findidx): Make static rather than auto; take new parameters
7214         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
7215         * locale/weightwc.h: Likewise.
7216         * posix/fnmatch_loop.c
7217         (FCT): Change type of EXTRA from int32_t to wint_t.
7218         Don't include either header inside the function.
7219         Call FINDIDX rather than findidx, and pass new arguments.
7220         #undef FINDIDX at the end of the file.
7221         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
7222         FINDIDX before including fnmatch_loop.c for the non-wide version.
7223         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
7224         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
7225         for the wide version.
7226         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
7227         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
7228         Pass new arguments to findidx.
7229         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
7230         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
7231         Don't #include it inside the function.  Pass new arguments to findidx.
7232         * posix/regex_internal.h
7233         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
7234         (re_string_elem_size_at): Don't #include it inside the function.
7235         Pass new arguments to findidx.
7236         * string/strcoll_l.c: #include WEIGHT_H at top level.
7237         (get_next_seq): Don't #include it inside the function.
7238         Pass new arguments to findidx.
7239         (get_next_seq_nocache): Likewise.
7240         * string/strxfrm_l.c: #include WEIGHT_H at top level.
7241         (STRXFRM): Don't #include it inside the function.
7242         Pass new arguments to findidx.
7244 2014-09-11  Florian Weimer  <fweimer@redhat.com>
7246         [BZ #17344]
7247         * malloc/malloc.c (unlink): Turn asserts into a call to
7248         malloc_printerr.
7250 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
7252         [BZ #17370]
7253         * libio/wfileops (do_ftell_wide): Free OUT.
7255 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
7257         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7259 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7261         [BZ #17363]
7262         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7263         group if the current group is empty.
7265 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7267         * benchtests/bench-memset.c (test_main): Add more test from size
7268         from 32 to 512 bytes.
7269         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7270         Add POWER8 memset object.
7271         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7272         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7273         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7274         implementation.
7275         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7276         Likewise.
7277         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7278         multiarch POWER8 memset optimization.
7279         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7280         POWER8 memset optimization.
7282         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7283         Remove bzero multiarch objects.
7284         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7285         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7286         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7287         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7288         Remove define.
7289         [__bzero]: Redefine to specific name.
7290         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7291         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7292         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7293         define.
7294         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7295         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7297 2014-09-10  Florian Weimer  <fweimer@redhat.com>
7299         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7300         warnings into errors.
7302         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7303         __cxa_thread_atexit_impl prototype.
7305 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7307         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7308         Fix capitalization of error message.
7310 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7312         * sysdeps/mips/preconfigure: Modify ABI tests.
7314 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
7316         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7318 2014-09-07  Roland McGrath  <roland@hack.frob.com>
7319             Carlos O'Donell  <carlos@systemhalted.org>
7321         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7322         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7323         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7324         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7325         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7326         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7327         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7328         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7329         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7330         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7331         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7332         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7333         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7334         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7335         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7336         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7337         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7338         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7339         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7340         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7341         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7342         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7343         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7344         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7345         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7346         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7347         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7348         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7349         Deconditionalize the code that was previously under [RESET_PID].
7350         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7351         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7352         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7353         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7354         include sysdep.h.
7356 2014-09-08  Allan McRae  <allan@archlinux.org>
7358         * version.h (RELEASE): Set to "development".
7359         (VERSION): Set to "2.20.90"
7361 2014-09-07  Allan McRae  <allan@archlinux.org
7363         * version.h (RELEASE): Set to "stable".
7364         (VERSION): Set to "2.20"
7365         * include/features.h (__GLIBC_MINOR__): Set to 20.
7367         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7368         Liebler.
7370         * po/ko.po: Update Korean translation from translation project.
7372 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
7374         [BZ #17354]
7375         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7376         macro for handling signed relocations.
7378 2014-09-03  Florian Weimer  <fweimer@redhat.com>
7380         [BZ #17325]
7381         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7382         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7383         assert.
7384         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7385         * iconvdata/ibm935.c (BODY): Likewise.
7386         * iconvdata/ibm937.c (BODY): Likewise.
7387         * iconvdata/ibm939.c (BODY): Likewise.
7388         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7389         assert.
7390         * iconvdata/Makefile (iconv-test.out): Pass module list to test
7391         script.
7392         * iconvdata/run-iconv-test.sh: New test loop for checking for
7393         decoder crashers.
7395 2014-09-02  Khem Raj  <raj.khem@gmail.com>
7397         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7398         libm_hidden_ver.
7400 2014-09-01  Allan McRae  <allan@archlinux.org>
7402         * po/eo.po: Update Esperanto translation from translation project.
7404         * po/ca.po: Update Catalan translation from translation project.
7406 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7408         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7409         __proc_dostop call.
7411 2014-08-27  Mark Wielaard  <mjw@redhat.com>
7413         [BZ #17319]
7414         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7415         to call set_thread_area instead of hand written asm.
7416         (__NR_set_thread_area): Removed define.
7417         (TLS_FLAG_WRITABLE): Likewise.
7418         (__ASSUME_SET_THREAD_AREA): Remove check.
7419         (TLS_EBX_ARG): Remove define.
7420         (TLS_LOAD_EBX): Likewise.
7422 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7424         Simplify atomicity of socket creation in bind.
7426         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7427         looking up the name after linking the file.
7429 2014-08-27  Allan McRae  <allan@archlinux.org>
7431         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7433 2014-08-26  Florian Weimer  <fweimer@redhat.com>
7435         [BZ #17187]
7436         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7437         trans_compare, open_translit, __gconv_translit_find):
7438         Remove module loading code.
7440 2014-08-26  Allan McRae  <allan@archlinux.org>
7442         * po/vi.po: Update Vietnamese translation from translation project.
7444         * po/uk.po: Update Ukrainian translation from translation project.
7446         * po/fr.po: Update French translation from translation project.
7448         * po/ru.po: Update Russian translation from translation project.
7450         * po/pl.po: Update Polish translation from translation project.
7452         * po/cs.po: Update Czech translation from translation project.
7454         * po/de.po: Update German translation from translation project.
7456         * po/bg.po: Update Bulgarian translation from translation project.
7458         * po/sv.po: Update Sweedish translation from translation project.
7460         * po/nl.po: Update Dutch translation from translation project.
7462         * po/es.po: Update Spanish translation from translation project.
7464 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7466         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7468         * catgets/Makefile (CPPFLAGS-gencat): Remove.
7469         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7470         (CPPFLAGS-iconvconfig): Likewise.
7471         * timezone/Makefile (CPPFLAGS-zic): Likewise.
7473         * include/libc-symbols.h: Remove unnecessary check for
7474         NOT_IN_libc.
7475         * nptl/pthreadP.h: Likewise.
7476         * sysdeps/aarch64/setjmp.S: Likewise.
7477         * sysdeps/alpha/setjmp.S: Likewise.
7478         * sysdeps/arm/sysdep.h: Likewise.
7479         * sysdeps/i386/setjmp.S: Likewise.
7480         * sysdeps/m68k/setjmp.c: Likewise.
7481         * sysdeps/posix/getcwd.c: Likewise.
7482         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7483         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7484         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7485         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7486         * sysdeps/sh/sh3/setjmp.S: Likewise.
7487         * sysdeps/sh/sh4/setjmp.S: Likewise.
7488         * sysdeps/unix/alpha/sysdep.h: Likewise.
7489         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7490         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7491         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7492         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7495         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7496         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7497         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7498         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7499         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7500         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7501         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7502         * sysdeps/x86_64/setjmp.S: Likewise.
7504 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
7506         [BZ #17263]
7507         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7508         <stdint.h>.
7509         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7510         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7512 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7514         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7516         [BZ #17262]
7517         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7518         and __x86_64__ when disabling x87 inline functions.
7520 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
7522         [BZ #17259]
7523         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7524         asm statement with __cpuid_count.
7526 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
7528         * configure.ac: Change __ehdr_start code to dereference the struct.
7529         Run readelf on the output to look for relocations.
7530         * configure: Regenerated.
7532 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
7534         [BZ #17261]
7535         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7536         value to 0.
7537         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7539 2014-08-12  Roland McGrath  <roland@hack.frob.com>
7541         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7543 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
7545         [BZ #16892]
7546         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7547         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7549 2014-08-12  Sean Anderson  <seanga2@gmail.com>
7551         * malloc/malloc.c: Fix typo in comment.
7553 2014-08-09  Allan McRae  <allan@archlinux.org>
7555         * Regenerate libc.po.
7557 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
7559         * intl/tst-gettext2.sh: Check every lang file for creation.
7561 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7563         * sysdeps/aarch64/fpu/math_private.h
7564         (libc_feholdsetround_noex_aarch64_ctx): New function.
7566 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7568         * sysdeps/arm/armv6/strcpy.S (strcpy):
7569         Fix performance issue in misaligned cases.
7571 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7573         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7574         Move definition from termios.h.
7575         (struct termio): Likewise.
7576         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7577         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7578         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7579         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7580         Likewise.
7581         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7582         Move definition to ioctl-types.h
7583         (struct termio): Likewise.
7584         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7585         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7586         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7587         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7588         Likewise.
7590 2014-08-05  Richard Henderson  <rth@redhat.com>
7592         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7593         exceptions.
7594         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7595         Add fraiseexcpt.
7596         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7597         Use __feraiseexcept.
7598         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7599         Protect libm symbols with IS_IN_libm.
7601         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7603 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
7605         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7607 2014-08-04  Will Newton  <will.newton@linaro.org>
7609         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7610         file.
7612 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
7614         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7615         variants for each function.
7617 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7619         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7620         appended ...
7621         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7622         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7623         appended ...
7624         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7625         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7626         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7627         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7628         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7629         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7630         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7631         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7632         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7633         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7634         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7635         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7636         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7637         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7638         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7639         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7640         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7641         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7642         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7643         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7644         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7645         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7646         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7647         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7648         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7649         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7650         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7651         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7652         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7653         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7654         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7655         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7656         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7657         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7658         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7659         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7660         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7661         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7662         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7663         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7664         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7665         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7666         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7667         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7668         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7669         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7670         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7671         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7672         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7673         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7674         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7675         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7676         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7677         Update #include.
7678         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7679         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7681 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7683         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7684         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7685         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7686         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7687         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7688         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7690 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7692         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7693         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7694         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7695         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7697 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7699         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7700         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7701         (__libc_vfork): Define function under this name.
7702         (__vfork): Define as an alias.
7703         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7704         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7706 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7708         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7709         that was previously under [RESET_PID].
7710         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7712 2014-08-04  Andreas Schwab  <schwab@suse.de>
7714         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7716 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
7718         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7719         (main): Likewise.
7721 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7723         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7725 2014-08-01  Richard Henderon  <rth@redhat.com>
7727         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7728         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7729         typo in exact zero test.
7730         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7731         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7732         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7734 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7736         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7737         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7738         * sysdeps/arm/sysdep.h: ... here.
7739         [!__ASSEMBLER__]: Include <stdint.h>.
7741 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7743         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7744         (HAVE_WCTYPE_H): Likewise.
7745         (HAVE_ISWCTYPE): Likewise.
7746         (ENABLE_NLS): Likewise.
7747         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7748         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7750         * posix/regex_internal.c: Check if DEBUG is defined and is
7751         set.
7753         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7754         (HAVE_MBSRTOWCS): Likewise.
7755         * posix/fnmatch.c: Include string.h unconditionally.
7757 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7759         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7760         reversal.
7762 2014-07-31  Roland McGrath  <roland@hack.frob.com>
7764         * sysdeps/generic/safe-fatal.h: New file.
7765         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7766         * nptl/forward.c: Include it.
7767         (__pthread_unwind): Use __safe_fatal as default action, rather
7768         than a bogus use of INTERNAL_SYSCALL that could never work.
7770         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7771         * configure.ac (libc_cv_builtin_trap): New test.
7772         * configure: Regenerated.
7773         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7774         (ABORT_INSTRUCTION): Define using __builtin_trap.
7776         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7777         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7778         * sysdeps/nptl/nptl-signals.h: New file.
7779         * nptl/pthreadP.h: Include <nptl-signals.h>.
7781 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7783         * sysdeps/s390/s390-64/utf16-utf32-z9.c
7784         (ONE_DIRECTION): Define.
7785         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7786         (ONE_DIRECTION): Define.
7787         * sysdeps/s390/s390-64/utf8-utf32-z9.c
7788         (ONE_DIRECTION): Define.
7790 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7792         * sysdeps/s390/Makefile: Delete file.
7793         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7794         * sysdeps/s390/__longjmp.c: Delete file.
7795         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7796         Remove fields __flags and __reserved.
7797         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7798         and add versioning.
7799         * sysdeps/s390/rtld-__longjmp.c: Delete file.
7800         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7801         * sysdeps/s390/rtld-setjmp.S: Likewise.
7802         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7803         * sysdeps/s390/s390-32/__longjmp.c: ... here.
7804         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7805         * sysdeps/s390/s390-32/setjmp.S: ... here.
7806         Add versioning.
7807         (__sigsetjmp): Remove setting __flags field.
7808         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7809         * sysdeps/s390/s390-64/__longjmp.c: ... here.
7810         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7811         * sysdeps/s390/s390-64/setjmp.S: ... here.
7812         Add versioning.
7813         (__sigsetjmp): Remove setting __flags field.
7814         * sysdeps/s390/setjmp.S: Delete file.
7815         * sysdeps/s390/sigjmp.c: Likewise.
7816         * sysdeps/s390/v1-longjmp.c: Likewise.
7817         * sysdeps/s390/v1-setjmp.h: Likewise.
7818         * sysdeps/s390/v1-sigjmp.c: Likewise.
7819         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7820         Remove v1-longjmp_chk.
7821         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7822         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7823         Include debug/longjmp_chk.c and add versioning.
7824         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7825         Include nptl/pt-longjmp.c and add versioning.
7826         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7827         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7828         Include __longjmp.c.
7829         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7830         Move to ...
7831         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7832         (__getcontext): Remove setting __flags field.
7833         Add versioning.
7834         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7835         Don't restore upper high grps.
7836         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7837         Likewise.
7838         (__swapcontext): Remove setting uc_flags field.
7839         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7840         Delete file.
7841         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7842         Include __longjmp.c.
7843         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7844         Move to ...
7845         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7846         (__getcontext): Remove setting __flags field.
7847         Add versioning.
7848         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7849         (__swapcontext): Remove setting uc_flags field.
7850         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7851         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7852         Remove fields uc_high_gprs and __reserved.
7853         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7854         New file with reverted content.
7855         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7856         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7857         Regenerated.
7858         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7859         Regenerated.
7861 2014-07-31  Andreas Schwab  <schwab@suse.de>
7863         * config.h.in (HAVE_IFUNC): Define to 0.
7864         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7865         definedness.
7867 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7869         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7870         memmove-avx-unaligned, memcpy-avx-unaligned and
7871         mempcpy-avx-unaligned.
7872         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7873         Add tests for AVX memcpy functions.
7874         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7875         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7876         memcpy_chk.
7877         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7878         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7879         memmove_chk.
7880         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7881         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7882         mempcpy_chk.
7883         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7884         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7885         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7887 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7889         [BZ #17213]
7890         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7891         powerpc64le.
7893 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7895         [BZ #16839]
7896         * manual/llio.texi: Add section about open file description locks.
7897         * manual/examples/ofdlocks.c: Example of open file description
7898         lock usage.
7899         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7900         F_OFD_SETLK, and F_OFD_SETLKW.
7902 2014-07-23  Allan McRae  <allan@archlinux.org>
7904         * po/es.po: Update Spanish translation from translation project.
7906 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7908         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7910 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7912         [BZ #17078]
7913         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7914         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7915         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7917 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7919         [BZ #17088]
7920         * math/fesetenv.c (__fesetenv)
7921         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7922         * math/feupdateenv.c (__feupdateenv)
7923         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7925         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7926         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7927         (__ASSUME_SOCKETCALL): Do not define.
7929         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7930         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7931         (__ASSUME_SOCKETCALL): Do not define.
7932         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7933         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7934         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7935         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7936         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7937         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7938         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7939         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7941         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7942         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7943         (__ASSUME_SOCKETCALL): Do not define.
7944         (__ASSUME_IPC64): Define unconditionally.
7945         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7946         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7947         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7948         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7949         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7950         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7951         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7952         Likewise.
7954         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7955         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7956         (__ASSUME_SOCKETCALL): Do not define.
7957         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7958         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7959         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7960         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7961         (__ASSUME_REQUEUE_PI): Define unconditionally.
7962         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7963         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7964         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7965         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7966         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7967         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7969         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7970         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7971         (__ASSUME_SOCKETCALL): Do not define.
7972         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7973         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7974         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7975         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7976         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7977         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7979         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7980         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7981         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7982         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7983         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7984         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7985         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7986         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7987         (__ASSUME_GETCPU_SYSCALL): Likewise.
7989         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7990         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7991         cases for individual architectures.
7992         * sysdeps/gnu/configure: Regenerated.
7993         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7994         LIBC_SLIBDIR_RTLDDIR.
7995         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7996         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7997         LIBC_SLIBDIR_RTLDDIR.
7998         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
8000         LIBC_SLIBDIR_RTLDDIR.
8001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
8002         Regenerated.
8003         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
8004         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
8005         file.
8006         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
8007         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
8008         file.
8009         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
8010         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
8011         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
8012         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
8014         * sysdeps/aarch64/shlib-versions: Move to ...
8015         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
8016         * sysdeps/alpha/shlib-versions: Move to ...
8017         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
8018         * sysdeps/arm/shlib-versions: Move to ...
8019         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
8020         * sysdeps/hppa/shlib-versions: Move all contents except for
8021         libgcc_s entry to ...
8022         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
8023         entry from ...
8024         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
8025         * sysdeps/ia64/shlib-versions: Move to ...
8026         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
8027         entry from ...
8028         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
8029         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
8030         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
8031         * sysdeps/microblaze/shlib-versions: Move to ...
8032         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
8033         * sysdeps/mips/shlib-versions: Move to ...
8034         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
8035         entry from ...
8036         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
8037         * sysdeps/tile/shlib-versions: Move to ...
8038         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
8039         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
8040         from ...
8041         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
8042         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
8043         entry from ...
8044         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
8046 2014-07-17  Will Newton  <will.newton@linaro.org>
8048         * sysdeps/arm/bits/atomic.h
8049         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
8050         (__arch_compare_and_exchange_bool_16_int): Likewise.
8051         (__arch_compare_and_exchange_bool_64_int): Likewise.
8053         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
8054         into an #else block.
8056 2014-07-16  Roland McGrath  <roland@hack.frob.com>
8058         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
8059         just Linux configurations.  Test empirically that the compiler sets
8060         __ARM_EABI__, rather than using the tuple to decide.
8061         * sysdeps/arm/preconfigure: Regenerated.
8062         * sysdeps/unix/sysv/linux/arm/configure: File removed.
8063         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
8064         contents appended ...
8065         * sysdeps/arm/configure.ac: ... here.
8066         * sysdeps/arm/configure: Regenerated.
8068 2014-07-15  Roland McGrath  <roland@hack.frob.com>
8070         * nptl/pthread_kill.c: New file.
8071         * nptl/pthread_sigmask.c: New file.
8072         * nptl/pthread_sigqueue.c: New file.
8074         * sysdeps/nptl/lowlevellock.h: New file.
8075         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
8076         * sysdeps/nptl/lowlevellock-futex.h: New file.
8078         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
8079         Remove dead declarations.
8081 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
8083         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
8084         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
8085         config-cflags-avx2.
8086         * sysdeps/x86_64/configure.ac: Likewise.
8087         * sysdeps/i386/configure: Regenerated.
8088         * sysdeps/x86_64/configure: Likewise.
8089         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
8090         memset-avx2 only if config-cflags-avx2 is yes.
8091         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8092         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
8093         defined.
8094         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
8095         only if HAVE_AVX2_SUPPORT is defined.
8096         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8098 2014-07-14  Alan Modra  <amodra@gmail.com>
8100         [BZ #17153]
8101         * elf/elf.h (DT_PPC64_NUM): Correct value.
8102         * NEWS: Add to fixed bug list.
8104 2014-07-13  Jim Meyering  <meyering@fb.com>
8106         [BZ 17150]
8107         regex: don't deref NULL upon heap allocation failure
8108         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
8109         failure in one more place.
8110         To trigger the segfault, configure grep -with-included-regex,
8111         build it, and run these commands:
8112         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
8114 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
8116         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8118 2014-07-11  Richard Henderson  <rth@redhat.com>
8120         * sysdeps/aarch64/libm-test-ulps: Update.
8122 2014-07-10  Florian Weimer  <fweimer@redhat.com>
8124         [BZ #17135]
8125         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
8126         * nptl/allocatestack.c (__nptl_setxid_error): New function.
8127         (__nptl_setxid): Initialize error member.  Call
8128         __nptl_setxid_error.
8129         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
8130         * nptl/descr.h (struct xid_command): Add error member.
8131         * nptl/tst-setuid3.c: New file.
8132         * nptl/Makefile (tests): Add it.
8134 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8136         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
8137         New define.
8138         (__lll_trylock): Use __lll_base_trylock.
8139         (__lll_cond_trylock): Likewise.
8141 2014-07-10  Roland McGrath  <roland@hack.frob.com>
8143         * nptl/pthread_create.c (start_thread): Use atomic_or and
8144         lll_futex_wake directly rather than lll_robust_dead.
8145         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8146         (lll_robust_dead): Macro removed.
8147         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
8148         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8149         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8150         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8151         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8152         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8153         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8154         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8155         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8156         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8157         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8158         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8159         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8160         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8161         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8163         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
8164         Use atomic_compare_and_exchange_val_acq directly rather than
8165         lll_robust_trylock.
8166         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
8167         (__lll_robust_trylock, lll_robust_trylock): Removed.
8168         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
8169         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
8170         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
8171         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
8172         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
8173         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
8174         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
8175         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
8176         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
8177         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
8178         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
8179         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
8180         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
8181         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
8183 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8185         * manual/locale.texi (Locale Names): New section documenting
8186         locale name syntax.  Adjust menu and node chaining accordingly.
8187         (Choosing Locale): Reference Locale Names, Locale Categories.
8188         Mention setting LC_ALL=C.  Reflect that name syntax is now
8189         documented.
8190         (Locale Categories): New section title.  Reference Locale Names.
8191         LC_ALL is an environment variable, but not a category.
8192         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
8193         description, now in Locale Name.  Reference that section.  Locale
8194         name syntax is now documented.
8196 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8198         [BZ #17137]
8199         * locale/findlocale.c (name_present, valid_locale_name): New
8200         functions.
8201         (_nl_find_locale): Use the loc_name variable to store name
8202         candidates.  Call name_present and valid_locale_name to check and
8203         validate locale names.  Return an error if the locale is invalid.
8205 2014-07-02  Florian Weimer  <fweimer@redhat.com>
8207         * locale/setlocale.c (setlocale): Use strdup for allocating
8208         composite name copy.
8210 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8212         Sync up with gnulib.
8213         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
8214         [!_LIBC && ENABLE_NLS]: Include gettext.h.
8215         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
8216         and _GL_ARG_NONNULL.
8217         [USE_UNLOCKED_IO]: Include unlocked-io.h.
8218         [!_LIBC]: Include code for Windows and Cygwin.
8219         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
8220         Include prototype for int strerror_r.
8221         [!_LIBC] (is_open): New function.
8222         (flush_stdout): New function.
8223         (print_errno_message): Use it.
8224         (error): Likewise.
8225         (error_at_line): Likewise.
8226         (error_tail) Add function attribute macros.  Use
8227         __builtin_expect.
8229         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
8231         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
8233         * io/ftw.c: Include sys/param.h unconditionally.
8235         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
8237         [BZ #17125]
8238         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
8239         libc_freeres_ptr.
8240         (freecache): New function to free CACHE on exit.
8242         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
8243         initialization.
8245 2014-07-09  David S. Miller  <davem@davemloft.net>
8247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8249         * sysdeps/sparc/nptl/internaltypes.h: Delete.
8250         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
8251         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
8252         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
8253         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
8254         * sysdeps/sparc/nptl/sem_init.c: Likewise.
8255         * sysdeps/sparc/nptl/sem_post.c: Likewise.
8256         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8257         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8258         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8259         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8260         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8261         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8263 2014-07-09  Andreas Schwab  <schwab@suse.de>
8265         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8266         output.
8267         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8268         (do_test): Likewise.
8270         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8272 2014-07-09  Will Newton  <will.newton@linaro.org>
8274         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8275         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8276         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8277         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8278         * sysdeps/hppa/start.S (_start): Likewise.
8280 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8282         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8284         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8285         defined.
8287 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8289         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8290         after checking that it is non-NULL.
8292         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8294 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8296         * sysdeps/powerpc/memmove.c: Remove file.
8297         * sysdeps/powerpc/powerpc32/power4/memcopy.h
8298         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8299         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8300         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8301         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8302         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8303         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8304         string memmove instead of removed powerpc one.
8306         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8307         [weak_alias]: Fix compiler warning due trailing data.
8308         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8309         [weak_alias]: Likewise.
8310         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8311         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8313         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8314         (__libc_ifunc_impl_list): Add memmove functions.
8316 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8318         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8319         Remove code.
8320         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8321         Likewise
8322         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8323         Likewise
8324         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8325         Likewise
8326         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8327         Likewise
8328         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8329         Likewise
8330         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8331         Likewise
8332         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8333         Likewise
8334         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8335         Likewise
8336         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8337         Likewise
8338         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8339         Likewise
8340         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8341         Likewise
8342         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8343         Likewise
8344         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8345         Likewise
8346         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8347         Likewise
8348         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8349         Likewise
8350         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8351         Likewise
8353 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8355         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8356         to avoid alignment traps in non-cacheable memory.
8357         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8359         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8360         multiarch objects.
8361         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8362         file: multiarch power7 memmove.
8363         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8364         multiarch default memmove.
8365         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8366         multiarch memove for powerpc32/power4.
8368         * string/bcopy.c: Use full path to include memmove.c.
8369         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8370         multiarch objects.
8371         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8372         bcopy for powerpc64.
8373         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8374         bcopy for powerpc64.
8375         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8376         and memmove implementations.
8377         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8378         optimized multiarch memmove for POWER7/powerpc64.
8379         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8380         default multiarch memmove for powerpc64.
8381         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8382         multiarch for powerpc64.
8383         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8384         for POWER7/powerpc64.
8385         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8386         memmove for POWER7/powerpc64.
8388         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8389         glibc default one.
8391         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8392         __ELF_NATIVE_CLASS equal to 64.
8394 2014-07-07  Roland McGrath  <roland@hack.frob.com>
8396         * sysdeps/nptl/lowlevellock.h: File removed.
8398         * NEWS: NPTL is no longer an add-on!
8399         * nptl/internaltypes.h: Moved ...
8400         * sysdeps/nptl/internaltypes.h: ... here.
8401         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8402         * sysdeps/nptl/fork.c: Likewise.
8403         * sysdeps/nptl/gai_misc.h: Likewise.
8404         * sysdeps/nptl/librt-cancellation.c: Likewise.
8405         * sysdeps/nptl/jmp-unwind.c: Likewise.
8406         * sysdeps/nptl/setxid.h: Likewise.
8407         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8408         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8409         * sysdeps/unix/sysv/linux/arm/Implies: New file.
8410         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8411         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8412         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8413         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8414         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8415         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8416         * sysdeps/unix/sysv/linux/mips/Implies: New file.
8417         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8418         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8419         * sysdeps/unix/sysv/linux/sh/Implies: New file.
8420         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8421         * sysdeps/unix/sysv/linux/tile/Implies: New file.
8422         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8423         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8424         * nptl/Makeconfig: Moved ...
8425         * sysdeps/nptl/Makeconfig: ... here.
8426         * nptl/configure: File removed.
8427         * nptl/ANNOUNCE: File removed.
8428         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8429         * sysdeps/unix/sysv/linux/configure: Regenerated.
8431         * nptl/Makefile (routines): Add libc_pthread_init,
8432         libc_multiple_threads, register-atfork and unregister-atfork.
8433         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8434         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8435         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8436         pthread-pi-defines.sym, structsem.sym.
8437         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8438         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8439         [$(subdir) = nptl] (tests): Add tst-setgetname.
8440         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8441         * sysdeps/unix/sysv/linux/sigaction.c: Just include
8442         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8443         [!LIBC_SIGACTION]: Remove aliases.
8444         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8445         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8446         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8447         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8448         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8449         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8450         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8451         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8452         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8453         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8454         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8455         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8456         __libc_allocate_rtsig_private.
8457         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8458         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8459         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8460         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8461         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8462         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8463         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8464         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8465         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8466         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8467         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8468         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8469         * nptl/internaltypes.h: ... here.
8470         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8471         * sysdeps/nptl/jmp-unwind.c: ... here.
8472         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8473         * nptl/libc-lowlevellock.c: ... here.
8474         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8475         * nptl/libc_multiple_threads.c: ... here.
8476         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8477         * nptl/libc_pthread_init.c: ... here.
8478         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8479         * nptl/lowlevelbarrier.sym: ... here.
8480         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8481         * nptl/lowlevelcond.sym: ... here.
8482         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8483         * nptl/lowlevellock.c: ... here.
8484         * nptl/lowlevellock.h: Moved ...
8485         * sysdeps/nptl/lowlevellock.h: ... here.
8486         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8487         * nptl/lowlevelrobustlock.c: ... here.
8488         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8489         * nptl/lowlevelrobustlock.sym: ... here.
8490         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8491         * nptl/lowlevelrwlock.sym: ... here.
8492         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8493         * nptl/pt-fork.c: ... here.
8494         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8495         * nptl/pthread-pi-defines.sym: ... here.
8496         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8497         * nptl/pthread_attr_getaffinity.c: ... here.
8498         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8499         * nptl/pthread_attr_setaffinity.c: ... here.
8500         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8501         * nptl/pthread_mutex_cond_lock.c: ... here.
8502         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8503         Update #include.
8504         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8505         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8506         * nptl/pthread_once.c: ... here, replacing old file.
8507         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8508         * nptl/pthread_yield.c: ... here.
8509         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8510         * nptl/register-atfork.c: ... here.
8511         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8512         * nptl/sem_post.c: ... here.
8513         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8514         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8515         * nptl/sem_timedwait.c: ... here.
8516         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8517         * nptl/sem_trywait.c: ... here.
8518         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8519         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8520         * nptl/sem_wait.c: ... here.
8521         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8522         * nptl/structsem.sym: ... here.
8523         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8524         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8525         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8526         * nptl/unregister-atfork.c: ... here.
8527         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8528         * nptl/unwindbuf.sym: ... here.
8529         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8530         * sysdeps/nptl/fork.c: ... here.
8531         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8532         * sysdeps/nptl/fork.h: ... here.
8533         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8534         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8535         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8536         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8537         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8538         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8539         * sysdeps/unix/sysv/linux/getpid.c: ... here.
8540         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8541         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8542         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8543         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8544         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8545         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8546         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8547         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8548         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8549         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8550         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8551         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8552         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8553         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8554         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8555         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8556         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8557         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8558         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8559         * sysdeps/unix/sysv/linux/raise.c: ... here.
8560         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8561         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8562         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8563         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8564         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8565         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8566         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8567         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8568         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8569         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8570         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8571         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8572         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8573         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8574         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8576 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8578         * sysdeps/generic/memcopy.h: Add comment for
8579         MEMCPY_OK_FOR_FWD_MEMMOVE.
8581 2014-07-04  Will Newton  <will.newton@linaro.org>
8583         * string/memchr.c: Merge from gnulib.
8584         [_LIBC]: Remove conditionals.
8585         (__ptr_t): Remove define.
8586         (LONG_MAX_32_BITS): Likewise.
8587         (LONG_MAX): Likewise.
8588         (MEMCHR): Use ANSI prototype and optimize algorithm.
8590         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8592 2014-07-03  Roland McGrath  <roland@hack.frob.com>
8594         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8595         (lll_futex_timed_wait_bitset): Fix syscall argument count.
8597         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8598         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8599         in a bare environment with no <stdlib.h> installed.
8600         * sysdeps/nptl/configure: Regenerated.
8602         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8604         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8605         AC_EGREP_CPP for kernel header checks, so they only succeed if
8606         including <linux/version.h> actually works right.
8607         * sysdeps/unix/sysv/linux/configure: Regenerated.
8609         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8610         value so it's not diagnosed as unused.
8612         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8613         thing) with "ifeq ($(subdir),rt)".
8615 2014-07-03  Richard Henderson  <rth@redhat.com>
8617         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8618         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8619         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8621         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8622         (math_force_eval): New.
8624         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8625         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8627         * sysdeps/alpha/fpu/s_round.c: Remove file.
8628         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8630         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8631         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8632         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8633         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8634         (_dl_start, print_statistics): Likewise.
8635         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8636         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8638         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8639         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8640         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8641         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8642         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8643         (HP_SMALL_TIMING_AVAIL): Define.
8644         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8645         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8646         (HP_SMALL_TIMING_AVAIL): Define.
8647         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8648         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8650         * sysdeps/aarch64/hp-timing.h: New file.
8652         * sysdeps/generic/hp-timing.h: Remove dead comment.
8653         * sysdeps/generic/hp-timing-common.h: New file.
8654         * sysdeps/alpha/hp-timing.h: Include it.
8655         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8656         * sysdeps/i386/i686/hp-timing.h: Likewise.
8657         * sysdeps/ia64/hp-timing.h: Likewise.
8658         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8659         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8660         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8661         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8662         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8663         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8664         (hp_timing_t): New.
8666         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8667         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8668         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8669         * elf/rtld.c (_dl_start_final): Likewise.
8670         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8671         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8672         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8673         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8674         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8675         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8676         (HP_TIMING_DIFF_INIT): Remove.
8677         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8678         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8679         (HP_TIMING_DIFF_INIT): Remove.
8680         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8681         * sysdeps/i386/i686/hp-timing.c: Remove file.
8682         * sysdeps/x86_64/hp-timing.c: Remove file.
8683         * sysdeps/ia64/hp-timing.c: Remove file.
8684         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8685         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8686         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8687         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8689         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8690         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8691         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8692         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8693         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8694         (HP_TIMING_ACCUM): Remove.
8695         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8696         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8697         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8699         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8700         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8701         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8702         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8703         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8704         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8705         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8706         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8708         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8710 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
8712         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8714 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8716         Sync up with gettext.
8717         * intl/loadmsgcat.c: Define O_BINARY if not defined.
8718         [_MSC_VER]: Include malloc.h
8719         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8720         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8721         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
8722         TEMP_FAILURE_RETRY.  Cast return of alloca.
8723         [!_LIBC] Call gl_rwlock_init.
8724         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8726 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8728         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8729         before checking its value.
8731 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8733         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8735         * debug/memcpy_chk.c: Don't include pagecopy.h.
8736         * debug/mempcpy_chk.c: Likewise.
8737         * string/memcpy.c: Likewise.
8738         * string/memmove.c: Likewise.
8739         * sysdeps/powerpc/memmove.c: Likewise.
8740         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
8741         definition of PAGE_COPY_FWD_MAYBE here...
8742         * sysdeps/generic/pagecopy.h: ... from here.
8743         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8745 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8746             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8748         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8750         optimizations.
8751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8752         (__libc_ifunc_impl_list): Likewise.
8753         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8754         multiarch strcat for PPC64.
8755         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8756         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8758 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8760         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8762 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8764         * intl/loadmsgcat.c: Remove declaration of
8765         get_sysdep_segment_value.
8766         (get_sysdep_segment_value): Use ISO C style.
8767         (_nl_load_domain): Use ISO C style.  Get rid of redundant
8768         semicolon.  Fix typo and formatting in comment.
8769         (_nl_unload_domain): Use ISO C style.
8771         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8773 2014-07-02  Will Newton  <will.newton@linaro.org>
8775         * malloc/obstack.c: Merge from gnulib master.
8776         [HAVE_CONFIG_H]: Remove conditional code.
8777         [!_LIBC]: Include config.h.
8778         [!ELIDE_CODE]: Don't include inttypes.h, include
8779         stdint.h unconditionally.
8780         (print_and_abort): Mark as _Noreturn.
8781         (_obstack_allocated_p): Mark as __attribute_pure__.
8782         (obstack_free): Rename to __obstack_free.
8783         [!__attribute__]: Remove conditional code.
8784         * malloc/obstack.h: Merge from gnulib master.
8785         [__cplusplus]: Move conditional down.
8786         [!__attribute_pure__]: Define __attribute_pure__ here
8787         if it is not already defined.
8788         (_obstack_memory_used): Mark as __attribute_pure__.
8789         [!__obstack_free]: Define as obstack_free.
8790         [__GNUC__]: Remove check for ancient NeXT gcc.
8792 2014-07-02  Will Newton  <will.newton@linaro.org>
8793             Paul Eggert  <eggert@cs.ucla.edu>
8795         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8797 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8799         * resolv/gethnamaddr.c: Add comment warning that the file is
8800         not maintained.
8802 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
8804         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8805         entries.
8807         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8808         entry for aio_cancel and aio_cancel64.
8809         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8810         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8811         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8812         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8813         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8814         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8815         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8816         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8817         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8818         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8819         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8820         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8821         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8823 2014-07-01  Roland McGrath  <roland@hack.frob.com>
8825         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8826         * nptl/pthread_mutex_lock.c: Likewise.
8827         * nptl/pthread_mutex_timedlock.c: Likewise.
8828         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8830 2014-07-01  Richard henderson  <rth@redhat.com>
8832         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8833         (__isnan, __isnanl): Remove.
8834         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8836         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8838 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8840         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8842 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8844         * resolv/nss_dns/dns-host.c (getanswer_r)
8845         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8847 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8849         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8850         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8851         undefine.
8852         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8853         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8855 2014-07-01  Roland McGrath <roland@hack.frob.com>
8857         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8858         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8860         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8861         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8863         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8864         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8865         ... here.
8866         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8867         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8869         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8870         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8871         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8872         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8874         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8875         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8876         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8877         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8878         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8879         Moved ...
8880         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8881         ... here.
8882         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8883         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8884         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8885         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8886         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8887         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8888         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8889         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8890         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8891         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8892         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8893         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8894         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8895         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8896         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8897         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8898         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8899         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8900         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8901         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8902         ... here.
8903         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8904         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8905         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8906         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8907         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8908         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8909         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8910         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8912 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8914         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8915         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8916         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8917         Add sysdep.
8919 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8921         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8923 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8925         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8926         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8928         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8930         * sysdeps/arm/libm-test-ulps: Regenerated.
8932 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8933             Roland McGrath <roland@hack.frob.com>
8935         * test-skeleton.c (signal_handler): Kill the whole process group
8936         before killing the child individually.
8937         (main): Report any failure on `setpgid'.
8939 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8941         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8942         from _TLS_H to _ARM_NPTL_TLS_H.
8943         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8944         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8946 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8948         [BZ #16539]
8949         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8950         (__expm1l): Return argument unchanged when small but not
8951         subnormal.
8953         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8954         include macro name.
8955         (_FP_UNPACK_RAW_1_P): Likewise.
8956         (_FP_PACK_RAW_1): Likewise.
8957         (_FP_PACK_RAW_1_P): Likewise.
8958         (_FP_MUL_MEAT_1_wide): Likewise.
8959         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8960         (_FP_MUL_MEAT_1_hard): Likewise.
8961         (_FP_DIV_MEAT_1_imm): Likewise.
8962         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8963         (_FP_DIV_MEAT_1_udiv): Likewise.
8964         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8965         (_FP_UNPACK_RAW_2): Likewise.
8966         (_FP_UNPACK_RAW_2_P): Likewise.
8967         (_FP_PACK_RAW_2): Likewise.
8968         (_FP_PACK_RAW_2_P): Likewise.
8969         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8970         (_FP_MUL_MEAT_2_wide): Likewise.
8971         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8972         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8973         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8974         (_FP_MUL_MEAT_2_gmp): Likewise.
8975         (_FP_DIV_MEAT_2_udiv): Likewise.
8976         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8977         (_FP_FRAC_SRL_4): Likewise.
8978         (_FP_FRAC_SRST_4): Likewise.
8979         (_FP_FRAC_SRS_4): Likewise.
8980         (_FP_UNPACK_RAW_4): Likewise.
8981         (_FP_UNPACK_RAW_4_P): Likewise.
8982         (_FP_PACK_RAW_4): Likewise.
8983         (_FP_PACK_RAW_4_P): Likewise.
8984         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8985         (_FP_MUL_MEAT_4_wide): Likewise.
8986         (_FP_MUL_MEAT_4_gmp): Likewise.
8987         (umul_ppppmnnn): Likewise.
8988         (_FP_DIV_MEAT_4_udiv): Likewise.
8989         (__FP_FRAC_ADD_4): Likewise.
8990         (__FP_FRAC_SUB_3): Likewise.
8991         (__FP_FRAC_SUB_4): Likewise.
8992         (__FP_FRAC_DEC_3): Likewise.
8993         (__FP_FRAC_DEC_4): Likewise.
8994         (__FP_FRAC_ADDI_4): Likewise.
8995         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8996         (_FP_FRAC_SRL_8): Likewise.
8997         (_FP_FRAC_SRS_8): Likewise.
8999         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
9000         include macro name.
9001         (FP_UNPACK_RAW_EP): Likewise.
9002         (FP_PACK_RAW_E): Likewise.
9003         (FP_PACK_RAW_EP): Likewise.
9004         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
9005         (_FP_ISSIGNAN): Likewise.
9006         (_FP_ADD_INTERNAL): Likewise.
9007         (_FP_FMA): Likewise.
9008         (_FP_CMP): Likewise.
9009         (_FP_SQRT): Likewise.
9010         (_FP_TO_INT): Likewise.
9011         (_FP_FROM_INT): Likewise.
9012         (FP_EXTEND): Likewise.
9013         (_FP_DIV_MEAT_N_loop): Likewise.
9015 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
9017         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
9018         throughout.
9020 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
9022         [BZ #17097]
9023         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
9024         result with correct sign in case of exponents that produce
9025         overflow except for X very close to 1.
9027 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
9029         mktime: merge #if/#ifdef usage from glibc
9030         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
9031         as that works with both Glibc's and Gnulib's style.
9032         See thread starting at Siddhesh Poyarekar's bug report at:
9033         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
9035 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9037         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
9038         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
9039         * sysdeps/tile/tilegx/memmove.c: Remove file.
9041 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9043         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
9044         abi-name definition.
9045         * scripts/soversions.awk: Do not handle or generate ABI lines.
9046         * shlib-versions: Remove ABI entries.
9047         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
9048         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
9050 2014-06-27  Roland McGrath  <roland@hack.frob.com>
9052         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
9053         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
9054         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
9055         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
9056         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
9057         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
9058         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
9059         Moved ...
9060         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
9061         ... here.
9062         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
9063         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
9064         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
9065         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
9066         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
9067         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
9068         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
9069         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
9070         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
9071         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
9072         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
9073         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
9074         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
9075         Moved ...
9076         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
9077         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
9078         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
9079         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
9080         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
9081         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
9082         Moved ...
9083         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
9084         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
9085         Moved ...
9086         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
9087         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
9088         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
9089         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
9090         Moved ...
9091         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
9092         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
9093         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
9094         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
9095         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
9096         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
9097         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
9098         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
9099         Moved ...
9100         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
9101         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
9102         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
9103         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
9104         Moved ...
9105         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
9106         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
9107         Moved ...
9108         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
9109         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
9110         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
9111         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
9112         Moved ...
9113         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
9114         ... here.
9115         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
9116         Identical file removed.
9117         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
9118         Moved ...
9119         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
9120         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
9121         Identical file removed.
9122         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
9123         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
9124         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
9125         Moved ...
9126         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
9127         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
9128         Identical file removed.
9129         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
9130         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
9131         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
9132         Identical file removed.
9133         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
9134         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
9135         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
9136         Identical file removed.
9137         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
9138         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
9139         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
9140         Identical file removed.
9141         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
9142         Moved ...
9143         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
9144         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
9145         Identical file removed.
9146         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
9147         Moved ...
9148         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
9149         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
9150         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
9151         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
9152         Identical file removed.
9153         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
9154         Moved ...
9155         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
9156         ... here.
9157         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
9158         Identical file removed.
9159         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
9160         Moved ...
9161         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
9162         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
9163         Identical file removed.
9164         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
9165         Moved ...
9166         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
9167         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
9168         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
9169         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
9170         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
9171         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
9172         Moved ...
9173         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
9174         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
9175         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
9177         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
9178         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
9179         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
9180         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
9181         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
9183 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
9185         [BZ #17092]
9186         * nscd/nscd.c (monitor_child): Return exit status of child
9187         instead of return value from wait syscall.
9189 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
9191         * configure.ac (libc_commonpagesize): Remove variable.
9192         (libc_relro_required): Likewise.
9193         (libc_cv_z_relro): Remove configure test.
9194         * configure: Regenerated.
9195         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
9196         variable.
9197         (libc_relro_required): Likewise.
9198         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
9199         (libc_relro_required): Likewise.
9200         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
9201         (libc_relro_required): Likewise.
9202         * sysdeps/arm/preconfigure: Regenerated.
9203         * sysdeps/ia64/preconfigure: Remove file.
9204         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
9205         variable.
9206         (libc_relro_required): Likewise.
9208         [BZ #16561]
9209         [BZ #16562]
9210         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
9211         (__ieee754_yn): Set FE_TONEAREST mode internally and then
9212         recompute overflowing results in original rounding mode.
9213         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
9214         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
9215         recompute overflowing results in original rounding mode.
9216         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
9217         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9218         recompute overflowing results in original rounding mode.
9219         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
9220         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9221         recompute overflowing results in original rounding mode.
9222         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
9223         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
9224         recompute overflowing results in original rounding mode.
9225         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
9226         (libc_feholdsetround_ctx): New macro.
9227         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
9228         * sysdeps/i386/fpu/libm-test-ulps: Update.
9229         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
9231 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9233         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
9234         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
9235         corresponding .cpsetup call.
9237 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9239         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
9240         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
9241         * sysdeps/arm/Makefile [$(subdir) = csu]
9242         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
9243         (static-only-routines): Add aeabi_read_tp here.
9244         (shared-only-routines): Add libc-aeabi_read_tp here.
9245         (CFLAGS-libc-start.c): Add -fexceptions here.
9246         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
9247         (sysdep_routines, static-only-routines, shared-only-routines):
9248         Don't add to these here.
9249         (CFLAGS-libc-start.c): Likewise.
9251         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
9252         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
9253         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
9254         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9255         * sysdeps/arm/Makefile [$(subdir) = rt]
9256         (librt-sysdep_routines, librt-shared-only-routines):
9257         Append rt-aeabi_unwind_cpp_pr1 here.
9258         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9259         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9260         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9261         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9262         Append nptl-aeabi_unwind_cpp_pr1 here.
9263         (tests): Filter out tst-cleanupx4 here.
9264         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9265         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9266         Don't do those here.
9268 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9270         * scripts/list-sources.sh: Do not handle ports specially.
9272 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9274         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9275         * sysdeps/arm/feupdateenv.c: Likewise.
9277         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9279 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9281         * manual/texinfo.tex: Update to version 2014-05-05.10 with
9282         trailing whitespace removed.
9283         * scripts/config.guess: Update to version 2014-03-23.
9284         * scripts/config.sub: Update to version 2014-05-01
9285         * scripts/install-sh: Update to version 2013-12-25.23.
9286         * scripts/move-if-change: Update from gnulib.
9288 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9290         * debug/memmove_chk.c: Remove pagecopy.h include.
9292 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
9294         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
9295         identical to gnulib mktime.
9297 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9299         * configure.ac: Do not test for machine being rs6000.  Do not test
9300         for powerpc*-*soft.
9301         * configure: Regenerated.
9303         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9304         test.
9305         * configure: Regenerated.
9306         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9307         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9308         Remove configure test.
9309         * sysdeps/arm/configure: Regenerated.
9310         * sysdeps/nptl/configure.ac: Do not check
9311         libc_cv_asm_cfi_directives.
9312         * sysdeps/nptl/configure: Regenerated.
9313         * sysdeps/x86_64/nptl/configure.ac: Remove file.
9314         * sysdeps/x86_64/nptl/configure: Remove generated file.
9315         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9316         unconditional.
9317         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9319 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9321         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9322         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9323         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9324         it is defined.
9326         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9327         instead of whether it is defined.
9328         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9329         * sysdeps/hppa/dl-machine.h: Likewise.
9330         * sysdeps/ia64/dl-machine.h: Likewise.
9331         * sysdeps/m68k/dl-machine.h: Likewise.
9332         * sysdeps/microblaze/dl-machine.h: Likewise.
9333         * sysdeps/mips/dl-machine.: Likewise.
9334         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9335         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9336         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9337         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9338         * sysdeps/sh/dl-machine.h: Likewise.
9339         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9340         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9341         * sysdeps/tile/dl-machine.h: Likewise.
9342         * sysdeps/x86_64/dl-machine.h: Likewise.
9344         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9345         code.
9346         (verify_persistent_db): Likewise.
9348 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9350         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9351         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9352         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9353         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9354         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9355         Moved ...
9356         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9357         ... here.
9358         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9359         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9361         Identical file removed.
9362         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9363         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9364         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9365         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9366         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9367         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9368         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9369         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9370         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9371         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9372         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9373         Moved ...
9374         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9375         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9376         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9377         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9378         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9379         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9380         Moved ...
9381         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9382         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9383         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9384         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9385         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9386         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9387         Identical file removed.
9388         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9389         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9391         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9393         Moved ...
9394         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9395         ... here.
9396         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9397         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9399         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9401         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9402         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9403         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9404         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9405         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9406         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9407         Moved ...
9408         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9409         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9410         Moved ...
9411         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9412         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9413         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9414         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9415         Moved ...
9416         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9417         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9418         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9420         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9421         folded into ...
9422         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9423         * sysdeps/unix/sysv/linux/s390/Versions
9424         (libpthread: GLIBC_2.19): New version set.
9425         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9426         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9427         (librt: GLIBC_2.3.3): New version set.
9428         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9429         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9430         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9431         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9432         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9433         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9434         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9435         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9436         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9437         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9438         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9439         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9440         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9441         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9442         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9443         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9444         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9445         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9446         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9447         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9448         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9449         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9450         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9451         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9452         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9453         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9454         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9455         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9456         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9457         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9458         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9459         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9460         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9461         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9462         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9463         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9464         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9465         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9466         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9467         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9468         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9469         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9470         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9471         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9472         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9474         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9475         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9476         (__libc_vfork): Define the function under this name.
9477         [!NOT_IN_libc] (__vfork): Make this an alias.
9478         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9479         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9480         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9481         (__libc_vfork): Define the function under this name.
9482         [!NOT_IN_libc] (__vfork): Make this an alias.
9483         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9484         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9485         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9486         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9487         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9488         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9490         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9491         code that was previously under [RESET_PID].
9492         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9493         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9494         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9496         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9497         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9498         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9499         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9500         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9501         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9502         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9503         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9504         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9505         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9506         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9507         Moved ...
9508         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9509         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9510         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9511         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9512         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9513         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9514         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9515         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9516         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9517         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9518         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9519         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9520         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9521         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9522         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9523         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9524         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9525         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9526         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9527         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9528         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9529         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9530         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9531         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9532         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9533         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9534         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9535         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9536         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9538 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9540         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9541         that was previously under [RESET_PID].
9542         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9544 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9546         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9547         not undefine and redefine.
9548         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9549         [O_CLOEXEC]: Make code unconditional.
9550         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9551         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9552         <kernel-features.h>.
9553         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9554         conditional variable definition.
9555         (shm_open) [O_CLOEXEC]: Make code unconditional.
9556         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9557         code.
9559         * configure.ac (USE_REGPARMS): Don't define here.
9560         * configure: Regenerated.
9561         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9562         * sysdeps/i386/configure: Regenerated.
9564         * nptl/createthread.c: Don't include kernel-features.h.
9565         * nptl/pthread_cancel.c: Likewise.
9566         * nptl/pthread_condattr_setclock.c: Likewise.
9567         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9568         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9569         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9570         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9571         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9572         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9573         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9574         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9575         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9576         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9577         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9578         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9579         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9580         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9581         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9582         * nscd/gai.c: Likewise.
9583         * nss/nss_db/db-open.c: Likewise.
9584         * sysdeps/generic/ldsodefs.h: Likewise.
9585         * sysdeps/sh/nptl/tls.h: Likewise.
9586         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9587         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9588         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9589         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9590         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9591         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9592         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9593         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9594         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9595         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9596         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9597         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9598         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9599         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9600         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9601         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9602         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9603         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9604         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9605         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9606         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9607         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9608         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9609         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9610         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9611         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9612         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9613         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9614         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9615         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9616         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9617         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9618         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9619         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9620         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9621         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9622         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9623         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9624         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9625         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9626         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9627         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9628         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9629         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9630         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9631         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9632         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9633         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9634         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9635         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9636         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9637         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9638         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9639         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9640         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9641         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9642         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9643         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9645         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9646         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9648         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9651         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9658         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9659         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9662         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9663         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9664         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9666         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9667         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9668         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9669         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9670         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9671         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9672         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9673         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9674         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9675         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9676         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9677         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9678         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9679         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9680         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9681         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9682         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9683         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9684         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9685         * sysdeps/unix/sysv/linux/system.c: Likewise.
9686         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9687         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9688         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9689         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9690         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9691         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9692         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9694         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9695         * configure: Regenerated.
9696         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9698         * configure.ac (base_machine): Do not set specially for particular
9699         machines here.
9700         * configure: Regenerated.
9701         * sysdeps/powerpc/preconfigure: Move machine and base_machine
9702         settings from configure.ac.
9703         * sysdeps/i386/preconfigure: New file.
9704         * sysdeps/s390/preconfigure: Likewise.
9705         * sysdeps/sh/preconfigure: Likewise.
9706         * sysdeps/sparc/preconfigure: Likewise.
9708 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9710         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9711         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9712         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9713         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9714         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9715         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9716         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9717         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9718         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9719         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9720         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9721         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9722         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9723         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9724         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9725         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9726         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9727         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9728         * sysdeps/sparc/sparc64/Makefile: ... appended here.
9730         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9731         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9732         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9733         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9734         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9735         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9736         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9737         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9738         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9739         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9740         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9741         * sysdeps/sparc/sparc32/sem_post.c: ... here.
9742         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9743         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9744         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9745         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9746         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9747         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9748         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9749         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9750         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9751         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9752         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9753         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9754         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9755         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9756         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9757         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9758         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9759         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9760         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9761         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9762         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9763         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9764         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9765         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9766         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9767         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9769         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9770         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9772         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9773         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9774         Moved ...
9775         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9776         ... here.
9777         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9778         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9779         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9780         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9781         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9782         Moved ...
9783         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9784         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9785         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9786         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9787         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9789         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9791         Moved ...
9792         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9793         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9794         Moved ...
9795         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9797         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9799         Moved ...
9800         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9801         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9802         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9803         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9804         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9805         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9806         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9807         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9808         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9809         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9810         Moved ...
9811         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9812         ... here.
9813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9814         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9816         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9818         Moved ...
9819         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9820         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9821         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9822         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9823         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9824         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9825         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9826         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9827         Moved ...
9828         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9830         Moved ...
9831         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9832         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9833         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9834         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9835         Moved ...
9836         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9837         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9838         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9839         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9840         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9842 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9844         * timezone/checktab.awk: Update from tzcode 2014e.
9845         * timezone/private.h: Likewise.
9846         * timezone/tzfile.h: Likewise.
9847         * timezone/zdump.c: Likewise.
9848         * timezone/zic.c: Likewise.
9850         * sysdeps/unix/sysv/linux/kernel-features.h
9851         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9852         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9853         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9854         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9855         Remove conditional code.
9857 2014-06-25  Will Newton  <will.newton@linaro.org>
9859         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9860         (_dl_arm_cap_flags): Add HWCAP2 values.
9861         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9862         (_DL_HWCAP_COUNT): Increase to 37.
9863         (_DL_HWCAP_LAST): New define.
9864         (_DL_HWCAP2_LAST): New define.
9865         (_dl_procinfo): Add support for printing
9866         AT_HWCAP2 entries.
9867         (_dl_string_hwcap): Use _dl_hwcap_string.
9869 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9871         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9873 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9875         * README: Do not mention ports directory.
9877         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9878         Remove macro.
9879         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9880         <kernel-features.h>.
9881         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9882         conditional variable definition.
9883         (__futimes): Update comment.
9884         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9885         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9887         [BZ #16560]
9888         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9889         arguments close to 0.
9890         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9891         Likewise.
9892         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9893         Likewise.
9894         * math/auto-libm-test-in: Add more tests of exp10.
9895         * math/auto-libm-test-out: Regenerated.
9896         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9898         * sysdeps/unix/sysv/linux/kernel-features.h
9899         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9900         * sysdeps/unix/sysv/linux/readv.c: Do not include
9901         <kernel-features.h>.
9902         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9903         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9904         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9905         unconditional.
9906         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9907         conditional code.
9908         * sysdeps/unix/sysv/linux/writev.c: Do not include
9909         <kernel-features.h>.
9910         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9911         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9912         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9913         unconditional.
9914         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9915         conditional code.
9917 2014-06-25  Will Newton  <will.newton@linaro.org>
9919         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9920         comment changes throughout the file.  Remove checks
9921         for HAVE_*_H definitions that are not required.
9922         (__gen_tempname): Call abort if an unknown kind value is
9923         passed.
9925 2014-06-25  Andreas Schwab  <schwab@suse.de>
9927         [BZ #17086]
9928         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9929         scalbln, scalblnf, scalblnl in libc.
9931 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9933         [BZ #17086]
9934         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9935         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9936         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9938 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9940         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9941         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9942         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9943         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9944         Update #include.
9945         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9946         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9947         Update #include.
9948         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9949         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9950         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9951         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9952         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9953         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9954         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9955         * sysdeps/x86/bits/semaphore.h: ... here.
9956         * sysdeps/x86/nptl/elide.h: Moved ...
9957         * sysdeps/x86/elide.h: ... here.
9958         * sysdeps/x86_64/nptl/Implies: File removed.
9959         * sysdeps/i386/nptl/Implies: File removed.
9961 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9963         [BZ #16539]
9964         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9965         return the argument for normal arguments with exponent below -64.
9966         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9967         Likewise.
9968         * math/auto-libm-test-in: Add another test of expm1.
9969         * math/auto-libm-test-out: Regenerated.
9971         [BZ #16287]
9972         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9973         calling __erfcl for arguments at least 16.
9974         * math/auto-libm-test-in: Add more tests of erf.
9975         * math/auto-libm-test-out: Regenerated.
9977         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9978         individual architectures.
9979         * sysdeps/unix/sysv/linux/configure: Regenerated.
9980         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9981         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9982         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9983         (ldd_rewrite_script): Define variable.
9984         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9986         file.
9987         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9988         generated file.
9989         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9990         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9991         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9992         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9993         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9994         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9995         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9996         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9998 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10000         [BZ #17084]
10001         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
10002         Rename member __data.d to __data.__elision_data.
10004 2014-06-24  Wilco  <wdijkstr@arm.com>
10006         * NEWS: Add 16918 to fixed bug list.
10008 2014-06-24  Wilco  <wdijkstr@arm.com>
10010         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
10012 2014-06-24  Wilco  <wdijkstr@arm.com>
10014         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
10015         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
10016         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
10017         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
10018         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
10019         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
10020         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
10021         Use _FPU_MASK_RM.
10023 2014-06-24  Wilco  <wdijkstr@arm.com>
10025         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
10027 2014-06-24  Wilco  <wdijkstr@arm.com>
10029         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
10030         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
10031         * sysdeps/arm/fesetround.c (fesetround): Remove space.
10032         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
10034 2014-06-24  Wilco  <wdijkstr@arm.com>
10036         [BZ #16918]
10037         * sysdeps/arm/feupdateenv.c (feupdateenv):
10038         Rewrite to reduce FPSCR accesses and fix return value.
10040 2014-06-24  Wilco  <wdijkstr@arm.com>
10042         * sysdeps/arm/fclrexcpt.c (feclearexcept):
10043         Optimize to avoid unnecessary FPSCR writes.
10044         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
10045         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
10046         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
10047         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
10049 2014-06-24  Wilco  <wdijkstr@arm.com>
10051         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
10052         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
10053         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
10054         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
10055         Call libc_fetestexcept_vfp.
10056         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
10057         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
10058         __SOFTFP__ ifdef so that they can be built for softfp.
10060 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
10062         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
10063         argument type signed char.
10065         * Makerules (check-abi): Dump diff of symlist if the test
10066         fails.
10068 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10070         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
10071         using abort.
10073         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
10074         Remove unused variable ST.
10076 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10078         [BZ #16354]
10079         [BZ #17061]
10080         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
10081         small arguments before calling __expm1.
10082         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
10083         small arguments before calling __expm1f.
10084         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
10085         small arguments before calling __expm1l.
10086         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
10087         Likewise.
10088         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
10089         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
10090         spurious underflow for some cosh tests.
10091         * math/auto-libm-test-out: Regenerated.
10092         * sysdeps/i386/fpu/libm-test-ulps: Update.
10094         [BZ #17050]
10095         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
10096         (__ieee754_y1): Set errno if return value overflows.
10097         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
10098         (__ieee754_y1f): Set errno if return value overflows.
10099         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
10100         (__ieee754_y1l): Set errno if return value overflows.
10101         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
10102         (__ieee754_y1l): Set errno if return value overflows.
10103         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
10104         * math/auto-libm-test-out: Regenerated.
10106         * math/gen-auto-libm-tests.c: Document use of
10107         ignore-zero-inf-sign.
10108         (input_flag_type): Add value flag_ignore_zero_inf_sign.
10109         (input_flags): Add ignore-zero-inf-sign.
10110         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
10111         * math/gen-libm-test.pl (generate_testfile): Handle
10112         ignore-zero-inf-sign.
10113         * math/auto-libm-test-in: Mark some cpow tests with
10114         ignore-zero-inf-sign and some with xfail-rounding.
10115         * math/auto-libm-test-out: Regenerated.
10116         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
10117         * sysdeps/i386/fpu/libm-test-ulps: Update.
10118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10120         [BZ #16315]
10121         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
10122         overflowing or underflowing operations take place with sign of
10123         result.
10124         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
10125         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
10126         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
10127         (__ieee754_pow): Recompute overflowing and underflowing results in
10128         original rounding mode.
10129         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
10130         (__powl_helper): Allow negative argument X and scale negated value
10131         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
10132         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
10133         overflowing or underflowing operations take place with sign of
10134         result.
10135         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
10136         Include <math.h>.
10137         * math/auto-libm-test-in: Add more tests of pow.
10138         * math/auto-libm-test-out: Regenerated.
10139         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
10140         (pow_tonearest_test_data): Remove.
10141         (pow_test_tonearest): Likewise.
10142         (pow_towardzero_test_data): Likewise.
10143         (pow_test_towardzero): Likewise.
10144         (pow_downward_test_data): Likewise.
10145         (pow_test_downward): Likewise.
10146         (pow_upward_test_data): Likewise.
10147         (pow_test_upward): Likewise.
10148         (main): Don't call removed functions.
10149         * sysdeps/i386/fpu/libm-test-ulps: Update.
10150         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10152 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
10155         Moved ...
10156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
10157         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
10158         Moved ...
10159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
10160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
10161         Moved ...
10162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
10163         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
10164         Moved ...
10165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
10166         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
10167         File removed.
10168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
10169         File removed.
10170         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
10171         File removed.
10172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
10173         File removed.
10174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
10175         File removed.
10176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
10177         File removed.
10178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
10179         File removed.
10180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
10181         File removed.
10182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
10183         File removed.
10184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
10185         File removed.
10186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
10187         File removed.
10188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
10189         File removed.
10190         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
10191         Moved ...
10192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
10193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
10194         Moved ...
10195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
10196         ... here.
10197         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
10198         Moved ...
10199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
10200         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
10201         Moved ...
10202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
10203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
10204         Moved ...
10205         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
10206         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
10207         Moved ...
10208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
10209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
10210         Moved ...
10211         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
10212         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
10213         Moved ...
10214         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
10215         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
10216         Moved ...
10217         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
10218         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
10219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
10220         ... here.
10221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
10222         Moved ...
10223         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
10224         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
10225         Moved ...
10226         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10227         ... here.
10228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
10229         Moved ...
10230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10231         ... here.
10232         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10233         Moved ...
10234         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
10235         ... here.
10236         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
10237         Moved ...
10238         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
10239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
10240         Moved ...
10241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
10242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
10243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
10244         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
10245         Moved ...
10246         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
10247         ... here.
10248         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
10249         Moved ...
10250         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
10251         ... here.
10252         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
10253         Moved ...
10254         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10255         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10256         Moved ...
10257         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10258         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10259         Moved ...
10260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10261         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10262         Moved ...
10263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10265         Moved ...
10266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10267         ... here.
10268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10269         Moved ...
10270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10272         Moved ...
10273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10275         Moved ...
10276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10278         Moved ...
10279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10281         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10283         Moved ...
10284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10286         Moved ...
10287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10289         Moved ...
10290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10291         ... here.
10292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10293         Moved ...
10294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10295         ... here.
10296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10297         Moved ...
10298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10299         ... here.
10300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10301         Moved ...
10302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10304         Moved ...
10305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10307         Moved ...
10308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10310         Moved ...
10311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10312         ... here.
10313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10314         Moved ...
10315         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10316         ... here.
10317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10318         Moved ...
10319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10320         ... here.
10321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10322         Moved ...
10323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10325         Moved ...
10326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10328 2014-06-23  Will Newton  <will.newton@linaro.org>
10329             Wilco  <wdijkstr@arm.com>
10331         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10332         implementation.  Include get-rounding-mode.h.
10333         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10334         [!libc_feholdsetround_noex_ctx]: Define
10335         libc_feholdsetround_noex_ctx.
10336         [!libc_feholdsetround_noexf_ctx]: Define
10337         libc_feholdsetround_noexf_ctx.
10338         [!libc_feholdsetround_noexl_ctx]: Define
10339         libc_feholdsetround_noexl_ctx.
10340         (libc_feholdsetround_ctx): New function.
10341         (libc_feresetround_ctx): New function.
10342         (libc_feholdsetround_noex_ctx): New function.
10343         (libc_feresetround_noex_ctx): New function.
10345 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10347         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10348         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10349         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10350         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10351         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10352         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10354         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10355         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10356         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10357         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10358         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10359         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10360         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10361         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10362         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10363         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10364         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10365         Moved ...
10366         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10367         ... here.
10368         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10369         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10370         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10371         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10372         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10373         Moved ...
10374         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10375         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10376         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10377         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10378         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10379         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10380         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10381         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10382         Moved ...
10383         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10384         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10385         Moved ...
10386         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10387         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10388         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10389         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10390         Moved ...
10391         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10392         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10393         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10394         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10395         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10396         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10397         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10398         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10399         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10400         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10401         Moved ...
10402         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10403         ... here.
10404         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10405         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10406         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10407         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10408         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10409         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10410         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10411         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10412         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10413         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10414         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10415         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10416         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10417         Moved ...
10418         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10419         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10420         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10421         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10422         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10423         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10424         Moved ...
10425         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10426         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10427         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10428         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10429         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10431         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10432         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10433         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10434         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10435         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10436         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10437         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10438         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10439         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10440         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10441         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10442         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10443         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10444         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10445         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10446         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10447         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10448         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10449         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10450         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10451         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10452         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10453         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10454         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10455         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10456         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10457         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10458         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10460 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10462         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10463         (FALLOC_FL_COLLAPSE_RANGE): New macro.
10464         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10465         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10466         (IPV6_PMTUDISC_INTERFACE): Likewise.
10467         (IPV6_PMTUDISC_OMIT): Likewise.
10469 2014-06-23  Andreas Schwab  <schwab@suse.de>
10471         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10472         Remove unused errout label.
10474 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10476         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10477         macro: hardware supports Vector Crypto instructions.
10479 2014-06-23  Will Newton  <will.newton@linaro.org>
10481         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10482         rather than __builtin_expect.
10484         * elf/dl-lookup.c (undefined_msg): Remove variable.
10485         (_dl_lookup_symbol_x): Replace undefined_msg with string
10486         literal.
10488         * elf/dl-lookup.c (do_lookup_unique): New function.
10489         (do_lookup_x): Move STB_GNU_UNIQUE handling code
10490         to a separate function.
10492 2014-06-23  Andreas Schwab  <schwab@suse.de>
10494         [BZ #17079]
10495         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10496         before reading the next line.
10498 2014-06-23  Will Newton  <will.newton@linaro.org>
10500         * test-skeleton.c (signal_handler): Use printf and %m
10501         rather than perror.  Use printf rather than fprintf to
10502         stderr.  Use puts rather than fputs to stderr.
10503         (main): Likewise.
10505 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
10507         * nscd/nscd.c (thread_info_t): Remove typedef.
10508         (thread_info): Remove variable.
10510 2014-06-21  Allan McRae  <allan@archlinux.org>
10512         * NEWS: Mention CVE-2014-4043.
10514 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10516         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10517         * nptl/smp.h: ... here.
10519         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10521         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10522         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10523         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10524         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10526         * nptl/allocatestack.c: Include <stack-aliasing.h>.
10527         * nptl/stack-aliasing.h: New file.
10528         * sysdeps/i386/i686/stack-aliasing.h: New file.
10529         * sysdeps/i386/i686/nptl/Makefile: File removed.
10530         * sysdeps/x86_64/stack-aliasing.h: New file.
10531         * sysdeps/x86_64/nptl/Makefile
10532         (CFLAGS-pthread_create.c): Variable removed.
10534         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10535         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10536         old file.
10537         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10538         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10539         old file.
10541 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
10543         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10544         (__ASSUME_SIGFRAME_V2): Remove macro.
10545         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10546         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10547         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10548         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10549         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10550         Declare as function.  Remove conditional macro definitions.
10551         (__default_rt_sa_restorer): Likewise.
10552         (__default_sa_restorer_v1): Remove declaration.
10553         (__default_sa_restorer_v2): Likewise.
10554         (__default_rt_sa_restorer_v1): Likewise.
10555         (__default_rt_sa_restorer_v2): Likewise.
10556         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10557         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10558         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10560 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10562         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10563         (libpthread-routines): Add sysdep.
10564         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10565         * sysdeps/unix/sysv/linux/sparc/Versions
10566         (libpthread: GLIBC_2.3.3): New version set.
10567         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10568         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10569         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10570         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10571         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
10572         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10573         Moved ...
10574         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10575         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10576         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10577         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10578         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10579         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10580         * sysdeps/sparc/nptl/sem_init.c: ... here.
10581         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10582         * sysdeps/sparc/nptl/sem_post.c: ... here.
10583         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10584         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10585         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10586         * sysdeps/sparc/nptl/sem_wait.c: ... here.
10587         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10588         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10589         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10590         (libpthread-routines): Add cpu_relax.
10591         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10592         File removed.
10593         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10594         (librt: GLIBC_2.3.3): New version set.
10595         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10596         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10597         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10598         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10599         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10600         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10601         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10602         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10603         Moved ...
10604         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10605         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10606         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10607         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10608         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10609         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10610         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10611         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10612         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10613         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10614         Moved ...
10615         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10616         Update #include.
10617         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10618         Moved ...
10619         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10620         Update #include.
10621         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10622         Moved ...
10623         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10624         Update #include.
10625         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10626         Moved ...
10627         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10628         Update #include.
10629         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10630         Moved ...
10631         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10632         Update #include.
10633         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10634         Moved ...
10635         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10636         Update #include.
10637         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10638         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10639         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10640         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10641         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10642         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10643         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10644         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10645         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10646         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10647         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10648         Moved ...
10649         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10650         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10651         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10652         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10653         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10655 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10657         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10658         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10659         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10660         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10661         * nscd/nscd.c: Likewise.
10662         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10663         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10664         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10665         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10667         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10668         <kernel-features.h>.
10669         (init_mq_netlink): Remove conditional have_sock_cloexec
10670         definitions.  Remove code conditional on have_sock_cloexec < 0.
10671         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10672         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10673         * sysdeps/unix/sysv/linux/opensock.c: Do not include
10674         <kernel-features.h>.
10675         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10676         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10678 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10680         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10681         Add tests for memset_chk and memset.
10683         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10684         with AVX2_Usable.
10686 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10688         [BZ #16046]
10689         * elf/tst-dl-iter-static.c: New file.
10690         * elf/Makefile (tests-static): Add tst-dl-iter-static.
10692         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10693         error.
10695 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10697         * sysdeps/unix/sysv/linux/kernel-features.h
10698         (__ASSUME_F_GETOWN_EX): Remove macro.
10699         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10700         <kernel-features.h>.
10701         (miss_F_GETOWN_EX): Remove variable or macro.
10702         (do_fcntl): Do not check miss_F_GETOWN_EX.
10703         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10705         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10706         Remove macro.
10707         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10708         [!__ASSUME_AT_RANDOM]: Remove conditional code.
10709         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10711         * sysdeps/unix/sysv/linux/kernel-features.h
10712         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10713         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10714         [ADJ_OFFSET_SS_READ]: Make code unconditional.
10715         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10717 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10719         [BZ #17075]
10720         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10721         Fix calculation of the symbol's value.
10722         * sysdeps/arm/tst-armtlsdescloc.c: New file.
10723         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10724         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10725         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10726         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10727         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10728         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10729         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10730         (modules-names): Add `tst-armtlsdescmod',
10731         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10732         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10733         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10734         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10735         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10736         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10737         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10738         ($(objpfx)tst-armtlsdescloc): New dependency.
10739         ($(objpfx)tst-armtlsdescextnow): Likewise.
10740         ($(objpfx)tst-armtlsdescextlazy): Likewise.
10741         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10742         TLS scheme support.
10743         * sysdeps/arm/configure: Regenerate.
10745 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10747         * include/fcntl.h (__atfct_seterrno): Remove prototype.
10748         (__atfct_seterrno_2): Likewise.
10749         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10750         <kernel-features.h>.
10751         (__ASSUME_ATFCTS): Do not undefine and redefine.
10752         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10753         (__have_atfcts): Remove conditional definition.
10754         (__fxstatat([__NR_fstatat64]: Make code unconditional.
10755         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10756         unreachable if [__ASSUME_ATFCTS].
10757         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10758         not undefine and redefine.
10759         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10760         <kernel-features.h>.
10761         (faccessat) [__NR_faccessat]: Make code unconditional.
10762         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10763         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10764         <kernel-features.h>.
10765         (fchmodat) [__NR_fchmodat]: Make code unconditional.
10766         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10767         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10768         <kernel-features.h>.
10769         (fchownat) [__NR_fchownat]: Make code unconditional.
10770         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10771         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10772         <kernel-features.h>.
10773         (futimesat) [__NR_futimesat]: Make code unconditional.
10774         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10775         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10776         <kernel-features.h>.
10777         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10778         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10779         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10780         <kernel-features.h>.
10781         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10782         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10783         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10784         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10785         <kernel-features.h>.
10786         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10787         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10788         * sysdeps/unix/sysv/linux/linkat.c: Do not include
10789         <kernel-features.h>.
10790         (linkat) [__NR_linkat]: Make code unconditional.
10791         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10792         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10793         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10794         <kernel-features.h>.
10795         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10796         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10797         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10798         <kernel-features.h>.
10799         (mkdirat) [__NR_mkdirat]: Make code unconditional.
10800         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10801         * sysdeps/unix/sysv/linux/openat.c: Do not include
10802         <kernel-features.h>.
10803         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10804         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10805         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10806         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10807         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10808         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10809         <kernel-features.h>.
10810         (readlinkat) [__NR_readlinkat]: Make code unconditional.
10811         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
10812         result of INLINE_SYSCALL directly, not via int variable.
10813         * sysdeps/unix/sysv/linux/renameat.c: Do not include
10814         <kernel-features.h>.
10815         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10816         (renameat) [__NR_renameat]: Make code unconditional.
10817         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10818         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10819         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10820         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10821         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10822         (__ASSUME_ATFCTS): Do not undefine and redefine.
10823         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10824         <kernel-features.h>.
10825         (symlinkat) [__NR_symlinkat]: Make code unconditional.
10826         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10827         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10828         <kernel-features.h>.
10829         (unlinkat) [__NR_unlinkat]: Make code unconditional.
10830         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10831         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10832         (__ASSUME_ATFCTS): Do not undefine and redefine.
10833         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10834         <kernel-features.h>.
10835         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10836         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10837         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10838         <kernel-features.h>.
10839         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10840         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10842 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10844         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10846 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10848         [BZ #17069]
10849         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10850         constructed tree before returning error.
10851         * posix/bug-regexp36.c: Expand test case.
10853 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10855         [BZ #6803]
10856         * math/libm-test.inc (scalbln_test_date):
10857         Add errno expectations.
10858         * math/w_scalblnf.c: New File.
10859         Add wrapper which checks for setting errno to ERANGE.
10860         Add weak_alias for corresponding scalbln function.
10861         * math/w_scalbln.c: Likewise.
10862         * math/w_scalblnl.c: Likewise.
10863         * math/Makefile (libm-calls): Add w_scalbln.
10864         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10865         Remove weak_alias for corresponding scalbln function.
10866         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10867         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10868         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10869         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10870         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10871         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10872         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10873         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10874         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10875         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10876         Remove long_double_symbol for scalblnl function in libm, libc.
10877         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10878         Add wrapper which checks for setting errno to ERANGE.
10879         Add long_double_symbol for scalblnl function in libm, libc.
10880         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10881         Remove long_double_symbol for scalblnl in libm.
10882         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10883         Add wrapper which checks for setting errno to ERANGE.
10884         Add long_double_symbol for scalblnl function in libm.
10885         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10886         Do not use wrapper because of own implementation.
10888 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10890         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10891         3 bytes for __pad1 for x32.
10892         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10894 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10895             H.J. Lu  <hongjiu.lu@intel.com>
10897         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10898         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10899         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10900         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10901         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10903 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10905         [BZ #17069]
10906         * posix/regcomp.c (parse_expression): Deallocate partially
10907         constructed tree before returning error.
10908         * posix/Makefile.c (tests): Add bug-regex36.
10909         (generated): Add bug-regex36.mtrace.
10910         (tests-special): Add $(objpfx)bug-regex36-mem.out
10911         (bug-regex36-ENV): New variable.
10912         ($(objpfx)bug-regex36-mem.out): New rule.
10913         * posix/bug-regex36.c: New file.
10915 2014-06-19  Will Newton  <will.newton@linaro.org>
10917         * malloc/malloc.c (systrim): If extra is zero then return
10918         early.
10920 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10922         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10924 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10926         * sysdeps/aarch64/strchr.S: New file.
10928 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10930         [BZ #17022]
10931         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10932         from arguments -2 or below.
10933         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10934         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10936 2014-06-18  Andreas Schwab  <schwab@suse.de>
10938         [BZ #17062]
10939         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10940         of a bracket expr not to run off the end of the string.
10941         * posix/Makefile (tests): Add tst-fnmatch3.
10942         * posix/tst-fnmatch3.c: New file.
10944 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10946         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10947         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10948         [$(cross-compiling) = no]: Likewise.
10949         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10950         [$(cross-compiling) = no]: Likewise.
10952 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10954         [BZ #17031]
10955         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10956         double, adjusted for any remainder from the high double.
10957         * math/libm-test.inc (nearbyint): Add tests.
10958         (rint): Likewise.
10960 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10962         * nptl/sysdeps/powerpc/Makefile: Moved ...
10963         * sysdeps/powerpc/nptl/Makefile: ... here.
10964         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10965         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10966         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10967         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10968         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10969         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10970         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10971         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10972         * nptl/sysdeps/powerpc/tls.h: Moved ...
10973         * sysdeps/powerpc/nptl/tls.h: ... here.
10975 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10977         [BZ #16681]
10978         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10979         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10980         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10981         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10982         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10983         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10984         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10985         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10986         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10988 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10990         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10992 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10994         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10995         defined operator.
10997         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10998         $TIMEOUTFACTOR.
11000 2014-06-16  Florian Weimer  <fweimer@redhat.com>
11002         [BZ #17058]
11003         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
11004         non-executed part of the test.
11006 2014-06-16  Andreas Schwab  <schwab@suse.de>
11008         * string/bits/string2.h (strdup, strndup): Update feature guard.
11010 2014-06-14  David S. Miller  <davem@davemloft.net>
11012         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11014 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
11016         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
11017         that was previously under [RESET_PID].
11018         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
11020         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
11021         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
11022         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
11023         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
11024         (__libc_vfork): New strong alias.
11025         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
11027 2014-06-14 Andi Kleen  <ak@linux.intel.com>
11029         * sysdeps/generic/elide.h: New file.
11031 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
11033         * Makefile (installed-headers): Adjust path of pthread.h header.
11035 2014-06-13  Roland McGrath  <roland@hack.frob.com>
11037         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
11038         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
11039         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
11040         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
11042         * nptl/sysdeps/s390/Makefile: Moved ...
11043         * sysdeps/s390/nptl/Makefile: ... here.
11044         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
11045         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
11046         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
11047         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
11048         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
11049         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
11050         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
11051         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
11052         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
11053         * sysdeps/s390/nptl/pthreaddef.h: ... here.
11054         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
11055         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
11056         * nptl/sysdeps/s390/tls.h: Moved ...
11057         * sysdeps/s390/nptl/tls.h: ... here.
11059         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
11060         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
11062 2014-06-13  David S. Miller  <davem@davemloft.net>
11064         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
11065         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
11066         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
11067         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
11068         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
11069         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
11070         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
11071         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
11072         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
11073         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
11074         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
11075         Remove RESET_PID cpp guards.
11076         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
11077         Remove RESET_PID cpp guards.
11078         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
11080 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
11082         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
11083         __sp to uintptr_t.
11085 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11087         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
11088         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
11089         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
11090         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
11091         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
11092         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
11093         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
11094         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
11095         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
11096         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
11097         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
11098         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
11099         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
11100         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
11101         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
11102         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
11103         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
11104         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
11105         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
11106         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
11108         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
11109         (pthread_rwlock_rdlock): Add elision.
11110         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
11111         (pthread_rwlock_wrlock): Add elision.
11112         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
11113         (pthread_rwlock_trywrlock): Add elision.
11114         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
11115         (pthread_rwlock_tryrdlock): Add elision.
11116         * nptl/pthread_rwlock_unlock.c: Include elide.h.
11117         (pthread_rwlock_tryrdlock): Add elision unlock.
11118         * nptl/sysdeps/pthread/pthread.h:
11119         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
11120         (PTHREAD_RWLOCK_INITIALIZER,
11121         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
11122         Handle new elision field.
11123         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
11124         * sysdeps/arm/nptl/bits/pthreadtypes.h
11125         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11126         * sysdeps/sh/nptl/bits/pthreadtypes.h
11127         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11128         * sysdeps/tile/nptl/bits/pthreadtypes.h
11129         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11130         * sysdeps/a/nptl/bits/pthreadtypes.h
11131         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11132         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11133         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11134         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11135         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11136         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
11137         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11138         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11139         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11140         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11141         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11142         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11143         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11144         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11145         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11146         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
11147         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11148         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
11149         (elision_init): Set try_xbegin to zero when no RTM.
11150         * sysdeps/x86/nptl/bits/pthreadtypes.h
11151         (pthread_rwlock_t): Change __pad1 to __rwelision.
11152         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
11154 2014-06-13  Andi Kleen  <ak@linux.intel.com>
11156         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
11157         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
11158         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
11159         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
11161 2014-06-13  Meador Inge  <meadori@codesourcery.com>
11163         [BZ #16996]
11164         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
11165         that the cached result has been set before returning it.
11167 2014-06-12  Roland McGrath  <roland@hack.frob.com>
11169         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
11170         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
11171         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
11172         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
11173         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
11174         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
11176         * nptl/sysdeps/sparc/Makefile: Moved ...
11177         * sysdeps/sparc/nptl/Makefile: ... here.
11178         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
11179         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
11180         * nptl/sysdeps/sparc/tls.h: Moved ...
11181         * sysdeps/sparc/nptl/tls.h: ... here.
11182         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
11183         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
11184         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
11185         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
11186         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
11187         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
11188         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
11189         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
11190         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
11191         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
11192         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
11193         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
11194         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
11195         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
11196         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
11197         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
11198         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
11199         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
11200         Update #include.
11201         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
11202         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
11203         Update #include.
11204         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
11205         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
11206         Update #include.
11207         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
11208         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
11209         Update #include.
11211         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11213         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
11214         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
11216         * sysdeps/pthread/posix-timer.h: Include <list.h>.
11217         (struct list_links): Type removed.
11218         (struct thread_node, struct timer_node): Replace struct list_links
11219         with struct list_head.
11220         (list_unlink_ip): Likewise.
11221         * sysdeps/pthread/timer_routines.c
11222         (timer_free_list, thread_free_list, thread_active_list): Likewise.
11223         (list_append, list_insbefore): Likewise.
11224         (list_init): Function removed.
11225         (thread_init, init_module): Use INIT_LIST_HEAD instead.
11226         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
11227         * sysdeps/pthread/Makefile: ... here, new file.
11229         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
11230         * sysdeps/nptl/Implies: ... here.
11231         * sysdeps/unix/sysv/linux/Implies: Add nptl.
11232         * nptl/sysdeps/pthread/list.h: Moved ...
11233         * include/list.h: ... here.
11234         * nptl/sysdeps/pthread/createthread.c: Moved ...
11235         * nptl/createthread.c: ... here.
11236         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
11237         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
11238         * nptl/pt-longjmp.c: ... here.
11239         * nptl/sysdeps/pthread/Makefile: Moved ...
11240         * sysdeps/nptl/Makefile: ... here.
11241         * nptl/sysdeps/pthread/Subdirs: Moved ...
11242         * sysdeps/nptl/Subdirs: ... here.
11243         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
11244         * sysdeps/nptl/aio_misc.h: ... here.
11245         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
11246         * sysdeps/nptl/bits/libc-lock.h: ... here.
11247         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
11248         * sysdeps/nptl/bits/libc-lockP.h: ... here.
11249         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
11250         * sysdeps/nptl/bits/stdio-lock.h: ... here.
11251         * nptl/sysdeps/pthread/configure: Moved ...
11252         * sysdeps/nptl/configure: ... here.
11253         * nptl/sysdeps/pthread/configure.ac: Moved ...
11254         * sysdeps/nptl/configure.ac: ... here.
11255         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11256         * sysdeps/nptl/gai_misc.h: ... here.
11257         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11258         * sysdeps/nptl/librt-cancellation.c: ... here.
11259         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11260         * sysdeps/nptl/malloc-machine.h: ... here.
11261         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11262         * sysdeps/nptl/pthread-functions.h: ... here.
11263         * nptl/sysdeps/pthread/pthread.h: Moved ...
11264         * sysdeps/nptl/pthread.h: ... here.
11265         * nptl/sysdeps/pthread/setxid.h: Moved ...
11266         * sysdeps/nptl/setxid.h: ... here.
11267         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11268         * sysdeps/nptl/sigfillset.c: ... here.
11269         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11270         * sysdeps/nptl/tcb-offsets.h: ... here.
11271         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11272         * sysdeps/nptl/tst-mqueue8x.c: ... here.
11273         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11274         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11275         * nptl/sysdeps/pthread/allocalim.h: Moved ...
11276         * sysdeps/pthread/allocalim.h: ... here.
11277         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11278         * sysdeps/pthread/bits/sigthread.h: ... here.
11279         * nptl/sysdeps/pthread/flockfile.c: Moved ...
11280         * sysdeps/pthread/flockfile.c: ... here.
11281         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11282         * sysdeps/pthread/ftrylockfile.c: ... here.
11283         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11284         * sysdeps/pthread/funlockfile.c: ... here.
11285         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11286         * sysdeps/pthread/posix-timer.h: ... here.
11287         * nptl/sysdeps/pthread/timer_create.c: Moved ...
11288         * sysdeps/pthread/timer_create.c: ... here.
11289         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11290         * sysdeps/pthread/timer_delete.c: ... here.
11291         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11292         * sysdeps/pthread/timer_getoverr.c: ... here.
11293         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11294         * sysdeps/pthread/timer_gettime.c: ... here.
11295         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11296         * sysdeps/pthread/timer_routines.c: ... here.
11297         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11298         * sysdeps/pthread/timer_settime.c: ... here.
11299         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11300         * sysdeps/pthread/tst-timer.c: ... here.
11301         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11302         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11304         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11305         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11307         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11308         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11309         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11310         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11311         Update #include target.
11312         * nptl/sysdeps/i386/i686/Makefile: Moved ...
11313         * sysdeps/i386/i686/nptl/Makefile: ... here.
11314         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11315         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11316         Update #include target.
11317         * nptl/sysdeps/i386/i686/tls.h: Moved ...
11318         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
11319         * nptl/sysdeps/i386/Makefile: Moved ...
11320         * sysdeps/i386/nptl/Makefile: ... here.
11321         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11322         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11323         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11324         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11325         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11326         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11327         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11328         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11329         * sysdeps/i386/nptl/pthreaddef.h: ... here.
11330         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11331         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11332         * nptl/sysdeps/i386/tls.h: Moved ...
11333         * sysdeps/i386/nptl/tls.h: ... here.
11335         * sysdeps/sh/Makefile [$(subdir) = csu]
11336         (gen-as-const-headers): Add tcb-offsets.sym.
11337         * nptl/sysdeps/sh/Makefile: File removed.
11338         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11339         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11340         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11341         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11342         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11343         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11344         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11345         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11346         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11347         * sysdeps/sh/nptl/pthreaddef.h: ... here.
11348         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11349         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11350         * nptl/sysdeps/sh/tls.h: Moved ...
11351         * sysdeps/sh/nptl/tls.h: ... here.
11352         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11353         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11354         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11355         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11356         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11357         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11358         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11359         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11360         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11361         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11362         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11363         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11364         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11365         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11366         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11367         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11368         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11369         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11370         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11371         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11372         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11373         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11374         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11375         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11376         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11377         Moved ...
11378         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11379         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11380         Moved ...
11381         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11382         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11383         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11384         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11385         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11386         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11387         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11388         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11389         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11390         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11391         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11392         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11393         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11394         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11395         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11396         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11397         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11398         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11399         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11401 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11403         * posix/spawn_faction_addopen.c: Include string.h.
11405 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11407         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11408         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11409         * nptl/sysdeps/x86_64/Makefile: Moved ...
11410         * sysdeps/x86_64/nptl/Makefile: ... here.
11411         * nptl/sysdeps/x86_64/configure: Moved ...
11412         * sysdeps/x86_64/nptl/configure: ... here.
11413         * nptl/sysdeps/x86_64/configure.ac: Moved ...
11414         * sysdeps/x86_64/nptl/configure.ac: ... here.
11415         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11416         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11417         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11418         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11419         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11420         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11421         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11422         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11423         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11424         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11425         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11426         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11427         * nptl/sysdeps/x86_64/tls.h: Moved ...
11428         * sysdeps/x86_64/nptl/tls.h: ... here.
11429         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11430         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11431         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11432         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11434         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11436 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11438         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11440 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
11442         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11443         type.
11444         [POSIX] (off_t): Likewise.
11445         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11446         [POSIX] (S_ISBLK): Require macro.
11447         [POSIX] (S_ISCHR): Likewise.
11448         [POSIX] (S_ISDIR): Likewise.
11449         [POSIX] (S_ISFIFO): Likewise.
11450         [POSIX] (S_ISREG): Likewise.
11451         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11452         optional-macro.
11453         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11454         type.
11455         [POSIX] (time_t): Likewise.
11456         [POSIX] (timer_t): Likewise.
11458 2014-06-11  Florian Weimer  <fweimer@redhat.com>
11460         [BZ #17048]
11461         * posix/spawn_int.h (struct __spawn_action): Make the path string
11462         non-const to support deallocation.
11463         * posix/spawn_faction_addopen.c
11464         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11465         * posix/spawn_faction_destroy.c
11466         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
11467         path in all spawn_do_open actions.
11468         * posix/tst-spawn.c (do_test): Exercise the copy operation in
11469         posix_spawn_file_actions_addopen.
11471 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
11473         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11474         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11475         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11476         conditional code always true.
11477         (__libc_vfork): New alias.
11479 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11481         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11482         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11484         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11486         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11487         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11489         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11490         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11492         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11493         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11495 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11497         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11498         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11499         multiarch strcmp for PPC64.
11500         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11501         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11502         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11503         multiarch optimizations.
11504         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11505         (__libc_ifunc_impl_list): Likewise.
11507 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11509         * benchtests/scripts/validate_benchout.py: New script.
11510         * benchtests/Makefile (bench-func): Call it.
11511         * benchtests/scripts/benchout.schema.json: New file.
11513 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
11515         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11516         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11517         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11518         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11519         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11520         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11521         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11522         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11523         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11524         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11525         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11526         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11527         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11528         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11529         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11530         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11531         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11532         Moved ...
11533         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11534         ... here.
11535         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11536         Moved ...
11537         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11538         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11539         Moved ...
11540         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11541         ... here.
11542         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11543         Moved ...
11544         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11545         ... here.
11546         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11547         Moved ...
11548         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11549         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11550         Moved ...
11551         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11552         ... here.
11553         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11554         Moved ...
11555         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11556         ... here.
11557         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11558         Moved ...
11559         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11560         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11561         Moved ...
11562         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11563         ... here.
11564         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11565         Moved ...
11566         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11567         ... here.
11568         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11569         Moved ...
11570         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11571         ... here.
11572         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11573         Moved ...
11574         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11575         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11576         Moved ...
11577         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11578         ... here.
11579         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11580         Moved ...
11581         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11582         ... here.
11583         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11584         Moved ...
11585         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11586         ... here.
11587         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11588         Moved ...
11589         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11590         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11591         Moved ...
11592         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11593         ... here.
11594         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11595         Moved ...
11596         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11597         ... here.
11598         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11599         Moved ...
11600         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11601         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11602         Moved ...
11603         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11604         ... here.
11605         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11606         Moved ...
11607         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11608         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11609         Moved ...
11610         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11611         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11612         Moved ...
11613         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11614         ... here.
11615         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11616         Moved ...
11617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11618         ... here.
11619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11620         Moved ...
11621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11622         ... here.
11623         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11624         Moved ...
11625         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11626         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11627         Moved ...
11628         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11629         ... here.
11630         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11631         Moved ...
11632         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11633         ... here.
11634         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11635         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11636         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11637         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11638         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11639         Moved ...
11640         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11641         ... here.
11642         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11643         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11644         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11645         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11646         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11647         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11648         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11649         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11650         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11651         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11652         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11653         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11654         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11655         Moved ...
11656         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11657         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11658         Moved ...
11659         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11660         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11661         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11662         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11663         Moved ...
11664         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11665         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11666         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11667         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11668         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11669         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11670         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11672 2014-06-10  Wilco  <wdijkstr@arm.com>
11674         * math/test-fenv-return.c: New file.
11675         * math/Makefile: Add new test test-fenv-return.
11677 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
11679         [BZ #17042]
11680         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11681         when x - 1 is zero.
11682         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11683         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11684         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11685         0.0L for an argument of 1.0L.
11686         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11687         Likewise.
11688         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11689         value when x - 1 is zero.
11690         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11691         * sysdeps/i386/fpu/libm-test-ulps: Update.
11692         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11694 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
11696         [BZ #15119]
11697         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11699 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11701         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11702         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11704 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11706         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11707         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11709         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11710         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11712         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11713         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11715         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11716         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11718         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11719         if not already defined.
11720         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11721         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11722         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11723         (TLS_INIT_TP): Use it.
11724         (TLS_DEFINE_INIT_TP): New macro.
11725         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11727 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
11729         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11730         constant.
11731         [POSIX] (IXANY): Likewise.
11732         [POSIX] (OLCUC): Likewise.
11733         [POSIX || POSIX2008] (CBAUD): Do not allow.
11734         [POSIX || POSIX2008] (DEFECHO): Likewise.
11735         [POSIX || POSIX2008] (ECHOCTL): Likewise.
11736         [POSIX || POSIX2008] (ECHOKE): Likewise.
11737         [POSIX || POSIX2008] (ECHOPRT): Likewise.
11738         [POSIX || POSIX2008] (EXTA): Likewise.
11739         [POSIX || POSIX2008] (EXTB): Likewise.
11740         [POSIX || POSIX2008] (FLUSHO): Likewise.
11741         [POSIX || POSIX2008] (LOBLK): Likewise.
11742         [POSIX || POSIX2008] (PENDIN): Likewise.
11743         [POSIX || POSIX2008] (SWTCH): Likewise.
11744         [POSIX || POSIX2008] (VDISCARD): Likewise.
11745         [POSIX || POSIX2008] (VDSUSP): Likewise.
11746         [POSIX || POSIX2008] (VLNEXT): Likewise.
11747         [POSIX || POSIX2008] (VREPRINT): Likewise.
11748         [POSIX || POSIX2008] (VSTATUS): Likewise.
11749         [POSIX || POSIX2008] (VWERASE): Likewise.
11750         (B*): Change to B[0123456789]*.
11751         * conform/data/time.h-data [POSIX || UNIX98]
11752         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11753         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11754         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11755         [POSIX] (tm_*): Do not allow.
11757 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
11759         * Makefile (install): Don't set LANGUAGE.
11760         * Makefile.in (install): Likewise.
11761         * assert/Makefile (test-assert-ENV): Remove variable.
11762         (test-assert-perr-ENV): Likewise.
11763         * elf/Makefile (neededtest4-ENV): Likewise.
11764         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11765         [$(cross-compiling) = no]: Don't set LANGUAGE.
11766         * io/ftwtest-sh (LANG): Remove variable.
11767         * libio/Makefile (tst-widetext-ENV): Likewise.
11768         * manual/install.texi (Running make install): Don't refer to
11769         environment settings for make install.
11770         * INSTALL: Regenerated.
11771         * nptl/tst-tls6.sh: Don't set LANG.
11772         * posix/globtest.sh (LANG): Remove variable.
11773         * string/Makefile (tester-ENV): Likewise.
11774         (inl-tester-ENV): Likewise.
11775         (noinl-tester-ENV): Likewise.
11776         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11777         [$(cross-compiling) = no]: Don't set LANGUAGE.
11778         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11779         without explicit environment settings.
11781 2014-06-06  Roland McGrath  <roland@hack.frob.com>
11783         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11784         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11785         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11786         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11788 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
11790         * crypt/crypt-private.h [DOS]: Add some includes taken from the
11791         other files in the crypt directory.
11792         * crypt/crypt.c: Remove duplicate includes.
11793         * crypt/crypt-entry.c: Likewise.
11794         * crypt/crypt_util.c: Likewise.
11796 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
11798         * Makeconfig (run-program-env): New variable.
11799         (run-program-prefix-before-env): Likewise.
11800         (run-program-prefix-after-env): Likewise.
11801         (run-program-prefix): Define in terms of new variables.
11802         (built-program-cmd-before-env): New variable.
11803         (built-program-cmd-after-env): Likewise.
11804         (built-program-cmd): Define in terms of new variables.
11805         (test-program-prefix-before-env): New variable.
11806         (test-program-prefix-after-env): Likewise.
11807         (test-program-prefix): Define in terms of new variables.
11808         (test-program-cmd-before-env): New variable.
11809         (test-program-cmd-after-env): Likewise.
11810         (test-program-cmd): Define in terms of new variables.
11811         * Rules (make-test-out): Use $(run-program-env).
11812         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11813         (help): Do not mention environment variables.  Mention
11814         --timeoutfactor option.
11815         (timeoutfactor): New variable.
11816         (blacklist_exports): Remove function.
11817         (exports): Remove variable.
11818         (command): Do not include ${exports}.
11819         * manual/install.texi (Configuring and compiling): Do not mention
11820         test wrappers preserving environment variables.  Mention that last
11821         assignment to a variable must take precedence.
11822         * INSTALL: Regenerated.
11823         * benchtests/Makefile (run-bench): Use $(run-program-env).
11824         * catgets/Makefile ($(objpfx)test1.cat): Use
11825         $(built-program-cmd-before-env), $(run-program-env) and
11826         $(built-program-cmd-after-env).
11827         ($(objpfx)test2.cat): Do not specify environment variables
11828         explicitly.
11829         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11830         $(run-program-env) and $(built-program-cmd-after-env).
11831         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11832         $(run-program-env) and $(test-program-cmd-after-env).
11833         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11834         explicitly.
11835         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11836         run_program_env and test_program_cmd_after_env arguments.
11837         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11838         * elf/tst-pathopt.sh: Use run_program_env argument.
11839         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11840         $(test-wrapper-env) and $(run-program-env).
11841         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11842         run_program_env arguments.
11843         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11844         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11845         $(test-program-prefix-before-env), $(run-program-env) and
11846         $(test-program-prefix-after-env).
11847         ($(objpfx)tst-gettext2.out): Likewise.
11848         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11849         run_program_env and test_program_prefix_after_env arguments.
11850         * intl/tst-gettext2.sh: Likewise.
11851         * intl/tst-gettext4.sh: Do not set environment variables
11852         explicitly.
11853         * intl/tst-gettext6.sh: Likewise.
11854         * intl/tst-translit.sh: Likewise.
11855         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11856         $(test-program-prefix-before-env), $(run-program-env) and
11857         $(test-program-prefix-after-env).
11858         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11859         run_program_env and test_program_prefix_after_env arguments.
11860         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11861         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11862         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11863         explicitly with each use of ${test_wrapper_env}.
11864         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11865         $(test-program-prefix-before-env), $(run-program-env) and
11866         $(test-program-prefix-after-env).
11867         * posix/tst-getconf.sh: Do not set environment variables
11868         explicitly.
11869         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11870         run_program_env and test_program_prefix_after_env arguments.
11871         * stdio-common/tst-printf.sh: Do not set environment variables
11872         explicitly.
11873         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11874         $(test-program-prefix-before-env), $(run-program-env) and
11875         $(test-program-prefix-after-env).
11876         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11877         run_program_env and test_program_prefix_after_env arguments.
11878         Split $test calls into $test_pre and $test.
11879         * timezone/Makefile (build-testdata): Use
11880         $(built-program-cmd-before-env), $(run-program-env) and
11881         $(built-program-cmd-after-env).
11883 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11885         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11886         strlen for non SHARED builds.
11888 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11890         * nptl/allocatestack.c (check_list): Inlined function...
11891         (__reclaim_stacks): ... here.
11893 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11895         [BZ #15698]
11896         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11897         memory overrun.
11899 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11901         * Rules (make-test-out): Include
11902         LOCPATH=$(common-objpfx)localedata in default environment.
11903         * debug/Makefile (tst-chk1-ENV): Remove variable.
11904         (tst-chk2-ENV): Likewise.
11905         (tst-chk3-ENV): Likewise.
11906         (tst-chk4-ENV): Likewise.
11907         (tst-chk5-ENV): Likewise.
11908         (tst-chk6-ENV): Likewise.
11909         (tst-lfschk1-ENV): Likewise.
11910         (tst-lfschk2-ENV): Likewise.
11911         (tst-lfschk3-ENV): Likewise.
11912         (tst-lfschk4-ENV): Likewise.
11913         (tst-lfschk5-ENV): Likewise.
11914         (tst-lfschk6-ENV): Likewise.
11915         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11916         (tst-iconv7-ENV): Likewise.
11917         * intl/Makefile (LOCPATH-ENV): Likewise.
11918         (tst-codeset-ENV): Likewise.
11919         (tst-gettext3-ENV): Likewise.
11920         (tst-gettext5-ENV): Likewise.
11921         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11922         (tst-fopenloc-ENV): Likewise.
11923         (tst-fgetws-ENV): Remove variable.
11924         (tst-ungetwc1-ENV): Likewise.
11925         (tst-ungetwc2-ENV): Likewise.
11926         (bug-ungetwc2-ENV): Likewise.
11927         (tst-swscanf-ENV): Likewise.
11928         (bug-ftell-ENV): Likewise.
11929         (tst-fgetwc-ENV): Likewise.
11930         (tst-fseek-ENV): Likewise.
11931         (tst-ftell-partial-wide-ENV): Likewise.
11932         (tst-ftell-active-handler-ENV): Likewise.
11933         (tst-ftell-append-ENV): Likewise.
11934         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11935         (tst-regexloc-ENV): Likewise.
11936         (bug-regex1-ENV): Likewise.
11937         (tst-regex-ENV): Likewise.
11938         (tst-regex2-ENV): Likewise.
11939         (bug-regex5-ENV): Likewise.
11940         (bug-regex6-ENV): Likewise.
11941         (bug-regex17-ENV): Likewise.
11942         (bug-regex18-ENV): Likewise.
11943         (bug-regex19-ENV): Likewise.
11944         (bug-regex20-ENV): Likewise.
11945         (bug-regex22-ENV): Likewise.
11946         (bug-regex23-ENV): Likewise.
11947         (bug-regex25-ENV): Likewise.
11948         (bug-regex26-ENV): Likewise.
11949         (bug-regex30-ENV): Likewise.
11950         (bug-regex32-ENV): Likewise.
11951         (bug-regex33-ENV): Likewise.
11952         (bug-regex34-ENV): Likewise.
11953         (bug-regex35-ENV): Likewise.
11954         (tst-rxspencer-ENV): Likewise.
11955         (tst-rxspencer-no-utf8-ENV): Likewise.
11956         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11957         (tst-sscanf-ENV): Likewise.
11958         (tst-swprintf-ENV): Likewise.
11959         (tst-swscanf-ENV): Likewise.
11960         (test-vfprintf-ENV): Likewise.
11961         (scanf13-ENV): Likewise.
11962         (bug14-ENV): Likewise.
11963         (tst-grouping-ENV): Likewise.
11964         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11965         (tst-strtod3-ENV): Likewise.
11966         (tst-strtod4-ENV): Likewise.
11967         (tst-strtod5-ENV): Likewise.
11968         (testmb2-ENV): Likewise./
11969         * string/Makefile (tst-strxfrm-ENV): Likewise.
11970         (tst-strxfrm2-ENV): Likewise.
11971         (bug-strcoll1-ENV): Likewise.
11972         (test-strcasecmp-ENV): Likewise.
11973         (test-strncasecmp-ENV): Likewise.
11974         * time/Makefile (tst-strptime-ENV): Likewise.
11975         (tst-ftime_l-ENV): Likewise.
11976         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11977         (tst-mbrtowc-ENV): Likewise.
11978         (tst-wcrtomb-ENV): Likewise.
11979         (tst-mbrtowc2-ENV): Likewise.
11980         (tst-c16c32-1-ENV): Likewise.
11981         (tst-mbsnrtowcs-ENV): Likewise.
11983 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11985         * manual/resource.texi (How to get information about the memory
11986         subsystem?): Fix typo.
11987         Reported by Peon de la Parra Ivan <peon@keba.com>
11989 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11991         [BZ #16882]
11992         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11993         (pthread_spin_lock): Branch out of spin loop to proper location.
11994         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11995         (pthread_spin_lock): Likewise.
11997         * nptl/tst-spin4.c: New test.
11998         * nptl/Makefile (tests): Add tst-spin4.
12000 2014-06-03  Andreas Schwab  <schwab@suse.de>
12002         [BZ #15946]
12003         * resolv/res_send.c (send_dg): Reload file descriptor after
12004         calling reopen.
12006 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
12008         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
12010 2014-06-03  Richard Henderson  <rth@redhat.com>
12012         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
12013         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
12014         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
12015         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
12016         in the SAVE_PID block.
12017         (__libc_vfork): New alias.
12018         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
12020         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
12021         child in registers, not on the stack.  Remove RESET_PID conditionals.
12022         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
12024 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
12026         * sysdeps/aarch64/libm-test-ulps: Regenerate.
12028 2014-06-03  Wilco  <wdijkstr@arm.com>
12030         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
12031         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
12032         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12033         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
12034         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
12035         Likewise.
12037 2014-06-03  Wilco  <wdijkstr@arm.com>
12039         * sysdeps/aarch64/fpu/math_private.h
12040         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
12041         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
12042         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
12043         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
12044         Fix declarations.
12046 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12048         * crypt/crypt-private.h: Include ufc-crypt.h.
12049         (__b64_from_24bit): Declare extern.
12050         * crypt/crypt_util.c(__b64_from_24bit): New function.
12051         (b64t): New static const variable.
12052         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
12053         (b64t): Remove variable.
12054         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
12055         * crypt/sha256-crypt.c: Include crypt-private.h.
12056         (b64t): Remove variable.
12057         (__sha256_crypt_r): Remove b64_from_24bit and replace
12058         with __b64_from_24bit.
12059         * crypt/sha512-crypt.c: Likewise.
12061 2014-06-02  Roland McGrath  <roland@hack.frob.com>
12063         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
12064         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
12065         Label the code __libc_vfork rather than __vfork.
12066         [!NOT_IN_libc] (vfork): Define as weak alias.
12067         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
12068         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
12069         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
12071 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
12073         * malloc/malloc.c (malloc_info): Fix format specifier for
12074         n_mmaps.
12076 2014-06-02  Wilco  <wdijkstr@arm.com>
12078         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
12079         FPCR write.
12081 2014-06-02  Wilco  <wdijkstr@arm.com>
12083         [BZ #17009]
12084         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
12085         Rewrite to reduce FPCR/FPSR accesses.
12087 2014-06-01  David S. Miller  <davem@davemloft.net>
12089         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12091 2014-05-31  David S. Miller  <davem@davemloft.net>
12093         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
12094         to occur in round to nearest mode when |x| >= 2.0
12096 2014-05-30  Richard Henderson  <rth@twiddle.net>
12098         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
12099         (PSEUDO_RET_NOERRNO): Remove.
12100         (ret): Don't redefine.
12101         (ret_NOERRNO): Define in terms of ret.
12102         (ret_ERRVAL): Likewise.
12104         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
12105         use of PSEUDO_RET; perform the error check directly.
12107 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
12109         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
12110         with __int128_t.
12112 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12114         * malloc/malloc (malloc_info): Fix formatting.
12116 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
12117             Roland McGrath  <roland@hack.frob.com>
12119         * malloc/malloc (malloc_info): Also print mmapped statistics.
12121 2014-05-30  Roland McGrath  <roland@hack.frob.com>
12123         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
12124         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
12126 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
12128         * malloc/malloc.c (malloc_info): Inline mi_arena.
12130 2014-05-29  Richard Henderson  <rth@twiddle.net>
12132         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
12133         Remove comma before expanding ASM_ARGS_##nr.
12134         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
12135         Make _x0 a strict output; make _x8 a strict input; adjust expansion
12136         of ASM_ARGS_##nr.
12137         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
12138         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
12139         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
12140         (ASM_ARGS_1): Add leading comma.
12142         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
12143         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
12144         to __errno_location.
12145         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
12146         Remove the expected plt for __errno_location.
12148         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12149         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
12150         call to __read_tp.
12152         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12153         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
12154         it and break it down.
12155         (DOCARGS_0, DOCARGS_1): Do nothing.
12156         (DOCARGS_2): Update to store into the new stack frame.
12157         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
12158         (UNDOCARGS_1): Update to restore from the new stack frame.
12159         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
12160         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
12162         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12163         (SINGLE_THREAD_P): New parameter for result regno.
12164         (PSEUDO): Update to match; use cbz instead of beq.
12166         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12167         Use ENTRY to define the _nocancel entry point.  Share the syscall
12168         and syscall error check paths with the cancel path.
12169         (PSEUDO_END): New.
12171         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
12172         whitespace; tabs before and after asm mnemonics.
12174 2014-05-29  Eric Wong  <normalperson@yhbt.net>
12176         [BZ #15132]
12177         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
12178         Call fstat64 or stat64 internally, depending on arguments passed.
12179         Replace stat buffer argument with file descriptor argument.
12180         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
12181         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
12182         Pass fd to __internal_statvfs instead of calling fstat64.
12183         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
12184         Pass fd to __internal_statvfs64 instead of calling fstat64.
12185         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
12186         Pass -1 to __internal_statvfs instead of calling stat64.
12187         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
12188         Pass -1 to __internal_statvfs64 instead of calling stat64.
12190 2014-05-28  Roland McGrath  <roland@hack.frob.com>
12192         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
12193         that was previously under [RESET_PID].
12194         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
12196         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
12197         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
12199 2014-05-27  Roland McGrath  <roland@hack.frob.com>
12201         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
12203         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
12204         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
12206 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
12208         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
12210 2014-05-27  Andreas Schwab  <schwab@suse.de>
12212         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
12213         TLS_INIT_TP macro.
12214         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
12215         * elf/rtld.c (init_tls, dl_main): Likewise.
12216         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
12217         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
12218         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
12219         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
12220         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
12221         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
12222         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
12223         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
12224         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
12225         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
12226         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
12227         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
12228         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
12229         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
12230         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
12231         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
12232         * sysdeps/generic/tls.h: Update description.
12234 2014-05-27  Will Newton  <will.newton@linaro.org>
12236         [BZ #16990]
12237         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
12238         and restore r2 rather than just restoring.
12240 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12242         [BZ #16724]
12243         * libio/tst-ftell-append.c: New test case.
12244         * libio/Makefile (tests): Add test case.
12245         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
12246         append mode.
12247         * libio/wfileops.c (do_ftell_wide): Likewise.
12249 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12253         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
12254         ...
12255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12257         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12258         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12259         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12260         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12261         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12262         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12263         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12264         Moved ...
12265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12266         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12267         Moved ...
12268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12269         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12270         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12271         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12272         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12273         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12274         ...
12275         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12276         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12277         Moved ...
12278         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12279         here.
12280         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12281         ...
12282         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12283         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12284         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12286         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12287         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12288         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12289         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12291         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12292         merge into ...
12293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12294         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12295         ...
12296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12297         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12298         ...
12299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12300         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12301         Moved ...
12302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12303         here.
12304         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12305         Moved ...
12306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12307         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12308         Moved ...
12309         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12311         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12312         conditional [RESET_PID].
12313         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12314         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12315         removed.
12316         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12317         removed.
12319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12320         <tcb-offsets.h>.
12321         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12322         (__libc_vfork): New strong alias.
12323         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12324         removed.
12325         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12326         Removed.
12328         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12329         <tcb-offsets.h>.
12330         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12331         (__libc_vfork): New strong alias.
12332         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12333         removed.
12334         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12335         removed.
12337 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
12339         * malloc/malloc.c (mi_arena): New function.
12340         (malloc_info): Remove nested function mi_arena. Call non-nosted
12341         function mi_arena.
12343 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12345         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12346         by insrwi.
12347         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12348         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12349         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12350         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12351         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12352         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12353         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12355 2014-05-26  Andreas Schwab  <schwab@suse.de>
12357         [BZ #16984]
12358         * locale/programs/repertoire.c (repertoire_read): Add slash
12359         between I18NPATH element and file name.
12360         * locale/programs/locfile.c (locfile_read): Likewise.
12362 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12364         * nptl/pthread_mutexattr_settype.c
12365         (__pthread_mutexattr_settype):
12366         Disable lock elision for PTHREAD_MUTEX_NORMAL.
12368 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12370         * nptl/tst-mutex5 (do_test):
12371         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12373 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12375         * benchtests/README: Document 'init' directive.
12376         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12377         BENCH_INIT.
12378         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12379         (parse_file): Recognize 'init' directive.
12381 2014-05-26  Kyle McMartin  <kyle@redhat.com>
12383         [BZ #16796]
12384         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12385         alignment of struct pthread.
12387 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12389         [BZ #16878]
12390         * nscd/netgroupcache.c (addgetnetgrentX): Look for
12391         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12392         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12393         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12395 2014-05-25  Richard Henderson  <rth@twiddle.net>
12397         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12398         (SINGLE_THREAD_P_PIC): Remove.
12399         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12400         (SINGLE_THREAD_P_PIC): Remove.
12402         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12403         branch to syscall error ...
12404         (PSEUDO): ... here.
12405         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12406         from __local_syscall_error to .Lsyscall_error.
12407         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12408         (SYSCALL_ERROR): Update label name.
12410         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12411         Do not use DOARGS/UNDOARGS.
12412         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12413         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12414         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12415         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12416         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12418         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12419         block comment.
12421         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12422         define if !NOT_IN_libc.
12423         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12424         define with non-default symbol versions.
12426 2014-05-23  Richard Henderson  <rth@twiddle.net>
12428         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12429         (vfork, __vfork): Define via compat_symbol.
12431         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12432         [!HAVE_IFUNC] (vfork_compat): Remove.
12433         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12435 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12437         [BZ #16978]
12438         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12439         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12440         variable.
12442 2014-05-23  Richard Henderson  <rth@twiddle.net>
12444         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12445         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12446         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12447         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12449         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12450         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12451         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12452         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12453         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12454         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12455         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12456         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12457         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12458         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12459         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12460         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12461         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12462         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12463         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12464         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12465         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12466         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12467         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12468         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12469         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12470         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12471         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12472         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12473         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12474         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12475         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12476         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12477         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12478         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12479         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12480         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12481         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12482         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12483         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12484         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12485         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12486         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12487         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12488         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12489         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12490         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12491         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12492         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12493         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12494         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12495         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12496         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12497         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12498         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12499         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12500         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12501         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12502         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12503         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12504         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12506         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12507         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12508         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
12509         before exiting on error.
12510         (__libc_vfork): New strong alias.
12511         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12512         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12514         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12515         that was previously under [RESET_PID].
12516         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12518         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12520 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12522         [BZ #16977]
12523         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12524         value when x - 1 is zero.
12525         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12526         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12527         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12528         0.0L for an argument of 1.0L.
12529         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12530         Likewise.
12531         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12532         value when x - 1 is zero.
12533         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12534         * sysdeps/i386/fpu/libm-test-ulps: Update.
12535         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12537 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12539         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12540         alphasort and versionsort.
12542 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12544         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12545         macro.
12546         [copysignf]: Likewise.
12548 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12550         * crypt/md5-crypt.c: Fix formatting.
12552 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12554         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12555         (b64_from_24bit): New function.
12557 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12559         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12560         libc_hidden_builtin_def to ifunc.
12561         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12562         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12564 2014-05-21  Roland McGrath  <roland@hack.frob.com>
12566         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12567         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12569 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
12571         * nscd/Depend (linuxthreads): Remove.
12572         (nptl): Add.
12573         * resolv/Depend (linuxthreads): Remove.
12574         * rt/Depend (linuxthreads): Remove.
12576         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12577         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12578         $(common-objpfx)elf/.
12579         (link-libc-before-gnulib): Likewise.
12580         (elfobjdir): Remove variable.
12581         * Makefile (install): Use $(elf-objpfx) instead of
12582         $(common-objpfx)elf/.
12583         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12584         $(elfobjdir)/.
12585         (link-libc-deps): Likewise.
12586         ($(common-objpfx)libc.so): Likewise.
12587         ($(common-objpfx)linkobj/libc.so): Likewise.
12588         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12589         instead of $(common-objpfx)elf/.
12590         (symbolic-link-list): Likewise.
12591         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12592         [$(cross-compiling) = no]: Likewise.
12593         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12594         $(elfobjdir)/.
12595         (static-gnulib-arch): Likewise.
12596         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12597         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12598         $(common-objpfx)elf/.
12600 2014-05-21  Richard Henderson  <rth@redhat.com>
12602         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12603         (SINGLE_THREAD_P): Use the correct width load.  Fold
12604         into the ldr offset.
12606         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12607         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12609 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
12611         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12612         (libgcc_s_resume): Use __attribute_used__.
12613         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12614         Likewise.
12616 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12618         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12619         optimization when used with float constants.
12621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12623 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
12625         [BZ #16915]
12626         * locale/nl_langinfo_l.c: Make direct reference to every
12627         _nl_current_CATEGORY symbol.
12628         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12629         (tests-static): Add tst-langinfo-static.
12630         (tests-special): Add tst-langinfo-static.out.
12631         ($(objpfx)tst-langinfo.out): Redirect output.
12632         ($(objpfx)tst-langinfo-static.out): New.
12633         * localedata/tst-langinfo.sh: Send output to stdout.
12634         * localedata/tst-langinfo-static.c: New file.
12636         [BZ #16965]
12637         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12638         when the shift amount is modulo the limb size.
12640 2014-05-20  Richard Henderson  <rth@redhat.com>
12642         [BZ #16967]
12643         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12644         Change type of sa_flags from unsigned int to int.
12646         [BZ #16966]
12647         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12649         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12651 2014-05-20  Will Newton  <will.newton@linaro.org>
12653         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12654         Test the return value of the system call in the nocancel case.
12656 2014-05-20  Will Newton  <will.newton@linaro.org>
12657             Yvan Roux  <yvan.roux@linaro.org>
12659         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12660         #include of asm/ptrace.h.
12661         (PTRACE_GET_THREAD_AREA): Remove #undef.
12662         (PTRACE_GETHBPREGS): Likewise.
12663         (PTRACE_SETHBPREGS): Likewise.
12664         (struct user_regs_struct): New structure.
12665         (struct user_fpsimd_struct): New structure.
12666         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12667         #include of asm/ptrace.h and second #include of sys/user.h.
12668         (PTRACE_GET_THREAD_AREA): Remove #undef.
12669         (PTRACE_GETHBPREGS): Likewise.
12670         (PTRACE_SETHBPREGS): Likewise.
12671         (ELF_NGREG): Use new struct user_regs_struct.
12672         (elf_fpregset_t): Use new struct user_fpsimd_struct.
12674 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12676         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12677         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12679 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12681         [BZ #16958]
12682         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12683         membar to avoid block loads/stores to overlap previous stores.
12685 2014-05-17  Richard Henderson  <rth@redhat.com>
12687         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12688         Create the __##syscall_name##_nocancel entry point.
12689         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12690         Remove; let the sysdep-cancel.h code create it.
12692 2014-05-17  David S. Miller  <davem@davemloft.net>
12694         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12695         Protect with __USE_GNU.
12696         (TIOCSET_TEMPT): Likewise.
12697         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12698         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12699         these are already provided in bits/ioctl-types.h
12701 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12703         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12704         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12706         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12707         Use wait4 regardless of [__NR_waitpid].
12709 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12711         PR libgcc/60166
12712         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12713         (_FP_NANSIGN_Q): Set the quiet bit.
12715 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
12717         * benchtests/Makefile
12718         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12719         not $(common-objpfx)math/libm.so.
12720         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12721         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12722         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12723         $(common-objpfx)dlfcn/libdl.so.
12724         ($(objpfx)tst-audit8): Depend on $(libm), not
12725         $(common-objpfx)math/libm.so.
12726         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12727         not $(common-objpfx)dlfcn/libdl.so.
12728         * math/Makefile
12729         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12730         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
12731         [$(build-shared) = yes].
12732         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12733         $(common-objpfx)nptl/libpthread.so.
12734         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12735         $(common-objpfx)math/libm.so$(libm.so-version) or
12736         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12737         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12738         $(common-objpfx)dlfcn/libdl.so.
12739         * setjmp/Makefile (link-libm): Remove variable.
12740         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12741         * stdio-common/Makefile (link-libm): Remove variable.
12742         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12743         * stdlib/Makefile (link-libm): Remove variable.
12744         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12745         ($(objpfx)tst-strtod-round): Likewise.
12746         ($(objpfx)tst-tininess): Likewise.
12747         ($(objpfx)tst-strtod-underflow): Likewise.
12748         ($(objpfx)tst-strtod6): Likewise.
12749         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12750         $(libdl), not $(common-objpfx)nptl/libpthread.so and
12751         $(common-objpfx)dlfcn/libdl.so.
12753 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12755         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12756         BSD terminal modes definitions.
12758 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12760         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12761         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12763         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12764         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12765         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12766         Don't do #include_next.
12767         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12768         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12769         Don't do #include_next.
12770         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12771         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12772         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12773         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12775 2014-05-16  Allan McRae  <allan@archlinux.org>
12777         * po/sv.po: Update Swedish translation from translation project.
12779         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12780         in sed expression.
12782 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
12784         [BZ #16917]
12785         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12786         errno if the TIOCGPTN ioctl fails with an error different than
12787         EINVAL.
12788         * login/tst-ptsname.c: New file.
12789         * login/Makefile (tests): Add tst-ptsname.
12791         [BZ #16943]
12792         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12793         and prlimit64.
12795 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12797         [BZ #16849]
12798         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12799         herrno to return EAI_AGAIN.
12801 2014-05-14  Roland McGrath  <roland@hack.frob.com>
12803         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12804         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12805         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12806         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12807         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12808         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12809         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12810         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12811         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12812         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12813         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12814         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12815         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12816         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12817         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12818         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12819         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12820         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12821         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12822         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12823         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12824         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12825         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12826         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12827         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12828         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12829         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12830         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12831         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12832         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12833         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12834         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12835         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12836         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12837         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12838         Moved ...
12839         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12840         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12841         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12842         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12843         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12845         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12846         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12847         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12848         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12849         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12851         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12852         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12853         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12854         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12855         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12857         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12858         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12859         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12861         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12862         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12863         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12864         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12865         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12866         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12867         Moved ...
12868         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12869         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12870         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12872         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12873         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12874         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12875         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12876         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12877         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12878         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12879         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12880         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12881         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12882         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12883         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12884         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12885         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12886         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12887         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12888         Moved ...
12889         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12890         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12891         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12893         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12894         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12895         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12896         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12897         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12898         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12899         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12900         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12901         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12902         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12903         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12904         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12905         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12906         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12907         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12908         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12909         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12910         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12911         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12912         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12913         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12914         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12915         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12916         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12917         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12918         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12919         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12920         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12921         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12922         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12923         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12925         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12926         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12928         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12929         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12930         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12931         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12932         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12933         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12934         Moved ...
12935         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12936         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12937         Moved ...
12938         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12939         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12940         Moved ...
12941         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12942         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12943         Moved ...
12944         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12945         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12946         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12947         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12948         Moved ...
12949         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12950         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12951         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12952         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12953         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12954         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12955         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12956         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12957         Moved ...
12958         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12959         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12960         Moved ...
12961         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12962         ... here.
12963         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12964         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12965         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12966         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12967         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12968         Moved ...
12969         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12970         ... here.
12971         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12972         Moved ...
12973         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12974         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12975         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12976         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12977         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12978         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12979         Moved ...
12980         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12981         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12982         Moved ...
12983         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12984         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12985         Moved ...
12986         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12987         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12988         Moved ...
12989         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12990         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12991         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12992         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12993         Moved ...
12994         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12995         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12996         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12997         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12998         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12999         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
13000         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
13001         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13002         Moved ...
13003         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
13004         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13005         Moved ...
13006         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
13007         ... here.
13008         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
13009         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
13010         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
13011         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
13012         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13013         Moved ...
13014         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
13015         ... here.
13016         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
13017         Moved ...
13018         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
13019         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
13020         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
13021         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
13022         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
13023         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
13024         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
13025         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
13026         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
13027         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
13028         Moved ...
13029         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
13030         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13031         Moved ...
13032         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
13033         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13034         Moved ...
13035         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
13036         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
13037         Moved ...
13038         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
13039         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
13040         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
13041         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
13042         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
13043         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13044         Moved ...
13045         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
13046         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
13047         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
13048         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
13049         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
13050         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
13051         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
13052         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13053         Moved ...
13054         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
13055         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13056         Moved ...
13057         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
13058         ... here.
13059         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
13060         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
13061         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
13062         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
13063         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13064         Moved ...
13065         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
13066         ... here.
13067         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
13068         Moved ...
13069         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
13070         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
13071         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
13072         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
13073         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
13074         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
13075         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
13076         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
13077         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
13078         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
13079         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
13081         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
13082         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
13084         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
13085         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
13087         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
13088         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
13089         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
13090         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
13091         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
13092         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
13093         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
13094         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
13095         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
13096         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
13097         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
13098         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
13099         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
13100         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
13101         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
13102         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
13103         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
13104         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
13105         Moved ...
13106         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
13107         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
13108         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
13109         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
13110         Moved ...
13111         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
13112         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
13113         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
13114         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
13115         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
13116         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
13117         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
13118         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
13119         Moved ...
13120         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
13121         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
13122         Moved ...
13123         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
13124         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
13125         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
13126         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
13127         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
13128         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
13129         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
13130         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
13131         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
13132         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
13133         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
13134         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
13135         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
13136         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
13137         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
13138         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
13139         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
13141         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
13142         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
13143         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
13144         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
13145         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
13147         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
13148         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
13149         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
13150         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
13151         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
13152         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
13153         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
13154         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
13155         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
13156         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
13158         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
13159         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
13161         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
13162         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
13163         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
13164         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
13165         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
13166         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
13167         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
13168         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
13169         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
13170         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
13171         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
13172         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
13173         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
13174         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
13175         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
13176         Update #include.
13177         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
13178         Likewise.
13179         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
13180         Likewise.
13181         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
13182         Likewise.
13183         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
13184         Likewise.
13185         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
13186         Likewise.
13187         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
13188         Likewise.
13189         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
13190         Likewise.
13191         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
13192         Likewise.
13193         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
13194         Likewise.
13195         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
13196         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
13197         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
13198         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
13199         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
13200         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
13201         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
13202         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
13203         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
13204         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
13205         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
13206         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
13207         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
13208         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
13209         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
13211         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
13212         that was previously under [RESET_PID].
13213         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
13214         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
13215         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
13217         * sysdeps/i386/nptl/Implies: New file.
13218         * sysdeps/x86_64/nptl/Implies: New file.
13219         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
13220         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
13221         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
13222         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
13224         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
13225         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13226         (__libc_vfork): New strong alias.
13227         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
13228         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
13230         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
13231         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13232         (__libc_vfork): New strong alias.
13233         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
13234         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
13236         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
13237         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
13238         (__libc_vfork): New strong alias.
13239         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
13240         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
13241         * nptl/pt-vfork.c: New file.
13242         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
13243         (libpthread: GLIBC_2.20): New version set (empty).
13245 2014-05-14  Will Newton  <will.newton@linaro.org>
13247         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
13248         rather than #if.
13250 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13252         [BZ #16564]
13253         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
13254         arguments with exponent 65 or above.
13255         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13256         arguments 0x1p113L or above.
13257         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13258         to arguments 0x1p107L or above.
13259         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13260         positive arguments with exponent 65 or above.
13261         * math/auto-libm-test-in: Add more tests of log1p.
13262         * math/auto-libm-test-out: Regenerated.
13264         [BZ #16928]
13265         * math/s_cacos.c (__cacos): Ensure zero real part of result from
13266         non-finite arguments is +0.
13267         * math/s_cacosf.c (__cacosf): Likewise.
13268         * math/s_cacosl.c (__cacosl): Likewise.
13269         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13270         * sysdeps/i386/fpu/libm-test-ulps: Update.
13271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13273         [BZ #16927]
13274         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13275         value.
13276         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13277         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13278         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13279         for explicit high bit of mantissa when testing for argument equal
13280         to 1.
13281         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13282         * sysdeps/i386/fpu/libm-test-ulps: Update.
13283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13285         [BZ #16516]
13286         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13287         (__erf): Scale by 16 instead of 8 in potentially underflowing
13288         case.  Ensure exception if result actually underflows.
13289         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13290         (__erff): Scale by 16 instead of 8 in potentially underflowing
13291         case.  Ensure exception if result actually underflows.
13292         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13293         (efx8): Remove variable.
13294         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13295         case.  Ensure exception if result actually underflows.
13296         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13297         (efx8): Remove variable.
13298         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13299         case.  Ensure exception if result actually underflows.
13300         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13301         (efx8): Remove variable.
13302         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13303         case.  Ensure exception if result actually underflows.
13304         * math/auto-libm-test-in: Add more tests of erf.
13305         * math/auto-libm-test-out: Regenerated.
13307 2014-05-14  Andreas Schwab  <schwab@suse.de>
13309         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13310         Remove code conditionalized on USE___THREAD.
13312         * config.h.in (HAVE_PT_CHOWN): Define as 0.
13313         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13314         not definedness.
13316 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13318         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13319         Define unconditionally.
13320         (__ASSUME_O_CLOEXEC): Likewise.
13321         (__ASSUME_SOCK_CLOEXEC): Likewise.
13322         (__ASSUME_IN_NONBLOCK): Likewise.
13323         (__ASSUME_PIPE2): Likewise.
13324         (__ASSUME_EVENTFD2): Likewise.
13325         (__ASSUME_SIGNALFD4): Likewise.
13326         (__ASSUME_DUP3): Likewise.
13327         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13328         (__ASSUME_DUP3): Do not define.
13329         (__ASSUME_EVENTFD2): Likewise.
13330         (__ASSUME_IN_NONBLOCK): Likewise.
13331         (__ASSUME_O_CLOEXEC): Likewise.
13332         (__ASSUME_PIPE2): Likewise.
13333         (__ASSUME_SIGNALFD4): Likewise.
13334         (__ASSUME_SOCK_CLOEXEC): Likewise.
13335         (__ASSUME_UTIMES): Undefine.
13336         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13337         (__ASSUME_UTIMES): Do not define.
13338         (__ASSUME_O_CLOEXEC): Likewise.
13339         (__ASSUME_SOCK_CLOEXEC): Likewise.
13340         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13341         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13342         0x020621].
13343         (__ASSUME_PIPE2): Likewise.
13344         (__ASSUME_EVENTFD2): Likewise.
13345         (__ASSUME_SIGNALFD4): Likewise.
13346         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13347         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13348         Do not define.
13349         (__ASSUME_EVENTFD2): Likewise.
13350         (__ASSUME_SIGNALFD4): Likewise.
13351         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13352         (__ASSUME_32BITUIDS): Likewise.
13353         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13354         (__ASSUME_IPC64): Likewise.
13355         (__ASSUME_ST_INO_64_BIT): Likewise.
13356         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13357         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13358         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13359         (__ASSUME_UTIMES): Do not define.
13360         (__ASSUME_PSELECT): Likewise.
13361         (__ASSUME_PPOLL): Likewise.
13362         (__ASSUME_O_CLOEXEC): Likewise.
13363         (__ASSUME_SOCK_CLOEXEC): Likewise.
13364         (__ASSUME_IN_NONBLOCK): Likewise.
13365         (__ASSUME_PIPE2): Likewise.
13366         (__ASSUME_EVENTFD2): Likewise.
13367         (__ASSUME_SIGNALFD4): Likewise.
13368         (__ASSUME_DUP3): Likewise.
13369         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13370         (__ASSUME_UTIMES): Likewise.
13371         (__ASSUME_O_CLOEXEC): Likewise.
13372         (__ASSUME_SOCK_CLOEXEC): Likewise.
13373         (__ASSUME_IN_NONBLOCK): Likewise.
13374         (__ASSUME_PIPE2): Likewise.
13375         (__ASSUME_EVENTFD2): Likewise.
13376         (__ASSUME_SIGNALFD4): Likewise.
13377         (__ASSUME_DUP3): Likewise.
13378         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13379         (__ASSUME_UTIMES): Likewise.
13380         (__ASSUME_O_CLOEXEC): Likewise.
13381         (__ASSUME_SOCK_CLOEXEC): Likewise.
13382         (__ASSUME_IN_NONBLOCK): Likewise.
13383         (__ASSUME_PIPE2): Likewise.
13384         (__ASSUME_EVENTFD2): Likewise.
13385         (__ASSUME_SIGNALFD4): Likewise.
13386         (__ASSUME_DUP3): Likewise.
13387         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13388         Likewise.
13389         (__ASSUME_UTIMES): Likewise.
13390         (__ASSUME_EVENTFD2): Likewise.
13391         (__ASSUME_SIGNALFD4): Likewise.
13392         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13393         (__ASSUME_O_CLOEXEC): Likewise.
13394         (__ASSUME_SOCK_CLOEXEC): Likewise.
13395         (__ASSUME_IN_NONBLOCK): Likewise.
13396         (__ASSUME_PIPE2): Likewise.
13397         (__ASSUME_EVENTFD2): Likewise.
13398         (__ASSUME_SIGNALFD4): Likewise.
13399         (__ASSUME_DUP3): Likewise.
13400         (__ASSUME_UTIMES): Undefine.
13402         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13403         feclearexcept.  Remove symbol versioning code.
13404         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
13405         symbol versioning code.
13406         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
13407         symbol versioning code.
13408         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13409         feupdateenv.  Remove symbol versioning code.
13410         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13411         fegetexceptflag.  Remove symbol versioning code.
13412         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13413         fesetexceptflag.  Remove symbol versioning code.
13414         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13415         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
13416         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13417         (__posix_fadvise64_l32): Remove prototype.
13418         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13419         code.
13421 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13423         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13424         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13425         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13426         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13428 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
13430         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13431         current working directory
13433 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13435         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13436         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13437         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13438         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13439         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13440         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13441         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13442         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13443         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13444         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13445         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13446         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13447         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13448         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13449         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13450         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13451         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13452         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13453         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13454         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13455         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13456         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13457         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13458         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13459         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13460         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13461         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13462         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13463         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13464         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13465         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13466         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13467         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13468         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13469         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13470         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13471         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13472         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13473         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13474         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13475         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13476         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13478         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13479         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13481         * sysdeps/unix/sysv/linux/arm/Makefile
13482         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13483         Add rt-aeabi_unwind_cpp_pr1.
13484         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13485         Add nptl-aeabi_unwind_cpp_pr1.
13486         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13487         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13488         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13489         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13490         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13491         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13493         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13494         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13495         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13496         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13498         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13499         Deconditionalize the code that was previously under [RESET_PID].
13500         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13502         * sysdeps/generic/exit-thread.h: New file.
13503         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13504         * include/unistd.h (__exit_thread): Remove declaration.
13505         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13506         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13507         * csu/libc-start.c: Include <exit-thread.h>.
13508         (LIBC_START_MAIN): Pass no argument to __exit_thread.
13509         * nptl/pthread_create.c: Include <exit-thread.h>.
13510         (start_thread): Call __exit_thread in place of __exit_thread_inline.
13511         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13512         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13513         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13514         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13515         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13516         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13517         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13518         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13519         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13520         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13521         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13522         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13523         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13524         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13525         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13526         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13528 2014-05-13  Andreas Schwab  <schwab@suse.de>
13530         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13532 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
13534         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13535         (__ASSUME_UTIMES): Do not condition on kernel version.
13536         (__ASSUME_PSELECT): Define unconditionally.
13537         (__ASSUME_PPOLL): Likewise.
13538         (__ASSUME_ATFCTS): Likewise.
13539         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13540         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13541         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13542         (__ASSUME_UTIMENSAT): Define unconditionally.
13543         (__ASSUME_PRIVATE_FUTEX): Likewise.
13544         (__ASSUME_FALLOCATE): Likewise.
13545         (__ASSUME_O_CLOEXEC): Likewise.
13546         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13547         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13548         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13549         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13550         (__ASSUME_IN_NONBLOCK): Likewise.
13551         (__ASSUME_PIPE2): Likewise.
13552         (__ASSUME_EVENTFD2): Likewise.
13553         (__ASSUME_SIGNALFD4): Likewise.
13554         (__ASSUME_DUP3): Likewise.
13555         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13556         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13557         (__ASSUME_AT_RANDOM): Likewise.
13558         (__ASSUME_PREADV): Likewise.
13559         (__ASSUME_PWRITEV): Likewise.
13560         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13561         (__ASSUME_F_GETOWN_EX): Define unconditionally.
13562         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13563         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13564         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13565         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13566         (__ASSUME_O_CLOEXEC): Define unconditionally.
13567         (__ASSUME_PSELECT): Do not undefine conditionally.
13568         (__ASSUME_PPOLL): Likewise.
13569         (__ASSUME_ATFCTS): Likewise.
13570         (__ASSUME_SET_ROBUST_LIST): Likewise.
13571         (__ASSUME_UTIMENSAT): Likewise.
13572         (__ASSUME_FDATASYNC): Define unconditionally.
13573         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13574         (__ASSUME_SIGFRAME_V2): Likewise.
13575         )__ASSUME_EVENTFD2): Likewise.
13576         (__ASSUME_SIGNALFD4): Likewise.
13577         (__ASSUME_PSELECT): Do not undefine conditionally.
13578         (__ASSUME_PPOLL): Likewise.
13579         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13580         (__ASSUME_PSELECT): Define unconditionally.
13581         (__ASSUME_PPOLL): Likewise.
13582         (__ASSUME_O_CLOEXEC): Likewise.
13583         (__ASSUME_SOCK_CLOEXEC): Likewise.
13584         (__ASSUME_IN_NONBLOCK): Likewise.
13585         (__ASSUME_PIPE2): Likewise.
13586         (__ASSUME_EVENTFD2): Likewise.
13587         (__ASSUME_SIGNALFD4): Likewise.
13588         (__ASSUME_DUP3): Likewise.
13589         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13590         (__ASSUME_O_CLOEXEC): Likewise.
13591         (__ASSUME_SOCK_CLOEXEC): Likewise.
13592         (__ASSUME_IN_NONBLOCK): Likewise.
13593         (__ASSUME_PIPE2): Likewise.
13594         (__ASSUME_EVENTFD2): Likewise.
13595         (__ASSUME_SIGNALFD4): Likewise.
13596         (__ASSUME_DUP3): Likewise.
13597         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13598         (__ASSUME_EVENTFD2): Likewise.
13599         (__ASSUME_SIGNALFD4): Likewise.
13600         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13602 2014-05-12  Andreas Schwab  <schwab@suse.de>
13604         [BZ #16932]
13605         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13606         (_nss_nis_gethostbyname4_r): Return error if item length is larger
13607         than maximum RPC packet size.
13608         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13609         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13610         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13611         (_nss_nis_getservbyport_r): Likewise.
13613 2014-05-12  Will Newton  <will.newton@linaro.org>
13615         * malloc/Makefile (tests): Add tst-mallopt.
13616         * malloc/tst-mallopt.c: New file.
13618 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13620         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13621         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13623 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13625         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13626         (tst-tlsmod6.so): Likewise.
13628 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13630         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13632 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
13634         [BZ #16064]
13635         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13636         and <dl-procinfo.h>.
13637         (__fegetenv): Save SSE state in envp->__eip if supported.
13638         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13639         envp->__eip if supported.
13640         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13641         and <dl-procinfo.h>.
13642         (__fesetenv): Always set __eip, __cs_selector, __opcode,
13643         __data_offset and __data_selector in environment to 0.  Set SSE
13644         state if supported.
13645         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13646         test-fenv-sse.
13647         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13648         -mfpmath=sse.
13649         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13651 2014-05-09  Will Newton  <will.newton@linaro.org>
13653         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13654         and libc_relro_required for ARM.
13655         * sysdeps/arm/preconfigure: Regenerate.
13657 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
13658             Stefan Liebler  <stli@linux.vnet.ibm.com>
13660         * config.make.in (enable-lock-elision): New Makefile variable.
13661         * configure.ac: Likewise.
13662         * configure: Regenerate.
13663         * sysdeps/s390/configure.ac:
13664         Add check for gcc transactions support.
13665         * sysdeps/s390/configure: Regenerate.
13666         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13667         Build elision files if enabled.
13668         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13669         Add lock elision support for s390.
13670         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13671         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13672         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13673         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13674         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13675         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13676         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13677         Likewise.
13678         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13679         Likewise.
13680         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13681         Likewise.
13682         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13683         Likewise.
13684         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13685         (__lll_timedlock_elision, __lll_lock_elision)
13686         (__lll_unlock_elision, __lll_trylock_elision)
13687         (lll_timedlock_elision, lll_lock_elision)
13688         (lll_unlock_elision, lll_trylock_elision): Add.
13689         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13690         (pthread_mutex_t): Add lock elision support for s390.
13692 2014-05-14  Wilco  <wdijkstr@arm.com>
13694         * sysdeps/arm/fclrexcpt.c: Cleanup.
13695         * sysdeps/arm/fedisblxcpt.c: Cleanup.
13696         * sysdeps/arm/feenablxcpt.c: Cleanup.
13697         * sysdeps/arm/fegetenv.c: Cleanup.
13698         * sysdeps/arm/fegetexcept.c: Cleanup.
13699         * sysdeps/arm/fegetround.c: Cleanup.
13700         * sysdeps/arm/feholdexcpt.c: Cleanup.
13701         * sysdeps/arm/fesetenv.c: Cleanup.
13702         * sysdeps/arm/fesetround.c: Cleanup.
13703         * sysdeps/arm/feupdateenv.c: Cleanup.
13704         * sysdeps/arm/fgetexcptflg.c: Cleanup.
13705         * sysdeps/arm/fraiseexcpt.c: Cleanup.
13706         * sysdeps/arm/fsetexcptflg.c: Cleanup.
13707         * sysdeps/arm/ftestexcept.c: Cleanup.
13708         * sysdeps/arm/get-rounding-mode.h: Cleanup.
13709         * sysdeps/arm/setfpucw.c: Cleanup.
13711 2014-05-09  Will Newton  <will.newton@linaro.org>
13713         * sysdeps/arm/armv7/strcmp.S: New file.
13714         * NEWS: Mention addition of ARMv7 optimized strcmp.
13716 2014-05-08  Roland McGrath  <roland@hack.frob.com>
13718         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13719         look for %.ac rather than %.in.
13721         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13722         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13723         * sysdeps/mach/hurd/configure: Regenerated.
13724         * sysdeps/unix/sysv/linux/configure: Regenerated.
13726         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13728 2014-05-07  Steve Ellcey  <sellcey@mips.com>
13730         [BZ# 16922]
13731         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13732         (LONG_SUB): Ditto.
13733         (PTR_SUB): Ditto.
13735 2014-05-07  Andreas Schwab  <schwab@suse.de>
13737         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13738         when skipping over non-matching result from nscd.
13740 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
13742         [BZ #16876]
13743         * nptl/sockperf.c (client): Check socket return value.
13745         [BZ #16877]
13746         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13747         nscd security class.
13749 2014-05-06  Roland McGrath  <roland@hack.frob.com>
13751         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13752         * sysdeps/arm/unwind.h: ... here.
13754 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
13756         [BZ# 16916]
13757         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13758         Define.
13760 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13762         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13763         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13764         multiarch strncpy for PPC64.
13765         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13766         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13767         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13768         multiarch optimizations.
13769         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13770         (__libc_ifunc_impl_list): Likewise.
13771         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13772         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13773         multiarch stpncpy for PPC64.
13774         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13775         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13777 2014-05-06  Andreas Schwab  <schwab@suse.de>
13779         [BZ #16912]
13780         * gmon/mcount.c (_MCOUNT_DECL): Use
13781         atomic_compare_and_exchange_bool_acq instead of
13782         catomic_compare_and_exchange_bool_acq.
13784 2014-05-05  Roland McGrath  <roland@hack.frob.com>
13786         * elf/Makefile (others, install-bin): Remove pldd.
13787         (pldd-modules): Variable removed.
13788         ($(objpfx)pldd): Target removed.
13789         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13790         (others, install-bin): Append pldd here.
13791         ($(objpfx)pldd): New target.
13793         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13794         to 0, so the first #if test emitted later doesn't see it undefined.
13795         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13796         * sysdeps/gnu/errlist.c: Regenerated.
13798 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13800         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13801         [libc_hidden_builtin_def]: Define to empty value.
13802         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13803         [libc_hidden_builtin_def]: Likewise.
13804         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13805         [libc_hidden_builtin_def]: Likewise.
13806         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13807         [libc_hidden_builtin_def]: Likewise.
13808         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13809         __redirect_memcpy and define ifunc as default hidden symbol.
13810         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13811         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13813 2014-05-04  Adam Conrad  <adconrad@0c3.net>
13815         * locale/iso-4217.def: Reintroduce XDR currency.
13817 2014-05-04  Allan McRae  <allan@archlinux.org>
13819         * po/eo.po: Update Esperanto translation from translation project.
13821 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
13823         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13824         and FEATURE_INDEX_MAX to 1.
13825         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13827 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13829         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13830         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13831         * iconvdata/big5.c (ONE_DIRECTION): Define.
13832         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13833         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13834         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13835         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13836         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13837         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13838         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13839         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13840         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13841         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13842         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13843         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13844         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13845         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13846         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13847         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13848         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13849         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13850         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13851         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13852         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13853         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13854         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13855         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13856         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13857         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13858         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13859         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13860         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13861         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13862         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13863         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13864         * iconvdata/johab.c (ONE_DIRECTION): Define.
13865         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13866         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13867         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13868         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13869         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13870         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13871         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13872         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13873         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13874         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13876 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13878         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13879         (_IO_JUMPS_OFFSET): Define to 0.
13881         * nptl/sysdeps/pthread/bits/libc-lock.h
13882         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13883         (__libc_lock_define_initialized_recursive): Always define using
13884         initializer.  Modern compilers treat uninitialized (implicit zero) and
13885         explicit zero initializers the same (i.e. put the datum in bss).
13887 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13889         * nscd/nscd-client.h: Include <string.h>.
13891 2014-05-01  David S. Miller  <davem@davemloft.net>
13893         [BZ #16885]
13894         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13895         multiple zero bytes exist at the end of a string.
13896         Reported by Aurelien Jarno <aurelien@aurel32.net>
13898         * string/test-strcmp.c (check): Add explicit test for situations where
13899         there are multiple zero bytes after the first.
13901 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13903         [BZ #16890]
13904         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13905         when compiling wprintf.
13906         * stdio-common/tstdiomisc.c (t3): New function.
13907         (main): Call it.
13909 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13911         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13912         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13913         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13914         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13916 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13918         * stdlib/longlong.h: Updated from GCC.
13920 2014-05-01  Will Newton  <will.newton@linaro.org>
13921             Bernard Ogden  <bernie.ogden@linaro.org>
13923         * NEWS: Update fixed bug list.
13925         [BZ #15119]
13926         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13928 2014-04-30  David S. Miller  <davem@davemloft.net>
13930         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13931         (libc_feholdexcept_setround_sparc_ctx): New function.
13932         (libc_fesetenv_sparc_ctx): Likewise.
13933         (libc_feupdateenv_sparc_ctx): Likewise.
13934         (libc_feholdsetround_sparc_ctx): Likewise.
13935         (libc_feholdexcept_setround_ctx): Define.
13936         (libc_feholdexcept_setroundf_ctx): Likewise.
13937         (libc_feholdexcept_setroundl_ctx): Likewise.
13938         (libc_fesetenv_ctx): Likewise.
13939         (libc_fesetenvf_ctx): Likewise.
13940         (libc_fesetenvl_ctx): Likewise.
13941         (libc_feupdateenv_ctx): Likewise.
13942         (libc_feupdateenvf_ctx): Likewise.
13943         (libc_feupdateenvl_ctx): Likewise.
13944         (libc_feresetround_ctx): Likewise.
13945         (libc_feresetroundf_ctx): Likewise.
13946         (libc_feresetroundl_ctx): Likewise.
13947         (libc_feholdsetround_ctx): Likewise.
13948         (libc_feholdsetroundf_ctx): Likewise.
13949         (libc_feholdsetroundl_ctx): Likewise.
13951         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13952         with __USE_GNU instead of XOPEN cpp guards.
13954         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13955         0.
13957         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13958         with XOPEN cpp guards.
13960 2014-04-30  Julian Brown  <julian@codesourcery.com>
13962         [BZ #16888]
13963         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13964         handling.
13966 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13968         [BZ #9894]
13969         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13970         Change to 2.6.32.
13971         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13972         * sysdeps/unix/sysv/linux/configure: Regenerated.
13973         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13974         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13975         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13976         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13977         * README: Update reference to required Linux kernel version.
13978         * manual/install.texi (Linux): Update reference to required Linux
13979         kernel headers version.
13980         * INSTALL: Regenerated.
13982         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13983         header inclusion.
13984         [POSIX] (limits.h): Likewise.
13985         [POSIX] (math.h): Likewise.
13986         [POSIX] (sys/wait.h): Likewise.
13987         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13988         function.
13989         [POSIX] (stddef.h): Do not allow header inclusion.
13991 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13993         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13995 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13997         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13998         Return immediately after lll_futex_wake.
14000 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14002         [BZ #16791]
14003         * nscd/nscd-client.h (datahead_init_common): Initialize entire
14004         structure.
14005         (datahead_init_pos): Call datahead_init_common early.
14006         (datahead_init_neg): Likewise.
14008         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
14009         datahead_init_neg): New functions.
14010         * nscd/aicache.c (addhstaiX): Use them.
14011         * nscd/grpcache.c (cache_addgr): Likewise.
14012         * nscd/hstcache.c (cache_addhst): Likewise.
14013         * nscd/initgrcache.c (addinitgroupsX): Likewise.
14014         * nscd/netgroupcache.c (do_notfound): Likewise.
14015         (addgetnetgrentX): Likewise.
14016         (addinnetgrX): Likewise.
14017         * nscd/pwdcache.c (cache_addpw): Likewise.
14018         * nscd/servicescache.c (cache_addserv): Likewise.
14020 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14021             Atsushi Onoe  <atsushi@onoe.org>
14023         [BZ #14308]
14024         [BZ #12994]
14025         [BZ #13651]
14026         * resolv/res_query.c (__libc_res_nsearch): Return if at least
14027         one response is valid.
14028         * resolv/res_send.c (send_dg): Check for validity of other
14029         response if the current response is a referral.
14031 2014-04-29  Steve Ellcey  <sellcey@mips.com>
14033         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
14035 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
14037         [BZ #16823]
14038         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
14039         Always divide by positive zero when computing -Inf result.
14040         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
14041         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
14043 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14045         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
14046         FPSCR if value do not change.
14047         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
14048         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
14049         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
14050         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
14051         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
14052         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
14053         function.
14055 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
14057         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
14058         * sysdeps/unix/sysv/linux/hppa: Move directory from
14059         ports/systeps/unix/sysv/linux/hppa.
14060         * README: Update listing for hppa-*-linux-gnu.
14062 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
14064         [BZ #16754]
14065         * manual/stdio.texi (Hook functions): Fix types of stream hook
14066         functions.
14067         [BZ #16854]
14068         * socket/sys/socket.h: Fix typo in comment.
14070 2014-04-28  Wilco  <wdijkstr@arm.com>
14072         * sysdeps/arm/fenv_private.h: New file.
14073         * sysdeps/arm/math_private.h: New file.
14074         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
14076 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
14078         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
14079         with __int128_t.
14080         (La_x86_64_retval): Likewise.
14082 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
14084         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
14085         fpsr if value didn't change.
14086         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
14087         to fpcr if value didn't change.
14088         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
14089         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
14090         fpsr or fpcr if value didn't change.
14091         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
14092         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
14093         fpcr if value didn't change.
14094         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
14095         to fpsr if value didn't change.
14097 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
14099         * nptl/tst-sem3.c: Use test-skeleton.c
14100         (main): Rename to do_test.  Use return instead of
14101         exit.
14102         * nptl/tst-sem4.c: Use test-skeleton.c
14103         (main): Rename to do_test.
14105 2014-04-22  David S. Miller  <davem@davemloft.net>
14107         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
14108         (struct sigaction): New struct member __glibc_reserved0, change
14109         type of sa_flags to int.
14111 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
14113         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
14114         (COUNT_LEADING_ZEROS_0): Define for AArch64.
14116 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14118         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
14119         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
14121 2014-04-22  Will Newton  <will.newton@linaro.org>
14122             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
14124         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
14125         (__longjmp): Add longjmp and longjmp_target SystemTap
14126         probes.
14127         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
14128         (__sigsetjmp): Add setjmp SystemTap probe.
14130 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
14132         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
14133         match manual order.
14135 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14137         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
14139         * sysdeps/powerpc/fpu/fenv_private.h
14140         (libc_feholdexcept_setroundl_ctx): Define to
14141         libc_feholdexcept_setround_ppc_ctx.
14142         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
14143         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
14144         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
14145         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
14147 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14149         * sysdeps/aarch64/math-tests.h: New file.
14151 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
14153         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
14154         New.
14155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
14156         Check and set bit_AVX2_Usable.
14157         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
14158         macro.
14159         (bit_AVX2): Likewise.
14160         (index_AVX2_Usable): Likewise.
14161         (CPUID_AVX2): Likewise.
14162         (HAS_AVX2): Likewise.
14164 2014-04-17  Will Newton  <will.newton@linaro.org>
14166         * manual/setjmp.texi (System V contexts): Add note that
14167         calling setcontext on a context created by a call to a
14168         signal handler is undefined.  Update text to note that
14169         setcontext from a signal handler is possible but not
14170         recommended.
14172         [BZ #16629]
14173         * stdlib/tst-setcontext.c: Include signal.h.
14174         (main): Check that the signal stack before and
14175         after swapcontext is the same.
14177         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
14178         Re-implement to restore registers in user code and avoid
14179         rt_sigreturn system call.
14181 2014-04-17  Wilco  <wdijkstr@arm.com>
14183         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
14184         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
14185         * math/test-fenv.c: Skip exception trap tests on targets which only
14186         support non-stop mode.
14188 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
14189             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14191         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
14192         (libc_feholdsetround_aarch64_ctx)
14193         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
14194         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
14195         (libc_feresetround_ctx, libc_feresetroundf_ctx)
14196         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
14197         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
14198         (libc_feresetround_noexl_ctx): Define.
14200 2014-04-16  Richard Henderson  <rth@redhat.com>
14202         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
14204         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
14205         unwind tables.
14207         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
14208         const from the non-libc, non-ldso copy.
14210         * sysdeps/alpha/libm-test-ulps: Regenerate.
14212 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
14213             Wilco Dijkstra  <wilco.dijkstra@arm.com>
14215         * sysdeps/aarch64/fpu/math_private.h: New file.
14217 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
14219         * sysdeps/aarch64/libm-test-ulps: Regenerate.
14221 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
14223         [BZ #16275]
14224         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
14225         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
14226         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
14227         Intel MPX bound registers before _dl_profile_fixup.
14228         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
14229         registers after _dl_profile_fixup.  Save and restore bound
14230         registers bnd0/bnd1 when calling _dl_call_pltexit.
14231         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
14232         (LR_BND_OFFSET): Likewise.
14233         (LRV_BND0_OFFSET): Likewise.
14234         (LRV_BND1_OFFSET): Likewise.
14236 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14238         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
14239         to...
14240         * sysdeps/mach/hurd/i386/tls.h: ... here.
14241         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
14242         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
14243         fields.
14245 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14247         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
14249 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14251         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14253 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14255         [BZ #14770]
14256         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14257         * sysdeps/s390/configure: Regenerate.
14259         [BZ #16824]
14260         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14261         Set round-to-nearest internally to reduce error accumulation.
14263 2014-04-16  Alan Modra  <amodra@gmail.com>
14265         [BZ #16740]
14266         [BZ #16619]
14267         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14268         * math/libm-test.inc (frexp_test_data): Add tests.
14269         * NEWS: Update fixed bug list.
14271 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14273         * benchtests/Makefile: Depend on libraries in build directory.
14274         (bench-math): Separate out math tests.
14275         (bench-pthread): Separate out pthread tests.
14276         (bench): Include math and pthread tests.
14278 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
14280         [BZ #16831]
14281         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14282         _dl_debug_initialize.
14284         * configure.ac: Remove SELinux header check.
14285         * configure: Regenerate.
14286         * nscd/selinux.c (perms): Array of const char* to permission names.
14287         (nscd_request_avc_has_perm): Call security_deny_unknown to find
14288         default policy. Call string_to_security_class and string_to_av_perm to
14289         translate strings. Enforce default policy and call avs_has_perm with
14290         results of translated strings.
14292 2014-04-13  David S. Miller  <davem@davemloft.net>
14294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14296 2014-04-12  Allan McRae  <allan@archlinux.org>
14298         [BZ #16838]
14299         * manual/string.texi (Collation Functions): Fix qsort argument
14300         order in example.
14301         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14303 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
14305         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14306         Make the test a no-op if there are no exceptions defined.
14308 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14310         * elf/Makefile (tests): make tst-dlopen-aout conditional on
14311         enable-hardcoded-path-in-tests
14313 2014-04-11  Will Newton  <will.newton@linaro.org>
14315         * benchtests/Makefile (extra-objs): Add json-lib.o.
14316         (bench-func): Tidy up JSON output.
14317         * benchtests/bench-skeleton.c: Include json-lib.h.
14318         (main): Use JSON library functions to do output of
14319         benchmark results.
14320         * benchtests/bench-timing-type.c (main): Output the
14321         timing type simply, leaving formatting to the user.
14322         * benchtests/json-lib.c: New file.
14323         * benchtests/json-lib.h: Likewise.
14325 2014-04-11  Torvald Riegel  <triegel@redhat.com>
14327         [BZ #15215]
14328         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14329         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
14330         memory barriers.  Add comments.
14331         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14332         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14333         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14334         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14335         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14336         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14338 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14340         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14341         * sysdeps/s390/s390-64/configure.ac: ... this ...
14342         * sysdeps/s390/configure.ac: ... to here.
14343         * sysdeps/s390/s390-32/configure: Delete file.
14344         * sysdeps/s390/s390-64/configure: Delete file.
14345         * sysdeps/s390/configure: Regenerate.
14347 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
14349         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14351 2014-04-11  Will Newton  <will.newton@linaro.org>
14353         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14354         to zero if it is not defined elsewhere.  (mtrim): Test
14355         the value of MALLOC_DEBUG with #if rather than #ifdef.
14357 2014-04-10 Torvald Riegel  <triegel@redhat.com>
14359         * benchtests/pthread_once-inputs: New file.
14360         * benchtests/pthread_once-source.c: New file.
14361         * benchtests/README: Update documentation.
14363 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14364             H.J. Lu  <hongjiu.lu@intel.com>
14366         [BZ #16275]
14367         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14368         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14369         * sysdeps/x86_64/configure: Regenerated.
14370         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14371         macro.
14372         (REGISTER_SAVE_RAX): Likewise.
14373         (REGISTER_SAVE_RCX): Likewise.
14374         (REGISTER_SAVE_RDX): Likewise.
14375         (REGISTER_SAVE_RSI): Likewise.
14376         (REGISTER_SAVE_RDI): Likewise.
14377         (REGISTER_SAVE_R8): Likewise.
14378         (REGISTER_SAVE_R9): Likewise.
14379         (REGISTER_SAVE_BND0): Likewise.
14380         (REGISTER_SAVE_BND1): Likewise.
14381         (REGISTER_SAVE_BND2): Likewise.
14382         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
14383         bound registers when calling _dl_fixup.
14385 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14387         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14388         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14389         of its definition.
14390         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14391         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14392         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14393         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14394         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14395         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14396         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14398 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
14400         [BZ #15514]
14401         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14402         pathconf(_PC_NAME_MAX).
14404 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14406         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14407         Remove macro usage.
14408         (__PTHREAD_SPINS): Move definition to ...
14409         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14410         (__PTHREAD_SPINS): ... here.
14411         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14412         (__PTHREAD_SPIN): Likewise.
14413         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14414         (__PTHREAD_SPIN): Likewise.
14415         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14416         (__PTHREAD_SPIN): Likewise.
14417         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14418         (__PTHREAD_SPIN): Likewise.
14419         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14420         (__PTHREAD_SPIN): Likewise.
14421         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14422         (__PTHREAD_SPIN): Likewise.
14423         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14424         (__PTHREAD_SPIN): Likewise.
14425         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14426         (__PTHREAD_SPIN): Likewise.
14427         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14428         (__PTHREAD_SPIN): Likewise.
14429         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14430         (__PTHREAD_SPIN): Likewise.
14431         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14432         (__PTHREAD_SPIN): Likewise.
14433         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14434         (__PTHREAD_SPIN): Likewise.
14436         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14437         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14438         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14439         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14440         imply folder.
14441         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14442         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14443         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14444         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14445         correct imply path.
14446         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14447         strlen symbol for non multi-arch builds.
14448         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14449         missing hidden_def and weak_alias.
14451 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
14453         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14455 2014-04-07  Will Newton  <will.newton@linaro.org>
14457         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14458         and contents.  [!_LIBC] Remove #ifndef and contents.
14459         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
14460         * string/memccpy.c (__memccpy): Use ANSI prototype.
14461         * string/memfrob.c (memfrob): Likewise.
14462         * string/strcoll.c (STRCOLL): Likewise.
14463         * string/strlen.c (strlen): Likewise.
14464         * string/strtok.c (STRTOK): Likewise.
14465         * string/strcat.c: Remove unused #include of memcopy.h.
14466         (strcat): Use ANSI prototype.
14467         * string/strchr.c: Remove unused #include of memcopy.h.
14468         (strchr): Use ANSI prototype.
14469         * string/strcmp.c: Remove unused #include of memcopy.h.
14470         (strcmp): Use ANSI prototype.
14471         * string/strcpy.c: Remove unused #include of memcopy.h.
14472         (strcpy): Use ANSI prototype.
14474 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14476         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14477         * config.make.in (config-extra-cppflags): Set it from
14478         libc_extra_cppflags.
14479         * configure.ac (libc_extra_cflags): Make it accumulate over
14480         configure fragments.
14481         (libc_extra_cppflags): New flag.
14482         * configure. Regenerate.
14483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14484         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14485         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14488         [BZ #16815]
14489         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14490         result for FE_DOWNWARD rounding mode.
14491         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14492         Likewise.
14493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14495 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
14497         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14498         in function argument name.
14500 2014-04-03  David Svoboda  <svoboda@cert.org>
14502         [BZ #5666]
14503         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14504         explicitly.
14506 2014-04-03  Roland McGrath  <roland@hack.frob.com>
14508         * elf/dl-unmap-segments.h: New file.
14509         * sysdeps/generic/ldsodefs.h
14510         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14511         * elf/dl-close.c: Include <dl-unmap-segments.h>.
14512         * elf/dl-fptr.c: Likewise.
14513         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14514         * sysdeps/aarch64/tlsdesc.c: Likewise.
14515         * sysdeps/arm/tlsdesc.c: Likewise.
14516         * sysdeps/i386/tlsdesc.c: Likewise.
14517         * sysdeps/tile/dl-runtime.c: Likewise.
14518         * sysdeps/x86_64/tlsdesc.c: Likewise.
14519         * elf/dl-load.h: New file.
14520         * elf/dl-load.c: Include it.
14521         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14522         Macros moved to dl-load.h.
14523         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14524         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14525         Use _dl_unmap_segments in place of __munmap.
14526         Break out segment-mapping loop into ...
14527         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14529 2014-04-03  Will Newton  <will.newton@linaro.org>
14531         * elf/dl-lookup.c (do_lookup_x): Remove comment
14532         referring to nested function and move variable
14533         declarations down to before first use.
14535 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
14537         [BZ #16799]
14538         [BZ #16800]
14539         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14540         with 0 numerator.
14541         * math/s_catanf.c (__catanf): Likewise.
14542         * math/s_catanh.c (__catanh): Likewise.
14543         * math/s_catanhf.c (__catanhf): Likewise.
14544         * math/s_catanhl.c (__catanhl): Likewise.
14545         * math/s_catanl.c (__catanl): Likewise.
14546         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14547         by positive zero when computing -Inf result.
14548         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14549         (catanh_test): Likewise.
14550         * sysdeps/i386/fpu/libm-test-ulps: Update.
14551         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14553         [BZ #16789]
14554         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14555         instead of using underflowing value in computing result.
14556         * math/s_clog10.c (__clog10): Likewise.
14557         * math/s_clog10f.c (__clog10f): Likewise.
14558         * math/s_clog10l.c (__clog10l): Likewise.
14559         * math/s_clogf.c (__clogf): Likewise.
14560         * math/s_clogl.c (__clogl): Likewise.
14561         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14562         (clog10_test): Likewise.
14563         * sysdeps/i386/fpu/libm-test-ulps: Update.
14564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14566 2014-04-02  Alan Modra  <amodra@gmail.com>
14568         [BZ #16739]
14569         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14570         output when value is near a power of two.  Use int64_t for lx and
14571         remove casts.  Use decimal rather than hex exponent constants.
14572         Don't use long double multiplication when double will suffice.
14573         * math/libm-test.inc (nextafter_test_data): Add tests.
14574         * NEWS: Add 16739 and 16786 to bug list.
14576         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14578         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14580 2014-04-01  Will Newton  <will.newton@linaro.org>
14582         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14583         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
14585 2014-04-01  Florian Weimer  <fweimer@redhat.com>
14587         [BZ #13347]
14588         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14589         * nptl/tst-setuid2.c: New file.
14590         * nptl/Makefile (xtests): Add tst-setuid2.
14592 2014-04-01  Alan Modra  <amodra@gmail.com>
14594         [BZ #16786]
14595         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14597 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14599         [BZ #6803]
14600         [BZ #6804]
14601         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14602         set errno as appropriate.
14603         * math/w_scalbf.c (__scalbf): Likewise.
14604         * math/w_scalbl.c (__scalbl): Likewise.
14605         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14606         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14607         * math/libm-test.inc (scalb_test_data): Add errno expectations.
14608         Add more NaN tests.
14610         [BZ #16349]
14611         * math/w_atan2.c: Include <errno.h>.
14612         (__atan2): Set errno for result underflowing to zero.
14613         * math/w_atan2f.c: Include <errno.h>.
14614         (__atan2f): Set errno for result underflowing to zero.
14615         * math/w_atan2l.c: Include <errno.h>.
14616         (__atan2l): Set errno for result underflowing to zero.
14617         * math/auto-libm-test-in: Don't allow missing errno for some atan2
14618         tests.
14619         * math/auto-libm-test-out: Regenerated.
14621 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14623         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14624         Encode instruction correctly in little endian.
14625         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14626         Likewise.
14627         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14628         Likewise.
14629         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14630         Likewise.
14631         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14632         Likewise.
14634 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14636         [BZ #9894]
14637         * sysdeps/unix/sysv/linux/kernel-features.h
14638         [__sparc__ && !__arch64__ && !__sparc_v9__]
14639         (__ASSUME_SET_ROBUST_LIST): Do not define.
14640         [__sparc__ && !__arch64__ && !__sparc_v9__]
14641         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14642         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14643         Likewise.
14644         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14645         (__ASSUME_FUTEX_LOCK_PI): Undefine.
14646         (__ASSUME_REQUEUE_PI): Likewise.
14647         (__ASSUME_SET_ROBUST_LIST): Likewise.
14648         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14649         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14650         Undefine.
14651         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14652         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14653         Likewise.
14654         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14655         Likewise.
14656         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14657         Likewise.
14658         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14659         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14660         Undefine.
14661         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14662         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14663         Likewise.
14665         [BZ #16648]
14666         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14667         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14668         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14670 2014-03-31  Will Newton  <will.newton@linaro.org>
14672         * benchtests/Makefile (bench): Add ffs and ffsll to list
14673         of tests.
14674         * benchtests/ffs-inputs: New file.
14675         * benchtests/ffsll-inputs: Likewise.
14677 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
14679         [BZ #16770]
14680         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14681         too large before casting to int.
14682         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14683         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14684         * math/libm-test.inc (scalb_test_data): Add more tests.
14686 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14688         * benchtests/Makefile (DETAILED_OPT): New make option.
14689         (bench-func): Run benchmark program with -d if DETAILED_OPT is
14690         set.
14691         * benchtests/bench-skeleton.c: Include stdbool.h.
14692         (main): Store and print timings per input.
14693         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14694         member to each argument value.
14695         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14696         (_print_arg_data): Initialize per-input timing to 0.
14698         * benchtests/Makefile (timing-type): New binary.
14699         (bench-clean): Also remove bench-timing-type.
14700         (bench): New target for timing-type.
14701         (bench-func): Print output in JSON format.
14702         * benchtests/bench-skeleton.c (main): Print output in JSON
14703         format.
14704         * benchtests/bench-timing-type.c: New file.
14705         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14706         (TIMING_PRINT_STATS): Remove.
14707         * benchtests/scripts/bench.py (_print_arg_data): Store variant
14708         name separately.
14710         * benchtests/bench-modf.c: Remove.
14711         * benchtests/modf-inputs: New inputs file.
14713 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
14715         [BZ #16362]
14716         * math/s_clog10.c (M_PI_LOG10E): New macro.
14717         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14718         imaginary parts are 0.
14719         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14720         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14721         imaginary parts are 0.
14722         * math/s_clog10l.c (M_PI_LOG10El): New macro.
14723         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14724         imaginary parts are 0.
14725         * math/libm-test.inc (clog10_test_data): Update expected results
14726         for when real and imaginary parts are 0.
14728 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
14730         * elf/dl-load.c: Finish conversion of __builtin_expect into
14731         __glibc_{un}likely.
14733 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
14735         [BZ #16348]
14736         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14737         1+x for argument with exponent below -67.
14738         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14739         Likewise.
14740         * math/auto-libm-test-in: Add more tests of exp.
14741         * math/auto-libm-test-out: Regenerated.
14743 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14745         [BZ #16759]
14746         * inet/getnetgrent_r.c (get_nonempty_val): New function.
14747         (nscd_getnetgrent): Use it.
14749         [BZ #16760]
14750         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14751         of stpcpy.
14753 2014-03-27  Andi Kleen  <ak@linux.intel.com>
14755         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14756         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14757         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14758         (lll_robust_unlock): Remove out of line section. Use cfi
14759         intrinsics.
14760         (LLL_STUB_UNWIND_INFO*): Remove.
14761         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14762         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14763         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14764         (lll_robust_unlock): Remove out of line section. Use cfi
14765         intrinsics.
14766         (LLL_STUB_UNWIND_INFO*): Remove.
14768 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14770         [BZ #16758]
14771         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14772         blank values.
14774 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14776         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14778 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
14780         [BZ #16198]
14781         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14782         fnstenv.
14783         * math/test-fenv-preserve.c: New file.
14784         * math/Makefile (tests): Add test-fenv-preserve.
14786 2014-03-26  Will Newton <will.newton@linaro.org>
14788         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14790 2014-03-25  Roland McGrath  <roland@hack.frob.com>
14792         * scripts/versionlist.awk: Partition the version sets and emit all
14793         GLIBC_* (sorted) before all others (sorted).
14795 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14797         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14798         GLIBC_2.2.5 version.
14800 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14802         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14803         calls.
14805         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14806         previous change.
14808         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14810 2014-03-25  Andreas Schwab  <schwab@suse.de>
14812         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14813         label to be used after in6ailist is initialized.
14815 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14817         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14818         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14820 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14822         [BZ #16357]
14823         [BZ #16599]
14824         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14825         min_plus_half.
14826         (fp_formats): Update initializers.
14827         (init_fp_formats): Initialize new field.
14828         (output_for_one_input_case): Allow underflow for results up to
14829         min_plus_half.
14830         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14831         * math/auto-libm-test-in: Don't mark some underflows from asin and
14832         atanh as spurious.
14833         * math/auto-libm-test-out: Regenerated.
14834         * sysdeps/i386/fpu/libm-test-ulps: Update.
14835         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14837 2014-03-25  Andreas Schwab  <schwab@suse.de>
14839         * libio/Makefile (tst-ftell-partial-wide-ENV)
14840         (tst-ftell-active-handler-ENV): Define.
14842 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14844         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14846 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14848         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14850 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14852         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14853         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14854         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14856 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14858         [BZ #16634]
14859         * elf/dl-load.c (open_verify): Add mode parameter.
14860         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14861         (open_path): Change from boolean 'secure' to complete flag 'mode'
14862         (_dl_map_object): Adjust.
14863         * elf/Makefile (tests): Add tst-dlopen-aout.
14864         * elf/tst-dlopen-aout.c: New test.
14866 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14868         [BZ #16714]
14869         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14870         (struct stat): Rename member pad0 to __glibc_reserved0.
14872         [BZ #16712]
14873         * sysdeps/s390/s390-32/bits/wordsize.h
14874         (__WORDSIZE32_SIZE_ULONG): New define.
14875         * sysdeps/s390/s390-64/bits/wordsize.h
14876         (__WORDSIZE32_SIZE_ULONG): Likewise.
14877         * sysdeps/generic/stdint.h (SIZE_MAX):
14878         Define as UL if __WORDSIZE32_SIZE_ULONG.
14880         [BZ #16713]
14881         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14882         (__glibc_reserved0): New variable.
14883         (sa_flags): Change type to int.
14885         * posix/Makefile (before-compile): Use += before-compile instead
14886         of a :=.
14888         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14889         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14891 2014-03-20  Andreas Schwab  <schwab@suse.de>
14893         [BZ #16743]
14894         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14895         non-matching result from nscd.
14897 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14899         * scripts/bench.py: Moved to ...
14900         * benchtests/scripts/bench.py: ... here.
14901         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14903 2014-03-24  Andreas Schwab  <schwab@suse.de>
14905         [BZ #16002]
14906         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14907         alloca_account and account alloca use for struct in6ailist.
14909 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14911         [BZ #16284]
14912         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14913         rounding mode to recompute results that overflow to infinity or
14914         underflow to zero.
14915         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14916         bug 16284.
14917         * math/auto-libm-test-out: Regenerated.
14918         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14919         (ccosh_test): Likewise.
14920         (csin_test_data): Use plus_oflow.
14921         (csin_test): Use ALL_RM_TEST.
14922         (csinh_test_data): Use plus_oflow.
14923         (csinh_test): Use ALL_RM_TEST.
14924         * sysdeps/i386/fpu/libm-test-ulps: Update.
14925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14927 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14929         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14930         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14931         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14933         [BZ #16731]
14934         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14935         when x - 1 is zero.
14936         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14937         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14938         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14939         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14940         argument is 1.
14941         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14942         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14943         zero.
14944         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14945         * sysdeps/i386/fpu/libm-test-ulps: Update.
14946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14948 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14950         * scripts/bench.pl: Remove file.
14951         * scripts/bench.py: New benchmark script.
14952         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14953         * benchtests/README: Mention python dependency.
14954         * scripts/pylintrc: New file.
14955         * scripts/pylint: New file.
14957         * bits/mathdef.h: Use #ifdef instead of #if.
14958         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14959         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14960         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14961         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14962         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14963         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14965 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14966             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14968         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14970         and strpbrk-ppc64 objects.
14971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14972         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14973         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14974         multiarch strpbrk for POWER7.
14975         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14976         multiarch strpbrk for PPC64.
14977         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14978         ifunc selector.
14979         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14980         strpbrk for POWER7.
14982 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14984         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14985         (atan_test): Likewise.
14986         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14987         (atanh_test): Use ALL_RM_TEST.
14988         (atan2_test_data): Likewise.
14989         (cabs_test): Likewise.
14990         (cacosh_test): Likewise.
14991         (carg_test): Likewise.
14992         (casin_test): Likewise.
14993         (casinh_test): Likewise.
14994         (cbrt_test): Likewise.
14995         (csqrt_test): Likewise.
14996         (erf_test): Likewise.
14997         (erfc_test): Likewise.
14998         (pow10_test): Likewise.
14999         (exp2_test): Likewise.
15000         (hypot_test): Likewise.
15001         (j0_test): Likewise.
15002         (j1_test): Likewise.
15003         (lgamma_test): Likewise.
15004         (gamma_test): Likewise.
15005         (sincos_test): Likewise.
15006         (tanh_test): Likewise.
15007         (y0_test): Likewise.
15008         (y1_test): Likewise.
15009         * sysdeps/i386/fpu/libm-test-ulps: Update.
15010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15012 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15014         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
15015         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
15016         and strcspn-ppc64 objects.
15017         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
15018         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
15019         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
15020         multiarch strcspn for POWER7.
15021         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
15022         multiarch strcspn for PPC64.
15023         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
15024         ifunc selector.
15025         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
15026         strcspn for POWER7.
15028 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
15030         * math/gen-libm-test.pl (generate_testfile): Expect only function
15031         name as argument to AUTO_TESTS_* and pass results for all rounding
15032         modes to parse_args.
15033         (parse_auto_input): Separate inputs of automatic tests from
15034         outputs before storing in %auto_tests.
15035         * math/libm-test.inc (acos_test_data): Update call to
15036         AUTO_TESTS_f_f.
15037         (acos_test): Use ALL_RM_TEST.
15038         (acos_tonearest_test_data): Remove.
15039         (acos_test_tonearest): Likewise.
15040         (acos_towardzero_test_data): Likewise.
15041         (acos_test_towardzero): Likewise.
15042         (acos_downward_test_data): Likewise.
15043         (acos_test_downward): Likewise.
15044         (acos_upward_test_data): Likewise.
15045         (acos_test_upward): Likewise.
15046         (acosh_test_data): Update call to AUTO_TESTS_f_f.
15047         (asin_test_data): Likewise.
15048         (asin_test): Use ALL_RM_TEST.
15049         (asin_tonearest_test_data): Remove.
15050         (asin_test_tonearest): Likewise.
15051         (asin_towardzero_test_data): Likewise.
15052         (asin_test_towardzero): Likewise.
15053         (asin_downward_test_data): Likewise.
15054         (asin_test_downward): Likewise.
15055         (asin_upward_test_data): Likewise.
15056         (asin_test_upward): Likewise.
15057         (asinh_test_data): Update call to AUTO_TESTS_f_f.
15058         (atan_test_data): Likewise.
15059         (atanh_test_data): Likewise.
15060         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
15061         (cabs_test_data): Update call to AUTO_TESTS_c_f.
15062         (carg_test_data): Likewise.
15063         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
15064         (ccos_test_data): Update call to AUTO_TESTS_c_c.
15065         (ccosh_test_data): Likewise.
15066         (cexp_test_data): Likewise.
15067         (clog_test_data): Likewise.
15068         (clog10_test_data): Likewise.
15069         (cos_test_data): Update call to AUTO_TESTS_f_f.
15070         (cos_test): Use ALL_RM_TEST.
15071         (cos_tonearest_test_data): Remove.
15072         (cos_test_tonearest): Likewise.
15073         (cos_towardzero_test_data): Likewise.
15074         (cos_test_towardzero): Likewise.
15075         (cos_downward_test_data): Likewise.
15076         (cos_test_downward): Likewise.
15077         (cos_upward_test_data): Likewise.
15078         (cos_test_upward): Likewise.
15079         (cosh_test_data): Update call to AUTO_TESTS_f_f.
15080         (cosh_test): Use ALL_RM_TEST.
15081         (cosh_tonearest_test_data): Remove.
15082         (cosh_test_tonearest): Likewise.
15083         (cosh_towardzero_test_data): Likewise.
15084         (cosh_test_towardzero): Likewise.
15085         (cosh_downward_test_data): Likewise.
15086         (cosh_test_downward): Likewise.
15087         (cosh_upward_test_data): Likewise.
15088         (cosh_test_upward): Likewise.
15089         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
15090         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
15091         (ctan_test_data): Likewise.
15092         (ctan_test): Use ALL_RM_TEST.
15093         (ctan_tonearest_test_data): Remove.
15094         (ctan_test_tonearest): Likewise.
15095         (ctan_towardzero_test_data): Likewise.
15096         (ctan_test_towardzero): Likewise.
15097         (ctan_downward_test_data): Likewise.
15098         (ctan_test_downward): Likewise.
15099         (ctan_upward_test_data): Likewise.
15100         (ctan_test_upward): Likewise.
15101         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
15102         (ctanh_test): Use ALL_RM_TEST.
15103         (ctanh_tonearest_test_data): Remove.
15104         (ctanh_test_tonearest): Likewise.
15105         (ctanh_towardzero_test_data): Likewise.
15106         (ctanh_test_towardzero): Likewise.
15107         (ctanh_downward_test_data): Likewise.
15108         (ctanh_test_downward): Likewise.
15109         (ctanh_upward_test_data): Likewise.
15110         (ctanh_test_upward): Likewise.
15111         (erf_test_data): Update call to AUTO_TESTS_f_f.
15112         (erfc_test_data): Likewise.
15113         (exp_test_data): Likewise.
15114         (exp_test): Use ALL_RM_TEST.
15115         (exp_tonearest_test_data): Remove.
15116         (exp_test_tonearest): Likewise.
15117         (exp_towardzero_test_data): Likewise.
15118         (exp_test_towardzero): Likewise.
15119         (exp_downward_test_data): Likewise.
15120         (exp_test_downward): Likewise.
15121         (exp_upward_test_data): Likewise.
15122         (exp_test_upward): Likewise.
15123         (exp10_test_data): Update call to AUTO_TESTS_f_f.
15124         (exp10_test): Use ALL_RM_TEST.
15125         (exp10_tonearest_test_data): Remove.
15126         (exp10_test_tonearest): Likewise.
15127         (exp10_towardzero_test_data): Likewise.
15128         (exp10_test_towardzero): Likewise.
15129         (exp10_downward_test_data): Likewise.
15130         (exp10_test_downward): Likewise.
15131         (exp10_upward_test_data): Likewise.
15132         (exp10_test_upward): Likewise.
15133         (exp2_test_data): Update call to AUTO_TESTS_f_f.
15134         (expm1_test_data): Likewise.
15135         (expm1_test): Use ALL_RM_TEST.
15136         (expm1_tonearest_test_data): Remove.
15137         (expm1_test_tonearest): Likewise.
15138         (expm1_towardzero_test_data): Likewise.
15139         (expm1_test_towardzero): Likewise.
15140         (expm1_downward_test_data): Likewise.
15141         (expm1_test_downward): Likewise.
15142         (expm1_upward_test_data): Likewise.
15143         (expm1_test_upward): Likewise.
15144         (fma_test_data): Update call to AUTO_TESTS_fff_f.
15145         (fma_test): Use ALL_RM_TEST.
15146         (fma_towardzero_test_data): Remove.
15147         (fma_test_towardzero): Likewise.
15148         (fma_downward_test_data): Likewise.
15149         (fma_test_downward): Likewise.
15150         (fma_upward_test_data): Likewise.
15151         (fma_test_upward): Likewise.
15152         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
15153         (j0_test_data): Update call to AUTO_TESTS_f_f.
15154         (j1_test_data): Likewise.
15155         (jn_test_data): Update call to AUTO_TESTS_if_f.
15156         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
15157         (log_test_data): Update call to AUTO_TESTS_f_f.
15158         (log10_test_data): Likewise.
15159         (log1p_test_data): Likewise.
15160         (log2_test_data): Likewise.
15161         (pow_test_data): Update call to AUTO_TESTS_ff_f.
15162         (pow_tonearest_test_data): Likewise.
15163         (sin_test_data): Update call to AUTO_TESTS_f_f.
15164         (sin_test): Use ALL_RM_TEST.
15165         (sin_tonearest_test_data): Remove.
15166         (sin_test_tonearest): Likewise.
15167         (sin_towardzero_test_data): Likewise.
15168         (sin_test_towardzero): Likewise.
15169         (sin_downward_test_data): Likewise.
15170         (sin_test_downward): Likewise.
15171         (sin_upward_test_data): Likewise.
15172         (sin_test_upward): Likewise.
15173         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
15174         (sinh_test_data): Update call to AUTO_TESTS_f_f.
15175         (sinh_test): Use ALL_RM_TEST.
15176         (sinh_tonearest_test_data): Remove.
15177         (sinh_test_tonearest): Likewise.
15178         (sinh_towardzero_test_data): Likewise.
15179         (sinh_test_towardzero): Likewise.
15180         (sinh_downward_test_data): Likewise.
15181         (sinh_test_downward): Likewise.
15182         (sinh_upward_test_data): Likewise.
15183         (sinh_test_upward): Likewise.
15184         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
15185         (sqrt_test): Use ALL_RM_TEST.
15186         (sqrt_tonearest_test_data): Remove.
15187         (sqrt_test_tonearest): Likewise.
15188         (sqrt_towardzero_test_data): Likewise.
15189         (sqrt_test_towardzero): Likewise.
15190         (sqrt_downward_test_data): Likewise.
15191         (sqrt_test_downward): Likewise.
15192         (sqrt_upward_test_data): Likewise.
15193         (sqrt_test_upward): Likewise.
15194         (tan_test_data): Update call to AUTO_TESTS_f_f.
15195         (tan_test): Use ALL_RM_TEST.
15196         (tan_tonearest_test_data): Remove.
15197         (tan_test_tonearest): Likewise.
15198         (tan_towardzero_test_data): Likewise.
15199         (tan_test_towardzero): Likewise.
15200         (tan_downward_test_data): Likewise.
15201         (tan_test_downward): Likewise.
15202         (tan_upward_test_data): Likewise.
15203         (tan_test_upward): Likewise.
15204         (tanh_test_data): Update call to AUTO_TESTS_f_f.
15205         (tgamma_test_data): Likewise.
15206         (y0_test_data): Likewise.
15207         (y1_test_data): Likewise.
15208         (yn_test_data): Update call to AUTO_TESTS_if_f.
15209         (main): Do not call removed functions.
15211 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15213         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
15214         (ldexp_test_data): Remove.
15215         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
15216         scalbn_test_data.
15217         (scalb_test): Use ALL_RM_TEST.
15219 2014-03-19  Andreas Schwab  <schwab@suse.de>
15221         * nscd/nscd.service: Also invalidate netgroup cache on reload.
15223 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
15225         [BZ #16649]
15226         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15227         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
15228         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
15229         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15230         (__ASSUME_PREADV): Undefine.
15231         (__ASSUME_PWRITEV): Likewise.
15233 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15235         * bits/mman-linux.h: Add comment about non-Linux use.
15236         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
15237         bits/mman-linux.h resting place.
15239         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
15240         * bits/mman-linux.h: ... here.
15242 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15244         * conform/conformtest.pl: Add standard definition when calling C
15245         preprocessor on data files.
15246         (checknamespace): Remove unused variable.
15248 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15250         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
15251         minus_oflow, plus_uflow and minus_uflow in expected results.
15252         * math/libm-test.inc (scalbn_test_data): Add more tests of
15253         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
15254         minus_uflow.
15255         (scalbn_test): Use ALL_RM_TEST.
15256         (scalbln_test_data): Add more tests of negative arguments.  Use
15257         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15258         (scalbln_test): Use ALL_RM_TEST.
15260 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15262         * scripts/abilist.awk: Ignore symbols marked with .hidden.
15264 2014-03-18  Will Newton  <will.newton@linaro.org>
15266         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15267         inaccurate comment.
15269 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15271         * Makerules [!subdir] (check-abi): Exit with error status if a
15272         test failed.
15274 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
15276         * math/libm-test.inc (nearbyint_test_data): Include all tests used
15277         for rint.  Include results for all rounding modes.
15278         (nearbyint_test): Use ALL_RM_TEST.
15279         (rint_test_data): Include all tests used for nearbyint.
15281 2014-03-17  Will Newton  <will.newton@linaro.org>
15283         * nptl/sysdeps/pthread/pthread.h: Revert previous
15284         change.
15286         * sysdeps/generic/ldsodefs.h: Revert previous
15287         change.
15289         * libio/genops.c: Revert previous change.
15290         * libio/libioP.h: Likewise.
15291         * stdio-common/vfprintf.c: Likewise.
15293         * sysdeps/generic/math_private.h: Revert previous
15294         change.
15296         * sysdeps/generic/math_private.h: Check whether
15297         HAVE_RM_CTX is defined with #ifdef rather
15298         than #if.
15300         * argp/argp-fmtstream.h: Check whether
15301         __STRICT_ANSI__ is defined with #ifdef rather
15302         than #if.
15303         * argp/argp.h: Likewise.
15305         * libio/genops.c: Check whether
15306         _IO_JUMPS_OFFSET is defined with #ifdef rather
15307         than #if.
15308         * libio/libioP.h: Likewise.
15309         * stdio-common/vfprintf.c: Likewise.
15311         * sysdeps/generic/ldsodefs.h: Check whether
15312         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15313         than #if.
15315         * nptl/sysdeps/pthread/pthread.h: Check
15316         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15317         its value.
15319 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15321         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15322         setting O_APPEND.
15323         * libio/tst-ftell-active-handler.c (do_append_test): Add a
15324         test case.
15326         [BZ #16680]
15327         * libio/fileops.c (_IO_file_open): Seek to end of file but
15328         don't cache the offset.
15329         (get_file_offset): Remove function.
15330         (do_ftell): Use cached offset when available.
15331         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15332         don't cache the offset.
15333         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15334         case.
15335         (do_one_test): Call it.
15336         (do_ftell_test): Fix up expected old offset for a+ mode.
15337         * libio/wfileops.c (do_ftell_wide): Used cached offset when
15338         available.
15340         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15341         up test status with function return status.
15342         (do_write_test): Likewise.
15343         (do_append_test): Likewise.
15345         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15346         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15347         Remove.
15349 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
15351         * math/gen-libm-test.pl (parse_args): Handle results specified for
15352         each rounding mode separately.
15353         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15354         tests and results from lrint_tonearest_test_data,
15355         lrint_towardzero_test_data, lrint_downward_test_data and
15356         lrint_upward_test_data.
15357         (lrint_test): Use ALL_RM_TEST.
15358         (lrint_tonearest_test_data): Remove.
15359         (lrint_test_tonearest): Likewise.
15360         (lrint_towardzero_test_data): Likewise.
15361         (lrint_test_towardzero): Likewise.
15362         (lrint_downward_test_data): Likewise.
15363         (lrint_test_downward): Likewise.
15364         (lrint_upward_test_data): Likewise.
15365         (lrint_test_upward): Likewise.
15366         (llrint_test_data): Merge in per-rounding-mode tests and results
15367         from llrint_tonearest_test_data, llrint_towardzero_test_data,
15368         llrint_downward_test_data and llrint_upward_test_data.
15369         (llrint_test): Use ALL_RM_TEST.
15370         (llrint_tonearest_test_data): Remove.
15371         (llrint_test_tonearest): Likewise.
15372         (llrint_towardzero_test_data): Likewise.
15373         (llrint_test_towardzero): Likewise.
15374         (llrint_downward_test_data): Likewise.
15375         (llrint_test_downward): Likewise.
15376         (llrint_upward_test_data): Likewise.
15377         (llrint_test_upward): Likewise.
15378         (rint_test_data): Merge in per-rounding-mode tests and results
15379         from rint_tonearest_test_data, rint_towardzero_test_data,
15380         rint_downward_test_data and rint_upward_test_data.  Add
15381         per-rounding-mode results for tests not in those arrays.
15382         (rint_test): Use ALL_RM_TEST.
15383         (rint_tonearest_test_data): Remove.
15384         (rint_test_tonearest): Likewise.
15385         (rint_towardzero_test_data): Likewise.
15386         (rint_test_towardzero): Likewise.
15387         (rint_downward_test_data): Likewise.
15388         (rint_test_downward): Likewise.
15389         (rint_upward_test_data): Likewise.
15390         (rint_test_upward): Likewise.
15391         (main): Don't call removed functions.
15393 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15395         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15396         "Compiled on ..." crapola.  It is anti-useful.
15398 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
15400         * scripts/evaluate-test.sh: Handle fourth argument to determine
15401         whether test run should stop on failure.
15402         * Makeconfig (stop-on-test-failure): New variable.
15403         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15404         $(stop-on-test-failure).
15405         * Makefile (tests): Give a summary of results from testing and
15406         exit with failure status if they include an ERROR or FAIL.
15407         (xtests): Likewise.
15408         * manual/install.texi (Configuring and compiling): Mention
15409         stop-on-test-failure=y.
15410         * INSTALL: Regenerated.
15412 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15414         * scripts/versionlist.awk: New file.
15415         * Makerules [$(build-shared) = yes]
15416         (postclean-generated): Add Versions.def, not Versions.def.v and
15417         Versions.def.v.i.
15418         ($(common-objpfx)Versions.def.v.i): Target removed.
15419         ($(common-objpfx)Versions.def): New target.
15420         ($(common-objpfx)Versions.all): Depend on that rather that
15421         $(common-objpfx)Versions.def.v.
15422         * Versions.def: File removed.
15424         * Makeconfig (+gccwarn): Add -Wundef.
15425         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15426         a dl-sysdep.h breaking its contract.
15427         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15428         * include/stackinfo.h: New file.
15429         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15430         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15431         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15432         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15433         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15434         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15435         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15436         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15437         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15438         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15439         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15440         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15441         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15442         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15443         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15445 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15447         [BZ #16707]
15448         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15449         implementation.
15450         * math/libm-test.inc (round_test_data): Add more tests.
15452         [BZ #16706]
15453         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15454         implementation.
15455         * math/libm-test.inc (nearbyint_test_data): Add more tests.
15457         [BZ #16701]
15458         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15459         implementation.
15460         * math/libm-test.inc (ceil_test_data): Add more tests.
15462         * math/libm-test.inc (trunc_test_data): Add more tests related to
15463         BZ#16414.
15465 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15467         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15468         with #if rather than #ifdef.
15469         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15471 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
15473         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15474         first.  Disable AVX-512 GCC support if assembler doesn't support
15475         it.
15476         * sysdeps/x86_64/configure: Regenerated.
15478 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
15480         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15481         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15482         (__old_pthread_attr_setstack): Likewise.
15483         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15484         [!_STACK_GROWS_DOWN]: Likewise.
15486 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
15488         * config.make.in (have-bash2): Delete.
15489         * configure.ac (libc_cv_have_bash2): Delete.
15490         * configure: Regenerate.
15491         * elf/Makefile (common-ldd-rewrite): Rename to ...
15492         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
15493         (sh-ldd-rewrite): Delete.
15494         (bash-ldd-rewrite): Delete.
15495         (have-bash2): Delete checks.
15496         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15497         ldd-rewrite.
15499         * config.make.in (have-ksh): Delete.
15500         (KSH): Delete.
15501         * configure.ac (libc_cv_have_ksh): Delete.
15502         * configure: Regenerate.
15504         * elf/Makefile: Delete $(have-ksh) check.
15505         ($(objpfx)sotruss): Change KSH to BASH.
15506         * elf/sotruss.ksh: Rename to ...
15507         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
15508         function style to match POSIX.  Drop ksh vim mode setting.
15510         * manual/time.texi (Specifying the Time Zone with TZ): Change
15511         Tuesday to Thursday.
15513         * debug/tst-longjmp_chk2.c: Update header comment.
15514         (stackoverflow_handler): Add comment.  Call assert on pass value.
15516 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
15518         [BZ #16194]
15519         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15520         (HAVE_AVX512_ASM_SUPPORT): Likewise.
15521         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15522         (La_x86_64_vector): Add zmm.
15523         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15524         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15525         ($(objpfx)tst-audit10): New target.
15526         ($(objpfx)tst-audit10.out): Likewise.
15527         (tst-audit10-ENV): New.
15528         (AVX512-CFLAGS): Likewise.
15529         (CFLAGS-tst-audit10.c): Likewise.
15530         (CFLAGS-tst-auditmod10a.c): Likewise.
15531         (CFLAGS-tst-auditmod10b.c): Likewise.
15532         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15533         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15534         * sysdeps/x86_64/configure: Regenerated.
15535         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15536         AVX-512 zmm register support.
15537         (_dl_x86_64_save_sse): Likewise.
15538         (_dl_x86_64_restore_sse): Likewise.
15539         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15540         size vector registers.
15541         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15542         (ZMM_SIZE): Likewise.
15543         * sysdeps/x86_64/tst-audit10.c: New file.
15544         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15545         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15547 2014-03-13  Roland McGrath  <roland@hack.frob.com>
15549         * configure.ac (HAVE_EHDR_START): New check.
15550         * configure: Regenerated.
15551         * config.h.in (HAVE_EHDR_START): New #undef.
15552         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15553         assuming the lowest-addressed segment maps the start of the file.
15555 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
15557         * INSTALL: Regenerated.
15559 2014-03-13  Will Newton  <will.newton@linaro.org>
15561         * manual/setjmp.texi (System V contexts): Improve
15562         clarity and grammar of documentation.
15564 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15566         [BZ #16381]
15567         * elf/Makefile (tests): Add tst-pie2.
15568         (tests-pie): Add tst-pie2.
15569         * elf/tst-pie2.c: New file.
15570         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15571         for ET_EXEC.
15572         * elf/rtld.c (map_doit): Load executable as lt_executable.
15573         (dl_main): Likewise.
15575 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
15577         [BZ #16642]
15578         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15579         (__ASSUME_PSELECT): Undefine.
15581 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15583         [BZ #16689]
15584         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15585         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15586         static build.
15587         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15588         selector for static builds.
15590 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15592         [BZ #16695]
15593         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15594         key in the buffer.
15596 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15598         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15599         IFUNC selector for static builds.
15601 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
15603         * sysdeps/mips/math_private.h [__mips_hard_float]
15604         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15605         libc_feresetround_mips_ctx.
15606         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15607         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15608         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15610         [BZ #16677]
15611         * math/s_nextafter.c (__nextafter): Do not return value from
15612         overflowing computation.
15613         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15614         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15615         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15616         Likewise.
15617         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15618         Likewise.
15619         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15620         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15622 2014-03-11  Roland McGrath  <roland@hack.frob.com>
15624         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15625         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15626         Move sfi_sp use from the load-multiple (that no longer sets sp) to
15627         the new mov targetting sp.
15629 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15631         [BZ #16683]
15632         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15633         Define it for static builds as well.
15634         (NO_BZERO_IMPL): Likewise.
15636 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15638         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15639         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15640         multiarch strspn for PPC64.
15641         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15642         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15643         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15644         (__libc_ifunc_impl_list): Likewise.
15645         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15646         multiarch optimizations
15647         * string/strspn.c (strspn): Using macro to redefine symbol name.
15649 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15650             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15652         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15653         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15654         multiarch strncat for PPC64.
15655         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15656         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15657         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15658         (__libc_ifunc_impl_list): Likewise.
15659         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15660         multiarch optimizations
15662 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15664         [BZ #16639]
15665         * nscd/nscd.service: Make service type forking.
15667 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15669         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15670         sign in non default rounding modes.
15671         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15673 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
15675         * math/libm-test.inc (ALL_RM_TEST): New macro.
15676         (ceil_test): Use ALL_RM_TEST.
15677         (cimag_test): Likewise.
15678         (conj_test): Likewise.
15679         (copysign_test): Likewise.
15680         (cproj_test): Likewise.
15681         (creal_test): Likewise.
15682         (fabs_test): Likewise.
15683         (floor_test): Likewise.
15684         (fmax_test): Likewise.
15685         (fmin_test): Likewise.
15686         (fmod_test): Likewise.
15687         (fpclassify_test): Likewise.
15688         (frexp_test): Likewise.
15689         (ilogb_test): Likewise.
15690         (isfinite_test): Likewise.
15691         (finite_test): Likewise.
15692         (isgreater_test): Likewise.
15693         (isgreaterequal_test): Likewise.
15694         (isinf_test): Likewise.
15695         (isless_test): Likewise.
15696         (islessequal_test): Likewise.
15697         (islessgreater_test): Likewise.
15698         (isnan_test): Likewise.
15699         (isnormal_test): Likewise.
15700         (issignaling_test): Likewise.
15701         (isunordered_test): Likewise.
15702         (logb_test): Likewise.
15703         (logb_downward_test_data): Remove.
15704         (logb_test_downward): Likewise.
15705         (lround_test): Use ALL_RM_TEST.
15706         (llround_test): Likewise.
15707         (modf_test): Likewise.
15708         (nexttoward_test): Likewise.
15709         (remainder_test): Likewise.
15710         (drem_test): Likewise.
15711         (remainder_tonearest_test_data): Likewise.
15712         (remainder_test_tonearest): Likewise.
15713         (drem_test_tonearest): Likewise.
15714         (remainder_towardzero_test_data): Likewise.
15715         (remainder_test_towardzero): Likewise.
15716         (drem_test_towardzero): Likewise.
15717         (remainder_downward_test_data): Likewise.
15718         (remainder_test_downward): Likewise.
15719         (drem_test_downward): Likewise.
15720         (remainder_upward_test_data): Likewise.
15721         (remainder_test_upward): Likewise.
15722         (drem_test_upward): Likewise.
15723         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
15724         (round_test): Use ALL_RM_TEST.
15725         (signbit_test): Likewise.
15726         (trunc_test): Likewise.
15727         (significand_test): Likewise.
15728         (main): Don't call removed functions.
15730 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15732         [BZ #16674]
15733         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15734         || __USE_XOPEN2K8].
15735         (ILL_ILLOPN): Likewise.
15736         (ILL_ILLADR): Likewise.
15737         (ILL_ILLTRP): Likewise.
15738         (ILL_PRVOPC): Likewise.
15739         (ILL_PRVREG): Likewise.
15740         (ILL_COPROC): Likewise.
15741         (ILL_BADSTK): Likewise.
15742         (FPE_INTDIV): Likewise.
15743         (FPE_INTOVF): Likewise.
15744         (FPE_FLTDIV): Likewise.
15745         (FPE_FLTOVF): Likewise.
15746         (FPE_FLTUND): Likewise.
15747         (FPE_FLTRES): Likewise.
15748         (FPE_FLTINV): Likewise.
15749         (FPE_FLTSUB): Likewise.
15750         (SEGV_MAPERR): Likewise.
15751         (SEGV_ACCERR): Likewise.
15752         (BUS_ADRALN): Likewise.
15753         (BUS_ADRERR): Likewise.
15754         (BUS_OBJERR): Likewise.
15755         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15756         (TRAP_TRACE): Likewise.
15757         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15758         __USE_XOPEN2K8].
15759         (CLD_KILLED): Likewise.
15760         (CLD_DUMPED): Likewise.
15761         (CLD_TRAPPED): Likewise.
15762         (CLD_STOPPED): Likewise.
15763         (CLD_CONTINUED): Likewise.
15764         (POLL_IN): Likewise.
15765         (POLL_OUT): Likewise.
15766         (POLL_MSG): Likewise.
15767         (POLL_ERR): Likewise.
15768         (POLL_PRI): Likewise.
15769         (POLL_HUP): Likewise.
15770         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15771         Likewise.
15772         (ILL_ILLOPN): Likewise.
15773         (ILL_ILLADR): Likewise.
15774         (ILL_ILLTRP): Likewise.
15775         (ILL_PRVOPC): Likewise.
15776         (ILL_PRVREG): Likewise.
15777         (ILL_COPROC): Likewise.
15778         (ILL_BADSTK): Likewise.
15779         (FPE_INTDIV): Likewise.
15780         (FPE_INTOVF): Likewise.
15781         (FPE_FLTDIV): Likewise.
15782         (FPE_FLTOVF): Likewise.
15783         (FPE_FLTUND): Likewise.
15784         (FPE_FLTRES): Likewise.
15785         (FPE_FLTINV): Likewise.
15786         (FPE_FLTSUB): Likewise.
15787         (SEGV_MAPERR): Likewise.
15788         (SEGV_ACCERR): Likewise.
15789         (BUS_ADRALN): Likewise.
15790         (BUS_ADRERR): Likewise.
15791         (BUS_OBJERR): Likewise.
15792         (BUS_MCEERR_AR): Likewise.
15793         (BUS_MCEERR_AO): Likewise.
15794         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15795         (TRAP_TRACE): Likewise.
15796         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15797         __USE_XOPEN2K8].
15798         (CLD_KILLED): Likewise.
15799         (CLD_DUMPED): Likewise.
15800         (CLD_TRAPPED): Likewise.
15801         (CLD_STOPPED): Likewise.
15802         (CLD_CONTINUED): Likewise.
15803         (POLL_IN): Likewise.
15804         (POLL_OUT): Likewise.
15805         (POLL_MSG): Likewise.
15806         (POLL_ERR): Likewise.
15807         (POLL_PRI): Likewise.
15808         (POLL_HUP): Likewise.
15809         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15810         (ILL_ILLOPN): Likewise.
15811         (ILL_ILLADR): Likewise.
15812         (ILL_ILLTRP): Likewise.
15813         (ILL_PRVOPC): Likewise.
15814         (ILL_PRVREG): Likewise.
15815         (ILL_COPROC): Likewise.
15816         (ILL_BADSTK): Likewise.
15817         (FPE_INTDIV): Likewise.
15818         (FPE_INTOVF): Likewise.
15819         (FPE_FLTDIV): Likewise.
15820         (FPE_FLTOVF): Likewise.
15821         (FPE_FLTUND): Likewise.
15822         (FPE_FLTRES): Likewise.
15823         (FPE_FLTINV): Likewise.
15824         (FPE_FLTSUB): Likewise.
15825         (SEGV_MAPERR): Likewise.
15826         (SEGV_ACCERR): Likewise.
15827         (BUS_ADRALN): Likewise.
15828         (BUS_ADRERR): Likewise.
15829         (BUS_OBJERR): Likewise.
15830         (BUS_MCEERR_AR): Likewise.
15831         (BUS_MCEERR_AO): Likewise.
15832         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15833         (TRAP_TRACE): Likewise.
15834         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15835         __USE_XOPEN2K8].
15836         (CLD_KILLED): Likewise.
15837         (CLD_DUMPED): Likewise.
15838         (CLD_TRAPPED): Likewise.
15839         (CLD_STOPPED): Likewise.
15840         (CLD_CONTINUED): Likewise.
15841         (POLL_IN): Likewise.
15842         (POLL_OUT): Likewise.
15843         (POLL_MSG): Likewise.
15844         (POLL_ERR): Likewise.
15845         (POLL_PRI): Likewise.
15846         (POLL_HUP): Likewise.
15847         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15848         Likewise.
15849         (ILL_ILLOPN): Likewise.
15850         (ILL_ILLADR): Likewise.
15851         (ILL_ILLTRP): Likewise.
15852         (ILL_PRVOPC): Likewise.
15853         (ILL_PRVREG): Likewise.
15854         (ILL_COPROC): Likewise.
15855         (ILL_BADSTK): Likewise.
15856         (ILL_BADIADDR): Likewise.
15857         (ILL_BREAK): Likewise.
15858         (FPE_INTDIV): Likewise.
15859         (FPE_INTOVF): Likewise.
15860         (FPE_FLTDIV): Likewise.
15861         (FPE_FLTOVF): Likewise.
15862         (FPE_FLTUND): Likewise.
15863         (FPE_FLTRES): Likewise.
15864         (FPE_FLTINV): Likewise.
15865         (FPE_FLTSUB): Likewise.
15866         (FPE_DECOVF): Likewise.
15867         (FPE_DECDIV): Likewise.
15868         (FPE_DECERR): Likewise.
15869         (FPE_INVASC): Likewise.
15870         (FPE_INVDEC): Likewise.
15871         (SEGV_MAPERR): Likewise.
15872         (SEGV_ACCERR): Likewise.
15873         (SEGV_PSTKOVF): Likewise.
15874         (BUS_ADRALN): Likewise.
15875         (BUS_ADRERR): Likewise.
15876         (BUS_OBJERR): Likewise.
15877         (BUS_MCEERR_AR): Likewise.
15878         (BUS_MCEERR_AO): Likewise.
15879         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15880         (TRAP_TRACE): Likewise.
15881         (TRAP_BRANCH): Likewise.
15882         (TRAP_HWBKPT): Likewise.
15883         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15884         __USE_XOPEN2K8].
15885         (CLD_KILLED): Likewise.
15886         (CLD_DUMPED): Likewise.
15887         (CLD_TRAPPED): Likewise.
15888         (CLD_STOPPED): Likewise.
15889         (CLD_CONTINUED): Likewise.
15890         (POLL_IN): Likewise.
15891         (POLL_OUT): Likewise.
15892         (POLL_MSG): Likewise.
15893         (POLL_ERR): Likewise.
15894         (POLL_PRI): Likewise.
15895         (POLL_HUP): Likewise.
15896         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15897         (ILL_ILLOPN): Likewise.
15898         (ILL_ILLADR): Likewise.
15899         (ILL_ILLTRP): Likewise.
15900         (ILL_PRVOPC): Likewise.
15901         (ILL_PRVREG): Likewise.
15902         (ILL_COPROC): Likewise.
15903         (ILL_BADSTK): Likewise.
15904         (FPE_INTDIV): Likewise.
15905         (FPE_INTOVF): Likewise.
15906         (FPE_FLTDIV): Likewise.
15907         (FPE_FLTOVF): Likewise.
15908         (FPE_FLTUND): Likewise.
15909         (FPE_FLTRES): Likewise.
15910         (FPE_FLTINV): Likewise.
15911         (FPE_FLTSUB): Likewise.
15912         (SEGV_MAPERR): Likewise.
15913         (SEGV_ACCERR): Likewise.
15914         (BUS_ADRALN): Likewise.
15915         (BUS_ADRERR): Likewise.
15916         (BUS_OBJERR): Likewise.
15917         (BUS_MCEERR_AR): Likewise.
15918         (BUS_MCEERR_AO): Likewise.
15919         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15920         (TRAP_TRACE): Likewise.
15921         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15922         __USE_XOPEN2K8].
15923         (CLD_KILLED): Likewise.
15924         (CLD_DUMPED): Likewise.
15925         (CLD_TRAPPED): Likewise.
15926         (CLD_STOPPED): Likewise.
15927         (CLD_CONTINUED): Likewise.
15928         (POLL_IN): Likewise.
15929         (POLL_OUT): Likewise.
15930         (POLL_MSG): Likewise.
15931         (POLL_ERR): Likewise.
15932         (POLL_PRI): Likewise.
15933         (POLL_HUP): Likewise.
15934         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15935         (ILL_ILLOPN): Likewise.
15936         (ILL_ILLADR): Likewise.
15937         (ILL_ILLTRP): Likewise.
15938         (ILL_PRVOPC): Likewise.
15939         (ILL_PRVREG): Likewise.
15940         (ILL_COPROC): Likewise.
15941         (ILL_BADSTK): Likewise.
15942         (FPE_INTDIV): Likewise.
15943         (FPE_INTOVF): Likewise.
15944         (FPE_FLTDIV): Likewise.
15945         (FPE_FLTOVF): Likewise.
15946         (FPE_FLTUND): Likewise.
15947         (FPE_FLTRES): Likewise.
15948         (FPE_FLTINV): Likewise.
15949         (FPE_FLTSUB): Likewise.
15950         (SEGV_MAPERR): Likewise.
15951         (SEGV_ACCERR): Likewise.
15952         (BUS_ADRALN): Likewise.
15953         (BUS_ADRERR): Likewise.
15954         (BUS_OBJERR): Likewise.
15955         (BUS_MCEERR_AR): Likewise.
15956         (BUS_MCEERR_AO): Likewise.
15957         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15958         (TRAP_TRACE): Likewise.
15959         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15960         __USE_XOPEN2K8].
15961         (CLD_KILLED): Likewise.
15962         (CLD_DUMPED): Likewise.
15963         (CLD_TRAPPED): Likewise.
15964         (CLD_STOPPED): Likewise.
15965         (CLD_CONTINUED): Likewise.
15966         (POLL_IN): Likewise.
15967         (POLL_OUT): Likewise.
15968         (POLL_MSG): Likewise.
15969         (POLL_ERR): Likewise.
15970         (POLL_PRI): Likewise.
15971         (POLL_HUP): Likewise.
15972         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15973         (ILL_ILLOPN): Likewise.
15974         (ILL_ILLADR): Likewise.
15975         (ILL_ILLTRP): Likewise.
15976         (ILL_PRVOPC): Likewise.
15977         (ILL_PRVREG): Likewise.
15978         (ILL_COPROC): Likewise.
15979         (ILL_BADSTK): Likewise.
15980         (FPE_INTDIV): Likewise.
15981         (FPE_INTOVF): Likewise.
15982         (FPE_FLTDIV): Likewise.
15983         (FPE_FLTOVF): Likewise.
15984         (FPE_FLTUND): Likewise.
15985         (FPE_FLTRES): Likewise.
15986         (FPE_FLTINV): Likewise.
15987         (FPE_FLTSUB): Likewise.
15988         (SEGV_MAPERR): Likewise.
15989         (SEGV_ACCERR): Likewise.
15990         (BUS_ADRALN): Likewise.
15991         (BUS_ADRERR): Likewise.
15992         (BUS_OBJERR): Likewise.
15993         (BUS_MCEERR_AR): Likewise.
15994         (BUS_MCEERR_AO): Likewise.
15995         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15996         (TRAP_TRACE): Likewise.
15997         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15998         __USE_XOPEN2K8].
15999         (CLD_KILLED): Likewise.
16000         (CLD_DUMPED): Likewise.
16001         (CLD_TRAPPED): Likewise.
16002         (CLD_STOPPED): Likewise.
16003         (CLD_CONTINUED): Likewise.
16004         (POLL_IN): Likewise.
16005         (POLL_OUT): Likewise.
16006         (POLL_MSG): Likewise.
16007         (POLL_ERR): Likewise.
16008         (POLL_PRI): Likewise.
16009         (POLL_HUP): Likewise.
16010         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
16011         (ILL_ILLOPN): Likewise.
16012         (ILL_ILLADR): Likewise.
16013         (ILL_ILLTRP): Likewise.
16014         (ILL_PRVOPC): Likewise.
16015         (ILL_PRVREG): Likewise.
16016         (ILL_COPROC): Likewise.
16017         (ILL_BADSTK): Likewise.
16018         (ILL_DBLFLT): Likewise.
16019         (ILL_HARDWALL): Likewise.
16020         (FPE_INTDIV): Likewise.
16021         (FPE_INTOVF): Likewise.
16022         (FPE_FLTDIV): Likewise.
16023         (FPE_FLTOVF): Likewise.
16024         (FPE_FLTUND): Likewise.
16025         (FPE_FLTRES): Likewise.
16026         (FPE_FLTINV): Likewise.
16027         (FPE_FLTSUB): Likewise.
16028         (SEGV_MAPERR): Likewise.
16029         (SEGV_ACCERR): Likewise.
16030         (BUS_ADRALN): Likewise.
16031         (BUS_ADRERR): Likewise.
16032         (BUS_OBJERR): Likewise.
16033         (BUS_MCEERR_AR): Likewise.
16034         (BUS_MCEERR_AO): Likewise.
16035         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16036         (TRAP_TRACE): Likewise.
16037         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16038         __USE_XOPEN2K8].
16039         (CLD_KILLED): Likewise.
16040         (CLD_DUMPED): Likewise.
16041         (CLD_TRAPPED): Likewise.
16042         (CLD_STOPPED): Likewise.
16043         (CLD_CONTINUED): Likewise.
16044         (POLL_IN): Likewise.
16045         (POLL_OUT): Likewise.
16046         (POLL_MSG): Likewise.
16047         (POLL_ERR): Likewise.
16048         (POLL_PRI): Likewise.
16049         (POLL_HUP): Likewise.
16050         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
16051         (ILL_ILLOPN): Likewise.
16052         (ILL_ILLADR): Likewise.
16053         (ILL_ILLTRP): Likewise.
16054         (ILL_PRVOPC): Likewise.
16055         (ILL_PRVREG): Likewise.
16056         (ILL_COPROC): Likewise.
16057         (ILL_BADSTK): Likewise.
16058         (FPE_INTDIV): Likewise.
16059         (FPE_INTOVF): Likewise.
16060         (FPE_FLTDIV): Likewise.
16061         (FPE_FLTOVF): Likewise.
16062         (FPE_FLTUND): Likewise.
16063         (FPE_FLTRES): Likewise.
16064         (FPE_FLTINV): Likewise.
16065         (FPE_FLTSUB): Likewise.
16066         (SEGV_MAPERR): Likewise.
16067         (SEGV_ACCERR): Likewise.
16068         (BUS_ADRALN): Likewise.
16069         (BUS_ADRERR): Likewise.
16070         (BUS_OBJERR): Likewise.
16071         (BUS_MCEERR_AR): Likewise.
16072         (BUS_MCEERR_AO): Likewise.
16073         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
16074         (TRAP_TRACE): Likewise.
16075         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
16076         __USE_XOPEN2K8].
16077         (CLD_KILLED): Likewise.
16078         (CLD_DUMPED): Likewise.
16079         (CLD_TRAPPED): Likewise.
16080         (CLD_STOPPED): Likewise.
16081         (CLD_CONTINUED): Likewise.
16082         (POLL_IN): Likewise.
16083         (POLL_OUT): Likewise.
16084         (POLL_MSG): Likewise.
16085         (POLL_ERR): Likewise.
16086         (POLL_PRI): Likewise.
16087         (POLL_HUP): Likewise.
16088         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
16089         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16091         [BZ #16670]
16092         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
16093         before #include of <time.h>.
16094         [!__USE_XOPEN2K] (__need_timespec): Likewise.
16095         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
16096         (test-xfail-UNIX98/sched.h/conform): Likewise.
16098 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
16100         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
16101         error absence of trapping exception support.
16102         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
16104 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
16106         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
16107         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
16108         * timezone/Makefile (testdata): Move definition above include of
16109         Rules.
16110         (test-zones): New variable.
16111         (tests-special): Add zone files.
16112         (build-testdata): Use $(evaluate-test).
16114         * elf/Makefile (tests-special): Rename tests to end with .out.
16115         ($(objpfx)noload-mem): Likewise.
16116         ($(objpfx)tst-leaks1-mem): Likewise.
16117         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
16118         * iconv/Makefile (xtests-special): Change test-iconvconfig to
16119         $(objpfx)test-iconvconfig.out.
16120         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
16121         set -e inside subshell and redirect output to file.
16122         * iconvdata/Makefile (generated): Rename tests to end with .out.
16123         Correct type.
16124         (tests-special): Rename tests to end with .out.
16125         ($(objpfx)mtrace-tst-loading): Likewise.
16126         * intl/Makefile (generated): Likewise.
16127         (tests-special): Likewise.
16128         ($(objpfx)mtrace-tst-gettext): Likewise.
16129         * misc/Makefile (generated): Likewise.
16130         (tests-special): Likewise.
16131         ($(objpfx)tst-error1-mem): Likewise.
16132         * nptl/Makefile (tests-special): Likewise.
16133         ($(objpfx)tst-stack3-mem): Likewise.
16134         (generated): Likewise.
16135         * posix/Makefile (generated): Likewise.
16136         (tests-special): Likewise.
16137         (xtests-special): Likewise.
16138         ($(objpfx)tst-fnmatch-mem): Likewise.
16139         ($(objpfx)bug-regex2-mem): Likewise.
16140         ($(objpfx)bug-regex14-mem): Likewise.
16141         ($(objpfx)bug-regex21-mem): Likewise.
16142         ($(objpfx)bug-regex31-mem): Likewise.
16143         ($(objpfx)tst-vfork3-mem): Likewise.
16144         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
16145         ($(objpfx)tst-pcre-mem): Likewise.
16146         ($(objpfx)tst-boost-mem): Likewise.
16147         ($(objpfx)bug-ga2-mem): Likewise.
16148         ($(objpfx)bug-glob2-mem): Likewise.
16149         * resolv/Makefile (generate): Likewise.
16150         (tests-special): Likewise.
16151         (xtests-special): Likewise.
16152         (generated): Likewise.
16153         ($(objpfx)mtrace-tst-leaks): Likewise.
16154         ($(objpfx)mtrace-tst-leaks2): Likewise.
16156         * scripts/merge-test-results.sh: New file.
16157         * Makefile (tests-special-notdir): New variable.
16158         (tests): Run merge-test-results.sh.
16159         (xtests): Likewise.
16160         * Rules (tests-special-notdir): New variable.
16161         (xtests-special-notdir): Likewise.
16162         (tests): Run merge-test-results.sh
16163         (xtests): Likewise.
16165         * Makeconfig (test-xfail-name): New variable.
16166         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
16167         compute variable name for expected failures.
16168         * conform/Makefile (conformtest-headers-data): New variable.
16169         (conformtest-standards): Likewise.
16170         (conformtest-headers-ISO): Likewise.
16171         (conformtest-headers-ISO99): Likewise.
16172         (conformtest-headers-ISO11): Likewise.
16173         (conformtest-headers-POSIX): Likewise.
16174         (conformtest-headers-XPG3): Likewise.
16175         (conformtest-headers-XPG4): Likewise.
16176         (conformtest-headers-UNIX98): Likewise.
16177         (conformtest-headers-XOPEN2K): Likewise.
16178         (conformtest-headers-POSIX2008): Likewise.
16179         (conformtest-headers-XOPEN2K8): Likewise.
16180         (conformtest-header-list-base): Likewise.
16181         (conformtest-header-list-tests): Likewise.
16182         (conformtest-header-base): Likewise.
16183         (conformtest-header-tests): Likewise.
16184         (tests-special): Add $(conformtest-header-list-tests).  If
16185         [$(fast-check) && !$(cross-compiling)], add
16186         $(conformtest-header-tests) instead of
16187         $(objpfx)run-conformtest.out.
16188         (generated): Add $(conformtest-header-list-base).  If
16189         [$(fast-check) && !$(cross-compiling)], add
16190         $(conformtest-header-base).  Remove previous setting.
16191         ($(conformtest-header-list-tests)): New target.
16192         (test-xfail-run-conformtest): Remove variable.
16193         ($(objpfx)run-conformtest.out): Remove target.
16194         (test-xfail-ISO11/complex.h/conform): New variable.
16195         (test-xfail-ISO11/stdalign.h/conform): Likewise.
16196         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
16197         (test-xfail-XPG3/varargs.h/conform): Likewise.
16198         (test-xfail-XPG4/varargs.h/conform): Likewise.
16199         (test-xfail-UNIX98/varargs.h/conform): Likewise.
16200         (test-xfail-XPG4/ndbm.h/conform): Likewise.
16201         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
16202         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
16203         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
16204         (test-xfail-XPG3/fcntl.h/conform): Likewise.
16205         (test-xfail-XPG3/ftw.h/conform): Likewise.
16206         (test-xfail-XPG3/grp.h/conform): Likewise.
16207         (test-xfail-XPG3/langinfo.h/conform): Likewise.
16208         (test-xfail-XPG3/limits.h/conform): Likewise.
16209         (test-xfail-XPG3/pwd.h/conform): Likewise.
16210         (test-xfail-XPG3/search.h/conform): Likewise.
16211         (test-xfail-XPG3/signal.h/conform): Likewise.
16212         (test-xfail-XPG3/stdio.h/conform): Likewise.
16213         (test-xfail-XPG3/stdlib.h/conform): Likewise.
16214         (test-xfail-XPG3/string.h/conform): Likewise.
16215         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
16216         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
16217         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
16218         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
16219         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
16220         (test-xfail-XPG3/sys/types.h/conform): Likewise.
16221         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
16222         (test-xfail-XPG3/termios.h/conform): Likewise.
16223         (test-xfail-XPG3/time.h/conform): Likewise.
16224         (test-xfail-XPG3/unistd.h/conform): Likewise.
16225         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
16226         (test-xfail-XPG4/fcntl.h/conform): Likewise.
16227         (test-xfail-XPG4/langinfo.h/conform): Likewise.
16228         (test-xfail-XPG4/netdb.h/conform): Likewise.
16229         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
16230         (test-xfail-XPG4/signal.h/conform): Likewise.
16231         (test-xfail-XPG4/stdio.h/conform): Likewise.
16232         (test-xfail-XPG4/stdlib.h/conform): Likewise.
16233         (test-xfail-XPG4/stropts.h/conform): Likewise.
16234         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
16235         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
16236         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
16237         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
16238         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
16239         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
16240         (test-xfail-XPG4/sys/time.h/conform): Likewise.
16241         (test-xfail-XPG4/sys/types.h/conform): Likewise.
16242         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
16243         (test-xfail-XPG4/termios.h/conform): Likewise.
16244         (test-xfail-XPG4/ucontext.h/conform): Likewise.
16245         (test-xfail-XPG4/unistd.h/conform): Likewise.
16246         (test-xfail-XPG4/utmpx.h/conform): Likewise.
16247         (test-xfail-POSIX/sched.h/conform): Likewise.
16248         (test-xfail-POSIX/signal.h/conform): Likewise.
16249         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
16250         (test-xfail-POSIX/tar.h/conform): Likewise.
16251         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
16252         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
16253         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
16254         (test-xfail-UNIX98/netdb.h/conform): Likewise.
16255         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16256         (test-xfail-UNIX98/sched.h/conform): Likewise.
16257         (test-xfail-UNIX98/signal.h/conform): Likewise.
16258         (test-xfail-UNIX98/stdio.h/conform): Likewise.
16259         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16260         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16261         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16262         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16263         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16264         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16265         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16266         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16267         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16268         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16269         (test-xfail-UNIX98/unistd.h/conform): Likewise.
16270         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16271         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16272         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16273         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16274         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16275         (test-xfail-XOPEN2K/math.h/conform): Likewise.
16276         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16277         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16278         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16279         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16280         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16281         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16282         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16283         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16284         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16285         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16286         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16287         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16288         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16289         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16290         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16291         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16292         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16293         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16294         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16295         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16296         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16297         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16298         (test-xfail-POSIX2008/signal.h/conform): Likewise.
16299         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16300         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16301         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16302         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16303         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16304         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16305         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16306         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16307         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16308         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16309         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16310         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16311         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16312         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16313         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16314         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16315         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16316         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16317         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16318         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16319         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16320         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16321         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16322         (conformtest-cc-flags): Likewise.
16323         ($(conformtest-header-tests): New target.
16324         * conform/check-header-lists.sh: New file.
16325         * conform/run-conformtest.sh: Remove.
16327         * conform/conformtest.pl: Allow ' and \ in values given for
16328         constants.
16329         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16330         inclusion.
16331         [POSIX] (sys/types.h): Likewise.
16332         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16333         inclusion.
16334         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16335         inclusion.
16336         * conform/data/signal.h-data (SIGIO): Remove expectation.
16337         [XPG3] (SIGBUS): Do not expect.
16338         [POSIX || XPG3] (SIGPOLL): Likewise.
16339         [POSIX || XPG3] (SIGPROF): Likewise.
16340         [POSIX || XPG3] (SIGSYS): Likewise.
16341         [XPG3] (SIGTRAP): Likewise.
16342         [POSIX || XPG3] (SIGURG): Likewise.
16343         [POSIX || XPG3] (SIGVTALRM): Likewise.
16344         [POSIX || XPG3] (SIGXCPU): Likewise.
16345         [POSIX || XPG3] (SIGXFSZ): Likewise.
16346         [POSIX] (SA_SIGINFO): Expect.
16347         [XPG3] (siginfo_t): Do not expect type or contents.
16348         [POSIX] (si_pid): Do not expect element.
16349         [POSIX] (si_uid): Likewise.
16350         [POSIX] (si_addr): Likewise.
16351         [POSIX] (si_status): Likewise.
16352         [POSIX] (si_band): Likewise.
16353         [XPG4] (si_value): Likewise.
16354         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16355         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16356         [POSIX || XPG3] (ILL_ILLADR): Likewise.
16357         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16358         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16359         [POSIX || XPG3] (ILL_PRVREG): Likewise.
16360         [POSIX || XPG3] (ILL_COPROC): Likewise.
16361         [POSIX || XPG3] (ILL_BADSTK): Likewise.
16362         [POSIX || XPG3] (FPE_INTDIV): Likewise.
16363         [POSIX || XPG3] (FPE_INTOVF): Likewise.
16364         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16365         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16366         [POSIX || XPG3] (FPE_FLTUND): Likewise.
16367         [POSIX || XPG3] (FPE_FLTRES): Likewise.
16368         [POSIX || XPG3] (FPE_FLTINV): Likewise.
16369         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16370         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16371         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16372         [POSIX || XPG3] (BUS_ADRALN): Likewise.
16373         [POSIX || XPG3] (BUS_ADRERR): Likewise.
16374         [POSIX || XPG3] (BUS_OBJERR): Likewise.
16375         [POSIX || XPG3] (CLD_EXITED): Likewise.
16376         [POSIX || XPG3] (CLD_KILLED): Likewise.
16377         [POSIX || XPG3] (CLD_DUMPED): Likewise.
16378         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16379         [POSIX || XPG3] (CLD_STOPPED): Likewise.
16380         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16381         [POSIX || XPG3] (POLL_IN): Likewise.
16382         [POSIX || XPG3] (POLL_OUT): Likewise.
16383         [POSIX || XPG3] (POLL_MSG): Likewise.
16384         [POSIX || XPG3] (POLL_ERR): Likewise.
16385         [POSIX || XPG3] (POLL_PRI): Likewise.
16386         [POSIX || XPG3] (POLL_HUP): Likewise.
16387         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16388         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16389         (SIG*): Do not allow.
16390         [XPG3] (si_*): Likewise.
16391         [XPG3] (SI_*): Likewise.
16392         [XPG3 || XPG4] (sigev_*): Likewise.
16393         [XPG3 || XPG4] (SIGEV_*): Likewise.
16394         [XPG3 || XPG4] (sival_*): Likewise.
16395         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16396         [POSIX || XPG3] (BUS_*): Likewise.
16397         [POSIX || XPG3] (CLD_*): Likewise.
16398         [POSIX || XPG3] (FPE_*): Likewise.
16399         [POSIX || XPG3] (ILL_*): Likewise.
16400         [POSIX || XPG3] (POLL_*): Likewise.
16401         [POSIX || XPG3] (SEGV_*): Likewise.
16402         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16403         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16404         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16405         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16406         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16407         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16408         Specify type and value.
16409         (TVERSLEN): Likewise.
16410         (REGTYPE): Likewise.
16411         (AREGTYPE): Likewise.
16412         (LNKTYPE): Likewise.
16413         (SYMTYPE): Likewise.
16414         (CHRTYPE): Likewise.
16415         (BLKTYPE): Likewise.
16416         (DIRTYPE): Likewise.
16417         (FIFOTYPE): Likewise.
16418         (CONTTYPE): Likewise.
16419         (TSUID): Likewise.
16420         (TSGID): Likewise.
16421         (TSVTX): Likewise.
16422         (TUREAD): Likewise.
16423         (TUWRITE): Likewise.
16424         (TUEXEC): Likewise.
16425         (TGREAD): Likewise.
16426         (TGWRITE): Likewise.
16427         (TGEXEC): Likewise.
16428         (TOREAD): Likewise.
16429         (TOWRITE): Likewise.
16430         (TOEXEC): Likewise.
16431         [POSIX] (TSVTX): Expect constant.
16433 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
16435         * Makefile (tests): Change dependencies to ....
16436         (tests-special): ... additions to this variable.
16437         (tests): Depend on $(tests-special).
16438         * Makerules (check-abi-list): New variable.
16439         (check-abi): Depend on $(check-abi-list).
16440         [$(subdir) = elf] (tests-special): Add
16441         $(objpfx)check-abi-libc.out.
16442         [$(build-shared) = yes && subdir] (tests-special): Add
16443         $(check-abi-list).
16444         [$(build-shared) = yes && subdir] (tests): Do not depend on
16445         check-abi.
16446         * Rules (tests): Depend on $(tests-special).
16447         (xtests): Depend on $(xtests-special).
16448         * catgets/Makefile (tests): Change dependencies to ....
16449         (tests-special): ... additions to this variable.
16450         * conform/Makefile (tests): Change dependencies to ....
16451         (tests-special): ... additions to this variable.
16452         * elf/Makefile (tests): Change dependencies to ....
16453         (tests-special): ... additions to this variable.
16454         * grp/Makefile (tests): Change dependencies to ....
16455         (tests-special): ... additions to this variable.
16456         * iconv/Makefile (xtests): Change dependencies to ....
16457         (xtests-special): ... additions to this variable.
16458         * iconvdata/Makefile (tests): Change dependencies to ....
16459         (tests-special): ... additions to this variable.
16460         * intl/Makefile (tests): Change dependencies to ....
16461         (tests-special): ... additions to this variable.  Also add
16462         $(objpfx)tst-gettext.out.
16463         * io/Makefile (tests): Change dependencies to ....
16464         (tests-special): ... additions to this variable.
16465         * libio/Makefile (tests): Change dependencies to ....
16466         (tests-special): ... additions to this variable.
16467         * malloc/Makefile (tests): Change dependencies to ....
16468         (tests-special): ... additions to this variable.
16469         * misc/Makefile (tests): Change dependencies to ....
16470         (tests-special): ... additions to this variable.
16471         * nptl/Makefile (tests): Change dependencies to ....
16472         (tests-special): ... additions to this variable.
16473         * nptl_db/Makefile (tests): Change dependencies to ....
16474         (tests-special): ... additions to this variable.
16475         * posix/Makefile (tests): Change dependencies to ....
16476         (tests-special): ... additions to this variable.
16477         (xtests): Change dependencies to ....
16478         (xtests-special): ... additions to this variable.
16479         * resolv/Makefile (tests): Change dependencies to ....
16480         (tests-special): ... additions to this variable.
16481         (xtests): Change dependencies to ....
16482         (xtests-special): ... additions to this variable.
16483         * stdio-common/Makefile (tests): Change dependencies to ....
16484         (tests-special): ... additions to this variable.
16485         (do-tst-unbputc): Remove target.
16486         (do-tst-printf): Likewise.
16487         * stdlib/Makefile (tests): Change dependencies to ....
16488         (tests-special): ... additions to this variable.
16489         * string/Makefile (tests): Change dependencies to ....
16490         (tests-special): ... additions to this variable.
16491         * sysdeps/x86/Makefile (tests): Change dependencies to ....
16492         (tests-special): ... additions to this variable.
16494         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16495         whole file.
16496         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16497         whole file.
16498         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16499         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16501         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16502         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16503         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16504         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16505         * conform/data/libgen.h-data [XPG3]: Likewise.
16506         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16507         * conform/data/ndbm.h-data [XPG3]: Likewise.
16508         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16509         * conform/data/netdb.h-data [XPG3]: Likewise.
16510         * conform/data/netinet/in.h-data [XPG3]: Likewise.
16511         * conform/data/poll.h-data [XPG3]: Likewise.
16512         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16513         * conform/data/strings.h-data [XPG3]: Likewise.
16514         * conform/data/stropts.h-data [XPG3]: Likewise.
16515         * conform/data/sys/mman.h-data [XPG3]: Likewise.
16516         * conform/data/sys/resource.h-data [XPG3]: Likewise.
16517         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16518         Likewise.
16519         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16520         * conform/data/sys/time.h-data [XPG3]: Likewise.
16521         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16522         * conform/data/sys/uio.h-data [XPG3]: Likewise.
16523         * conform/data/sys/un.h-data [XPG3]: Likewise.
16524         * conform/data/syslog.h-data [XPG3]: Likewise.
16525         * conform/data/ucontext.h-data [XPG3]: Likewise.
16526         * conform/data/utmpx.h-data [XPG3]: Likewise.
16527         * conform/data/varargs.h-data [UNIX98]: Enable file.
16529         * manual/Makefile (INSTALL_INFO): Remove variable setting.
16531         * math/libm-test.inc (struct test_f_f_data): Move expected results
16532         into structure for each rounding mode.
16533         (struct test_ff_f_data): Likewise.
16534         (struct test_ff_f_data_nexttoward): Likewise.
16535         (struct test_fi_f_data): Likewise.
16536         (struct test_fl_f_data): Likewise.
16537         (struct test_if_f_data): Likewise.
16538         (struct test_fff_f_data): Likewise.
16539         (struct test_c_f_data): Likewise.
16540         (struct test_f_f1_data): Likewise.
16541         (struct test_fF_f1_data): Likewise.
16542         (struct test_ffI_f1_data): Likewise.
16543         (struct test_c_c_data): Likewise.
16544         (struct test_cc_c_data): Likewise.
16545         (struct test_f_i_data): Likewise.
16546         (struct test_ff_i_data): Likewise.
16547         (struct test_f_l_data): Likewise.
16548         (struct test_f_L_data): Likewise.
16549         (struct test_fFF_11_data): Likewise.
16550         (RM_): New macro.
16551         (RM_FE_DOWNWARD): Likewise.
16552         (RM_FE_TONEAREST): Likewise.
16553         (RM_FE_TOWARDZERO): Likewise.
16554         (RM_FE_UPWARD): Likewise.
16555         (RUN_TEST_LOOP_f_f): Update references to expected results.
16556         (RUN_TEST_LOOP_2_f): Likewise.
16557         (RUN_TEST_LOOP_fff_f): Likewise.
16558         (RUN_TEST_LOOP_c_f): Likewise.
16559         (RUN_TEST_LOOP_f_f1): Likewise.
16560         (RUN_TEST_LOOP_fF_f1): Likewise.
16561         (RUN_TEST_LOOP_fI_f1): Likewise.
16562         (RUN_TEST_LOOP_ffI_f1): Likewise.
16563         (RUN_TEST_LOOP_c_c): Likewise.
16564         (RUN_TEST_LOOP_cc_c): Likewise.
16565         (RUN_TEST_LOOP_f_i): Likewise.
16566         (RUN_TEST_LOOP_f_i_tg): Likewise.
16567         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16568         (RUN_TEST_LOOP_f_b): Likewise.
16569         (RUN_TEST_LOOP_f_b_tg): Likewise.
16570         (RUN_TEST_LOOP_f_l): Likewise.
16571         (RUN_TEST_LOOP_f_L): Likewise.
16572         (RUN_TEST_LOOP_fFF_11): Likewise.
16573         * math/gen-libm-test.pl (parse_args): Output four copies of
16574         expected results for each test.
16576         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16577         (__ASSUME_UTIMES): Remove.
16578         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16579         (__ASSUME_UTIMES): Likewise.
16581         * math/gen-auto-libm-tests.c: Update comment on output format.
16582         (output_for_one_input_case): Generate before-rounding and
16583         after-rounding information as conditions on output flags not
16584         floating-point format.
16585         * math/auto-libm-test-out: Regenerated.
16586         * math/gen-libm-test.pl (cond_value): New function.
16587         (or_cond_value): Use cond_value.
16588         (generate_testfile): Handle conditional exceptions.
16590 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
16592         * math/libm-test.inc (max_valid_error): New variable.
16593         (init_max_error): Take new argument specifying whether function
16594         results are exactly determined.  Set max_valid_error and bound
16595         other variables for errors based on this argument.
16596         (set_max_error): Do not record results above max_valid_error.
16597         (check_float_internal): Only accept errors of up to 0.5ulps if
16598         also at most max_valid_error.
16599         (START): Take new argument EXACT and pass it to init_max_error.
16600         (acos_test): Update call to START.
16601         (acos_test_tonearest): Likewise.
16602         (acos_test_towardzero): Likewise.
16603         (acos_test_downward): Likewise.
16604         (acos_test_upward): Likewise.
16605         (acosh_test): Likewise.
16606         (asin_test): Likewise.
16607         (asin_test_tonearest): Likewise.
16608         (asin_test_towardzero): Likewise.
16609         (asin_test_downward): Likewise.
16610         (asin_test_upward): Likewise.
16611         (asinh_test): Likewise.
16612         (atan_test): Likewise.
16613         (atanh_test): Likewise.
16614         (atan2_test): Likewise.
16615         (cabs_test): Likewise.
16616         (cacos_test): Likewise.
16617         (cacosh_test): Likewise.
16618         (carg_test): Likewise.
16619         (casin_test): Likewise.
16620         (casinh_test): Likewise.
16621         (catan_test): Likewise.
16622         (catanh_test): Likewise.
16623         (cbrt_test): Likewise.
16624         (ccos_test): Likewise.
16625         (ccosh_test): Likewise.
16626         (ceil_test): Likewise.
16627         (cexp_test): Likewise.
16628         (cimag_test): Likewise.
16629         (clog_test): Likewise.
16630         (clog10_test): Likewise.
16631         (conj_test): Likewise.
16632         (copysign_test): Likewise.
16633         (cos_test): Likewise.
16634         (cos_test_tonearest): Likewise.
16635         (cos_test_towardzero): Likewise.
16636         (cos_test_downward): Likewise.
16637         (cos_test_upward): Likewise.
16638         (cosh_test): Likewise.
16639         (cosh_test_tonearest): Likewise.
16640         (cosh_test_towardzero): Likewise.
16641         (cosh_test_downward): Likewise.
16642         (cosh_test_upward): Likewise.
16643         (cpow_test): Likewise.
16644         (cproj_test): Likewise.
16645         (creal_test): Likewise.
16646         (csin_test): Likewise.
16647         (csinh_test): Likewise.
16648         (csqrt_test): Likewise.
16649         (ctan_test): Likewise.
16650         (ctan_test_tonearest): Likewise.
16651         (ctan_test_towardzero): Likewise.
16652         (ctan_test_downward): Likewise.
16653         (ctan_test_upward): Likewise.
16654         (ctanh_test): Likewise.
16655         (ctanh_test_tonearest): Likewise.
16656         (ctanh_test_towardzero): Likewise.
16657         (ctanh_test_downward): Likewise.
16658         (ctanh_test_upward): Likewise.
16659         (erf_test): Likewise.
16660         (erfc_test): Likewise.
16661         (exp_test): Likewise.
16662         (exp_test_tonearest): Likewise.
16663         (exp_test_towardzero): Likewise.
16664         (exp_test_downward): Likewise.
16665         (exp_test_upward): Likewise.
16666         (exp10_test): Likewise.
16667         (exp10_test_tonearest): Likewise.
16668         (exp10_test_towardzero): Likewise.
16669         (exp10_test_downward): Likewise.
16670         (exp10_test_upward): Likewise.
16671         (pow10_test): Likewise.
16672         (exp2_test): Likewise.
16673         (expm1_test): Likewise.
16674         (expm1_test_tonearest): Likewise.
16675         (expm1_test_towardzero): Likewise.
16676         (expm1_test_downward): Likewise.
16677         (expm1_test_upward): Likewise.
16678         (fabs_test): Likewise.
16679         (fdim_test): Likewise.
16680         (floor_test): Likewise.
16681         (fma_test): Likewise.
16682         (fma_test_towardzero): Likewise.
16683         (fma_test_downward): Likewise.
16684         (fma_test_upward): Likewise.
16685         (fmax_test): Likewise.
16686         (fmin_test): Likewise.
16687         (fmod_test): Likewise.
16688         (fpclassify_test): Likewise.
16689         (frexp_test): Likewise.
16690         (hypot_test): Likewise.
16691         (ilogb_test): Likewise.
16692         (isfinite_test): Likewise.
16693         (finite_test): Likewise.
16694         (isgreater_test): Likewise.
16695         (isgreaterequal_test): Likewise.
16696         (isinf_test): Likewise.
16697         (isless_test): Likewise.
16698         (islessequal_test): Likewise.
16699         (islessgreater_test): Likewise.
16700         (isnan_test): Likewise.
16701         (isnormal_test): Likewise.
16702         (issignaling_test): Likewise.
16703         (isunordered_test): Likewise.
16704         (j0_test): Likewise.
16705         (j1_test): Likewise.
16706         (jn_test): Likewise.
16707         (ldexp_test): Likewise.
16708         (lgamma_test): Likewise.
16709         (gamma_test): Likewise.
16710         (lrint_test): Likewise.
16711         (lrint_test_tonearest): Likewise.
16712         (lrint_test_towardzero): Likewise.
16713         (lrint_test_downward): Likewise.
16714         (lrint_test_upward): Likewise.
16715         (llrint_test): Likewise.
16716         (llrint_test_tonearest): Likewise.
16717         (llrint_test_towardzero): Likewise.
16718         (llrint_test_downward): Likewise.
16719         (llrint_test_upward): Likewise.
16720         (log_test): Likewise.
16721         (log10_test): Likewise.
16722         (log1p_test): Likewise.
16723         (log2_test): Likewise.
16724         (logb_test): Likewise.
16725         (logb_test_downward): Likewise.
16726         (lround_test): Likewise.
16727         (llround_test): Likewise.
16728         (modf_test): Likewise.
16729         (nearbyint_test): Likewise.
16730         (nextafter_test): Likewise.
16731         (nexttoward_test): Likewise.
16732         (pow_test): Likewise.
16733         (pow_test_tonearest): Likewise.
16734         (pow_test_towardzero): Likewise.
16735         (pow_test_downward): Likewise.
16736         (pow_test_upward): Likewise.
16737         (remainder_test): Likewise.
16738         (drem_test): Likewise.
16739         (remainder_test_tonearest): Likewise.
16740         (drem_test_tonearest): Likewise.
16741         (remainder_test_towardzero): Likewise.
16742         (drem_test_towardzero): Likewise.
16743         (remainder_test_downward): Likewise.
16744         (drem_test_downward): Likewise.
16745         (remainder_test_upward): Likewise.
16746         (drem_test_upward): Likewise.
16747         (remquo_test): Likewise.
16748         (rint_test): Likewise.
16749         (rint_test_tonearest): Likewise.
16750         (rint_test_towardzero): Likewise.
16751         (rint_test_downward): Likewise.
16752         (rint_test_upward): Likewise.
16753         (round_test): Likewise.
16754         (scalb_test): Likewise.
16755         (scalbn_test): Likewise.
16756         (scalbln_test): Likewise.
16757         (signbit_test): Likewise.
16758         (sin_test): Likewise.
16759         (sin_test_tonearest): Likewise.
16760         (sin_test_towardzero): Likewise.
16761         (sin_test_downward): Likewise.
16762         (sin_test_upward): Likewise.
16763         (sincos_test): Likewise.
16764         (sinh_test): Likewise.
16765         (sinh_test_tonearest): Likewise.
16766         (sinh_test_towardzero): Likewise.
16767         (sinh_test_downward): Likewise.
16768         (sinh_test_upward): Likewise.
16769         (sqrt_test): Likewise.
16770         (sqrt_test_tonearest): Likewise.
16771         (sqrt_test_towardzero): Likewise.
16772         (sqrt_test_downward): Likewise.
16773         (sqrt_test_upward): Likewise.
16774         (tan_test): Likewise.
16775         (tan_test_tonearest): Likewise.
16776         (tan_test_towardzero): Likewise.
16777         (tan_test_downward): Likewise.
16778         (tan_test_upward): Likewise.
16779         (tanh_test): Likewise.
16780         (tgamma_test): Likewise.
16781         (trunc_test): Likewise.
16782         (y0_test): Likewise.
16783         (y1_test): Likewise.
16784         (yn_test): Likewise.
16785         (significand_test): Likewise.
16787         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16788         individual tests in comment.
16789         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16790         (prev_max_error): New variable.
16791         (prev_real_max_error): Likewise.
16792         (prev_imag_max_error): Likewise.
16793         (compare_ulp_data): Don't refer to test names in comment.
16794         (find_test_ulps): Remove function.
16795         (find_function_ulps): Likewise.
16796         (find_complex_function_ulps): Likewise.
16797         (init_max_error): Take function name as argument.  Look up ulps
16798         for that function.
16799         (print_ulps): Remove function.
16800         (print_max_error): Use prev_max_error instead of calling
16801         find_function_ulps.
16802         (print_complex_max_error): Use prev_real_max_error and
16803         prev_imag_max_error instead of calling find_complex_function_ulps.
16804         (check_float_internal): Take max_ulp parameter instead of calling
16805         find_test_ulps.  Don't call print_ulps.
16806         (check_float): Update call to check_float_internal.
16807         (check_complex): Update calls to check_float_internal.
16808         (START): Pass argument to init_max_error.
16809         * math/gen-libm-test.pl (%results): Don't include "kind"
16810         information.
16811         (parse_ulps): Don't handle ulps of individual tests.
16812         (print_ulps_file): Likewise.
16813         (output_ulps): Likewise.
16814         * math/README.libm-test: Update.
16815         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16816         individual tests.
16817         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16818         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16819         * sysdeps/arm/libm-test-ulps: Likewise.
16820         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16821         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16822         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16823         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16824         * sysdeps/microblaze/libm-test-ulps: Likewise.
16825         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16826         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16827         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16828         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16829         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16830         * sysdeps/sh/libm-test-ulps: Likewise.
16831         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16832         * sysdeps/tile/libm-test-ulps: Likewise.
16833         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16835 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16837         * math/libm-test.inc (print_complex_max_error): Check separately
16838         whether real and imaginary errors are within allowed range and
16839         pass 0 to print_complex_function_ulps instead of value within
16840         allowed range.
16842 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16844         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16845         formatting.
16846         (get_handles_fopen): Likewise.
16847         (do_write_test): Likewise.
16849         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16851         * libio/fileops.c (do_ftell): Use cached offset when
16852         available.
16853         * libio/iofwide.c (do_ftell_wide): Likewise.
16854         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16855         _IO_file_attach.
16856         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16858         [BZ #16532]
16859         * libio/libioP.h (get_file_offset): New function.
16860         * libio/fileops.c (get_file_offset): Likewise.
16861         (do_ftell): Likewise.
16862         (_IO_new_file_seekoff): Split out ftell logic.
16863         * libio/wfileops.c (do_ftell_wide): Likewise.
16864         (_IO_wfile_seekoff): Split out ftell logic.
16865         * libio/tst-ftell-active-handler.c: New test case.
16866         * libio/Makefile (tests): Add it.
16868 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16870         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16871         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16873 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16875         [BZ #16639]
16876         * nscd/connections.c (nscd_init): Call do_exit.
16877         (start_threads): Call do_exit and notify_parent.
16878         (begin_drop_privileges): Call do_exit.
16879         (finish_drop_privileges): Likewise.
16880         * nscd/selinux.c (preserve_capabilities): Likewise.
16881         (install_real_capabilities): Likewise.
16882         (nscd_selinux_enabled): Likewise.
16883         (avc_create_thread): Likewise.
16884         (avc_alloc_lock): Likewise.
16885         (nscd_avc_init): Likewise.
16886         * nscd/nscd.c (parent_fd): New static variable.
16887         (main): Create a pipe between parent and child processes.
16888         Skip closing parent_fd.
16889         (monitor_child): New function.
16890         (do_exit): Likewise.
16891         (notify_parent): Likewise.
16892         * nscd/nscd.h (notify_parent): Likewise.
16893         (do_exit): Likewise.
16895 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16897         * malloc/malloc.c (__libc_calloc): Revert last change.
16899 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16901         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16903 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16905         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16906         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16907         implementation.
16908         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16909         (__libc_ifunc_impl_list): Likewise.
16910         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16911         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16912         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16913         * string/strrchr.c: Define STRRCHR.
16915 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16917         * benchtest/bench-strtok.c (simple_strtok): Delete.
16918         (strtok_string): Use as benchmark.
16919         * string/strtok (STRTOK): New macro.
16921 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16923         * manual/threads.texi: Add header and standard comments to all
16924         functions.
16926         * elf/dl-lookup.c (check_match): New function.
16927         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16928         (do_lookup_x): Remove nested function check_match. Use non-nested
16929         function check_match.
16931 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16933         * csu/Makefile (generated, before-compile): Use += rather than =.
16934         * catgets/Makefile (generated, generated-dirs): Likewise.
16935         * debug/Makefile (generated): Likewise.
16936         * dlfcn/Makefile (generated): Likewise.
16937         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16938         * iconvdata/Makefile (before-compile, generated): Likewise.
16939         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16940         * libio/Makefile (generated): Likewise.
16941         * malloc/Makefile (generated): Likewise.
16942         * manual/Makefile (generated, generated-dirs): Likewise.
16943         * misc/Makefile (generated): Likewise.
16944         * posix/Makefile (generated): Likewise.
16945         * resolv/Makefile (generated): Likewise.
16946         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16947         * timezone/Makefile (generated, generated-dirs): Likewise.
16949         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16951 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16953         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16954         power8 implementation.
16955         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16956         file: POWER8 llround ifunc implementation.
16957         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16958         (__lllround): Add POWER8 implementation.
16959         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16960         POWER8 llround implementation.
16962         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16963         power8 implementation.
16964         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16965         file: POWER8 llrint ifunc implementation.
16966         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16967         Add POWER8 implementation.
16968         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16969         POWER8 llrint implementation.
16971         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16972         power8 implementation.
16973         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16974         file: POWER8 finite ifunc implementation.
16975         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16976         Add POWER8 implementation.
16977         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16978         Likewise.
16979         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16980         POWER8 finite implementation.
16981         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16983         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16984         power8 implementation.
16985         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16986         file: POWER8 isinf ifunc implementation.
16987         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16988         POWER8 implementation.
16989         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16990         Likewise.
16991         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16992         isinf implementation.
16993         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16995         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16996         (INIT_ARCH): Add hwcap2 initialization.
16997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16998         power8 implementation.
16999         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
17000         file: POWER8 isnan ifunc implementation.
17001         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
17002         POWER8 implementation.
17003         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
17004         Likewise.
17005         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
17006         isnan implementation.
17007         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
17009 2014-02-27  Joey Ye  <joey.ye@arm.com>
17011         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
17012         (_FP_NANFRAC_Q): Set to zero.
17014 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
17016         [BZ #16623]
17017         * math/auto-libm-test-in: New test inputs.
17018         * math/auto-libm-test-out: Regenerate.
17019         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
17020         and DA.
17021         (__cos): Likewise.
17022         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17024 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
17026         * scripts/evaluate-test.sh: Take new argument indicating whether
17027         failure is expected.
17028         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
17029         indicating whether failure is expected.
17030         * conform/Makefile (test-xfail-run-conformtest): New variable.
17031         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
17032         level.
17033         * posix/Makefile (test-xfail-annexc): New variable.
17034         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
17036 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
17038         * argp/Makefile: Include Makeconfig immediately after defining
17039         subdir.
17040         * assert/Makefile: Likewise.
17041         * benchtests/Makefile: Likewise.
17042         * catgets/Makefile: Likewise.
17043         * conform/Makefile: Likewise.
17044         * crypt/Makefile: Likewise.
17045         * csu/Makefile: Likewise.
17046         (all): Remove target.
17047         * ctype/Makefile: Include Makeconfig immediately after defining
17048         subdir.
17049         * debug/Makefile: Likewise.
17050         * dirent/Makefile: Likewise.
17051         * dlfcn/Makefile: Likewise.
17052         * gmon/Makefile: Likewise.
17053         * gnulib/Makefile: Likewise.
17054         * grp/Makefile: Likewise.
17055         * gshadow/Makefile: Likewise.
17056         * hesiod/Makefile: Likewise.
17057         * hurd/Makefile: Likewise.
17058         (all): Remove target.
17059         * iconvdata/Makefile: Include Makeconfig immediately after
17060         defining subdir.
17061         * inet/Makefile: Likewise.
17062         * intl/Makefile: Likewise.
17063         * io/Makefile: Likewise.
17064         * libio/Makefile: Likewise.
17065         (all): Remove target.
17066         * locale/Makefile: Include Makeconfig immediately after defining
17067         subdir.
17068         * login/Makefile: Likewise.
17069         * mach/Makefile: Likewise.
17070         (all): Remove target.
17071         * malloc/Makefile: Include Makeconfig immediately after defining
17072         subdir.
17073         (all): Remove target.
17074         * manual/Makefile: Include Makeconfig immediately after defining
17075         subdir.
17076         * math/Makefile: Likewise.
17077         * misc/Makefile: Likewise.
17078         * nis/Makefile: Likewise.
17079         * nss/Makefile: Likewise.
17080         * po/Makefile: Likewise.
17081         (all): Remove target.
17082         * posix/Makefile: Include Makeconfig immediately after defining
17083         subdir.
17084         * pwd/Makefile: Likewise.
17085         * resolv/Makefile: Likewise.
17086         * resource/Makefile: Likewise.
17087         * rt/Makefile: Likewise.
17088         * setjmp/Makefile: Likewise.
17089         * shadow/Makefile: Likewise.
17090         * signal/Makefile: Likewise.
17091         * socket/Makefile: Likewise.
17092         * soft-fp/Makefile: Likewise.
17093         * stdio-common/Makefile: Likewise.
17094         * stdlib/Makefile: Likewise.
17095         * streams/Makefile: Likewise.
17096         * string/Makefile: Likewise.
17097         * sunrpc/Makefile: Likewise.
17098         (all): Remove target.
17099         * sysvipc/Makefile: Include Makeconfig immediately after defining
17100         subdir.
17101         * termios/Makefile: Likewise.
17102         * time/Makefile: Likewise.
17103         * timezone/Makefile: Likewise.
17104         (all): Remove target.
17105         * wcsmbs/Makefile: Include Makeconfig immediately after defining
17106         subdir.
17107         * wctype/Makefile: Likewise.
17109 2014-02-26  Steve Ellcey  <sellcey@mips.com>
17111         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
17112         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
17113         (libc_feholdexcept_setround_mips): Ditto.
17114         (libc_feholdsetround): New.
17115         (libc_feholdsetroundf): New.
17116         (libc_feholdsetroundl): New.
17117         (libc_feupdateenv_test_mips): New.
17118         (libc_feupdateenv_test): New.
17119         (libc_feupdateenv_testf): New.
17120         (libc_feupdateenv_testl): New.
17121         (libc_feresetround): New.
17122         (libc_feresetroundf): New.
17123         (libc_feresetroundl): New.
17124         (libc_fetestexcept_mips): New.
17125         (libc_fetestexcept): New.
17126         (libc_fetestexceptf): New.
17127         (libc_fetestexceptl): New.
17128         (HAVE_RM_CTX): New.
17129         (libc_feholdexcept_setround_mips_ctx): New.
17130         (libc_feholdexcept_setround_ctx): New.
17131         (libc_feholdexcept_setroundf_ctx): New.
17132         (libc_feholdexcept_setroundl_ctx): New.
17133         (libc_fesetenv_mips_ctx): New.
17134         (libc_fesetenv_ctx): New.
17135         (libc_fesetenv_ctxf): New.
17136         (libc_fesetenv_ctxl): New.
17137         (libc_feupdateenv_mips_ctx): New.
17138         (libc_feupdateenv_ctx): New.
17139         (libc_feupdateenvf_ctx): New.
17140         (libc_feupdateenvl_ctx): New.
17141         (libc_feholdsetround_mips_ctx): New.
17142         (libc_feholdsetround_ctx): New.
17143         (libc_feholdsetroundf_ctx): New.
17144         (libc_feholdsetroundl_ctx): New.
17145         (libc_feresetround_mips_ctx): New.
17146         (libc_feresetround_ctx): New.
17147         (libc_feresetroundf_ctx): New.
17148         (libc_feresetroundl_ctx): New.
17150 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
17152         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
17154         * manual/ipc.texi: New file.
17155         * manual/Makefile (chapters): Add ipc.
17156         * manual/job.texi: Add "Inter-Process Communication" to next.
17157         * manual/process.texi: Add "Inter-Process Communication" to prev.
17159 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17161         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17163 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
17165         * malloc/malloc.c (__libc_calloc): Simplify implementation.
17167         * manual/arith.texi: Fix spaces after sentences.
17168         * manual/charset.texi: Likewise.
17169         * manual/errno.texi: Likewise.
17170         * manual/install.texi: Likewise.
17171         * manual/llio.texi: Likewise.
17172         * manual/locale.texi: Likewise.
17173         * manual/maint.texi: Likewise.
17174         * manual/math.texi: Likewise.
17175         * manual/memory.texi: Likewise.
17176         * manual/message.texi: Likewise.
17177         * manual/probes.texi: Likewise.
17178         * manual/resource.texi: Likewise.
17179         * manual/signal.texi: Likewise.
17180         * manual/socket.texi: Likewise.
17181         * manual/stdio.texi: Likewise.
17182         * manual/string.texi: Likewise.
17183         * manual/time.texi: Likewise.
17184         * manual/users.texi: Likewise.
17186 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
17188         [BZ #16632]
17189         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
17190         _DEFAULT_SOURCE is defined.
17192 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
17193             Carlos O'Donell  <carlos@redhat.com>
17195         [BZ #16613]
17196         * elf/dl-tls.c (_dl_count_modids): New function.
17197         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
17198         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
17199         audit library and increment generation counter.
17200         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
17201         * elf/tst-audit9.c: New file.
17202         * elf/tst-auditmod9a.c: New file.
17203         * elf/tst-auditmod9b.c: New file.
17204         * elf/Makefile: Add rules to build and run tst-audit9.
17206 2014-02-25  Florian Weimer  <fweimer@redhat.com>
17208         [BZ #15347]
17209         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
17211 2014-02-25  Will Newton  <will.newton@linaro.org>
17213         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
17214         (__longjmp): Restore sp and lr before restoring callee
17215         saved registers.  Add longjmp and longjmp_target
17216         SystemTap probe point.
17217         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
17218         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
17219         Define to zero to match jmpbuf layout.
17220         * sysdeps/arm/setjmp.S: Include stap-probe.h.
17221         (__sigsetjmp): Save sp and lr before saving callee
17222         saved registers.  Add setjmp SystemTap probe point.
17224 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
17226         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
17228 2014-02-24  Andreas Schwab  <schwab@suse.de>
17230         [BZ #15804]
17231         * elf/pldd.c (wait_for_ptrace_stop): New function.
17232         (main): Call it after attaching.
17234 2014-02-22  Roland McGrath  <roland@hack.frob.com>
17236         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
17237         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
17238         Versions files is now verboten.
17239         * hurd/Versions (libc: GLIBC_2.0):
17240         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
17241         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
17242         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
17243         * mach/Versions: Likewise.
17245         * csu/Versions: Remove unused %include.
17246         * resolv/Versions: Likewise.
17248 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
17250         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
17251         ($(objpfx)check-local-headers.out): Likewise.
17252         ($(objpfx)begin-end-check.out): Likewise.
17253         * Makerules (check-abi-%.out): Likewise.
17254         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17255         ($(objpfx)test2.cat): Likewise.
17256         ($(objpfx)de/libc.cat): Likewise.
17257         ($(objpfx)test-gencat.out): Likewise.
17258         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17259         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17260         ($(objpfx)noload-mem): Likewise.
17261         ($(objpfx)tst-pathopt.out): Likewise.
17262         ($(objpfx)tst-rtld-load-self.out): Likewise.
17263         ($(objpfx)tst-array1-cmp.out): Likewise.
17264         ($(objpfx)tst-array1-static-cmp.out): Likewise.
17265         ($(objpfx)tst-array2-cmp.out): Likewise.
17266         ($(objpfx)tst-array3-cmp.out): Likewise.
17267         ($(objpfx)tst-array4-cmp.out): Likewise.
17268         ($(objpfx)tst-array5-cmp.out): Likewise.
17269         ($(objpfx)tst-array5-static-cmp.out): Likewise.
17270         ($(objpfx)check-textrel.out): Likewise.
17271         ($(objpfx)check-execstack.out): Likewise.
17272         ($(objpfx)check-localplt.out): Likewise.
17273         ($(objpfx)order2-cmp.out): Likewise.
17274         ($(objpfx)tst-leaks1-mem): Likewise.
17275         ($(objpfx)tst-leaks1-static-mem): Likewise.
17276         ($(objpfx)tst-initorder-cmp.out): Likewise.
17277         ($(objpfx)tst-initorder2-cmp.out): Likewise.
17278         ($(objpfx)tst-unused-dep.out): Likewise.
17279         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17280         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17281         * iconv/Makefile (test-iconvconfig): Likewise.
17282         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17283         ($(objpfx)iconv-test.out): Likewise.
17284         ($(objpfx)tst-tables.out): Likewise.
17285         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17286         ($(objpfx)tst-gettext.out): Likewise.
17287         ($(objpfx)tst-translit.out): Likewise.
17288         ($(objpfx)tst-gettext2.out): Likewise.
17289         ($(objpfx)tst-gettext4.out): Likewise.
17290         ($(objpfx)tst-gettext6.out): Likewise.
17291         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17292         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17293         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17294         ($(objpfx)tst-fopenloc-mem.out): Likewise.
17295         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17296         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17297         * posix/Makefile ($(objpfx)globtest.out): Likewise.
17298         ($(objpfx)wordexp-tst.out): Likewise.
17299         ($(objpfx)annexc.out): Likewise.
17300         ($(objpfx)tst-fnmatch-mem): Likewise.
17301         ($(objpfx)bug-regex2-mem): Likewise.
17302         ($(objpfx)bug-regex14-mem): Likewise.
17303         ($(objpfx)bug-regex21-mem): Likewise.
17304         ($(objpfx)bug-regex31-mem): Likewise.
17305         ($(objpfx)tst-vfork3-mem): Likewise.
17306         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17307         ($(objpfx)tst-pcre-mem): Likewise.
17308         ($(objpfx)tst-boost-mem): Likewise.
17309         ($(objpfx)tst-getconf.out): Likewise.
17310         ($(objpfx)bug-ga2-mem): Likewise.
17311         ($(objpfx)bug-glob2-mem): Likewise.
17312         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17313         ($(objpfx)mtrace-tst-leaks2): Likewise.
17314         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17315         ($(objpfx)tst-printf.out): Likewise.
17316         ($(objpfx)tst-setvbuf1.out): Likewise.
17317         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17318         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17319         ($(objpfx)tst-fmtmsg.out): Likewise.
17320         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17321         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17323         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17324         * bits/sigaction.h [__USE_MISC]: Likewise.
17325         * bits/waitstatus.h: Update #endif comments.
17326         * ctype/ctype.h: Likewise.
17327         * dirent/dirent.h: Likewise.
17328         [__USE_MISC]: Remove redundant conditionals.
17329         * grp/grp.h: Update #endif comments.
17330         [__USE_GNU]: Remove redundant conditionals.
17331         [__USE_MISC]: Likewise.
17332         * inet/netinet/in.h [__USE_GNU]: Likewise.
17333         * io/sys/stat.h [__USE_MISC]: Likewise.
17334         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17335         * libio/bits/stdio.h: Update #endif comments.
17336         [__USE_MISC]: Remove redundant conditionals.
17337         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17338         * libio/stdio.h: Update #endif comments.
17339         [__USE_MISC]: Remove redundant conditionals.
17340         * math/bits/math-finite.h [__USE_MISC]: Likewise.
17341         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17342         * math/math.h: Update #else and #endif comments.
17343         [__USE_MISC]: Remove redundant conditionals.
17344         * misc/sys/uio.h: Update #endif comments.
17345         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17346         * posix/glob.h [__USE_MISC]: Likewise.
17347         * posix/sys/types.h: Update #endif comments.
17348         [__USE_MISC]: Remove redundant conditionals.
17349         * posix/sys/wait.h: Update #endif comments.
17350         [__USE_MISC]: Remove redundant conditionals.
17351         * posix/unistd.h: Update #endif comments.
17352         [__USE_MISC]: Remove redundant conditionals.
17353         * pwd/pwd.h [__USE_GNU]: Likewise.
17354         [__USE_MISC]: Likewise.
17355         * resolv/netdb.h [__USE_GNU]: Likewise.
17356         * signal/signal.h: Update #endif comments.
17357         [__USE_MISC]: Remove redundant conditionals.
17358         * stdlib/stdlib.h: Update #else and #endif comments.
17359         [__USE_MISC]: Remove redundant conditionals.
17360         [__USE_GNU]: Likewise.
17361         * string/bits/string2.h [__USE_MISC]: Likewise.
17362         * string/string.h: Update #endif comments.
17363         [__USE_MISC]: Remove redundant conditionals.
17364         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17365         Likewise.
17366         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17367         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17368         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17369         Likewise.
17370         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17371         Likewise.
17372         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17373         comments.
17374         [__USE_MISC]: Remove redundant conditionals.
17375         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17376         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17377         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17378         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17379         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17380         Likewise.
17381         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17382         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17383         Likewise.
17384         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17385         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17386         Likewise.
17387         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17388         Likewise.
17389         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17390         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17391         Likewise.
17392         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17393         Likewise.
17394         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17395         * sysdeps/x86/bits/string.h: Update #endif comments.
17396         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17397         conditionals.
17398         * time/sys/time.h: Update #endif comments.
17399         * time/time.h: Likewise.
17400         [__USE_MISC]: Remove redundant conditionals.
17402 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
17404         [BZ #16600]
17405         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17407 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
17409         * Versions.def (librt): Add GLIBC_2.17.
17411 2014-02-21  Adam Conrad  <adconrad@0c3.net>
17413         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17414         synonym for _SYS_AUXV_H to allow direct inclusion.
17415         * sysdeps/sparc/bits/hwcap.h: Likewise.
17416         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17417         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17418         * sysdeps/sparc/sysdep.h: Likewise.
17420 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17422         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17424 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17426         * benchtests/bench-strrchr.c: Print length instead of position.
17428 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
17430         [BZ #16611]
17431         * sysdeps/unix/sysv/linux/kernel-features.h
17432         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17433         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17434         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17435         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17436         Likewise.
17437         [__i386__ || __powerpc__ || __sh__ || __sparc__]
17438         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17439         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17440         (__ASSUME_SENDMMSG): Define instead of using previous
17441         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17442         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17443         (__ASSUME_SENDMMSG_SYSCALL): Define.
17444         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17445         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17446         Likewise.
17447         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17448         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17449         Likewise.
17450         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17451         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17452         Likewise.
17453         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17454         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17455         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17456         [__ASSUME_SENDMMSG]: Change conditionals to
17457         [__ASSUME_SENDMMSG_SOCKETCALL].
17458         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17459         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17460         Define.
17461         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17462         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17463         Likewise.
17464         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17465         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17466         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17467         [!__ASSUME_SENDMMSG]: Change conditional to
17468         [!__ASSUME_SENDMMSG_SOCKETCALL].
17469         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17470         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17471         Define.
17473         [BZ #16610]
17474         * sysdeps/unix/sysv/linux/kernel-features.h
17475         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17476         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17477         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17478         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17479         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17480         [__i386__ || __sparc__]
17481         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17482         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17483         (__ASSUME_RECVMMSG): Define instead of using previous
17484         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17485         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17486         (__ASSUME_RECVMMSG_SYSCALL): Define.
17487         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17488         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17489         Likewise.
17490         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17491         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17492         Likewise.
17493         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17494         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17495         Likewise.
17496         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17497         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17498         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17499         [__ASSUME_RECVMMSG]: Change condition to
17500         [__ASSUME_RECVMMSG_SOCKETCALL].
17501         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17502         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17503         Define.
17504         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17505         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17506         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17507         Likewise.
17508         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17509         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17510         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17511         [!__ASSUME_RECVMMSG]: Change condition to
17512         [!__ASSUME_RECVMMSG_SOCKETCALL].
17513         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17514         (__ASSUME_RECVMMSG_SYSCALL): Define.
17516         [BZ #16609]
17517         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17518         __powerpc__ || __s390__ || __sh__ || __sparc__]
17519         (__ASSUME_SOCKETCALL): Define.
17520         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17521         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17522         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17523         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17524         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17525         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17526         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17527         (__ASSUME_ACCEPT4): Define instead of using previous
17528         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17529         __powerpc__ || __sparc__ || __s390__)] condition.
17530         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17531         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17532         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17533         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17534         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17535         [!__ASSUME_ACCEPT4]: Change condition to
17536         [!__ASSUME_ACCEPT4_SOCKETCALL].
17537         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17538         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
17539         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17540         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17541         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17542         __ASSUME_ACCEPT4_SYSCALL.
17543         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17544         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17545         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17546         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17547         __ASSUME_ACCEPT4_SYSCALL.
17548         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17549         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17550         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17551         [__ASSUME_ACCEPT4]: Change condition to
17552         [__ASSUME_ACCEPT4_SOCKETCALL].
17553         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17554         (__ASSUME_SOCKETCALL): Define.
17555         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17556         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17557         (__ASSUME_SOCKETCALL): Define.
17558         (__ASSUME_ACCEPT4): Remove.
17559         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17560         Define.
17561         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17562         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17563         Likewise.
17564         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17565         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17567         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17568         macro.
17569         (HWCAP_ARM_LPAE): Likewise.
17570         (HWCAP_ARM_EVTSTRM): Likewise.
17571         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17572         Add vpfd32, lpae and evtstrm.
17573         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17574         Increase to 22.
17576 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
17578         * math/auto-libm-test-in: Add tests of clog10.
17579         * math/auto-libm-test-out: Regenerated.
17580         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17581         * sysdeps/i386/fpu/libm-test-ulps: Update.
17582         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17584 2014-02-18  Andreas Schwab  <schwab@suse.de>
17586         [BZ #16574]
17587         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17588         Store non-zero if the second buffer was newly allocated.
17589         (send_dg): Likewise.
17590         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17591         to send_vc and send_dg.
17592         (res_nsend): Pass NULL for ansp2_malloced.
17593         * resolv/res_query.c (__libc_res_nquery): Add parameter
17594         answerp2_malloced and pass it down to __libc_res_nsend.
17595         (res_nquery): Pass additional NULL to __libc_res_nquery.
17596         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17597         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
17598         second answer buffer if answerp2_malloced was set.
17599         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17600         (__libc_res_nquerydomain): Add parameter
17601         answerp2_malloced and pass it down to __libc_res_nquery.
17602         (res_nquerydomain): Pass additional NULL to
17603         __libc_res_nquerydomain.
17604         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17605         additional NULL to __libc_res_nsend and __libc_res_nquery.
17606         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17607         additional NULL to __libc_res_nsearch.
17608         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
17609         parameter of __libc_res_nsearch to check for separately allocated
17610         second buffer.
17611         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17612         __libc_res_nquery.
17613         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17614         additional NULL to __libc_res_nquery.
17615         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17616         __libc_res_nsearch.
17617         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17618         * include/resolv.h: Update prototypes of __libc_res_nquery,
17619         __libc_res_nsearch, __libc_res_nsend.
17621 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
17623         * math/auto-libm-test-in: Add tests of fma.
17624         * math/auto-libm-test-out: Regenerated.
17625         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17626         (fma_towardzero_test_data): Likewise.
17627         (fma_downward_test_data): Likewise.
17628         (fma_upward_test_data): Likewise.
17629         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17630         mpc_mode.
17631         (rounding_modes): Add values for new field.
17632         (func_calc_method): Add value mpfr_fff_f.
17633         (func_calc_desc): Add mpfr_fff_f union field.
17634         (test_function): Add field exact_args.
17635         (FUNC): Add macro argument EXACT_ARGS.
17636         (FUNC_mpfr_f_f): Update call to FUNC.
17637         (FUNC_mpfr_f_f): Likewise.
17638         (FUNC_mpfr_ff_f): Likewise.
17639         (FUNC_mpfr_if_f): Likewise.
17640         (FUNC_mpc_c_f): Likewise.
17641         (FUNC_mpc_c_c): Likewise.
17642         (test_functions): Add fma.  Update calls to FUNC.
17643         (handle_input_arg): Add argument exact_args.
17644         (add_test): Update call to handle_input_arg.
17645         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
17646         (output_for_one_input_case): Update call to calc_generic_results.
17647         Recalculate exact zero results in each rounding mode.
17649         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17650         non-negative before setting low bit.
17651         * math/auto-libm-test-in: Mark one asin test possibly having
17652         spurious underflow.
17653         * math/auto-libm-test-out: Regenerated.
17654         * sysdeps/i386/fpu/libm-test-ulps: Update.
17655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17657 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
17659         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17660         * sysdeps/unix/sysv/linux/microblaze: Move directory from
17661         ports/sysdeps/unix/sysv/linux/microblaze.
17662         * README: Add missing listing for microblaze*-*-linux-gnu.
17664 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
17666         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17667         duplicate code
17669 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
17671         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17672         * sysdeps/unix/sysv/linux/ia64: Move directory from
17673         ports/sysdeps/unix/sysv/linux/ia64.
17674         * README: Update listing for ia64-*-linux-gnu.
17676 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
17677             Joseph Myers  <joseph@codesourcery.com>
17679         * Makeconfig (test-name): New variable.
17680         (evaluate-test): Likewise.
17681         * Makerules (do-test-clean): Remove .test-result files.
17682         (common-mostlyclean): Likewise.
17683         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17684         * scripts/evaluate-test.sh: New file.
17686 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
17688         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17689         separate $(objpfx)tst-fopenloc-cmp.out and
17690         $(objpfx)tst-fopenloc-mem.out targets.
17691         (tests): Update dependencies.
17692         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17693         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17694         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17695         (tst-rxspencer-no-utf8-ARGS): New variable.
17696         (tst-rxspencer-no-utf8-ENV): Likewise.
17697         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17698         instead of $(objpfx)tst-rxspencer-mem.
17699         ($(objpfx)tst-rxspencer-mem): Change target to
17700         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
17701         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17702         * posix/tst-rxspencer-no-utf8.c: New file.
17704         * elf/Makefile ($(objpfx)order.out): Remove rule.
17705         [$(run-built-tests) = yes] (tests): Depend on
17706         $(objpfx)order-cmp.out.
17707         ($(objpfx)order-cmp.out): New rule.
17708         [$(run-built-tests) = yes] (tests): Depend on
17709         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17710         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17711         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17712         $(objpfx)tst-array5-static-cmp.out.
17713         ($(objpfx)tst-array1.out): Remove rule.
17714         ($(objpfx)tst-array1-cmp.out): New rule.
17715         ($(objpfx)tst-array1-static.out): Remove rule.
17716         ($(objpfx)tst-array1-static-cmp.out): New rule.
17717         ($(objpfx)tst-array2.out): Remove rule.
17718         ($(objpfx)tst-array2-cmp.out): New rule.
17719         ($(objpfx)tst-array3.out): Remove rule.
17720         ($(objpfx)tst-array3-cmp.out): New rule.
17721         ($(objpfx)tst-array4.out): Remove rule.
17722         ($(objpfx)tst-array4-cmp.out): New rule.
17723         ($(objpfx)tst-array5.out): Remove rule.
17724         ($(objpfx)tst-array5-cmp.out): New rule.
17725         ($(objpfx)tst-array5-static.out): Remove rule.
17726         ($(objpfx)tst-array5-static-cmp.out): New rule.
17727         [$(run-built-tests) = yes] (tests): Depend on
17728         $(objpfx)order2-cmp.out.
17729         ($(objpfx)order2.out): Remove rule.
17730         ($(objpfx)order2-cmp.out): New rule.
17731         ($(objpfx)tst-initorder.out): Remove rule.
17732         [$(run-built-tests) = yes] (tests): Depend on
17733         $(objpfx)tst-initorder-cmp.out.
17734         ($(objpfx)tst-initorder-cmp.out): New rule.
17735         ($(objpfx)tst-initorder2.out): Remove rule.
17736         [$(run-built-tests) = yes] (tests): Depend on
17737         $(objpfx)tst-initorder2-cmp.out.
17738         ($(objpfx)tst-initorder2-cmp.out): New rule.
17739         [$(run-built-tests) = yes] (tests): Depend on
17740         $(objpfx)tst-unused-dep-cmp.out.
17741         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17742         ($(objpfx)tst-unused-dep-cmp.out): New rule.
17743         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17744         on $(objpfx)tst-setvbuf1-cmp.out.
17745         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17746         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17747         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17748         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17749         ($(objpfx)tst-svc.out): Remove rule.
17750         ($(objpfx)tst-svc-cmp.out): New rule.
17752 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
17754         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17755         * ctype/ctype.h [__USE_MISC]: Likewise.
17756         * dirent/dirent.h [__USE_MISC]: Likewise.
17757         * grp/grp.h [__USE_MISC]: Likewise.
17758         * io/fcntl.h [__USE_MISC]: Likewise.
17759         * io/sys/stat.h [__USE_MISC]: Likewise.
17760         * libio/stdio.h [__USE_MISC]: Likewise.
17761         * posix/unistd.h [__USE_MISC]: Likewise.
17762         * pwd/pwd.h [__USE_MISC]: Likewise.
17763         * stdlib.h [__USE_MISC]: Likewise.
17764         * string/bits/string2.h [__USE_MISC]: Likewise.
17765         * string/string.h [__USE_MISC]: Likewise.
17766         * time/time.h [__USE_MISC]: Likewise.
17768 2014-02-13  Andreas Schwab  <schwab@suse.de>
17770         [BZ #16574]
17771         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17772         second answer buffer if it was separately allocated.
17774 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
17776         * sysdeps/mips/math-tests.h: Include <features.h>.
17777         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17778         (ROUNDING_TESTS_long_double): Do not define.
17779         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17780         (EXCEPTION_TESTS_long_double): Likewise.
17781         * sysdeps/mips/mips64/libm-test-ulps: Update.
17783         * include/features.h (__USE_BSD): Remove macro definitions.
17784         (__USE_SVID): Likewise.
17785         (_BSD_SOURCE): Likewise.
17786         (_SVID_SOURCE): Likewise.
17787         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17788         from definition of _DEFAULT_SOURCE.
17789         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17790         [_DEFAULT_SOURCE].
17791         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17792         * bits/mman.h [__USE_BSD]: Likewise.
17793         * bits/termios.h [__USE_BSD]: Likewise.
17794         * bits/waitstatus.h [__USE_BSD]: Likewise.
17795         * ctype/ctype.h [__USE_SVID]: Likewise.
17796         * dirent/dirent.h [__USE_BSD]: Likewise.
17797         * grp/grp.h [__USE_SVID]: Likewise.
17798         [__USE_BSD]: Likewise.
17799         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17800         * io/fcntl.h [__USE_BSD]: Likewise.
17801         * io/ftw.h [__USE_BSD]: Likewise.
17802         * io/sys/stat.h [__USE_BSD]: Likewise.
17803         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17804         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17805         * libio/stdio.h [__USE_SVID]: Likewise.
17806         [__USE_BSD]: Likewise.
17807         * math/math.h [__USE_SVID]: Likewise.
17808         [__USE_BSD]: Likewise.
17809         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17810         * misc/bits/syslog.h [__USE_BSD]: Likewise.
17811         * misc/search.h [__USE_SVID]: Likewise.
17812         * misc/sys/mman.h [__USE_BSD]: Likewise.
17813         * misc/sys/syslog.h [__USE_BSD]: Likewise.
17814         * misc/sys/uio.h [__USE_BSD]: Likewise.
17815         * posix/bits/unistd.h [__USE_BSD]: Likewise.
17816         * posix/glob.h [__USE_BSD]: Likewise.
17817         * posix/regex.h [__USE_BSD]: Likewise.
17818         * posix/sys/types.h [__USE_BSD]: Likewise.
17819         [__USE_SVID]: Likewise.
17820         * posix/sys/utsname.h [__USE_SVID]: Likewise.
17821         * posix/sys/wait.h [__USE_BSD]: Likewise.
17822         [__USE_SVID]: Likewise.
17823         * posix/unistd.h [__USE_BSD]: Likewise.
17824         [__USE_SVID]: Likewise.
17825         * pwd/pwd.h [__USE_SVID]: Likewise.
17826         * resolv/netdb.h [__USE_BSD]: Likewise.
17827         * setjmp/setjmp.h [__USE_BSD]: Likewise.
17828         * signal/signal.h [__USE_BSD]: Likewise.
17829         [__USE_SVID]: Likewise.
17830         * socket/sys/socket.h [__USE_BSD]: Likewise.
17831         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17832         * stdlib/stdlib.h [__USE_BSD]: Likewise.
17833         [__USE_SVID]: Likewise.
17834         * string/bits/string2.h [__USE_BSD]: Likewise.
17835         [__USE_SVID]: Likewise.
17836         * string/bits/string3.h [__USE_BSD]: Likewise.
17837         * string/endian.h [__USE_BSD]: Likewise.
17838         * string/string.h [__USE_SVID]: Likewise.
17839         [__USE_BSD]: Likewise.
17840         * string/strings.h [__USE_BSD]: Likewise.
17841         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17842         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17843         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17844         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17845         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17846         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17847         Likewise.
17848         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17849         Likewise.
17850         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17851         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17852         Likewise.
17853         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17854         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17855         Likewise.
17856         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17857         Likewise.
17858         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17859         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17860         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17861         Likewise.
17862         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17863         Likewise.
17864         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17865         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17866         * termios/termios.h [__USE_BSD]: Likewise.
17867         * time/sys/time.h [__USE_BSD]: Likewise.
17868         * time/time.h [__USE_BSD]: Likewise.
17869         [__USE_SVID]: Likewise.
17871         * Makefile (subdir_targets): Remove subdir_lint.out.
17873         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17874         (do-tst-printf): Likewise.
17875         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17876         $(objpfx)tst-printf.out.
17878         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17880         * Makerules (check-abi-%): Change target to
17881         $(objpfx)check-abi-%.out.
17882         (check-abi target): Update dependencies.
17883         (check-abi-pattern variable): Redirect output of diff to $@.
17884         (check-abi variable): Likewise.
17885         * elf/Makefile (check-abi): Update dependencies.
17887         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17888         unused.
17889         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17890         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17891         subnormal range.
17892         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17893         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17894         value has largest subnormal exponent.
17895         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17896         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17897         * sysdeps/aarch64/soft-fp/sfp-machine.h
17898         (_FP_TININESS_AFTER_ROUNDING): New macro.
17899         * sysdeps/alpha/soft-fp/sfp-machine.h
17900         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17901         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17902         Likewise.
17903         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17904         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17905         * sysdeps/mips/soft-fp/sfp-machine.h
17906         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17907         * sysdeps/powerpc/soft-fp/sfp-machine.h
17908         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17909         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17910         Likewise.
17911         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17912         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17913         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17914         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17915         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17916         Likewise.
17918 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17920         [BZ #16545]
17921         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17922         model 1.
17924 2014-02-12  Richard Henderson  <rth@redhat.com>
17926         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17927         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17928         * sysdeps/unix/sysv/linux/alpha: Move directory from
17929         ports/sysdeps/unix/sysv/linux/alpha.
17930         * README: Update listing for alpha-*-linux-gnu.
17932 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17934         * include/features.h: Update comment documenting feature test
17935         macros.
17936         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17937         _DEFAULT_SOURCE.
17938         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17939         (_SVID_SOURCE): Likewise.
17940         (_DEFAULT_SOURCE): Update description of default features.
17941         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17942         with _GNU_SOURCE.
17943         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17944         (S_ISVTX): Likewise.
17945         * manual/math.texi (Mathematical Constants): Likewise.
17946         * manual/signal.texi (Interrupted Primitives): Likewise.
17947         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17948         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17949         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17950         Don't refer to _SVID_SOURCE in warning text.
17952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17954         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17955         already defined.
17956         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17957         * sysdeps/mips/dl-lookup.c: Remove.
17958         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17960 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17962         [BZ #16447]
17963         * math/auto-libm-test-in: Add testcase for expl.
17964         * math/auto-libm-test-out: Regenerate.
17965         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17966         calculation of unsafe.
17967         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17969 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17971         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17972         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17973         ports/sysdeps/unix/sysv/linux/aarch64.
17974         * README: Update listing for aarch64*-*-linux-gnu.
17976 2014-02-11  Will Newton  <will.newton@linaro.org>
17978         * manual/probes.texi (Mathematical Function Probes): Use
17979         "triggered" instead of "hit".
17981         * manual/probes.texi (Internal Probes): Add documentation
17982         of setjmp, longjmp and longjmp_target probes.
17984         * include/stap-probe.h: Add comment about probe argument
17985         format.
17987         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17988         definition.  (tr_where, tr_freehook, tr_mallochook,
17989         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17991 2014-02-11  David S. Miller  <davem@davemloft.net>
17993         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17994         processing int_tests.
17996 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17998         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17999         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
18000         * sysdeps/unix/sysv/linux/mips: Move directory from
18001         ports/sysdeps/unix/sysv/linux/mips.
18002         * README: Update listing for mips-*-linux-gnu and
18003         mips64-*-linux-gnu.
18005 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
18007         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
18008         * sysdeps/unix/sysv/linux/m68k: Move directory from
18009         ports/sysdeps/unix/sysv/linux/m68k.
18010         * README: Update listing for m68k-*-linux-gnu.
18012 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
18014         * sysdeps/tile: Move directory from ports/sysdeps/tile.
18015         * sysdeps/unix/sysv/linux/generic: Move directory from
18016         ports/sysdeps/unix/sysv/linux/generic.
18017         * sysdeps/unix/sysv/linux/tile: Move directory from
18018         ports/sysdeps/unix/sysv/linux/tile.
18019         * README: Update listing for tile*-*-linux-gnu.
18021 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
18023         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
18024         __builtin_expect.
18025         * benchtests/bench-memmem.c (simple_memmem): Likewise.
18026         * catgets/open_catalog.c (__open_catalog): Likewise.
18027         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
18028         * debug/confstr_chk.c: Likewise.
18029         * debug/fread_chk.c (__fread_chk): Likewise.
18030         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
18031         * debug/getgroups_chk.c: Likewise.
18032         * debug/mbsnrtowcs_chk.c: Likewise.
18033         * debug/mbsrtowcs_chk.c: Likewise.
18034         * debug/mbstowcs_chk.c: Likewise.
18035         * debug/memcpy_chk.c: Likewise.
18036         * debug/memmove_chk.c: Likewise.
18037         * debug/mempcpy_chk.c: Likewise.
18038         * debug/memset_chk.c: Likewise.
18039         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
18040         * debug/strcat_chk.c (__strcat_chk): Likewise.
18041         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
18042         * debug/strncat_chk.c (__strncat_chk): Likewise.
18043         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
18044         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
18045         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
18046         * debug/wcpncpy_chk.c: Likewise.
18047         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
18048         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
18049         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
18050         * debug/wcsncpy_chk.c: Likewise.
18051         * debug/wcsnrtombs_chk.c: Likewise.
18052         * debug/wcsrtombs_chk.c: Likewise.
18053         * debug/wcstombs_chk.c: Likewise.
18054         * debug/wmemcpy_chk.c: Likewise.
18055         * debug/wmemmove_chk.c: Likewise.
18056         * debug/wmempcpy_chk.c: Likewise.
18057         * debug/wmemset_chk.c: Likewise.
18058         * dirent/scandirat.c (SCANDIRAT): Likewise.
18059         * dlfcn/dladdr1.c (dladdr1): Likewise.
18060         * dlfcn/dladdr.c (dladdr): Likewise.
18061         * dlfcn/dlclose.c (dlclose_doit): Likewise.
18062         * dlfcn/dlerror.c (__dlerror): Likewise.
18063         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
18064         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
18065         * dlfcn/dlopen.c (dlopen_doit): Likewise.
18066         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
18067         * dlfcn/dlsym.c (dlsym_doit): Likewise.
18068         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
18069         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
18070         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
18071         Likewise.
18072         * elf/dl-conflict.c: Likewise.
18073         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
18074         * elf/dl-dst.h: Likewise.
18075         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
18076         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
18077         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
18078         * elf/dl-init.c (call_init, _dl_init): Likewise.
18079         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
18080         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
18081         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
18082         Likewise.
18083         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
18084         Likewise.
18085         * elf/dl-minimal.c (__libc_memalign): Likewise.
18086         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
18087         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
18088         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
18089         * elf/dl-sym.c (do_sym): Likewise.
18090         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
18091         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
18092         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
18093         * elf/dl-writev.h (_dl_writev): Likewise.
18094         * elf/ldconfig.c (search_dir): Likewise.
18095         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
18096         (dl_main): Likewise.
18097         * elf/setup-vdso.h (setup_vdso): Likewise.
18098         * grp/compat-initgroups.c (compat_call): Likewise.
18099         * grp/fgetgrent.c (fgetgrent): Likewise.
18100         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
18101         * grp/putgrent.c (putgrent): Likewise.
18102         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
18103         Likewise.
18104         * hurd/hurdinit.c: Likewise.
18105         * iconvdata/8bit-gap.c (struct): Likewise.
18106         * iconvdata/ansi_x3.110.c : Likewise.
18107         * iconvdata/big5.c : Likewise.
18108         * iconvdata/big5hkscs.c : Likewise.
18109         * iconvdata/cp1255.c: Likewise.
18110         * iconvdata/cp1258.c : Likewise.
18111         * iconvdata/cp932.c : Likewise.
18112         * iconvdata/euc-cn.c: Likewise.
18113         * iconvdata/euc-jisx0213.c : Likewise.
18114         * iconvdata/euc-jp.c: Likewise.
18115         * iconvdata/euc-jp-ms.c : Likewise.
18116         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
18117         * iconvdata/gb18030.c : Likewise.
18118         * iconvdata/gbbig5.c (const): Likewise.
18119         * iconvdata/gbgbk.c: Likewise.
18120         * iconvdata/gbk.c : Likewise.
18121         * iconvdata/ibm1364.c : Likewise.
18122         * iconvdata/ibm930.c : Likewise.
18123         * iconvdata/ibm932.c: Likewise.
18124         * iconvdata/ibm933.c : Likewise.
18125         * iconvdata/ibm935.c : Likewise.
18126         * iconvdata/ibm937.c : Likewise.
18127         * iconvdata/ibm939.c : Likewise.
18128         * iconvdata/ibm943.c: Likewise.
18129         * iconvdata/iso_11548-1.c: Likewise.
18130         * iconvdata/iso-2022-cn.c : Likewise.
18131         * iconvdata/iso-2022-cn-ext.c : Likewise.
18132         * iconvdata/iso-2022-jp-3.c: Likewise.
18133         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
18134         * iconvdata/iso-2022-kr.c : Likewise.
18135         * iconvdata/iso646.c (gconv_end): Likewise.
18136         * iconvdata/iso_6937-2.c : Likewise.
18137         * iconvdata/iso_6937.c : Likewise.
18138         * iconvdata/iso8859-1.c: Likewise.
18139         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
18140         * iconvdata/shift_jisx0213.c : Likewise.
18141         * iconvdata/sjis.c : Likewise.
18142         * iconvdata/t.61.c : Likewise.
18143         * iconvdata/tcvn5712-1.c : Likewise.
18144         * iconvdata/tscii.c: Likewise.
18145         * iconvdata/uhc.c : Likewise.
18146         * iconvdata/unicode.c (gconv_end): Likewise.
18147         * iconvdata/utf-16.c (gconv_end): Likewise.
18148         * iconvdata/utf-32.c (gconv_end): Likewise.
18149         * iconvdata/utf-7.c (base64): Likewise.
18150         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
18151         * iconv/gconv_close.c (__gconv_close): Likewise.
18152         * iconv/gconv_open.c (__gconv_open): Likewise.
18153         * iconv/gconv_simple.c (internal_ucs4_loop_single)
18154         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
18155         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
18156         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
18157         (ucs4le_internal_loop_single): Likewise.
18158         * iconv/iconv.c (iconv): Likewise.
18159         * iconv/iconv_close.c: Likewise.
18160         * iconv/loop.c (SINGLE): Likewise.
18161         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
18162         * include/atomic.h: Likewise.
18163         * inet/inet6_option.c (option_alloc): Likewise.
18164         * intl/bindtextdom.c (set_binding_values): Likewise.
18165         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
18166         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
18167         * intl/localealias.c (read_alias_file): Likewise.
18168         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18169         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
18170         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
18171         * libio/fmemopen.c (fmemopen): Likewise.
18172         * libio/iofgets.c (_IO_fgets): Likewise.
18173         * libio/iofgets_u.c (fgets_unlocked): Likewise.
18174         * libio/iofgetws.c (fgetws): Likewise.
18175         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18176         * libio/iogetdelim.c (_IO_getdelim): Likewise.
18177         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
18178         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
18179         * locale/findlocale.c (_nl_find_locale): Likewise.
18180         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
18181         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
18182         Likewise.
18183         * locale/setlocale.c (setlocale): Likewise.
18184         * login/programs/pt_chown.c (main): Likewise.
18185         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
18186         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
18187         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
18188         (mmap, mmap64, mremap, munmap): Likewise.
18189         * math/e_exp2l.c: Likewise.
18190         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
18191         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
18192         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
18193         * math/s_catan.c (__catan): Likewise.
18194         * math/s_catanf.c (__catanf): Likewise.
18195         * math/s_catanh.c (__catanh): Likewise.
18196         * math/s_catanhf.c (__catanhf): Likewise.
18197         * math/s_catanhl.c (__catanhl): Likewise.
18198         * math/s_catanl.c (__catanl): Likewise.
18199         * math/s_ccosh.c (__ccosh): Likewise.
18200         * math/s_ccoshf.c (__ccoshf): Likewise.
18201         * math/s_ccoshl.c (__ccoshl): Likewise.
18202         * math/s_cexp.c (__cexp): Likewise.
18203         * math/s_cexpf.c (__cexpf): Likewise.
18204         * math/s_cexpl.c (__cexpl): Likewise.
18205         * math/s_clog10.c (__clog10): Likewise.
18206         * math/s_clog10f.c (__clog10f): Likewise.
18207         * math/s_clog10l.c (__clog10l): Likewise.
18208         * math/s_clog.c (__clog): Likewise.
18209         * math/s_clogf.c (__clogf): Likewise.
18210         * math/s_clogl.c (__clogl): Likewise.
18211         * math/s_csin.c (__csin): Likewise.
18212         * math/s_csinf.c (__csinf): Likewise.
18213         * math/s_csinh.c (__csinh): Likewise.
18214         * math/s_csinhf.c (__csinhf): Likewise.
18215         * math/s_csinhl.c (__csinhl): Likewise.
18216         * math/s_csinl.c (__csinl): Likewise.
18217         * math/s_csqrt.c (__csqrt): Likewise.
18218         * math/s_csqrtf.c (__csqrtf): Likewise.
18219         * math/s_csqrtl.c (__csqrtl): Likewise.
18220         * math/s_ctan.c (__ctan): Likewise.
18221         * math/s_ctanf.c (__ctanf): Likewise.
18222         * math/s_ctanh.c (__ctanh): Likewise.
18223         * math/s_ctanhf.c (__ctanhf): Likewise.
18224         * math/s_ctanhl.c (__ctanhl): Likewise.
18225         * math/s_ctanl.c (__ctanl): Likewise.
18226         * math/w_pow.c: Likewise.
18227         * math/w_powf.c: Likewise.
18228         * math/w_powl.c: Likewise.
18229         * math/w_scalb.c (sysv_scalb): Likewise.
18230         * math/w_scalbf.c (sysv_scalbf): Likewise.
18231         * math/w_scalbl.c (sysv_scalbl): Likewise.
18232         * misc/error.c (error_tail): Likewise.
18233         * misc/pselect.c (__pselect): Likewise.
18234         * nis/nis_callback.c (__nis_create_callback): Likewise.
18235         * nis/nis_call.c (__nisfind_server): Likewise.
18236         * nis/nis_creategroup.c (nis_creategroup): Likewise.
18237         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
18238         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
18239         * nis/nis_getservlist.c (nis_getservlist): Likewise.
18240         * nis/nis_lookup.c (nis_lookup): Likewise.
18241         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
18242         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
18243         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
18244         * nis/nis_xdr.c (xdr_endpoint): Likewise.
18245         * nis/nss_compat/compat-grp.c (getgrent_next_file)
18246         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
18247         * nis/nss_compat/compat-initgroups.c (add_group)
18248         (internal_getgrent_r): Likewise.
18249         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
18250         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
18251         * nis/nss_compat/compat-spwd.c (getspent_next_file)
18252         (internal_getspnam_r): Likewise.
18253         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
18254         (_nss_nis_getaliasbyname_r): Likewise.
18255         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18256         (_nss_nis_getntohost_r): Likewise.
18257         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18258         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18259         (_nss_nis_getgrgid_r): Likewise.
18260         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18261         (internal_nis_gethostent_r, internal_gethostbyname2_r)
18262         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18263         (_nss_nis_gethostbyname4_r): Likewise.
18264         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18265         (initgroups_netid): Likewise.
18266         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18267         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18268         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18269         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18270         (_nss_nis_getprotobynumber_r): Likewise.
18271         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18272         (_nss_nis_getsecretkey): Likewise.
18273         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18274         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18275         (_nss_nis_getpwuid_r): Likewise.
18276         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18277         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18278         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18279         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18280         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18281         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18282         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18283         Likewise.
18284         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18285         (_nss_nisplus_getntohost_r): Likewise.
18286         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18287         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18288         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18289         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18290         Likewise.
18291         * nis/nss_nisplus/nisplus-initgroups.c
18292         (_nss_nisplus_initgroups_dyn): Likewise.
18293         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18294         (_nss_nisplus_getnetbyaddr_r): Likewise.
18295         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18296         (_nss_nisplus_getprotobynumber_r): Likewise.
18297         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18298         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18299         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18300         Likewise.
18301         * nis/nss_nisplus/nisplus-service.c
18302         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18303         (_nss_nisplus_getservbyport_r): Likewise.
18304         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18305         (_nss_nisplus_getspnam_r): Likewise.
18306         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18307         Likewise.
18308         * nscd/aicache.c (addhstaiX): Likewise.
18309         * nscd/cache.c (cache_search, prune_cache): Likewise.
18310         * nscd/connections.c (register_traced_file, send_ro_fd)
18311         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18312         (main_loop_epoll): Likewise.
18313         * nscd/grpcache.c (addgrbyX): Likewise.
18314         * nscd/hstcache.c (addhstbyX): Likewise.
18315         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18316         * nscd/mem.c (gc, mempool_alloc): Likewise.
18317         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18318         (addinnetgrX): Likewise.
18319         * nscd/nscd-client.h (__nscd_acquire_maplock)
18320         (__nscd_drop_map_ref): Likewise.
18321         * nscd/nscd_getai.c (__nscd_getai): Likewise.
18322         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18323         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18324         Likewise.
18325         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18326         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18327         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18328         (__nscd_get_map_ref): Likewise.
18329         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18330         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18331         Likewise.
18332         * nscd/pwdcache.c (addpwbyX): Likewise.
18333         * nscd/selinux.c (preserve_capabilities): Likewise.
18334         * nscd/servicescache.c (addservbyX): Likewise.
18335         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18336         * posix/fnmatch.c (fnmatch): Likewise.
18337         * posix/getopt.c (_getopt_internal_r): Likewise.
18338         * posix/glob.c (glob, glob_in_dir): Likewise.
18339         * posix/wordexp.c (exec_comm_child): Likewise.
18340         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18341         (getanswer_r, gaih_getanswer_slice): Likewise.
18342         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18343         * resolv/res_init.c: Likewise.
18344         * resolv/res_mkquery.c (res_nmkquery): Likewise.
18345         * resolv/res_query.c (__libc_res_nquery): Likewise.
18346         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18347         Likewise.
18348         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18349         * stdio-common/perror.c (perror): Likewise.
18350         * stdio-common/printf_fp.c (___printf_fp): Likewise.
18351         * stdio-common/tmpnam.c (tmpnam): Likewise.
18352         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18353         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18354         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18355         Likewise.
18356         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18357         * stdlib/putenv.c (putenv): Likewise.
18358         * stdlib/setenv.c (__add_to_environ): Likewise.
18359         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18360         * stdlib/strtol_l.c (INTERNAL): Likewise.
18361         * string/memmem.c (memmem): Likewise.
18362         * string/strerror.c (strerror): Likewise.
18363         * string/strnlen.c (__strnlen): Likewise.
18364         * string/test-memmem.c (simple_memmem): Likewise.
18365         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18366         * sunrpc/pm_getport.c (__get_socket): Likewise.
18367         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18368         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18369         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18370         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18371         Likewise.
18372         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18373         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18374         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18375         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18376         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18377         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18378         Likewise.
18379         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18380         Likewise.
18381         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18382         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18383         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18384         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18385         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18386         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18387         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18388         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18389         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18390         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18391         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18392         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18393         Likewise.
18394         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18395         Likewise.
18396         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18397         Likewise.
18398         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18399         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18400         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18401         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18402         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18403         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18404         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18405         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18406         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18407         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18408         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18409         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18410         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18411         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18412         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18413         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18414         Likewise.
18415         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18416         Likewise.
18417         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18418         Likewise.
18419         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18420         Likewise.
18421         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18422         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18423         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18424         Likewise.
18425         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18426         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18427         * sysdeps/posix/opendir.c (__opendirat): Likewise.
18428         * sysdeps/posix/sleep.c: Likewise.
18429         * sysdeps/posix/tempname.c: Likewise.
18430         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18431         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18432         Likewise.
18433         * sysdeps/powerpc/powerpc32/dl-machine.h
18434         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18435         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18436         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18437         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18438         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18439         Likewise.
18440         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18441         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18442         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18443         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18444         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18445         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18446         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18447         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18448         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18449         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18450         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18451         (elf_machine_lazy_rel): Likewise.
18452         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18453         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18454         (elf_machine_lazy_rel): Likewise.
18455         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18456         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18457         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18458         * sysdeps/unix/grantpt.c (grantpt): Likewise.
18459         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18460         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18461         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18462         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18463         Likewise.
18464         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18465         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18466         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18467         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18468         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18469         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18470         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18471         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18472         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18473         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18474         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18475         Likewise.
18476         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18477         (__posix_fallocate64_l64): Likewise.
18478         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18479         (posix_fallocate): Likewise.
18480         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18481         Likewise.
18482         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18483         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18484         (getifaddrs_internal): Likewise.
18485         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18486         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18487         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18488         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18489         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18490         (__posix_fallocate64_l64): Likewise.
18491         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18492         Likewise.
18493         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18494         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18495         (__get_clockfreq): Likewise.
18496         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18497         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18498         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18499         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18500         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18501         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18502         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18503         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18504         Likewise.
18505         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18506         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18507         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18508         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18509         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18510         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18511         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18512         Likewise.
18513         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18514         (posix_fallocate): Likewise.
18515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18516         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18517         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18518         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18519         (elf_machine_rela, elf_machine_rela_relative)
18520         (elf_machine_lazy_rel): Likewise.
18521         * time/asctime.c (asctime_internal): Likewise.
18522         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18523         * time/tzset.c (__tzset_parse_tz): Likewise.
18524         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18525         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18526         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18527         * wcsmbs/wcsmbsload.h: Likewise.
18529         [BZ #15894]
18530         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18532         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18533         (arena_get2): Remove THREAD_STATS conditionals.
18534         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18535         (__malloc_stats, int): Likewise.
18537 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
18539         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18540         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
18542         * manual/setjmp.texi: Fix typos/grammar errors.
18544         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18545         Only return early when n is <= 0.  Delete unused return statement.
18547         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18548         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18549         * debug/tst-longjmp_chk3.c: New file.
18551         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18552         (test_main): Replace code with set_fortify_handler call.
18553         * debug/test-strcpy_chk.c: Likewise.
18554         * debug/tst-chk1.c: Likewise.
18555         * debug/tst-longjmp_chk.c: Likewise.
18556         * test-skeleton.c: Include fcntl.h & paths.h
18557         (set_fortify_handler): Define.
18559         * debug/tst-longjmp_chk.c: Add header comment and include
18560         ../test-skeleton.c.
18561         (do_test): Mark static.
18562         (TEST_FUNCTION): Define.
18564         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18565         (IP_PMTUDISC_INTERFACE): Likewise.
18566         (IP_MULTICAST_IF): Likewise.
18567         (IP_MULTICAST_TTL): Likewise.
18568         (IP_MULTICAST_LOOP): Likewise.
18569         (IP_ADD_MEMBERSHIP): Likewise.
18570         (IP_DROP_MEMBERSHIP): Likewise.
18571         (IP_UNBLOCK_SOURCE): Likewise.
18572         (IP_BLOCK_SOURCE): Likewise.
18573         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18574         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18575         (IP_MSFILTER): Likewise.
18576         (MCAST_JOIN_GROUP): Likewise.
18577         (MCAST_BLOCK_SOURCE): Likewise.
18578         (MCAST_UNBLOCK_SOURCE): Likewise.
18579         (MCAST_LEAVE_GROUP): Likewise.
18580         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18581         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18582         (MCAST_MSFILTER): Likewise.
18583         (IP_MULTICAST_ALL): Likewise.
18584         (IP_UNICAST_IF): Likewise.
18586         * timezone/Makefile: Delete $(have-ksh) check.
18587         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18588         * timezone/tzselect.ksh: Add +x mode bits.
18590         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18591         (ANON_INODE_FS_MAGIC): Likewise.
18592         (BDEVFS_MAGIC): Likewise.
18593         (BINFMTFS_MAGIC): Likewise.
18594         (BTRFS_TEST_MAGIC): Likewise.
18595         (CRAMFS_MAGIC_WEND): Likewise.
18596         (DEBUGFS_MAGIC): Likewise.
18597         (ECRYPTFS_SUPER_MAGIC): Likewise.
18598         (EXT3_SUPER_MAGIC): Likewise.
18599         (EXT4_SUPER_MAGIC): Likewise.
18600         (FUTEXFS_SUPER_MAGIC): Likewise.
18601         (HOSTFS_SUPER_MAGIC): Likewise.
18602         (HUGETLBFS_MAGIC): Likewise.
18603         (MINIX3_SUPER_MAGIC): Likewise.
18604         (MTD_INODE_FS_MAGIC): Likewise.
18605         (NILFS_SUPER_MAGIC): Likewise.
18606         (OPENPROM_SUPER_MAGIC): Likewise.
18607         (PIPEFS_MAGIC): Likewise.
18608         (PSTOREFS_MAGIC): Likewise.
18609         (QNX6_SUPER_MAGIC): Likewise.
18610         (RAMFS_MAGIC): Likewise.
18611         (REISERFS_SUPER_MAGIC_STRING): Likewise.
18612         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18613         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18614         (SECURITYFS_MAGIC): Likewise.
18615         (SELINUX_MAGIC): Likewise.
18616         (SMACK_MAGIC): Likewise.
18617         (SOCKFS_MAGIC): Likewise.
18618         (SQUASHFS_MAGIC): Likewise.
18619         (STACK_END_MAGIC): Likewise.
18620         (TMPFS_MAGIC): Likewise.
18621         (USBDEVICE_SUPER_MAGIC): Likewise.
18622         (V9FS_MAGIC): Likewise.
18623         (XENFS_SUPER_MAGIC): Likewise.
18624         (CRAMFS_MAGIC): Fix typo in comment.
18625         (EXT2_SUPER_MAGIC): Update comment.
18626         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18628 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
18630         * sysdeps/arm: Move directory from ports/sysdeps/arm.
18631         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18632         * sysdeps/unix/sysv/linux/arm: Move directory from
18633         ports/sysdeps/unix/sysv/linux/arm.
18634         * README: Update listing for arm-*-linux-gnueabi.
18636         * README: Remove mention of am33.
18638 2014-02-07  Roland McGrath  <roland@hack.frob.com>
18640         * bits/sigset.h (__sigemptyset): Use a statement expression rather
18641         than the comma operator, to avoid "rhs of comma has no effect"
18642         compiler warnings.
18643         (__sigfillset, __sigandset, __sigorset): Likewise.
18644         * include/signal.h (__sigemptyset): Likewise.
18645         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18647 2014-02-07  Allan McRae  <allan@archlinux.org>
18649         * version.h (RELEASE): Set to "development".
18650         (VERSION): Set to "2.19.90"
18651         * NEWS: Add 2.20 section.
18653 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
18655         [BZ #16529]
18656         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18658 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18660         * manual/contrib.texi: Update entry for Carlos O'Donell,
18661         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18663 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
18665         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18667         * sysdeps/unix/sysv/linux/kernel-features.h
18668         [__LINUX_KERNEL_VERSION >= 0x020621]
18669         (__ASSUME_PROC_PID_TASK_COMM): Define.
18671 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18673         [BZ #16398]
18674         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18675         conversion when destination buffer does not have enough space.
18676         * libio/tst-ftell-partial-wide.c: New test case.
18677         * libio/Makefile (tests): Add tst-ftell-partial-wide.
18679         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18680         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
18681         Leonard and Allan McRae.
18683 2014-02-04  David S. Miller  <davem@davemloft.net>
18685         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18686         32-bit.
18688 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18690         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18691         New file
18692         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18693         New file
18694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18695         New file.
18696         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18697         New file.
18698         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18699         New file.
18700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18701         New file.
18702         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18703         New file.
18704         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18705         New file.
18706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18707         New file.
18708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18709         New file.
18710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18711         New file.
18712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18713         New file.
18714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18715         New file.
18717 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18719         * nptl/shlib-versions: Change powerpc*le start to 2.17.
18720         * shlib-versions: Likewise.
18722 2014-02-04  Roland McGrath  <roland@hack.frob.com>
18723             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18725         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18726         (abilist-pattern): New variable, set to %-le.abilist.
18728         * Makerules (abilist-pattern): New variable.
18729         (vpath): Use $(abilist-pattern) in place of %.abilist.
18730         (check-abi-% pattern rule): Likewise.
18731         (check-abi, update-abi): Likewise.
18733 2014-02-04  Eric Wong  <normalperson@yhbt.net>
18735         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18737 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
18739         * manual/startup.texi: Add next, previous, and top entries for
18740         the `Program Arguments' and `Environment Variables' nodes.
18742 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
18744         * manual/macros.texi: Add comments before MTASC-safety macros.
18746         * manual/users.texi: Document MTASC-safety properties.
18748         * manual/threads.texi (pthread_key_create, pthread_key_delete)
18749         (pthread_getspecific, pthread_setspecific): Format with
18750         @deftypefun, and add @safety note.
18751         * manual/signal.texi: Move comments that analyze the above
18752         functions to their home place.
18754 2014-02-03  Allan McRae  <allan@archlinux.org>
18756         * po/sl.po: Update Slovenian translation from translation project.
18758 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
18760         * manual/time.texi (timegm): Add missing blank after @c.
18761         Reported by Joseph Myers <joseph@codesourcery.com>.
18763 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
18765         * manual/check-safety.sh: New.
18766         * manual/Makefile ($(objpfx)stamp-summary): Run it.
18768         * manual/terminal.texi: Document MTASC-safety properties.
18770         * manual/filesys.texi: Document MTASC-safety properties.
18772         * manual/errno.texi: Document MTASC-safety properties.
18774         * manual/intro.texi: Document safety identifiers and
18775         conditionals.
18777         * manual/string.texi (wcstok): Fix prototype.
18778         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18780         * manual/time.texi: Document MTASC-safety properties.
18782         * manual/string.texi: Document MTASC-safety properties.
18784         * manual/threads.texi: Document MTASC-safety properties.
18786         * manual/stdio.texi: Document MTASC-safety properties.
18788         * manual/syslog.texi: Document MTASC-safety properties.
18790         * manual/sysinfo.texi: Document MTASC-safety properties.
18792         * manual/startup.texi: Document MTASC-safety properties.
18794         * manual/socket.texi: Document MTASC-safety properties.
18796         * manual/signal.texi: Document MTASC-safety properties.
18798 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18800         * manual/setjmp.texi: Document MTASC-safety properties.
18802         * manual/search.texi: Document MTASC-safety properties.
18804         * manual/resource.texi: Document MTASC-safety properties.
18806         * manual/process.texi: Document MTASC-safety properties.
18808         * manual/platform.texi: Document MTASC-safety properties.
18810         * manual/pipe.texi: Document MTASC-safety properties.
18812         * manual/pattern.texi: Document MTASC-safety properties.
18814         * manual/message.texi: Document MTASC-safety properties.
18816         [BZ #12751]
18817         * manual/memory.texi: Document MTASC-safety properties.
18819         * manual/math.texi: Document MTASC-safety properties.
18821         * manual/locale.texi: Document MTASC-safety properties.
18823         * manual/llio.texi: Document MTASC-safety properties.
18825         * manual/libdl.texi: New.
18827         * manual/lang.texi: Document MTASC-safety properties.
18829         * manual/job.texi: Document MTASC-safety properties.
18831         * manual/getopt.texi: Document MTASC-safety properties.
18833         * manual/ctype.texi: Document MTASC-safety properties.
18835 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18837         [BZ #16046]
18838         * csu/libc-tls.c (static_map): Remove variable.
18839         (__libc_setup_tls): Use main executable's link map for TLS data.
18840         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18841         casing for LM_ID_BASE and GL(dl_nns).
18842         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18843         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18844         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18845         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18846         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18847         member.
18848         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18849         l_phnum members.
18851 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18853         * manual/debug.texi: Document MTASC-safety properties.
18855 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18857         [BZ #16510]
18858         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18859         of __x86_64__ when disabling x87 inline functions.
18861 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18863         * manual/charset.texi: Document MTASC-safety properties.
18865         * manual/crypt.texi: Document MTASC-safety properties.
18867         * manual/conf.texi: Document MTASC-safety properties.
18869         * manual/arith.texi: Document MTASC-safety properties.
18871         * manual/argp.texi: Document MTASC-safety properties.
18873         * manual/macros.texi: Introduce macros to document multi
18874         thread, asynchronous signal and asynchronous cancellation
18875         safety properties.
18876         * manual/intro.texi: Introduce the properties themselves.
18878 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18880         * sysdeps/sh/sh4/Makefile: New file.
18882 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18884         * math/gen-libm-test.pl ($srcdir): New variable.
18885         ($auto_input): Use it.
18887 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18889         [BZ #16506]
18890         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18891         access beyond array bounds when parsing netgroups file.
18893         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18894         the old buffer before realloc.
18896 2014-01-27  Allan McRae  <allan@archlinux.org>
18898         * po/fr.po: Update French translation from translation project.
18900 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18902         * sysdeps/sh/libm-test-ulps: Regenerate.
18904 2014-01-24  David S. Miller  <davem@davemloft.net>
18906         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18908 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18910         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18911         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18913 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18915         [BZ #16474]
18916         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18917         string pointers after reallocation.
18919 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18921         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18922         __SH4A__ instead of __SH_FPU_ANY__.
18924 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18926         * sysdeps/sh/fpu_control.h: New file.
18927         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18928         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18929         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18930         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18931         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18932         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18933         * sysdeps/sh/sys/ucontext.h: Remove.
18934         * sysdeps/sh/sys: Remove directory.
18936 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18938         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18939         s390/sys/ucontext.h.
18940         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18941         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18943 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18945         [BZ #15605]
18946         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18948 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18950         [BZ#16431]
18951         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18952         Adjust the vDSO correctly for internal calls.
18953         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18955 2014-01-20  Allan McRae  <allan@archlinux.org>
18957         * po/ca.po: Update Catalan translation from translation project.
18959 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18961         * sysdeps/s390/sotruss-lib.c: New file.
18963 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18965         [BZ#16430]
18966         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18967         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18968         local calls issues by not having a PLT stub required for IFUNC calls.
18969         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18971 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18973         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18974         * math/test-fpucw-static.c: Likewise.
18976 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18978         [BZ #16453]
18979         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18981 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18983         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18984         implementation for powerpc.
18986 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18988         [BZ #14782]
18989         * sysdeps/posix/system.c (__libc_system): Do not enable
18990         asynchronous cancellation.
18992 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18994         [BZ #16427]
18995         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18996         handling only for numbers special also in the IEEE case.
18998 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19000         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
19002 2014-01-11  Allan McRae  <allan@archlinux.org>
19004         * po/bg.po: Update Bulgarian translation from translation project.
19006         * po/de.po: Update German translation from translation project.
19008 2014-01-10  Roland McGrath  <roland@hack.frob.com>
19010         * sysdeps/generic/gcc-compat.h: New file.
19012 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
19014         * benchtests/asin-inputs: Correct slow inputs.
19015         * benchtests/acos-inputs: Likewise.
19017 2014-01-10  Allan McRae  <allan@archlinux.org>
19019         * po:sv.po: Update Swedish translation from translation project.
19021         * po/vi.po: Update Vietnamese translation from translation project.
19023         * po/eo.po: Update Esperanto translation from translation project.
19025         * po/cs.po: Update Czech translation from translation project.
19027         * po/nl.po: Update Dutch translation from translation project.
19029         * po/pl.po: Update Polish translation from translation project.
19031         * po/ru.po: Update Russian translation from translation project.
19033         * po/uk.po: Update Ukrainian translation from translation project.
19035 2014-01-08  Brooks Moses  <bmoses@google.com>
19037         * elf/dl-load.c: Fix comment typo.
19039 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
19041         * po/header.pot: Rename to...
19042         * po/pot.header: ... this.
19043         * po/Makefile: Use pot.header.
19045 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
19046             Maxim Kuvyrkov  <maxim@kugelworks.com>
19048         [BZ #16394]
19049         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
19050         SRC and DEST against LEN.
19052 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19054         [BZ #16414]
19055         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
19056         implementation.
19057         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
19059 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19061         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19063 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
19065         [BZ #16408]
19066         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
19067         for large positive arguments.
19069 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
19071         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19073         * math/auto-libm-test-in: Mark various tests with
19074         xfail-rounding:ldbl-128ibm.
19075         * math/auto-libm-test-out: Regenerated.
19077         [BZ #16407]
19078         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
19079         Increase overflow threshold.
19081 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
19083         [BZ #14286]
19084         * stdio-common/vfprintf.c: Check for integer overflow.
19086 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19088         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
19089         the first argument and return value of __tls_get_addr_internal.
19091 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19093         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
19094         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
19096 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19098         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
19099         * sysdeps/s390/rtld-global-offsets.sym: New file.
19100         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
19101         GLIBC_2.19 symbol.
19102         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
19103         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
19104         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
19105         ... this.
19106         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
19107         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
19108         ... this.
19109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19110         Regenerate.
19111         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19112         Regenerate.
19113         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
19114         halfs of GPRs for high_gprs contexts.
19115         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
19116         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
19117         field.
19118         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
19119         uc_flags field.
19120         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
19121         64 bit versions:
19122         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
19123         for high GPRs (uc_high_gprs) and for future extensions
19124         (__reserved).
19125         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
19126         for future extensions (__reserved).
19127         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
19128         64 bit versions:
19129         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
19130         SC_HIGHGPRS offset definition.
19131         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
19132         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
19134         * Versions.def: Add GLIBC_2.19 for libpthread.
19135         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
19136         siglongjmp for libpthread with GLIBC_2.19 symver.
19137         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
19138         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
19139         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
19140         * sysdeps/s390/__longjmp.c: New file.
19141         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
19142         * sysdeps/s390/longjmp.c: New file.
19143         * sysdeps/s390/setjmp.S: New file.
19144         * sysdeps/s390/sigjmp.S: New file.
19145         * sysdeps/s390/v1-longjmp.c: New file.
19146         * sysdeps/s390/v1-setjmp.h: New file.
19147         * sysdeps/s390/v1-sigjmp.c: New file.
19148         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
19149         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
19150         GLIBC_2.19 version.
19151         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
19152         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
19153         versioned symbols for ____longjmp_chk.
19154         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
19155         Likewise.
19156         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19157         Regenerate.
19158         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
19159         Regenerate.
19160         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19161         Regenerate.
19162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
19163         Regenerate.
19164         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
19165         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
19166         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
19167         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
19168         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
19169         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
19170         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
19171         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
19172         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
19173         * sysdeps/s390/rtld-__longjmp.c: New file.
19174         * sysdeps/s390/rtld-setjmp.S: New file.
19176 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
19178         [BZ #16400]
19179         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19180         Return -__logl (x) for small positive arguments without evaluating
19181         a polynomial.
19183 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
19185         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
19186         Rename to ...
19187         (__ptrace_peeksiginfo_args): ... this.
19188         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
19189         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
19190         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
19192 2014-01-06  Allan McRae  <allan@archlinux.org>
19194         * inet/netinet/in.h: Fix typo in comment.
19196 2014-01-05  Andreas Jaeger  <aj@suse.de>
19198         * sysdeps/i386/fpu/libm-test-ulps: Update.
19200 2014-01-05  Allan McRae  <allan@archlinux.org>
19202         * po/libc.pot: Regenerated.
19204         * malloc/memusagestat.c: Fix gettext call formatting.
19206 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
19208         * nscd/nscd.c: Improve usage() output.
19210 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
19212         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
19213         * sysdeps/unix/sysv/linux/configure: Regenerated.
19214         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
19215         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
19217 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19219         [BZ #16390]
19220         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
19221         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
19223 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19225         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
19226         extra tokens at end of #undef directive.
19227         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
19228         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
19229         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
19231 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
19233         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
19235         * math/auto-libm-test-in: Mark various tests with
19236         xfail-rounding:ldbl-128ibm.
19237         * math/auto-libm-test-out: Regenerated.
19239 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
19241         [BZ #16386]
19242         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
19243         numbers with subnormal high part when calculating exponent.
19245         [BZ #16385]
19246         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
19247         fabs.
19249         [BZ #16384]
19250         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
19251         M_LN2l.
19252         (__ieee754_acoshl): Use __log1pl not __log1p.
19254 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
19256         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19257         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19258         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19259         (grow_heap, heap_trim, _int_new_arena, get_free_list)
19260         (reused_arena, arena_get2): Convert to GNU style.
19261         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19262         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19263         (memalign_check, __malloc_set_state): Likewise.
19264         * malloc/mallocbug.c (main): Likewise.
19265         * malloc/malloc.c (__malloc_assert, malloc_init_state)
19266         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19267         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19268         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19269         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19270         (__posix_memalign, malloc_info): Likewise.
19271         * malloc/malloc.h: Likewise.
19272         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19273         (mallochook, memalignhook, reallochook, mabort): Likewise.
19274         * malloc/mcheck.h: Likewise.
19275         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19276         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19277         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19278         * malloc/morecore.c (__default_morecore): Likewise.
19279         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19280         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19281         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19282         (print_and_abort): Likewise.
19283         * malloc/obstack.h: Likewise.
19284         * malloc/set-freeres.c (__libc_freeres): Likewise.
19285         * malloc/tst-mallocstate.c (main): Likewise.
19286         * malloc/tst-mtrace.c (main): Likewise.
19287         * malloc/tst-realloc.c (do_test): Likewise.
19289 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19291         [BZ #16366]
19292         * nscd/netgroupcache.c (do_notfound): New function.
19293         (addgetnetgrentX): Use it.
19295         [BZ # 16365]
19296         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19297         NSS_STATUS_NOTFOUND.
19299 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
19301         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19304 2014-01-01  Allan McRae  <allan@archlinux.org>
19306         * scripts/update-copyrights: Update configure input file suffix.
19308         * NEWS: Update copyright year.
19309         * catgets/gencat.c: Likewise.
19310         * csu/version.c: Likewise.
19311         * debug/catchsegv.sh: Likewise.
19312         * debug/pcprofiledump.c: Likewise.
19313         * debug/xtrace.sh: Likewise.
19314         * elf/ldconfig.c: Likewise.
19315         * elf/ldd.bash.in: Likewise.
19316         * elf/pldd.c: Likewise.
19317         * elf/sotruss.ksh: Likewise.
19318         * elf/sprof.c: Likewise.
19319         * iconv/iconv_prog.c: Likewise.
19320         * iconv/iconvconfig.c: Likewise.
19321         * locale/programs/locale.c: Likewise.
19322         * locale/programs/localedef.c: Likewise.
19323         * login/programs/pt_chown.c: Likewise.
19324         * malloc/memusage.sh: Likewise.
19325         * malloc/memusagestat.c: Likewise.
19326         * malloc/mtrace.pl: Likewise.
19327         * manual/libc.texinfo: Likewise.
19328         * nscd/nscd.c: Likewise.
19329         * nss/getent.c: Likewise.
19330         * nss/makedb.c: Likewise.
19331         * posix/getconf.c: Likewise.
19332         * scripts/test-installation.pl: Likewise.
19334         * All files with FSF copyright notices: Update copyright dates
19335         using scripts/update-copyrights.
19336         * intl/plural.c: Regenerated.
19337         * locale/programs/charmap-kw.h: Likewise.
19338         * locale/programs/locfile-kw.h: Likewise.
19340 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
19342         * sysdeps/unix/sysv/linux/configure: Regenerated.
19343         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19344         the linux/fanotify.h header.
19345         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19346         HAVE_LINUX_FANOTIFY_H is defined.
19348 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19350         * benchtests/cos-inputs: New inputs.
19351         * benchtests/sin-inputs: Likewise.
19353         * benchtests/atan-inputs: New inputs. Fix name of multiple
19354         precision fallback inputs.
19356         * benchtests/atanh-inputs: New inputs.
19357         * benchtests/tanh-inputs: Likewise.
19359         * benchtests/acosh-inputs: New inputs.
19360         * benchtests/asinh-inputs: Likewise.
19362         * benchtests/cosh-inputs: New inputs.
19363         * benchtests/sinh-inputs: Likewise.
19365         * benchtests/acos-inputs: Add more inputs.
19366         * benchtests/asin-inputs: Likewise.
19368 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
19370         [BZ #16375]
19371         * manual/arith.texi: Fix spelling.
19372         * manual/charset.texi: Likewise.
19373         * manual/errno.texi: Likewise.
19374         * manual/filesys.texi: Likewise.
19375         * manual/lang.texi: Likewise.
19376         * manual/llio.texi: Likewise.
19377         * manual/locale.texi: Likewise.
19378         * manual/message.texi: Likewise.
19379         * manual/resource.texi: Likewise.
19380         * manual/search.texi: Likewise.
19381         * manual/setjmp.texi: Likewise.
19382         * manual/stdio.texi: Likewise.
19383         * manual/string.texi: Likewise.
19384         * manual/sysinfo.texi: Likewise.
19385         * manual/time.texi: Likewise.
19387 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
19389         * po/sl.po: New file.
19391 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
19393         * .gitignore: Add core/.gdbinit/.gdb_history.
19395 2013-12-27  Allan McRae  <allan@archlinux.org>
19397         [BZ #16369]
19398         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19399         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19401 2013-12-24  Brooks Moses  <bmoses@google.com>
19403         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19404         all compilers that claim C++98 compliance, not just GCC.
19405         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19406         Likewise.
19408 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
19410         * NEWS: Restore accidentally deleted bug-fix entries.
19412 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
19413             Ondřej Bílka  <neleai@seznam.cz>
19415         [BZ #15073]
19416         * malloc/malloc.c (_int_free): Perform sanity check only if we
19417         have_lock.
19419 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
19421         [BZ #12986]
19422         * manual/stdio.texi (String Input Conversions): Clarify that character
19423         classes are not supported.
19425 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19427         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19429 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
19431         [BZ #16337]
19432         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19433         Calculate results for small negative arguments directly rather
19434         than using reflection formula with special underflow handling.
19436         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19437         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19438         sysdeps/unix/bsd/bsd4.4/syscalls.list.
19439         (fchflags): Likewise.
19440         (revoke): Likewise.
19441         (setlogin): Likewise.
19442         (sigaltstack): Likewise.
19443         (wait4): Likewise.
19444         (sigblock): Remove.
19445         (sigsetmask): Likewise.
19446         (wait3): Likewise.
19447         (waitpid): Likewise.
19448         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19449         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19450         file.
19451         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19452         * sysdeps/unix/bsd/Makefile: ... here.
19453         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19454         * sysdeps/unix/bsd/Versions: ... here.
19455         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19456         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19457         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19458         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19459         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19460         * sysdeps/unix/bsd/sigblock.c: ... here.
19461         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19462         * sysdeps/unix/bsd/sigsetmask.c: ... here.
19463         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19464         * sysdeps/unix/bsd/sigvec.c: ... here.
19465         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19466         * sysdeps/unix/bsd/tcdrain.c: ... here.
19467         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19468         * sysdeps/unix/bsd/tcgetattr.c: ... here.
19469         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19470         * sysdeps/unix/bsd/tcsetattr.c: ... here.
19471         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19472         * sysdeps/unix/bsd/wait.c: ... here.
19473         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19474         * sysdeps/unix/bsd/wait3.c: ... here.
19475         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19476         * sysdeps/unix/bsd/waitpid.c: ... here.
19478 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
19480         [BZ #16356]
19481         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19482         round-to-nearest for [!USE_AS_EXPM1L].
19483         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19484         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
19485         more tests of exp and exp10.  Expect some exp10 tests to miss
19486         exceptions or fail in directed rounding modes.
19487         * math/auto-libm-test-out: Regenerated.
19488         * math/libm-test.inc (exp10_tonearest_test_data): New array.
19489         (exp10_test_tonearest): New function.
19490         (exp10_towardzero_test_data): New array.
19491         (exp10_test_towardzero): New function.
19492         (exp10_downward_test_data): New array.
19493         (exp10_test_downward): New function.
19494         (exp10_upward_test_data): New array.
19495         (exp10_test_upward): New function.
19496         (main): Call the new functions.
19497         * sysdeps/i386/fpu/libm-test-ulps: Update.
19498         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19500 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
19502         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19503         asinh, atan, atan2, atanh, cbrt, cos and cosh.
19504         * math/auto-libm-test-out: Regenerated.
19505         * math/libm-test.inc (acosh_test_data): Add more tests.
19506         (atanh_test_data): Likewise.
19507         (ceil_test_data): Likewise.
19508         (copysign_test_data): Likewise.
19509         * sysdeps/i386/fpu/libm-test-ulps: Update.
19510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19512         * timezone/checktab.awk: Update from tzcode 2013i.
19513         * timezone/private.h: Likewise.
19514         * timezone/scheck.c: Likewise.
19515         * timezone/tzfile.h: Likewise.
19516         * timezone/tzselect.ksh: Likewise.
19517         * timezone/zdump.c: Likewise.
19518         * timezone/zic.c: Likewise.
19520         * math/auto-libm-test-in: Add tests of cpow.
19521         * math/auto-libm-test-out: Regenerated.
19522         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19523         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19524         mpc_cc_c.
19525         (func_calc_desc): Add mpc_cc_c union field.
19526         (test_functions): Add cpow.
19527         (special_fill_2pi): New function.
19528         (special_real_inputs): Add 2pi.
19529         (calc_generic_results): Handle mpc_cc_c.
19530         * sysdeps/i386/fpu/libm-test-ulps: Update.
19531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19533         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19534         csqrt, ctan and ctanh.
19535         * math/auto-libm-test-out: Regenerated.
19536         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19537         (TEST_COND_x86): Likewise.
19538         (ccos_test_data): Use AUTO_TESTS_c_c.
19539         (ccosh_test_data): Likewise.
19540         (cexp_test_data): Likewise.
19541         (clog_test_data): Likewise.
19542         (csqrt_test_data): Likewise.
19543         (ctan_test_data): Likewise.
19544         (ctan_tonearest_test_data): Likewise.
19545         (ctan_towardzero_test_data): Likewise.
19546         (ctan_downward_test_data): Likewise.
19547         (ctan_upward_test_data): Likewise.
19548         (ctanh_test_data): Likewise.
19549         (ctanh_tonearest_test_data): Likewise.
19550         (ctanh_towardzero_test_data): Likewise.
19551         (ctanh_downward_test_data): Likewise.
19552         (ctanh_upward_test_data): Likewise.
19553         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19554         mpc_c_c.
19555         (func_calc_desc): Add mpc_c_c union field.
19556         (FUNC_mpc_c_c): New macro.
19557         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19558         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19559         ctanh.
19560         (special_fill_min_subnorm_p120): New function.
19561         (special_real_inputs): Add min_subnorm_p120.
19562         (calc_generic_results): Handle mpc_c_c.
19563         * sysdeps/i386/fpu/libm-test-ulps: Update.
19564         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19566 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19568         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19569         (do_sin_slow): New functions.
19570         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19571         (cslow2, csloww1, csloww2): Use the new functions.
19573         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19574         Use M to change sign of result instead of X.  Assume X is
19575         positive.
19576         (csloww1): Likewise.
19577         (__sin): Adjust.
19578         (__cos): Adjust.
19580         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19581         arguments A and DA.
19582         (__sin): Adjust.
19583         (__cos): Likewise.
19585         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19586         (__cos): Likewise.
19587         (sloww1): Don't adjust sign of DX.
19588         (csloww1): Likewise.
19589         (sloww2): Use X directly and don't adjust sign of DX.
19590         (csloww2): Likewise.
19592 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19594         * math/auto-libm-test-in: Add tests of cabs and carg.
19595         * math/auto-libm-test-out: Regenerated.
19596         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19597         (carg_test_data): Likewise.
19598         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19599         mpc_c_f.
19600         (func_calc_desc): Add mpc_c_f union field.
19601         (test_functions): Add cabs and carg.
19602         (calc_generic_results): Handle mpc_c_f.
19604         * sysdeps/powerpc/powerpc32/libgcc-compat.S
19605         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19606         as a macro and a compat symbol.
19607         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19608         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19609         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19610         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19611         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19612         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19613         not use .hidden.
19614         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19615         Likewise.
19616         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19617         Likewise.
19618         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19619         Likewise.
19620         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19621         Likewise.
19622         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19623         Likewise.
19624         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19625         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19626         from GLIBC_2.3.2.
19628 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19630         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19632 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19634         * manual/texinfo.tex: Update to version 2013-11-26.10 with
19635         trailing whitespace removed.
19636         * scripts/config.guess: Update to version 2013-11-29.
19637         * scripts/config.sub: Update to version 2013-10-01.
19639         * math/auto-libm-test-in: Add tests of sincos.
19640         * math/auto-libm-test-out: Regenerated.
19641         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19642         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19643         mpfr_f_11.
19644         (func_calc_desc): Add mpfr_f_11 union field.
19645         (test_functions): Add sincos.
19646         (calc_generic_results): Handle mpfr_f_11.
19647         * sysdeps/i386/fpu/libm-test-ulps: Update.
19648         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19650 2013-12-19  Andreas Schwab  <schwab@suse.de>
19652         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19653         CALL_MCOUNT.
19654         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19655         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19656         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19658 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19660         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19661         * sysdeps/i386/fpu/libm-test-ulps: Update.
19662         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19664         [BZ #16293]
19665         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19666         round-to-nearest mode when using frndint.
19667         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19668         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19669         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19670         Likewise.
19671         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
19672         sinh test to fail.
19673         * math/auto-libm-test-out: Regenerated.
19674         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19675         (TEST_COND_x86): Likewise.
19676         (expm1_tonearest_test_data): New array.
19677         (expm1_test_tonearest): New function.
19678         (expm1_towardzero_test_data): New array.
19679         (expm1_test_towardzero): New function.
19680         (expm1_downward_test_data): New array.
19681         (expm1_test_downward): New function.
19682         (expm1_upward_test_data): New array.
19683         (expm1_test_upward): New function.
19684         (main): Run the new test functions.
19685         * sysdeps/i386/fpu/libm-test-ulps: Update.
19686         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19688         * include/features.h: Update comment documenting feature test
19689         macros.  Mention _DEFAULT_SOURCE in comment.
19690         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19691         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19692         _BSD_SOURCE and _SVID_SOURCE.
19693         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19694         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19695         !_SVID_SOURCE]: Likewise.
19696         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19697         (__USE_POSIX_IMPLICITLY): Define.
19698         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19699         (_POSIX_SOURCE): Undefine and redefine.
19700         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19701         (_POSIX_C_SOURCE): Likewise.
19702         * manual/creature.texi (_DEFAULT_SOURCE): Document.
19703         (Feature Test Macros): Update documentation of default features.
19705 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19707         * benchtests/Makefile: Add bench-strtok.
19708         * benchtests/bench-strtok.c: New file: strtok benchtest.
19710 2013-12-19  Allan McRae  <allan@archlinux.org>
19712         * manual/install.texi: Suppress menu for plain text output.
19713         * INSTALL: Regenerated.
19715 2013-12-18  Brooks Moses  <bmoses@google.com>
19717         [BZ #15846]
19718         * misc/getauxval.c: Include errno.h.
19719         (__getauxval): Set errno to ENOENT if the requested type is not
19720         found.
19721         * misc/sys/auxv.h (getauxval): Document that it may set errno;
19722         don't declare with __attribute_const__.
19723         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19724         * manual/startup.texi: Document that getauxval sets errno.
19726 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19728         * math/auto-libm-test-in: Add tests of jn and yn.
19729         * math/auto-libm-test-out: Regenerated.
19730         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19731         (yn_test_data): Likewise.
19732         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19733         mpfr_if_f.
19734         (func_calc_desc): Add mpfr_if_f union field.
19735         (FUNC_mpfr_if_f): New macro.
19736         (test_functions): Add jn and yn.
19737         (calc_generic_results): Assert type of second input for
19738         mpfr_ff_f.  Handle mpfr_if_f.
19739         (output_for_one_input_case): Disable all checking for arguments
19740         fitting floating-point types in case of an integer argument.
19741         * sysdeps/i386/fpu/libm-test-ulps: Update.
19742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19745         Don't expect fegetround reference in libm.so.
19747 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19749         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19750         $(config-cflags-nofma).
19752 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19754         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19755         * math/auto-libm-test-out: Regenerated.
19757         [BZ #16338]
19758         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19759         to determine exponent and adjust argument to have exponent of -1.
19760         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19761         log2.
19762         * math/auto-libm-test-out: Regenerated.
19763         * sysdeps/i386/fpu/libm-test-ulps: Update.
19764         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19766 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
19768         * manual/probes.texi: Remove cases when per-thread arenas are
19769         disabled.
19771 2013-12-18  Andreas Schwab  <schwab@suse.de>
19773         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19774         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19775         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19776         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19777         * sysdeps/i386/i686/multiarch/Makefile: Update.
19778         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19780 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19782         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19783         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19785 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
19787         [BZ #15968]
19788         Support TZ transition times < 00:00:00.
19789         This is needed for version-3 tz-format files; it supports time
19790         stamps past 2037 for America/Godthab (the only entry in the tz
19791         database for which this change is relevant).
19792         * manual/time.texi (TZ Variable): Document transition times
19793         from -167:59:59 through -00:00:01.
19794         * time/tzset.c (tz_rule): Time of day is now signed.
19795         (__tzset_parse_tz): Parse negative time of day.
19797         Document TZ transition times >= 25:00:00.
19798         * manual/time.texi (TZ Variable): Document transition times from
19799         25:00:00 through 167:59:59.  These are already supported, and this
19800         support will help with version-3 tz-format files.
19802         * manual/time.texi (TZ Variable): Modernize North America example
19803         to reflect current (i.e., 2007-and-later) daylight saving rules.
19805         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19807 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19809         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19810         * sysdeps/unix/bsd/bits/stat.h: Likewise.
19811         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19812         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19813         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19814         * sysdeps/unix/bsd/bsdstat.h: Likewise.
19815         * sysdeps/unix/bsd/clock.c: Likewise.
19816         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19817         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19818         * sysdeps/unix/bsd/init-posix.c: Likewise.
19819         * sysdeps/unix/bsd/poll.c: Likewise.
19820         * sysdeps/unix/bsd/ptsname.c: Likewise.
19821         * sysdeps/unix/bsd/seekdir.c: Likewise.
19822         * sysdeps/unix/bsd/setegid.c: Likewise.
19823         * sysdeps/unix/bsd/seteuid.c: Likewise.
19824         * sysdeps/unix/bsd/setgid.c: Likewise.
19825         * sysdeps/unix/bsd/setrgid.c: Likewise.
19826         * sysdeps/unix/bsd/setruid.c: Likewise.
19827         * sysdeps/unix/bsd/setsid.c: Likewise.
19828         * sysdeps/unix/bsd/setuid.c: Likewise.
19829         * sysdeps/unix/bsd/sigaction.c: Likewise.
19830         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19831         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19832         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19833         * sysdeps/unix/bsd/telldir.c: Likewise.
19834         * sysdeps/unix/bsd/times.c: Likewise.
19835         * sysdeps/unix/bsd/usleep.c: Likewise.
19837         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19838         ($(objpfx)libbsd-compat.a): Remove rule.
19840         * include/features.h (__FAVOR_BSD): Do not define.
19841         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19842         features conflicting with POSIX.
19843         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19844         (_BSD_SOURCE): Remove description of not being a subset of other
19845         feature test macros.
19846         * manual/job.texi (getpgrp): Do not document BSD version.
19847         (getpgid): Do not document by reference to BSD getpgrp.
19848         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19849         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19850         * signal/signal.h [__FAVOR_BSD]: Likewise.
19851         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19852         instead of making contents conditional on [__FAVOR_BSD].
19853         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19855 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19857         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19859 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19861         [BZ #16314]
19862         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19863         values below 2**-450, not 2**-500.
19864         * math/auto-libm-test-in: Don't allow spurious underflow from
19865         hypot.
19866         * math/auto-libm-test-out: Regenerated.
19868         [BZ #16316]
19869         [BZ #16330]
19870         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19871         values of ha and hb and sort them after adjusting subnormal
19872         arguments.
19873         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19874         Likewise.
19875         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19876         values of ea and eb and sort them after adjusting subnormal
19877         arguments.
19878         * math/auto-libm-test-in: Do not expect some hypot tests of
19879         subnormals to fail.  Add more hypot tests.
19880         * math/auto-libm-test-out: Regenerated.
19882 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19884         [BZ #13304]
19885         * sysdeps/sh/s_fma.c: New file.
19886         * sysdeps/sh/s_fmaf.c: New file.
19887         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19888         version.
19889         * sysdeps/sh/Implies: Add sh/soft-fp.
19891 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19893         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19894         level of indirection to members `objname', `errstring', `malloced'.
19895         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19896         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19897         it as the __longjmp argument (just pass 1 instead).
19898         (_dl_catch_error): Initialize C with argument pointers and address of
19899         volatile local ERRCODE rather than copying values out of C at return.
19901 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19903         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19904         * math/auto-libm-test-out: Regenerated.
19905         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19906         (hypot_test_data): Likewise.
19907         (pow_test_data): Likewise.
19908         (pow_tonearest_test_data): Likewise.
19909         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19910         mpfr_ff_f.
19911         (func_calc_desc): Add mpfr_ff_f union field.
19912         (FUNC_mpfr_ff_f): New macro.
19913         (test_functions): Add atan2, hypot and pow.
19914         (special_fill_min): New function.
19915         (special_fill_minus_min): Likewise.
19916         (special_fill_min_subnorm): Likewise.
19917         (special_fill_minus_min_subnorm): Likewise.
19918         (special_real_inputs): Add min, -min, min_subnorm and
19919         -min_subnorm.
19920         (calc_generic_results): Handle mpfr_ff_f.
19921         * sysdeps/i386/fpu/libm-test-ulps: Update.
19922         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19924 2013-12-16  Will Newton  <will.newton@linaro.org>
19926         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19927         (Aligned Memory Blocks): Add documentation for aligned_alloc
19928         and suggest it as an alternative to posix_memalign.
19929         (Hooks for Malloc): Document __memalign_hook is also called
19930         for aligned_alloc.  (Summary of Malloc): Add summary for
19931         aligned alloc.  Document __memalign_hook is also called
19932         for aligned_alloc.
19934 2013-12-16  Will Newton  <will.newton@linaro.org>
19936         * manual/memory.texi (Malloc Examples): Clarify default
19937         alignment documentation.  Suggest posix_memalign rather
19938         than memalign or valloc.
19939         (Aligned Memory Blocks): Remove suggestion to use memalign
19940         or valloc.  Remove obsolete comment about BSD.
19941         Document memalign errno values and mark the function obsolete.
19942         Document posix_memalign returned error codes.  Mark valloc
19943         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19944         called for posix_memalign and valloc.
19945         (Summary of Malloc): Add posix_memalign to function summary.
19946         __memalign_hook is also called for posix_memalign and valloc.
19948 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19950         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19951         TAYLOR_SIN.
19952         (__sin): Adjust.
19953         (__cos): Likewise.
19954         (sloww): Use mynumber union.  Expand ternary operator into
19955         if-else statements.
19956         (cslow): use mynumber union.
19958 2013-12-16  Allan McRae  <allan@archlinux.org>
19960         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19961         * configure: Regenerated.
19963         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19965         [BZ #14120]
19966         * configure.ac: Added --enable-maintainer-mode. Check for
19967         autoconf when enabled.
19968         * configure: Regenerated.
19970         * nscd/nscd.service: New file.
19971         * nscd/nscd.tmpfiles: New file.
19973 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19975         [BZ #12100]
19976         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19977         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19978         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19979         (strstr): Add __strstr_sse2_unaligned ifunc.
19980         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19981         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19982         (strcasestr): Remove __strcasestr_sse42 ifunc.
19983         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19984         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19985         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19987 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19989         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19990         * sysdeps/sh/bits/fenv.h: ... here.
19991         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19993 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19995         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19997         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19998         hypotf multiarch implementations.
19999         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
20000         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
20001         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
20002         multiarch hypot for PPC64.
20003         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
20004         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
20005         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
20006         multiarch hypotf for PPC64.
20008         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
20009         modff multiarch implementations.
20010         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
20011         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
20012         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
20013         multiarch modf for PPC64.
20014         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
20015         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
20016         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
20017         multiarch modff for PPC64.
20019         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
20020         and logl multiarch implementations.
20021         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
20022         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
20023         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
20024         multiarch logb for PPC64.
20025         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
20026         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
20027         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
20028         multiarch logb for PPC64.
20029         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
20030         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
20031         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
20032         multiarch logb for PPC64.
20034         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
20035         isinff multiarch implementation.
20036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
20037         file.
20038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
20039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
20040         multiarch isinf for PPC64.
20041         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
20042         file.
20043         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
20044         multiarch isinff for PPC64.
20046         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
20047         finitef multiarch implementation.
20048         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
20049         file.
20050         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
20051         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
20052         multiarch finite for PPC64.
20053         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
20054         file.
20055         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
20056         multiarch finitef for PPC64.
20058         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
20059         lrint multiarch implementation.
20060         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
20061         file.
20062         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
20063         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
20064         multiarch llrint for PPC64.
20065         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
20066         multiarch lrint for PPC64.
20068         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
20069         copysignf multiarch implementation.
20070         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
20071         file.
20072         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
20073         file.
20074         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
20075         multiarch copysign for PPC64.
20076         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
20077         multiarch copysignf for PPC64.
20079         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
20080         multiarch implementation.
20081         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
20082         file.
20083         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
20084         file.
20085         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
20086         file.
20087         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
20088         file.
20089         multiarch llround for PPC64.
20090         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
20091         multiarch trunc for PPC64.
20092         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
20093         multiarch truncf for PPC64.
20095         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
20096         multiarch implementation.
20097         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
20098         file.
20099         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
20100         file.
20101         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
20102         file.
20103         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
20104         file.
20105         multiarch llround for PPC64.
20106         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
20107         multiarch round for PPC64.
20108         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
20109         multiarch roundf for PPC64.
20111         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
20112         multiarch implementation.
20113         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
20114         file.
20115         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
20116         file.
20117         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
20118         file.
20119         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
20120         file.
20121         multiarch llround for PPC64.
20122         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
20123         multiarch floor for PPC64.
20124         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
20125         multiarch floorf for PPC64.
20127         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
20128         multiarch implementation.
20129         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
20130         file.
20131         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
20132         file.
20133         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
20134         file.
20135         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
20136         file.
20137         multiarch llround for PPC64.
20138         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
20139         multiarch ceil for PPC64.
20140         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
20141         multiarch ceilf for PPC64.
20143         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
20144         multiarch implementation.
20145         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
20146         file.
20147         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
20148         file.
20149         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
20150         file.
20151         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
20152         multiarch llround for PPC64.
20153         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
20154         multiarch lround for PPC64.
20156         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
20157         multiarch implementation.
20158         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
20159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
20160         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
20161         file.
20162         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
20163         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
20164         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
20165         multiarch isnan for PPC64.
20166         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
20167         multiarch isnanf for PPC64.
20169         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
20170         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
20171         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
20172         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
20173         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
20174         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
20176         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
20177         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
20178         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
20179         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
20181         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
20182         multiarch implementations.
20183         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20184         (__libc_ifunc_impl_list): Likewise.
20185         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
20186         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
20187         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
20188         multiarch stpcpy for PPC64.
20190         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
20191         multiarch implementations.
20192         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20193         (__libc_ifunc_impl_list): Likewise.
20194         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
20195         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
20196         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
20197         multiarch strcpy for PPC64.
20199         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
20200         redefine function name.
20201         (_wordcopy_fwd_dest_aligned): Likewise.
20202         (_wordcopy_bwd_aligned): Likewise.
20203         (_wordcopy_bwd_dest_aligned): Likewise.
20204         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
20205         multiarch implementations.
20206         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20207         (__libc_ifunc_impl_list): Likewise.
20208         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
20209         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
20210         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
20211         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
20212         multiarch wcscpy for PPC64.
20214         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
20215         multiarch implementations.
20216         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20217         (__libc_ifunc_impl_list): Likewise.
20218         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
20219         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
20220         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
20221         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
20222         multiarch wcscpy for PPC64.
20224         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
20225         multiarch implementations.
20226         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20227         (__libc_ifunc_impl_list): Likewise.
20228         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
20229         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
20230         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
20231         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
20232         multiarch wcsrchr for PPC64.
20234         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
20235         multiarch implementations.
20236         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20237         (__libc_ifunc_impl_list): Likewise.
20238         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
20239         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
20240         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
20241         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
20242         multiarch wcschr for PPC64.
20244         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
20245         multiarch implementations.
20246         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20247         (__libc_ifunc_impl_list): Likewise.
20248         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
20249         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
20250         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
20251         multiarch strchrnul for PPC64.
20253         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
20254         implementations.
20255         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20256         (__libc_ifunc_impl_list): Likewise.
20257         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20258         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20259         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20260         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20261         strchr for PPC64.
20263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20264         implementations.
20265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20266         (__libc_ifunc_impl_list): Likewise.
20267         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20268         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20269         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20270         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20271         strncmp for PPC64.
20273         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20274         multiarch implementations.
20275         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20276         (__libc_ifunc_impl_list): Likewise.
20277         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20278         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20279         strncasecmp for PPC64.
20280         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20281         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20282         multiarch strncasecmp_l for PPC64.
20284         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20285         multiarch implementations.
20286         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20287         (__libc_ifunc_impl_list): Likewise.
20288         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20289         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20290         multiarch strcasecmp for PPC64.
20291         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20292         file.
20293         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20294         multiarch strcasecmp_l for PPC64.
20296         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20297         implementations.
20298         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20299         (__libc_ifunc_impl_list): Likewise.
20300         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20301         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20302         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20303         strnlen for PPC64.
20305         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20306         implementations.
20307         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20308         (__libc_ifunc_impl_list): Likewise.
20309         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20310         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20311         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20312         strlen for PPC64.
20314         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20315         implementations.
20316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20317         (__libc_ifunc_impl_list): Likewise.
20318         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20319         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20320         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20321         rawmemrchr for PPC64.
20323         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20324         implementation.
20325         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20326         (__libc_ifunc_impl_list): Likewise.
20327         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20328         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20329         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20330         memrchr for PPC64.
20332         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20333         implementation.
20334         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20335         (__libc_ifunc_impl_list): Likewise.
20336         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20337         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20338         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20339         memchr for PPC64.
20341         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20342         implementation.
20343         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20344         (__libc_ifunc_impl_list): Likewise.
20345         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20346         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20347         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20348         mempcpy for PPC64.
20350         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20351         avoid cretion of __bzero symbol.
20352         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20353         Likewise.
20354         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20355         Likewise.
20356         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20357         Likewise.
20358         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20359         multiarch implementations.
20360         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20361         (__libc_ifunc_impl_list): Likewise.
20362         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20363         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20364         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20365         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20366         bzero for PPC32.
20367         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20368         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20369         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20370         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20371         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20372         memset for PPC64.
20373         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20375         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20377         implementations.
20378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20379         (__libc_ifunc_impl_list): Likewise.
20380         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20381         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20382         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20383         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20384         memcmp for PPC64.
20386         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20387         multiarch for POWER/PPC64.
20388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20389         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20390         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20391         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20392         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20393         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20394         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20395         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20396         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20397         memcpy for PPC64.
20399         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20400         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20401         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20402         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20403         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20404         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20405         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20406         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20407         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20408         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20409         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20410         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20411         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20412         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20413         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20415         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20418         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20419         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20420         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20422 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20424         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20426 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20428         * benchtests/Makefile (bench): Add exp2 and log2.
20429         (LDLIBS-bench-exp2): Add -lm.
20430         (LDLIBS-bench-log2): Likewise.
20431         * benchtests/exp2-inputs: New inputs file.
20432         * benchtests/log2-inputs: New inputs file.
20433         * benchtests/log-inputs: Add new inputs.
20434         * benchtests/tan-inputs: Likewise.
20436 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20438         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20439         definition...
20440         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20441         (csloww2): ... from here.
20443         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20444         instead of structures.
20445         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20446         (POLYNOMIAL): Likewise.
20447         (TAYLOR_SLOW): Likewise.
20448         (__sin): Likewise.
20449         (__cos): Likewise.
20450         (slow1): Likewise.
20451         (slow2): Likewise.
20452         (sloww): Likewise.
20453         (sloww1); Likewise.
20454         (sloww2): Likewise.
20455         (bsloww1): Likewise.
20456         (bsloww2): Likewise.
20457         (cslow2): Likewise.
20458         (csloww): Likewise.
20459         (csloww1): Likewise.
20460         (csloww2): Likewise.
20462 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
20464         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20465         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20466         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20467         * malloc/hooks.c (realloc_check): Likewise.
20469         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20470         * malloc/arena.c: Remove PER_THREAD conditional.
20471         [!PER_THREAD]: Remove code.
20472         (ptmalloc_unlock_all2): Likewise.
20473         (ptmalloc_init): Likewise.
20474         (_int_new_arena): Likewise.
20475         (arena_get2): Likewise.
20476         * malloc/hooks.c (__malloc_get_state): Likewise.
20477         (__malloc_set_state): Likewise.
20478         * malloc/malloc.c: Likewise.
20479         (struct malloc_state): Likewise.
20480         (struct malloc_par): Likewise.
20481         (__libc_realloc): Likewise.
20482         (__libc_mallopt): Likewise.
20484 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20486         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20488 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
20490         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20491         macro to a function.  Check for zero perturb_byte.
20492         (_int_malloc, _int_free): Remove zero perturb_byte checks.
20494         * malloc/malloc.c: (force_reg): Remove.
20495         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20496         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20497         force_reg by atomic_forced_read.
20498         * malloc/arena.c (ptmalloc_init): Likewise.
20499         * malloc/hooks.c (top_check): Likewise.
20501 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20503         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20505 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
20507         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20509 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
20511         * math/auto-libm-test-in: Add tests of lgamma.
20512         * math/auto-libm-test-out: Regenerated.
20513         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20514         (M_LOG_2_SQRT_PIl): Likewise.
20515         (lgamma_test_data): Use AUTO_TESTS_f_f1.
20516         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20517         mpfr_f_f1.
20518         (func_calc_desc): Add mpfr_f_f1 union field.
20519         (ARGS1): New macro.
20520         (ARGS2): Likewise.
20521         (ARGS3): Likewise.
20522         (ARGS4): Likewise.
20523         (RET1): Likewise.
20524         (RET2): Likewise.
20525         (CALC): Likewise.
20526         (FUNC): Likewise.
20527         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20528         (test_functions): Add lgamma.
20529         (calc_generic_results): Handle mpfr_f_f1.
20530         * sysdeps/i386/fpu/libm-test-ulps: Update.
20531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20533 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20535         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20536         __mpn_add_n for PowerPC64/POWER7.
20537         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20538         __mpn_sub_n for PowerPC64/POWER7.
20540         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20541         __mpn_addmul_1 for PowerPC64.
20542         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20543         __mpn_submul_1 for PowerPC64.
20544         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20545         for PowerPC64.
20546         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20547         for PowerPC64.
20549 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
20551         [BZ #15089]
20552         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20554 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20556         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20558         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20559         add multiarch folders.
20560         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20561         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20562         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20563         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20564         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20565         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20566         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20567         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20568         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20569         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20570         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20578         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20579         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20580         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20581         New file.
20582         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20583         New file.
20584         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20585         multiarch __ieee754_hypot for PowerPC32.
20586         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20587         New file.
20588         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20589         New file.
20590         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20591         multiarch __ieee754_hypotf for PowerPC32.
20593         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20594         long_double_symbol only if __logbl is defined.
20595         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20596         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20597         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20598         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20599         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20600         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20601         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20602         path for implementation.
20603         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20604         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20605         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20606         logb, and logbl multiarch implementations for PowerPC32.
20607         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20608         file.
20609         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20610         file.
20611         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20612         multiarch logb for PowerPC32.
20613         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20614         file.
20615         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20616         file.
20617         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20618         multiarch logbf for PowerPC32.
20619         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20620         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20621         file.
20622         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20623         multiarch logbl implementation for PowerPC32.
20625         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20626         and modff multiarch implementations.
20627         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20628         New file.
20629         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20630         New file.
20631         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20632         multiarch modf for PowerPC32.
20633         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20634         New file.
20635         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20636         New file.
20637         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20638         multiarch modff for PowerPC32.
20640         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20641         and lrintf multiarch implementations.
20642         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20643         New file.
20644         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20645         New file.
20646         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20647         multiarch lrint for PowerPC32.
20648         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20649         file: multiarch lrintf for PowerPC32.
20651         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20652         and lroundf multiarch implementations.
20653         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20654         New file.
20655         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20656         New file.
20657         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20658         New file.
20659         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20660         multiarch lround for PowerPC32.
20661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20662         file: multiarch lroundf for PowerPC32.
20664         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20665         copysign and copysignf multiarch implementations.
20666         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20667         New file.
20668         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20669         New file.
20670         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20671         file: multiarch copysign for PowerPC32.
20672         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20673         file: multiarch copysignf for PowerPC32.
20675         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20676         and truncf multiarch implementations.
20677         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20678         New file.
20679         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20680         file.
20681         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20682         multiarch trunc for PowerPC32.
20683         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20684         New file.
20685         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20686         New file.
20687         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20688         multiarch truncf for PowerPC32.
20690         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20691         and roundf multiarch implementations.
20692         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20693         New file.
20694         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20695         file.
20696         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20697         multiarch round for PowerPC32.
20698         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20699         New file.
20700         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20701         New file.
20702         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20703         multiarch roundf for PowerPC32.
20705         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20706         and floorf multiarch implementations.
20707         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20708         New file.
20709         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20710         file.
20711         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20712         multiarch floor for PowerPC32.
20713         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20714         New file.
20715         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20716         New file.
20717         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20718         multiarch floorf for PowerPC32.
20720         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20721         and ceilf multiarch implementations.
20722         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20723         New file.
20724         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20725         file.
20726         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20727         multiarch ceil for PowerPC32.
20728         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20729         New file.
20730         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20731         file.
20732         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20733         multiarch ceilf for PowerPC32.
20735         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20736         is defined.
20737         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20738         FINITEF is defined.
20739         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20740         and finitef multiarch implementations.
20741         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20742         New file.
20743         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20744         file.
20745         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20746         multiarch finite for PowerPC32.
20747         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20748         New file.
20749         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20750         file: multiarch finitef for PowerPC32.
20752         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20753         and isinff multiarch implementations.
20754         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20755         file.
20756         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20757         file.
20758         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20759         multiarch isinf for PowerPC32.
20760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20761         New file.
20762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20763         multiarch isinff for PowerPC32.
20765         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20766         alias when __isnan is defined.
20767         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20768         and isnanf multiarch implementations.
20769         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20770         file.
20771         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20772         file.
20773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20774         file.
20775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20776         file.
20777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20778         multiarch isnan for PowerPC32.
20779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20780         New file.
20781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20782         New file.
20783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20784         multiarch isnanf for PowerPC32.
20786         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20787         and sqrtf multiarch implementations.
20788         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20789         file.
20790         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20791         file.
20792         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20793         multiarch sqrt for PowerPC32.
20794         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20795         file.
20796         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20797         file.
20798         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20799         multiarch sqrtf for PowerPC32.
20801         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20802         and llroundf multiarch implementations.
20803         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20804         New file.
20805         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20806         New file.
20807         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20808         New file.
20809         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20810         file: multiarch llround for PowerPC32.
20811         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20812         file: multiarch llroundf for PowerPC32.
20814         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20815         multiarch PowerPC32 fpu implementations.
20816         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20817         New file.
20818         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20819         New file.
20820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20821         multiarch llrint for PowerPC32.
20822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20823         New file.
20824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20825         New file.
20826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20827         file.
20829         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20831         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20832         file.
20833         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20834         file.
20835         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20836         file.
20837         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20838         multiarch wordcopy for PPC32.
20839         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20840         wordcopy objects.
20841         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20842         (__libc_ifunc_impl_list): Likewise.
20843         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20844         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20845         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20846         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20847         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20848         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20850         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20851         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20852         file.
20853         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20854         file.
20855         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20856         file.
20857         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20858         multiarch wcscpy for PPC32.
20859         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20860         multiarch objects.
20861         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20862         (__libc_ifunc_impl_list): Likewise.
20863         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20864         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20865         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20866         sysdeps/powerpc/power6/wcscpy.c.
20868         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20869         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20870         file.
20871         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20872         file.
20873         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20874         file.
20875         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20876         multiarch wcsrchr for PPC32.
20877         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20878         multiarch objects.
20879         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20880         (__libc_ifunc_impl_list): Likewise.
20881         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20882         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20883         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20884         sysdeps/powerpc/power6/wcsrchr.c.
20886         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20887         file.
20888         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20889         file.
20890         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20891         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20892         multiarch wcschr for PPc32.
20893         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20894         multiarch objects.
20895         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20896         (__libc_ifunc_impl_list): Likewise.
20897         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20898         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20899         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20900         sysdeps/powerpc/power6/wcschr.c.
20902         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20903         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20904         file.
20905         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20906         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20907         file: multiarch strchr for PPC32.
20908         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20909         multiarch objects.
20910         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20911         (__libc_ifunc_impl_list): Likewise.
20913         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20914         name.
20915         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20916         file.
20917         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20918         file.
20919         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20920         multiarch strchrnul for PPC32.
20921         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20922         multiarch objects.
20923         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20924         (__libc_ifunc_impl_list): Likewise.
20926         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20927         file.
20928         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20929         multiarch strncasecmp for PPC32.
20930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20931         file.
20932         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20933         multiarch strncasecmp_l for PPC32.
20934         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20935         strncasecmp multiarch objects.
20936         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20937         (__libc_ifunc_impl_list): Likewise.
20939         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20940         file.
20941         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20942         multiarch strncasecmp for PPC32.
20943         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20944         New file.
20945         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20946         multiarch strcasecmp_l for PPC32.
20947         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20948         multiarch objects.
20949         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20950         (__libc_ifunc_impl_list): Likewise.
20952         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20953         file.
20954         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20955         file.
20956         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20957         multiarch strncmp for PPC32.
20958         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20959         multiarch objects.
20960         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20961         (__libc_ifunc_impl_list): Likewise.
20963         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20964         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20965         file.
20966         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20967         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20968         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20969         multiarch objects.
20970         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20971         (__libc_ifunc_impl_list): Likewise.
20973         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20974         file.
20975         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20976         file.
20977         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20978         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20979         multiarch objects.
20980         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20981         (__libc_ifunc_impl_list): Likewise.
20983         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20984         file.
20985         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20986         file.
20987         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20988         multiarch rawmemchr for PPC32.
20989         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20990         multiarch objects.
20991         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20992         (__libc_ifunc_impl_list): Likewise.
20994         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20995         file.
20996         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20997         file.
20998         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20999         file: memrchr multiarch for PPC32.
21000         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
21001         multiarch objects.
21002         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
21003         (__libc_ifunc_impl_list): Likewise.
21005         * string/memchr.c (__memchr): Using macro to redefine symbol name.
21006         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
21007         file.
21008         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
21009         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
21010         multiarch memchr for PPC32.
21011         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
21012         multiarch objects.
21013         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21014         (__libc_ifunc_impl_list): Likewise.
21016         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
21017         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
21018         file.
21019         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
21020         file.
21021         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
21022         file: multiarch mempcpy for PPC32.
21023         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
21024         multiarch objects.
21025         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21026         (__libc_ifunc_impl_list): Likewise.
21028         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
21029         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
21030         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
21031         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
21032         multiarch bzero for PPC32.
21033         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
21034         file.
21035         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
21036         file.
21037         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
21038         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
21039         file: multiarch memset for PPC32.
21040         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
21041         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
21042         memset multiarch objects.
21043         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21044         (__libc_ifunc_impl_list): Likewise.
21046         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
21047         file.
21048         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
21049         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
21050         memcmp for PPC32.
21051         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
21052         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
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/memcpy-a2.S: New file.
21058         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
21059         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
21060         file.
21061         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
21062         file.
21063         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
21064         file.
21065         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
21066         multiarch memcpy for PPC32.
21067         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
21068         multiarch objects.
21069         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
21070         (__libc_ifunc_impl_list): Likewise.
21072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
21073         support multiarch for POWER/PPC32.
21074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
21075         Likewise.
21076         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
21077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
21078         Implies file to make multiarch folder appers before the fpu and
21079         default folder for power4 configuration.
21081 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21083         * scripts/bench.pl: Append volatile keyword to type.
21085 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21087         * sysdeps/sh/sotruss-lib.c: New file.
21088         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
21090 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21094 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
21096         [BZ #6810]
21097         * math/w_tgamma.c: Include <errno.h>.
21098         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
21099         * math/w_tgammaf.c: Include <errno.h>.
21100         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
21101         * math/w_tgammal.c: Include <errno.h>.
21102         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
21103         * math/auto-libm-test-in: Do not allow missing errno on tgamma
21104         underflow.  Add more tgamma tests.
21105         * math/auto-libm-test-out: Regenerated.
21106         * sysdeps/i386/fpu/libm-test-ulps: Update.
21107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21109         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
21110         sin, sinh, tan, tanh, tgamma, y0 and y1.
21111         * math/auto-libm-test-out: Regenerated.
21112         * math/libm-test.inc (TEST_COND_x86_64): New macro.
21113         (TEST_COND_x86): Likewise.
21114         (M_E2l): Remove macro.
21115         (M_E3l): Likewise.
21116         (M_2_SQRT_PIl): Likewise.
21117         (M_SQRT_PIl): Likewise.
21118         (M_1_DIV_El): Likewise.
21119         (log_test_data): Use AUTO_TESTS_f_f.
21120         (log10_test_data): Likewise.
21121         (log1p_test_data): Likewise.
21122         (log2_test_data): Likewise.
21123         (sin_test_data): Likewise.
21124         (sin_tonearest_test_data): Likewise.
21125         (sin_towardzero_test_data): Likewise.
21126         (sin_downward_test_data): Likewise.
21127         (sin_upward_test_data): Likewise.
21128         (sinh_test_data): Likewise.
21129         (sinh_tonearest_test_data): Likewise.
21130         (sinh_towardzero_test_data): Likewise.
21131         (sinh_downward_test_data): Likewise.
21132         (sinh_upward_test_data): Likewise.
21133         (tan_test_data): Likewise.
21134         (tan_tonearest_test_data): Likewise.
21135         (tan_towardzero_test_data): Likewise.
21136         (tan_downward_test_data): Likewise.
21137         (tan_upward_test_data): Likewise.
21138         (tanh_test_data): Likewise.
21139         (tgamma_test_data): Likewise.
21140         (y0_test_data): Likewise.
21141         (y1_test_data): Likewise.
21142         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
21143         (special_real_inputs): Add pi/4.
21144         * sysdeps/i386/fpu/libm-test-ulps: Update.
21145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21147 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21149         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
21150         "longjmp_target" static probes.
21151         (__longjmp): Rename to __longjmp_symbol.
21152         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
21153         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
21154         on which longjmp to generate.
21155         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21156         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
21157         probe.
21158         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21159         (__sigjmp_save): Rename to __sigjmp_save_symbol.
21160         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
21161         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
21162         and __sigjmp_save_symbol based on which sigsetjmp to generated.
21163         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
21164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
21165         __longjmp_symbol based on which __longjmp to generate.
21166         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
21167         probe.
21168         (setjmp): Rename to setjmp_symbol.
21169         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21170         (_setjmp): Rename to _setjmp_symbol.
21171         (__sigsetjmp): Rename to __sigsetjmp_symbol.
21172         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
21173         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
21174         which setjmp to generate.
21175         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
21176         "longjmp_target" static probes.
21178 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
21180         * benchtests/README: Add note about output arguments.
21181         * benchtests/bench-sincos.c: Remove file.
21182         * benchtests/sincos-inputs: New file.
21183         * scripts/bench.pl: Identify output arguments and define
21184         static variables for them.
21186         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
21188         [BZ #15941]
21189         * Makefile (INSTALL): Add install-plain.texi as the primary
21190         dependency.
21191         * manual/install-plain.texi: New file.
21192         * manual/install.texi: Include node directive only for
21193         non-plaintext output.
21195 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
21197         * stdlib/longlong.h: Update from GCC.
21199         [BZ #6807]
21200         [BZ #15901]
21201         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
21202         * math/w_j0f.c (y0f): Likewise.
21203         * math/w_j0l.c (__y0l): Likewise.
21204         * math/w_j1.c (y1): Likewise.
21205         * math/w_j1f.c (y1f): Likewise.
21206         * math/w_j1l.c (__y1l): Likewise
21207         * math/w_jn.c (yn): Likewise.
21208         * math/w_jnf.c (ynf): Likewise.
21209         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
21210         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
21211         value for Bessel function domain errors outside _SVID_ mode.
21212         Adjust sign of return value for yn (negative integer, 0).
21213         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
21214         by zero in return for negative x and set sign appropriately for
21215         negative n.
21216         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
21217         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
21218         * math/libm-test.inc (y0_test_data): Add more tests and adjust
21219         expectations in error cases.
21220         (y1_test_data): Likewise.
21221         (yn_test_data): Likewise.
21222         * sysdeps/i386/fpu/libm-test-ulps: Update.
21223         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21225 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21227         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
21228         "64" to "64-v1".  Add "64-v2".
21229         (abi-64-options): Rename to ...
21230         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
21231         (abi-64-condition): Rename to ...
21232         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
21233         (abi-64-ld-soname): Rename to ...
21234         (abi-64-v1-ld-soname): ... this.
21235         (abi-64-v2-options): Define.
21236         (abi-64-v2-condition): Likewise.
21237         (abi-64-v2-ld-soname): Likewise.
21238         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
21239         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
21240         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
21241         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
21242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
21244 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21245             Alan Modra  <amodra@gmail.com>
21247         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
21248         New versions for use with the ELFv2 ABI.
21249         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
21250         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
21251         declaration.
21252         (struct La_ppc64v2_retval): Likewise.
21253         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
21254         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21255         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21256         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21257         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21258         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21259         Do not save or restore CR.
21260         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21261         (_dl_profile_resolve): Do no save or restore CR.  Support extended
21262         return values for ELFv2 ABI.  Fix location of FPR return registers.
21263         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21264         updated values for _CALL_ELF == 2.
21265         (La_regs, La_retval, int_retval): Likewise.
21267 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21269         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21270         (FRAME_MIN_SIZE_PARM): Likewise.
21271         (FRAME_BACKCHAIN): Likewise.
21272         (FRAME_CR_SAVE): Likewise.
21273         (FRAME_LR_SAVE): Likewise.
21274         (FRAME_TOC_SAVE): Likewise.
21275         (FRAME_PARM_SAVE): Likewise.
21276         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21277         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21278         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21279         (call_mcount_parm_offset): New macro.
21280         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21281         (PROF): Use symbolic stack frame offsets.
21282         (TAIL_CALL_SYSCALL_ERROR): Likewise.
21283         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21284         Redefine in terms of FRAME_MIN_SIZE.
21285         (_dl_runtime_resolve): Use symbolic stack frame offsets.
21286         (_dl_profile_resolve): Likewise.  Update comment.
21287         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21288         symbols stack frame offsets.
21289         (__sigsetjmp): Likewise.
21290         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21291         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21292         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21293         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21296         (FRAME_BACKCHAIN): Remove.
21297         (FRAME_CR_SAVE): Likewise.
21298         (FRAME_LR_SAVE): Likewise.
21299         (FRAME_COMPILER_DW): Likewise.
21300         (FRAME_LINKER_DW): Likewise.
21301         (FRAME_TOC_SAVE): Likewise.
21302         (FRAME_PARM_SAVE): Likewise.
21303         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21304         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21305         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21307         (CHECK_SP): Use symbolic stack frame offsets.
21308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21309         zone" instead of caller's parameter save area for temp storage.
21310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21311         Likewise.  Also, use symbolic stack frame offsets.
21312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21313         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21314         our own stack frame instead of the caller's.
21315         (__socket): Use symbolic stack frame offsets.
21317 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21318             Alan Modra  <amodra@gmail.com>
21320         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21321         Define.
21322         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21323         (PPC64_LOCAL_ENTRY_OFFSET): Define.
21324         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21325         New function.
21326         (elf_machine_fixup_plt): Call it.
21327         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
21328         reloc arguments.
21329         (elf_machine_rela): Update call to elf_machine_plt_conflict.
21330         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21331         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21332         r2 before calling target.
21334 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21335             Alan Modra  <amodra@gmail.com>
21337         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21338         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21339         versions of macros to support ELFv2 ABI.
21340         (LOCALENTRY): New macro.
21341         (ENTRY, EALIGN): Use it.
21342         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21343         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21344         fall through into ENTRY entry point.
21345         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21346         Only define if _CALL_ELF != 2.
21348         (elf_machine_matches_host): Verify ABI version matches.
21349         (RTLD_START): Use LOCALENTRY.
21350         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21351         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21352         (PLT_ENTRY_WORDS): New macro.
21353         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21354         (elf_machine_runtime_setup): Support ELFv2 ABI.
21355         (elf_machine_fixup_plt): Likewise.
21356         (elf_machine_plt_conflict): Likewise.
21357         (resolve_ifunc): Likewise.
21358         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21359         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21360         Likewise.
21361         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21362         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21363         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21364         (makecontext): Support ELFv2 ABI.
21365         * elf/elf.h (EF_PPC64_ABI): Define.
21367 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21369         * sysdeps/powerpc/powerpc64/sysdep.h
21370         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21371         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21372         (ENTRY) [ASSEMBLER]: ... but instead here ...
21373         (EALIGN) [ASSEMBLER]: ... and here.
21374         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21375         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21376         (ENTRY_2) [!ASSEMBLER]: Use it.
21377         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21378         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
21379         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21380         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21381         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21382         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21383         Use PPC64_LOAD_FUNCPTR.
21385         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21387 2013-12-04  Alan Modra  <amodra@gmail.com>
21389         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21390         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21391         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21392         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21394         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21395         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21396         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21397         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21398         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21399         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21401 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21404         (__makecontext): Fix incorrect CFI when backtracing out of
21405         context created via makecontext.
21406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21407         (__setcontext): Fix incorrect CFI during switch to new context.
21408         (__novec_setcontext): Likewise.
21410 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
21412         [BZ #4772]
21413         * time/strptime_l.c (__strptime_internal): Allow modifiers
21414         in strptime.
21415         * time/tst-strptime.c (day_tests): Add testcase.
21417 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21419         * scripts/bench.pl: Skip over blank lines.
21421 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21423         [BZ #926]
21424         * manual/time.texi (Calendar Time): Clarify what timezone functions
21425         use.
21427 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21429         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21431 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
21433         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21434         implementation.
21435         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21436         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21437         * debug/memset_chk.c (__memset_chk): Likewise.
21438         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21439         * debug/strncpy_chk.c: Likewise.
21441 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21443         [BZ #15268]
21444         [BZ #15425]
21445         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21446         (__ieee754_exp): For possibly underflowing results, check size of
21447         result and force underflow exception if required.
21448         * math/auto-libm-test-in: Add more tests of exp.
21449         * math/auto-libm-test-out: Regenerated.
21450         * sysdeps/i386/fpu/libm-test-ulps: Update.
21451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21453         [BZ #16283]
21454         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21455         * math/w_exp2f.c (__exp2f): Likewise.
21456         * math/w_exp2l.c (__exp2l): Likewise.
21457         * math/auto-libm-test-in: Do not allow missing errno on exp2
21458         underflow.
21459         * math/auto-libm-test-out: Regenerated.
21461 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
21463         [BZ #16274]
21464         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21465         handle filename validation.
21466         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21467         (do_open): Delete.
21469 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21471         [BZ #6786]
21472         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21473         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21474         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21475         <float.h>.
21476         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21477         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21478         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21479         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21480         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21481         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21482         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21483         * math/auto-libm-test-in: Don't allow missing errno from erfc.
21484         Add more erfc tests.
21485         * math/auto-libm-test-out: Regenerated.
21486         * sysdeps/i386/fpu/libm-test-ulps: Update.
21487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21489         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21490         exp2, expm1, j0 and j1.
21491         * math/auto-libm-test-out: Regenerated.
21492         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21493         (erfc_test_data): Likewise.
21494         (exp_test_data): Likewise.
21495         (exp_tonearest_test_data): Likewise.
21496         (exp_towardzero_test_data): Likewise.
21497         (exp_downward_test_data): Likewise.
21498         (exp_upward_test_data): Likewise.
21499         (exp10_test_data): Likewise.
21500         (exp2_test_data): Likewise.
21501         (expm1_test_data): Likewise.
21502         (j0_test_data): Likewise.
21503         (j1_test_data): Likewise.
21504         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21505         (input_flag_type): Add flag_xfail_rounding.
21506         (input_flags): Add xfail-rounding.
21507         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21508         (output_for_one_input_case): Handle flag_xfail_rounding.
21509         * sysdeps/i386/fpu/libm-test-ulps: Update.
21510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21512 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
21514         [BZ #16289]
21515         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21516         division by 0.
21518 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21520         [BZ #16195]
21521         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21522         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21523         (STAP_PROBE0): New macro.
21524         (STAP_PROBE1): Likewise.
21525         (STAP_PROBE2): Likewise.
21526         (STAP_PROBE3): Likewise.
21527         (STAP_PROBE4): Likewise.
21529 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
21531         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21533 2013-12-02  Steve Ellcey  <sellcey@mips.com>
21535         * benchtests/Makefile (bench): Add sqrt.
21536         (LDLIBS-bench-sqrt): New.
21537         * benchtests/sqrt-input: New.
21539 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
21541         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21542         (GAIH_EAI): Likewise.
21543         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21544         (gaih_inet): Likewise.
21545         (getaddrinfo): Don't use GAIH_EAI.
21547         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21548         (struct gaih): Remove definition.
21550 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21552         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21553         Use HERRNOP directly.
21555 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21559 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
21561         * math/gen-auto-libm-tests.c (test_functions): Add more
21562         single-argument functions.
21563         (special_fill_pi_2): New function.
21564         (special_fill_minus_pi_2): Likewise.
21565         (special_fill_pi_6): Likewise.
21566         (special_fill_minus_pi_6): Likewise.
21567         (special_fill_pi_3): Likewise.
21568         (special_fill_2pi_3): Likewise.
21569         (special_fill_e): Likewise.
21570         (special_fill_1_e): Likewise.
21571         (special_fill_e_minus_1): Likewise.
21572         (special_real_inputs): Add more special inputs.
21573         (output_for_one_input_case): Do not require ERANGE on underflow to
21574         zero if round-to-nearest result does not underflow to zero, unless
21575         exact results required.
21576         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21577         atan, atanh, cbrt, cos and cosh.
21578         * math/auto-libm-test-out: Regenerated.
21579         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21580         (acos_tonearest_test_data): Likewise.
21581         (acos_towardzero_test_data): Likewise.
21582         (acos_downward_test_data): Likewise.
21583         (acos_upward_test_data): Likewise.
21584         (acosh_test_data): Likewise.
21585         (asin_test_data): Likewise.
21586         (asin_tonearest_test_data): Likewise.
21587         (asin_towardzero_test_data): Likewise.
21588         (asin_upward_test_data): Likewise.
21589         (asinh_test_data): Likewise.
21590         (atan_test_data): Likewise.
21591         (atanh_test_data): Likewise.
21592         (cbrt_test_data): Likewise.
21593         (cos_test_data): Likewise.
21594         (cos_tonearest_test_data): Likewise.
21595         (cos_towardzero_test_data): Likewise.
21596         (cos_downward_test_data): Likewise.
21597         (cos_upward_test_data): Likewise.
21598         (cosh_test_data): Likewise.
21599         (cosh_tonearest_test_data): Likewise.
21600         (cosh_towardzero_test_data): Likewise.
21601         (cosh_downward_test_data): Likewise.
21602         (cosh_upward_test_data): Likewise.
21603         * sysdeps/i386/fpu/libm-test-ulps: Update.
21604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21606 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
21608         [BZ #6787]
21609         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21610         * math/w_exp10f.c (__exp10f): Likewise.
21611         * math/w_exp10l.c (__exp10l): Likewise.
21612         * math/libm-test.inc (exp10_test_data): Add more tests and expect
21613         errno settings in existing tests.
21615         [BZ #14032]
21616         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21617         precision control set to double precision.
21618         * sysdeps/i386/fpu/w_sqrt.c: New file.
21619         * math/auto-libm-test-in: Add more tests.
21620         * math/auto-libm-test-out: Update.
21622         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21623         (sqrt_test_tonearest): New function.
21624         (sqrt_towardzero_test_data): New variable.
21625         (sqrt_test_towardzero): New function.
21626         (sqrt_downward_test_data): New variable.
21627         (sqrt_test_downward): New function.
21628         (sqrt_upward_test_data): New variable.
21629         (sqrt_test_upward): New function.
21630         (main): Call the new functions.
21632         * math/gen-auto-libm-tests.c: New file.
21633         * math/auto-libm-test-in: Likewise.
21634         * math/auto-libm-test-out: New generated file.
21635         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21636         variables.
21637         (%beautify): Add generated representations of zero.
21638         (top level): Set $auto_input and call parse_auto_input.
21639         (beautify): Remove trailing "f" from hex float constants.
21640         (parse_args): Handle XFAIL_TEST.
21641         (convert_condition): New function.
21642         (or_value): Likewise.
21643         (or_cond_value): Likewise.
21644         (generate_testfile): Handle AUTO_TESTS_* lines.
21645         (parse_auto_input): New function.
21646         * math/libm-test.inc (XFAIL_TEST): New macro.
21647         (ERRNO_UNCHANGED): Update value.
21648         (ERRNO_EDOM): Likewise.
21649         (ERRNO_ERANGE): Likewise.
21650         (IGNORE_RESULT): Likewise.
21651         (TEST_COND_flt_32): New macro.
21652         (TEST_COND_dbl_64): Likewise.
21653         (TEST_COND_ldbl_96_intel): Likewise.
21654         (TEST_COND_ldbl_96_m68k): Likewise.
21655         (TEST_COND_ldbl_128): Likewise.
21656         (TEST_COND_ldbl_128ibm): Likewise.
21657         (TEST_COND_long32): Likewise.
21658         (TEST_COND_long64): Likewise.
21659         (TEST_COND_before_rounding): Likewise.
21660         (TEST_COND_after_rounding): Likewise.
21661         (enable_test): Handle XFAIL_TEST flag.
21662         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21663         with finite results.
21664         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21665         auto-libm-test-out.
21667 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21668             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21670         [BZ #16214]
21671         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21672         __tls_get_addr_internal instead of __tls_get_offset in order to
21673         avoid GOT pointer dependency.  Make rtld export
21674         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21675         __tls_get_addr since we are a __tls_get_offset platform.
21676         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21677         GOT pointer being set up before.
21678         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21680 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
21682         * manual/math.texi (Errors in Math Functions): Document accuracy
21683         goals.
21685         [BZ #15004]
21686         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21687         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21688         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21689         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21690         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21691         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21692         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21693         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21694         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21695         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21696         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21697         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21698         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21699         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21700         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21701         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21703         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21704         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21705         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21706         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21707         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21708         Likewise.
21709         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21710         Likewise.
21711         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21712         Likewise.
21713         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21714         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21715         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21716         atomic-feupdateenv and flt-rounds.
21717         * sysdeps/powerpc/nofpu/Versions (libc): Add
21718         __atomic_feholdexcept, __atomic_feclearexcept,
21719         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21720         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21721         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21722         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21723         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21724         here.
21725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21726         Update.
21728         * manual/arith.texi (FP Exceptions): Document that exceptions may
21729         not be raised when matherr is used.
21730         (Math Error Reporting): Document overflow in directed rounding
21731         modes.  Document that errno may not be set when finite values are
21732         returned on overflow.  Document intent to set errno on underflow
21733         only for underflow to zero.
21735         [BZ #16271]
21736         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21737         round-to-nearest then adjust result for other rounding modes.
21738         * include/fenv.h (fegetround): Use libm_hidden_proto.
21739         * math/fegetround.c (fegetround): Use libm_hidden_def.
21740         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21741         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21742         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21743         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21744         Likewise.
21745         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21746         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21747         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21748         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21750 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21752         [BZ #16077]
21753         * nss/Versions (libnss_files): Add
21754         _nss_files_gethostbyname3_r.
21755         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21756         New function.
21757         (HOST_DB_LOOKUP): Remove macro.
21758         (_nss_files_gethostbyname_r): Implement function without the
21759         HOST_DB_LOOKUP macro.
21760         (_nss_files_gethostbyname2_r): Likewise.
21762 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
21764         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21766 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
21768         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21769         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21770         warning.
21772 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21774         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21775         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21776         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21777         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21778         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21779         __fe_nomask_env_priv and attribute_hidden.
21780         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21781         (libc_feupdateenv_test_ppc): Likewise.
21782         (libc_feresetround_ppc): Likewise.
21783         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21784         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21785         compat_symbol macro.
21786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21787         (__fe_nomask_env): Likewise.
21788         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21790 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21792         * string/Makefile: Remove ifunc tests.
21793         * string/test-string.h: Define TEST_IFUNC.
21794         * string/test-bcopy-ifunc.c: Remove.
21795         * string/test-bzero-ifunc.c: Likewise.
21796         * string/test-memccpy-ifunc.c: Likewise.
21797         * string/test-memchr-ifunc.c: Likewise.
21798         * string/test-memcmp-ifunc.c: Likewise.
21799         * string/test-memcpy-ifunc.c: Likewise.
21800         * string/test-memmem-ifunc.c: Likewise.
21801         * string/test-memmove-ifunc.c: Likewise.
21802         * string/test-mempcpy-ifunc.c: Likewise.
21803         * string/test-memrchr-ifunc.c: Likewise.
21804         * string/test-memset-ifunc.c: Likewise.
21805         * string/test-rawmemchr-ifunc.c: Likewise.
21806         * string/test-stpcpy-ifunc.c: Likewise.
21807         * string/test-stpncpy-ifunc.c: Likewise.
21808         * string/test-strcasecmp-ifunc.c: Likewise.
21809         * string/test-strcasestr-ifunc.c: Likewise.
21810         * string/test-strcat-ifunc.c: Likewise.
21811         * string/test-strchr-ifunc.c: Likewise.
21812         * string/test-strchrnul-ifunc.c: Likewise.
21813         * string/test-strcmp-ifunc.c: Likewise.
21814         * string/test-strcpy-ifunc.c: Likewise.
21815         * string/test-strcspn-ifunc.c: Likewise.
21816         * string/test-strlen-ifunc.c: Likewise.
21817         * string/test-strncasecmp-ifunc.c: Likewise.
21818         * string/test-strncat-ifunc.c: Likewise.
21819         * string/test-strncmp-ifunc.c: Likewise.
21820         * string/test-strncpy-ifunc.c: Likewise.
21821         * string/test-strnlen-ifunc.c: Likewise.
21822         * string/test-strpbrk-ifunc.c: Likewise.
21823         * string/test-strrchr-ifunc.c: Likewise.
21824         * string/test-strspn-ifunc.c: Likewise.
21825         * string/test-strstr-ifunc.c: Likewise.
21827 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21829         * benchtests/Makefile: Remove ifunc tests.
21830         * benchtests/bench-string.h: Define TEST_IFUNC.
21831         * benchtests/bench-bcopy-ifunc.c: Remove.
21832         * benchtests/bench-bzero-ifunc.c: Likewise.
21833         * benchtests/bench-memccpy-ifunc.c: Likewise.
21834         * benchtests/bench-memchr-ifunc.c: Likewise.
21835         * benchtests/bench-memcmp-ifunc.c: Likewise.
21836         * benchtests/bench-memcpy-ifunc.c: Likewise.
21837         * benchtests/bench-memmem-ifunc.c: Likewise.
21838         * benchtests/bench-memmove-ifunc.c: Likewise.
21839         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21840         * benchtests/bench-memrchr-ifunc.c: Likewise.
21841         * benchtests/bench-memset-ifunc.c: Likewise.
21842         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21843         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21844         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21845         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21846         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21847         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21848         * benchtests/bench-strcat-ifunc.c: Likewise.
21849         * benchtests/bench-strchr-ifunc.c: Likewise.
21850         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21851         * benchtests/bench-strcmp-ifunc.c: Likewise.
21852         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21853         * benchtests/bench-strcpy-ifunc.c: Likewise.
21854         * benchtests/bench-strcspn-ifunc.c: Likewise.
21855         * benchtests/bench-strlen-ifunc.c: Likewise.
21856         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21857         * benchtests/bench-strncat-ifunc.c: Likewise.
21858         * benchtests/bench-strncmp-ifunc.c: Likewise.
21859         * benchtests/bench-strncpy-ifunc.c: Likewise.
21860         * benchtests/bench-strnlen-ifunc.c: Likewise.
21861         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21862         * benchtests/bench-strrchr-ifunc.c: Likewise.
21863         * benchtests/bench-strsep-ifunc.c: Likewise.
21864         * benchtests/bench-strspn-ifunc.c: Likewise.
21865         * benchtests/bench-strstr-ifunc.c: Likewise.
21867 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21869         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21871 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21873         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21874         * rt/aio.h: Likewise.
21875         * sysdeps/gnu/bits/utmp.h: Likewise.
21876         * sysdeps/gnu/bits/utmpx.h: Likewise.
21877         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21878         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21879         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21880         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21881         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21882         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21883         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21884         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21885         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21886         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21887         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21888         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21889         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21891         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21892         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21893         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21894         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21895         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21896         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21897         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21898         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21899         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21900         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21901         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21902         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21903         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21904         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21905         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21906         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21907         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21908         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21909         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21910         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21911         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21912         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21913         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21914         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21915         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21916         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21917         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21918         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21920 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21922         [BZ #16245]
21923         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21924         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21926 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21928         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21929         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21930         Likewise.
21932 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21934         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21935         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21936         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21937         (__fesetround): Remove define.
21938         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21939         rounding and exceptions handling.
21940         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21941         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21942         (__fe_nomask_env): Likewise.
21943         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21944         __fegetround instead of fegetround.
21945         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21946         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21948 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21950         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21951         it's there.
21953         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21955 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21957         [BZ #11157]
21958         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21959         (encrypt_r): Likewise.
21960         * malloc/obstack.h (obstack_free): Likewise.
21961         * posix/unistd.h (encrypt): Likewise.
21963 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21965         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21966         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21967         DL_CALL_DT_FINI() that call the functions directly.
21968         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21969         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21970         * elf/dl-fini.c: Likewise.
21972 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21974         * malloc/hooks.c (memalign_check): Add alignment rounding.
21975         * malloc/malloc.c (_mid_memalign): New function.
21976         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21977         Implement by calling _mid_memalign.
21978         * manual/probes.texi (Memory Allocation Probes): Remove
21979         memory_valloc_retry and memory_pvalloc_retry.
21981 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21983         * locale/programs/locarchive.c (open_archive): Add const
21984         qualifier to ARCHIVEFNAME and copy default fname to
21985         DEFAULT_FNAME.
21987         [BZ #15601]
21988         * libio/tst-widetext.input: Rename Oriya to Odia.
21989         * locale/iso-639.def: Likewise.
21991         * manual/probes.texi (Mathematical Function Probes): Add
21992         documentation for sin, cos, asin and acos probes.
21993         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21994         (__sin32): Add slowasin probe.
21995         (__cos32): Add slowacos probe.
21996         (__mpsin): Add slowsin probe.
21997         (__mpcos): Add slowcos probe.
21999 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
22001         [BZ #15483]
22002         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
22003         thread-local __sim_exceptions_thread and global
22004         __sim_exceptions_global.
22005         (__sim_disabled_exceptions): Change to thread-local
22006         __sim_disabled_exceptions_thread and global
22007         __sim_disabled_exceptions_global.
22008         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22009         and global __sim_round_mode_global.
22010         (__simulate_exceptions): Use thread-local floating-point state and
22011         set global state from it as needed.
22012         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
22013         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
22014         __sim_round_mode_thread.
22015         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
22016         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
22017         and global __sim_exceptions_global.
22018         (__sim_disabled_exceptions): Change to thread-local
22019         __sim_disabled_exceptions_thread and global
22020         __sim_disabled_exceptions_global.
22021         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
22022         and global __sim_round_mode_global.
22023         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
22024         (SIM_SET_GLOBAL): Likewise.
22025         * sysdeps/powerpc/soft-fp/sfp-machine.h
22026         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
22027         __sim_round_mode_thread.
22028         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
22029         __sim_disabled_exceptions_thread.
22030         (__sim_exceptions): Change to __sim_exceptions_thread.
22031         (__sim_disabled_exceptions): Change to
22032         __sim_disabled_exceptions_thread.
22033         (__sim_round_mode): Change to __sim_round_mode_thread.
22034         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
22035         thread-local floating-point state and set global state from it as
22036         needed.
22037         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
22038         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
22039         (__sim_disabled_exceptions): Remove extern declaration.
22040         (feenableexcept): Use thread-local floating-point state and set
22041         global state from it as needed.
22042         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
22043         extern declaration.
22044         (__sim_disabled_exceptions): Likewise.
22045         (__sim_round_mode): Likewise.
22046         (__fegetenv): Use thread-local floating-point state.
22047         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
22048         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
22049         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
22050         floating-point state and set global state from it as needed.
22051         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
22052         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
22053         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
22054         Likewise.
22055         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
22056         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
22057         Likewise.
22058         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
22059         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
22060         Use __sim_round_mode_thread.
22061         * math/test-fenv-tls.c: New file.
22062         * math/Makefile (tests): Add test-fenv-tls.
22063         ($(objpfx)test-fenv-tls): Depend on
22064         $(common-objpfx)nptl/libpthread.so.
22066 2013-11-19  Andreas Schwab  <schwab@suse.de>
22068         * locale/programs/locale.c (show_info): Decode wordarray elements.
22069         * locale/categories.def (LC_MONETARY): Add element for
22070         _NL_MONETARY_CRNCYSTR.
22071         * locale/C-monetary.c (conversion_rate): New variable.
22072         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
22073         element.
22075 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
22077         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
22078         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
22080 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
22082         * elf/Makefile (tst-auxv): New test.
22083         * elf/tst-auxv.c: New
22084         * elf/rtld.c (dl_main): Adjust AT_EXECFN
22086 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
22088         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
22089         (hidden_proto): Caller changed.
22090         (hidden_tls_proto): New macro.
22091         (libc_hidden_tls_proto): Likewise.
22092         (rtld_hidden_tls_proto): Likewise.
22093         (libm_hidden_tls_proto): Likewise.
22094         (libresolv_hidden_tls_proto): Likewise.
22095         (librt_hidden_tls_proto): Likewise.
22096         (libdl_hidden_tls_proto): Likewise.
22097         (libnss_files_hidden_tls_proto): Likewise.
22098         (libnsl_hidden_tls_proto): Likewise.
22099         (libnss_nisplus_hidden_tls_proto): Likewise.
22100         (libutil_hidden_tls_proto): Likewise.
22102 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
22104         [BZ #10253]
22105         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
22106         (decompose_rpath): Defer expansion to fillin_rpath.
22107         (_dl_init_paths): Pass linkmap to fillin_rpath.
22109 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22111         * benchtests/Makefile: Add strsep.
22112         * benchtests/bench-strsep.c: New file: strsep benchtest.
22113         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
22115 2013-11-18  Andreas Schwab  <schwab@suse.de>
22117         * locale/programs/locale.c (show_info) [case byte]: Check for
22118         '\377' instead of '\177'.
22119         * locale/C-monetary.c (not_available): Always use "\377".
22120         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
22121         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
22122         detect unavailable sign_posn locale elements.
22123         * locale/localeconv.c (__localeconv): For grouping and
22124         mon_grouping handle "\177" and "\377" like no grouping.
22125         (INT_ELEM): New macro.  Use it to set all numeric members.
22126         * locale/programs/ld-monetary.c (monetary_read)
22127         <tok_mon_grouping>: Normalize single -1 to the empty string.
22128         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
22129         Likewise.
22131 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22133         [BZ #16055]
22134         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
22135         when we match (nil).
22136         * stdio-common/tst-sscanf.c (struct test): Add testcase.
22138 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
22140         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
22141         (NO_TEST_INLINE): Update value.
22142         (ERRNO_UNCHANGED): Likewise.
22143         (ERRNO_EDOM): Likewise.
22144         (ERRNO_ERANGE): Likewise.
22145         (IGNORE_RESULT): Likewise.
22146         (check_float_internal): Check signs of NaN results if
22147         TEST_NAN_SIGN used.
22148         (check_complex): Pass TEST_NAN_SIGN flag through to second
22149         check_float_internal call.
22150         (copysign_test_data): Add tests with quiet NaNs as second
22151         argument.  Use TEST_NAN_SIGN.
22152         (fabs_test_data): Add test of negative quiet NaN argument.  Use
22153         TEST_NAN_SIGN.
22154         (signbit_test_data): Add tests of quiet NaN argument.
22155         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
22157         * math/gen-libm-test.pl (show_exceptions): Take extra argument
22158         $ignore_result.
22159         (parse_args): Handle function results specified as IGNORE.
22160         * math/libm-test.inc (IGNORE_RESULT): New macro.
22161         (check_float_internal): Do not check numerical result if flag
22162         IGNORE_RESULT set.
22163         (check_complex): Pass through IGNORE_RESULT to second
22164         check_float_internal call.
22165         (check_int): Do not check numerical result if flag IGNORE_RESULT
22166         set.
22167         (check_long): Likewise.
22168         (check_bool): Likewise.
22169         (check_longlong): Likewise.
22170         (lrint_test_data): Add tests of infinite and NaN arguments.
22171         (lrint_tonearest_test_data): Likewise.
22172         (lrint_towardzero_test_data): Likewise.
22173         (lrint_downward_test_data): Likewise.
22174         (lrint_upward_test_data): Likewise.
22175         (llrint_test_data): Likewise.
22176         (llrint_tonearest_test_data): Likewise.
22177         (llrint_towardzero_test_data): Likewise.
22178         (llrint_downward_test_data): Likewise.
22179         (llrint_upward_test_data): Likewise.
22180         (lround_test_data): Likewise.
22181         (llround_test_data): Likewise.
22183         * math/libm-test.inc (NO_TEST_INLINE): New macro.
22184         (ERRNO_UNCHANGED): Update value.
22185         (ERRNO_EDOM): Likewise.
22186         (ERRNO_ERANGE): Likewise.
22187         (NO_TEST_INLINE_FLOAT): New macro.
22188         (NO_TEST_INLINE_DOUBLE): Likewise.
22189         (enable_test): New function.
22190         (RUN_TEST_f_f): Check enable_test before running test.
22191         (RUN_TEST_2_f): Likewise.
22192         (RUN_TEST_fff_f): Likewise.
22193         (RUN_TEST_c_f): Likewise.
22194         (RUN_TEST_f_f1): Likewise.
22195         (RUN_TEST_fF_f1): Likewise.
22196         (RUN_TEST_fI_f1): Likewise.
22197         (RUN_TEST_ffI_f1): Likewise.
22198         (RUN_TEST_c_c): Likewise.
22199         (RUN_TEST_cc_c): Likewise.
22200         (RUN_TEST_f_i): Likewise.
22201         (RUN_TEST_f_i_tg): Likewise.
22202         (RUN_TEST_ff_i_tg): Likewise.
22203         (RUN_TEST_f_b): Likewise.
22204         (RUN_TEST_f_b_tg): Likewise.
22205         (RUN_TEST_f_l): Likewise.
22206         (RUN_TEST_f_L): Likewise.
22207         (RUN_TEST_fFF_11): Likewise.
22208         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
22209         conditionals.
22210         (cosh_test_data): Likewise.
22211         (exp_test_data): Likewise.
22212         (expm1_test_data): Likewise.
22213         (hypot_test_data): Likewise.
22214         (pow_test_data): Likewise.
22215         (sinh_test_data): Likewise.
22216         (tanh_test_data): Likewise.
22217         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
22218         flags argument.
22220         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
22221         tests with quiet NaN input and output.
22222         (acosh_test_data): Likewise.
22223         (asin_test_data): Likewise.
22224         (asinh_test_data): Likewise.
22225         (atan_test_data): Likewise.
22226         (atanh_test_data): Likewise.
22227         (atan2_test_data): Likewise.
22228         (cbrt_test_data): Likewise.
22229         (cos_test_data): Likewise.
22230         (cosh_test_data): Likewise.
22231         (erf_test_data): Likewise.
22232         (erfc_test_data): Likewise.
22233         (exp_test_data): Likewise.
22234         (exp10_test_data): Likewise.
22235         (exp2_test_data): Likewise.
22236         (expm1_test_data): Likewise.
22237         (hypot_test_data): Likewise.
22238         (j0_test_data): Likewise.
22239         (j1_test_data): Likewise.
22240         (jn_test_data): Likewise.
22241         (lgamma_test_data): Likewise.
22242         (log_test_data): Likewise.
22243         (log10_test_data): Likewise.
22244         (log1p_test_data): Likewise.
22245         (log2_test_data): Likewise.
22246         (pow_test_data): Likewise.
22247         (scalb_test_data): Likewise.
22248         (sin_test_data): Likewise.
22249         (sincos_test_data): Likewise.
22250         (sinh_test_data): Likewise.
22251         (tan_test_data): Likewise.
22252         (tanh_test_data): Likewise.
22253         (tgamma_test_data): Likewise.
22254         (y0_test_data): Likewise.
22255         (y1_test_data): Likewise.
22256         (yn_test_data): Likewise.
22258         [BZ #16167]
22259         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22260         argument being NaN and avoid computations with second argument in
22261         that case.
22262         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22263         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22264         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22266 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
22268         * locale/iso-639.def: Add Chitwani Tharu (the).
22270 2013-11-14  Andreas Schwab  <schwab@suse.de>
22272         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22273         word instead of empty string.
22275 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22278         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22280         (__fe_nomask_env): Likewise.
22282 2013-11-13  Steve Ellcey  <sellcey@mips.com>
22284         * benchtests/bench-timing.h: Include time.h.
22286 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
22288         [BZ #15997]
22289         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22290         to 3.4.0 for x32.
22291         * sysdeps/unix/sysv/linux/configure: Regenerated.
22293 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
22295         [BZ #16151]
22296         * stdlib/strtod_l.c (round_and_return): Do not consider
22297         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22298         exponent one less than half the least subnormal exponent.
22299         * stdlib/test-strtod-round-data: Add more tests.
22300         * stdlib/tst-strtod-round.c (tests): Regenerated.
22302 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22304         [BZ #14143]
22305         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22306         (__fe_mask_env): Likewise.
22307         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22308         libm_hidden_proto and add function prototype.
22309         (__fe_mask_env): Add function prototype.
22310         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22311         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22313         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22315         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22317 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22319         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22320         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22322 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22324         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22325         of htab_find_slot().
22327 2013-11-11  David S. Miller  <davem@davemloft.net>
22329         [BZ #16150]
22330         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22331         symbol in the non-vis3 case in static builds.
22332         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22333         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22334         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22335         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22337 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
22339         [BZ #387]
22340         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22341         it is empty.
22343 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22345         * benchtests/Makefile: Add bench-strtod.
22346         * benchtests/bench-strtod.c: New file: strtod benchtest
22348 2013-11-11  Andreas Schwab  <schwab@suse.de>
22350         [BZ #16153]
22351         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22352         terminating NUL in key length.
22354 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22356         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22357         Add artificial ODP entry for vDSO symbol for PPC64.
22358         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22359         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22361 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22363         [BZ #15374]
22364         * nss/getent.c (services_keys): Recognize services starting with digit.
22366 2013-11-06  David S. Miller  <davem@davemloft.net>
22368         [BZ #15985]
22369         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22370         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22372 2013-11-06  Will Newton  <will.newton@linaro.org>
22374         * manual/memory.texi (Malloc Examples): Remove register
22375         keyword from examples.
22377 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
22379         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22381 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
22383         [BZ #6981]
22384         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22385         depending on [__GCC_IEC_559 > 0].
22386         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22387         depending on [__GCC_IEC_559_COMPLEX > 0].
22389 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
22391         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22392         to iso-639.def.
22394 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
22396         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22398 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
22400         [BZ #16112]
22401         * malloc/malloc (malloc_info): Do not handle first bin as
22402         special case.
22404 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
22406         * locale/iso-639.def: Add Central Nahuatl (nhn).
22408 2013-11-01  Bruno Haible  <bruno@clisp.org>
22410         [BZ #7003]
22411         * manual/math.texi (BSD Random): Specify range upper bound as
22412         in POSIX.
22414 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
22416         * locale/iso-639.def: Add Meadow Mari (mhr).
22418 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
22420         [BZ #14752], [BZ #15763]
22421         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22422         Validate name.
22423         * rt/tst_shm.c: Add test for escaping directory.
22425 2013-10-31  Andreas Schwab  <schwab@suse.de>
22427         [BZ #15917]
22428         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22429         followed by 'x' as part of digit sequence.
22430         * stdio-common/tst-sscanf.c (double_tests2): New tests.
22432 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22434         [BZ #16037]
22435         * configure.ac: allow GNU Make 4.0 and greater.
22436         * configure: Regenerated.
22438 2013-10-30  Will Newton  <will.newton@linaro.org>
22440         [BZ #16038]
22441         * malloc/hooks.c (memalign_check): Limit alignment to the
22442         maximum representable power of two.
22443         * malloc/malloc.c (__libc_memalign): Likewise.
22444         * malloc/tst-memalign.c (do_test): Add test for very
22445         large alignment values.
22446         * malloc/tst-posix_memalign.c (do_test): Likewise.
22448 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22450         [BZ #11087]
22451         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22452         (munmap_chunk): Likewise.
22453         (mremap_chunk): Likewise.
22455 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22457         [BZ #15799]
22458         * stdlib/div.c (div): Remove obsolete code.
22459         * stdlib/ldiv.c (ldiv): Likewise.
22460         * stdlib/lldiv.c (lldiv): Likewise.
22462 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22464         [BZ #16071]
22465         * nss/nss_files/files-XXX.c (get_contents_ret): New
22466         enumerator.
22467         (get_contents): New function.
22468         (internal_getent): Use it.  Expand size of LINEBUFLEN.
22470 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
22472         * configure.in: Moved to ...
22473         * configure.ac: ... here. Change reference to configure.in
22474         to configure.ac.
22475         * sysdeps/arm/preconfigure.ac: ... here.
22476         configure.in to configure.ac.
22477         * sysdeps/gnu/configure.in: Moved to ...
22478         * sysdeps/gnu/configure.ac: ... here.
22479         * sysdeps/i386/configure.in: Moved to ...
22480         * sysdeps/i386/configure.ac: ... here.
22481         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22482         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22483         * sysdeps/mach/configure.in: Moved to ...
22484         * sysdeps/mach/configure.ac: ... here.
22485         * sysdeps/mach/hurd/configure.in: Moved to ...
22486         * sysdeps/mach/hurd/configure.ac: ... here.
22487         * sysdeps/powerpc/configure.in: Moved to ...
22488         * sysdeps/powerpc/configure.ac: ... here.
22489         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22490         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22491         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22492         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22493         * sysdeps/s390/s390-32/configure.in: Moved to ...
22494         * sysdeps/s390/s390-32/configure.ac: ... here.
22495         * sysdeps/s390/s390-64/configure.in: Moved to ...
22496         * sysdeps/s390/s390-64/configure.ac: ... here.
22497         * sysdeps/sh/configure.in: Moved to ...
22498         * sysdeps/sh/configure.ac: ... here.
22499         * sysdeps/sparc/configure.in: Moved to ...
22500         * sysdeps/sparc/configure.ac: ... here.
22501         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22502         * sysdeps/unix/sysv/linux/configure.ac: ... here.
22503         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22504         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22505         * sysdeps/x86_64/configure.in: Moved to ...
22506         * sysdeps/x86_64/configure.ac: ... here.
22507         * sysdeps/x86_64/preconfigure.in: Moved to ...
22508         * sysdeps/x86_64/preconfigure.ac: ... here.
22509         * aclocal.m4: Change reference to configure.in to configure.ac.
22510         * config.h.in: Likewise.
22511         * manual/install.texi: Likewise.
22512         * manual/maint.texi: Likewise.
22513         * Makefile: Likewise.
22514         * malloc/Makefile: Likewise.
22515         * nscd/Makefile: Likewise.
22516         * Makeconfig: Change reference to configure.in and
22517         preconfigure.in to configure.ac and preconfigure.ac
22518         respectively.
22519         * INSTALL: Regenerated.
22520         * configure: Likewise.
22521         * sysdeps/gnu/configure: Likewise.
22522         * sysdeps/i386/configure: Likewise.
22523         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22524         * sysdeps/mach/configure: Likewise.
22525         * sysdeps/mach/hurd/configure: Likewise.
22526         * sysdeps/powerpc/configure: Likewise.
22527         * sysdeps/powerpc/powerpc32/configure: Likewise.
22528         * sysdeps/powerpc/powerpc64/configure: Likewise.
22529         * sysdeps/s390/s390-32/configure: Likewise.
22530         * sysdeps/s390/s390-64/configure: Likewise.
22531         * sysdeps/sh/configure: Likewise.
22532         * sysdeps/sparc/configure: Likewise.
22533         * sysdeps/unix/sysv/linux/configure: Likewise.
22534         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22535         * sysdeps/x86_64/configure: Likewise.
22536         * sysdeps/x86_64/preconfigure: Likewise.
22538 2013-10-29  Andreas Schwab  <schwab@suse.de>
22540         * stdio-common/Makefile (tst-swscanf-ENV): Define.
22542 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22544         * benchtests/pow-inputs: Add new inputs.
22546         * benchtests/exp-inputs: Add new inputs.
22548         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22549         conditional check for return value.
22550         (__cos32): Likewise.
22552 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22554         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22555         to provide a boost for large inputs with word alignment.
22556         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22557         implementation based on optimized PPC64 strcpy.
22558         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22559         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22560         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22561         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22563 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22565         [BZ #2801]
22566         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22568 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22570         [BZ #14876]
22571         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22572         * time/tst-strptime.c (day_tests): Add testcase.
22574 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22576         [BZ #14029]
22577         * manual/pattern.texi: Acknowledge that fnmatch can fail.
22579 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
22581         [BZ #16074]
22582         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22583         MAP_FAILED on error.
22585 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22587         [BZ #16072]
22588         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22589         heap for large requests.
22591 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
22593         [BZ #9954]
22594         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22595         result if the result has no associated interface.
22596         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22597         interface for all 127.X.Y.Z addresses.
22599 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
22601         * locale/iso-639.def: Add Ligurian (lij)
22603 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
22605         [BZ #15825]
22606         * sunrpc/rpc_main.c: Document rpcgen -5.
22608 2013-10-19  Michael Stahl  <mstahl@redhat.com>
22610         * elf/rtld.c (do_preload): Print the reason why preloading failed.
22612 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22614         [BZ #10278]
22615         * posix/glob.c: Match only directories when trailing slash is present.
22616         * posix/tst-gnuglob.c (my_opendir): Do not open files.
22617         (main): Add testcase.
22619 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22621         [BZ #15670]
22622         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22624 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
22626         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22627         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22628         AUTH_DES and cindex for FIPS 140-2.
22629         (DES Encryption): Add cindex FIPS 46-3.
22631         * locale/locarchive.h (struct locarhandle): Add fname.
22632         * locale/programs/localedef.c (main): Pass ARGV[remaining]
22633         if an optional argument was specified to --list-archive,
22634         otherwise NULL.
22635         * locale/programs/locarchive.c (show_archive_content): Take new
22636         argument fname and pass it via ah.fname to open_archive.
22637         * locale/programs/localedef.h: Update decl.
22638         (open_archive): If AH->fname is non-null, open that file
22639         rather than the default file name, and don't ignore ENOENT.
22640         (create_archive): Set AH.fname to NULL.
22641         (delete_locales_from_archive): Likewise.
22642         (add_locales_to_archive): Likewise.
22643         * locale/programs/locfile.c (write_all_categories): Likewise.
22645 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
22646             Aldy Hernandez  <aldyh@redhat.com>
22648         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22649         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22650         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22651         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22652         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22653         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22654         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22655         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22656         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22657         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22658         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22659         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22660         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22661         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22662         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22663         Likewise.
22664         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22665         Likewise.
22666         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22667         Likewise.
22668         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22669         Likewise.
22670         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22671         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22672         Likewise.
22673         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22674         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22675         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22676         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22677         Likewise.
22678         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22679         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22680         * sysdeps/powerpc/preconfigure: Likewise.
22681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22682         Likewise.
22683         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22684         Replace contents of file by #include of <fenv_libc.h>.
22685         * sysdeps/powerpc/soft-fp/sfp-machine.h
22686         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22687         and <sys/prctl.h>.
22688         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22689         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22690         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22691         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22692         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22693         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22694         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22695         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22696         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22697         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22698         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22699         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22701         Allow copysignl PLT reference to be missing.
22703 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
22704             Joseph Myers  <joseph@codesourcery.com
22706         [BZ #15948]
22707         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22708         single character.
22709         (add_to_tablewc): Assert sequence of wide characters is nonempty.
22711 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22713         * elf/tst-tls-dlinfo.c: Don't include tls.h.
22714         * elf/tst-tls1.c: Likewise.
22715         * elf/tst-tls10.h: Likewise.
22716         * elf/tst-tls14.c: Likewise.
22717         * elf/tst-tls2.c: Likewise.
22718         * elf/tst-tls3.c: Likewise.
22719         * elf/tst-tls4.c: Likewise.
22720         * elf/tst-tls5.c: Likewise.
22721         * elf/tst-tls6.c: Likewise.
22722         * elf/tst-tls7.c: Likewise.
22723         * elf/tst-tls8.c: Likewise.
22724         * elf/tst-tls9.c: Likewise.
22725         * elf/tst-tlsmod1.c: Likewise.
22726         * elf/tst-tlsmod13.c: Likewise.
22727         * elf/tst-tlsmod13a.c: Likewise.
22728         * elf/tst-tlsmod14a.c: Likewise.
22729         * elf/tst-tlsmod16a.c: Likewise.
22730         * elf/tst-tlsmod16b.c: Likewise.
22731         * elf/tst-tlsmod2.c: Likewise.
22732         * elf/tst-tlsmod3.c: Likewise.
22733         * elf/tst-tlsmod4.c: Likewise.
22734         * elf/tst-tlsmod5.c: Likewise.
22735         * elf/tst-tlsmod6.c: Likewise.
22737 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
22739         [BZ #12486]
22740         * malloc/malloc.c: remove checks for statistics.
22742 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22744         [BZ #15277]
22745         * inet/inet_net.c (inet_network): Detect additional invalid strings.
22746         * inet/tst-network.c: Add testcase.
22748 2013-10-17  Andreas Schwab  <schwab@suse.de>
22750         [BZ #15218]
22751         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22752         to determine canonical name.
22754 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22756         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22757         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22758         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22759         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22760         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22761         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22762         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22763         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22764         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22765         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22766         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22767         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22768         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22769         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22770         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22771         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22772         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22773         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22774         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22775         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22776         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22777         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22778         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22779         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22780         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22781         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22782         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22783         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22784         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22785         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22786         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22787         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22788         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22789         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22790         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22791         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22792         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22793         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22794         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22795         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22796         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22797         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22798         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22799         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22800         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22801         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22802         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22803         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22804         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22805         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22806         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22807         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22808         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22809         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22810         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22811         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22812         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22813         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22815 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
22817         [BZ #16041]
22818         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22819         make result into a quiet NaN.
22821 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
22823         * soft-fp/adddf3.c: Fix horizontal whitespace.
22824         * soft-fp/addsf3.c: Likewise.
22825         * soft-fp/addtf3.c: Likewise.
22826         * soft-fp/divdf3.c: Likewise.
22827         * soft-fp/divsf3.c: Likewise.
22828         * soft-fp/divtf3.c: Likewise.
22829         * soft-fp/double.h: Likewise.
22830         * soft-fp/eqdf2.c: Likewise.
22831         * soft-fp/eqsf2.c: Likewise.
22832         * soft-fp/eqtf2.c: Likewise.
22833         * soft-fp/extenddftf2.c: Likewise.
22834         * soft-fp/extended.h: Likewise.
22835         * soft-fp/extendsfdf2.c: Likewise.
22836         * soft-fp/extendsftf2.c: Likewise.
22837         * soft-fp/extendxftf2.c: Likewise.
22838         * soft-fp/fixdfdi.c: Likewise.
22839         * soft-fp/fixdfsi.c: Likewise.
22840         * soft-fp/fixdfti.c: Likewise.
22841         * soft-fp/fixsfdi.c: Likewise.
22842         * soft-fp/fixsfsi.c: Likewise.
22843         * soft-fp/fixsfti.c: Likewise.
22844         * soft-fp/fixtfdi.c: Likewise.
22845         * soft-fp/fixtfsi.c: Likewise.
22846         * soft-fp/fixtfti.c: Likewise.
22847         * soft-fp/fixunsdfdi.c: Likewise.
22848         * soft-fp/fixunsdfsi.c: Likewise.
22849         * soft-fp/fixunsdfti.c: Likewise.
22850         * soft-fp/fixunssfdi.c: Likewise.
22851         * soft-fp/fixunssfsi.c: Likewise.
22852         * soft-fp/fixunssfti.c: Likewise.
22853         * soft-fp/fixunstfdi.c: Likewise.
22854         * soft-fp/fixunstfsi.c: Likewise.
22855         * soft-fp/fixunstfti.c: Likewise.
22856         * soft-fp/floatdidf.c: Likewise.
22857         * soft-fp/floatdisf.c: Likewise.
22858         * soft-fp/floatditf.c: Likewise.
22859         * soft-fp/floatsidf.c: Likewise.
22860         * soft-fp/floatsisf.c: Likewise.
22861         * soft-fp/floatsitf.c: Likewise.
22862         * soft-fp/floattidf.c: Likewise.
22863         * soft-fp/floattisf.c: Likewise.
22864         * soft-fp/floattitf.c: Likewise.
22865         * soft-fp/floatundidf.c: Likewise.
22866         * soft-fp/floatundisf.c: Likewise.
22867         * soft-fp/floatunditf.c: Likewise.
22868         * soft-fp/floatunsidf.c: Likewise.
22869         * soft-fp/floatunsisf.c: Likewise.
22870         * soft-fp/floatunsitf.c: Likewise.
22871         * soft-fp/floatuntidf.c: Likewise.
22872         * soft-fp/floatuntisf.c: Likewise.
22873         * soft-fp/floatuntitf.c: Likewise.
22874         * soft-fp/fmadf4.c: Likewise.
22875         * soft-fp/fmasf4.c: Likewise.
22876         * soft-fp/fmatf4.c: Likewise.
22877         * soft-fp/gedf2.c: Likewise.
22878         * soft-fp/gesf2.c: Likewise.
22879         * soft-fp/getf2.c: Likewise.
22880         * soft-fp/ledf2.c: Likewise.
22881         * soft-fp/lesf2.c: Likewise.
22882         * soft-fp/letf2.c: Likewise.
22883         * soft-fp/muldf3.c: Likewise.
22884         * soft-fp/mulsf3.c: Likewise.
22885         * soft-fp/multf3.c: Likewise.
22886         * soft-fp/negdf2.c: Likewise.
22887         * soft-fp/negsf2.c: Likewise.
22888         * soft-fp/negtf2.c: Likewise.
22889         * soft-fp/op-1.h: Likewise.
22890         * soft-fp/op-2.h: Likewise.
22891         * soft-fp/op-4.h: Likewise.
22892         * soft-fp/op-8.h: Likewise.
22893         * soft-fp/op-common.h: Likewise.
22894         * soft-fp/quad.h: Likewise.
22895         * soft-fp/single.h: Likewise.
22896         * soft-fp/soft-fp.h: Likewise.
22897         * soft-fp/sqrtdf2.c: Likewise.
22898         * soft-fp/sqrtsf2.c: Likewise.
22899         * soft-fp/sqrttf2.c: Likewise.
22900         * soft-fp/subdf3.c: Likewise.
22901         * soft-fp/subsf3.c: Likewise.
22902         * soft-fp/subtf3.c: Likewise.
22903         * soft-fp/truncdfsf2.c: Likewise.
22904         * soft-fp/trunctfdf2.c: Likewise.
22905         * soft-fp/trunctfsf2.c: Likewise.
22906         * soft-fp/trunctfxf2.c: Likewise.
22907         * soft-fp/unorddf2.c: Likewise.
22908         * soft-fp/unordsf2.c: Likewise.
22909         * soft-fp/unordtf2.c: Likewise.
22911 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22913         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22914         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22916 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22918         * elf/dl-libc.c: Clear initfini list after freeing.
22920 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22922         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22923         * soft-fp/addsf3.c: Likewise.
22924         * soft-fp/addtf3.c: Likewise.
22925         * soft-fp/divdf3.c: Likewise.
22926         * soft-fp/divsf3.c: Likewise.
22927         * soft-fp/divtf3.c: Likewise.
22928         * soft-fp/double.h: Likewise.
22929         * soft-fp/eqdf2.c: Likewise.
22930         * soft-fp/eqsf2.c: Likewise.
22931         * soft-fp/eqtf2.c: Likewise.
22932         * soft-fp/extenddftf2.c: Likewise.
22933         * soft-fp/extended.h: Likewise.
22934         * soft-fp/extendsfdf2.c: Likewise.
22935         * soft-fp/extendsftf2.c: Likewise.
22936         * soft-fp/extendxftf2.c: Likewise.
22937         * soft-fp/fixdfdi.c: Likewise.
22938         * soft-fp/fixdfsi.c: Likewise.
22939         * soft-fp/fixdfti.c: Likewise.
22940         * soft-fp/fixsfdi.c: Likewise.
22941         * soft-fp/fixsfsi.c: Likewise.
22942         * soft-fp/fixsfti.c: Likewise.
22943         * soft-fp/fixtfdi.c: Likewise.
22944         * soft-fp/fixtfsi.c: Likewise.
22945         * soft-fp/fixtfti.c: Likewise.
22946         * soft-fp/fixunsdfdi.c: Likewise.
22947         * soft-fp/fixunsdfsi.c: Likewise.
22948         * soft-fp/fixunsdfti.c: Likewise.
22949         * soft-fp/fixunssfdi.c: Likewise.
22950         * soft-fp/fixunssfsi.c: Likewise.
22951         * soft-fp/fixunssfti.c: Likewise.
22952         * soft-fp/fixunstfdi.c: Likewise.
22953         * soft-fp/fixunstfsi.c: Likewise.
22954         * soft-fp/fixunstfti.c: Likewise.
22955         * soft-fp/floatdidf.c: Likewise.
22956         * soft-fp/floatdisf.c: Likewise.
22957         * soft-fp/floatditf.c: Likewise.
22958         * soft-fp/floatsidf.c: Likewise.
22959         * soft-fp/floatsisf.c: Likewise.
22960         * soft-fp/floatsitf.c: Likewise.
22961         * soft-fp/floattidf.c: Likewise.
22962         * soft-fp/floattisf.c: Likewise.
22963         * soft-fp/floattitf.c: Likewise.
22964         * soft-fp/floatundidf.c: Likewise.
22965         * soft-fp/floatundisf.c: Likewise.
22966         * soft-fp/floatunsidf.c: Likewise.
22967         * soft-fp/floatunsisf.c: Likewise.
22968         * soft-fp/floatuntidf.c: Likewise.
22969         * soft-fp/floatuntisf.c: Likewise.
22970         * soft-fp/floatuntitf.c: Likewise.
22971         * soft-fp/fmadf4.c: Likewise.
22972         * soft-fp/fmasf4.c: Likewise.
22973         * soft-fp/fmatf4.c: Likewise.
22974         * soft-fp/gedf2.c: Likewise.
22975         * soft-fp/gesf2.c: Likewise.
22976         * soft-fp/getf2.c: Likewise.
22977         * soft-fp/ledf2.c: Likewise.
22978         * soft-fp/lesf2.c: Likewise.
22979         * soft-fp/letf2.c: Likewise.
22980         * soft-fp/muldf3.c: Likewise.
22981         * soft-fp/mulsf3.c: Likewise.
22982         * soft-fp/multf3.c: Likewise.
22983         * soft-fp/negdf2.c: Likewise.
22984         * soft-fp/negsf2.c: Likewise.
22985         * soft-fp/negtf2.c: Likewise.
22986         * soft-fp/op-1.h: Likewise.
22987         * soft-fp/op-2.h: Likewise.
22988         * soft-fp/op-4.h: Likewise.
22989         * soft-fp/op-8.h: Likewise.
22990         * soft-fp/op-common.h: Likewise.
22991         * soft-fp/quad.h: Likewise.
22992         * soft-fp/single.h: Likewise.
22993         * soft-fp/soft-fp.h: Likewise.
22994         * soft-fp/sqrtdf2.c: Likewise.
22995         * soft-fp/sqrtsf2.c: Likewise.
22996         * soft-fp/sqrttf2.c: Likewise.
22997         * soft-fp/subdf3.c: Likewise.
22998         * soft-fp/subsf3.c: Likewise.
22999         * soft-fp/subtf3.c: Likewise.
23000         * soft-fp/truncdfsf2.c: Likewise.
23001         * soft-fp/trunctfdf2.c: Likewise.
23002         * soft-fp/trunctfsf2.c: Likewise.
23003         * soft-fp/trunctfxf2.c: Likewise.
23004         * soft-fp/unorddf2.c: Likewise.
23005         * soft-fp/unordsf2.c: Likewise.
23006         * soft-fp/unordtf2.c: Likewise.
23008 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
23010         [BZ #15672]
23011         * misc/error.c (error_tail): Fix possible buffer overflow.
23013 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
23015         [BZ #13028]
23016         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
23017         address.
23019 2013-10-14  P. J. McDermott  <pj@pehjota.net>
23021         [BZ #832]
23022         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
23023         testing pipefail option.
23025 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23027         * soft-fp/double.h: Indent preprocessor directives inside #if.
23028         * soft-fp/extended.h: Likewise.
23029         * soft-fp/op-2.h: Likewise.
23030         * soft-fp/op-4.h: Likewise.
23031         * soft-fp/op-common.h: Likewise.
23032         * soft-fp/quad.h: Likewise.
23033         * soft-fp/single.h: Likewise.
23034         * soft-fp/soft-fp.h: Likewise.
23036 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
23038         * iconv/iconv_prog.c: Fix typos.
23039         * stdio-common/psiginfo-data.h: Likewise.
23041 2013-10-12   Reuben Thomas <rrt@sc3d.org>
23043         [BZ #15764]
23044         * locale/setlocale.c: Fix typo.
23046 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
23048         [BZ #16036]
23049         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
23050         signaling NaN arguments.
23051         * soft-fp/unordsf2.c (__unordsf2): Likewise.
23052         * soft-fp/unordtf2.c (__unordtf2): Likewise.
23054         [BZ #14910]
23055         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
23056         unordered operands.
23057         * soft-fp/gesf2.c (__gesf2): Likewise.
23058         * soft-fp/getf2.c (__getf2): Likewise.
23059         * soft-fp/ledf2.c (__ledf2): Likewise.
23060         * soft-fp/lesf2.c (__lesf2): Likewise.
23061         * soft-fp/letf2.c (__letf2): Likewise.
23063         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
23064         * soft-fp/eqsf2.c (__eqsf2): Likewise.
23065         * soft-fp/eqtf2.c (__eqtf2): Likewise.
23066         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
23067         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
23068         * soft-fp/fixdfti.c (__fixdfti): Likewise.
23069         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
23070         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
23071         * soft-fp/fixsfti.c (__fixsfti): Likewise.
23072         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
23073         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
23074         * soft-fp/fixtfti.c (__fixtfti): Likewise.
23075         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
23076         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
23077         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
23078         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
23079         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
23080         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
23081         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
23082         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
23083         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
23084         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
23085         * soft-fp/floatdisf.c (__floatdisf): Likewise.
23086         * soft-fp/floatsisf.c (__floatsisf): Likewise.
23087         * soft-fp/floattidf.c (__floattidf): Likewise.
23088         * soft-fp/floattisf.c (__floattisf): Likewise.
23089         * soft-fp/floattitf.c (__floattitf): Likewise.
23090         * soft-fp/floatundidf.c (__floatundidf): Likewise.
23091         * soft-fp/floatundisf.c (__floatundisf): Likewise.
23092         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
23093         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
23094         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
23095         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
23096         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
23097         * soft-fp/gesf2.c (__gesf2): Likewise.
23098         * soft-fp/getf2.c (__getf2): Likewise.
23099         * soft-fp/ledf2.c (__ledf2): Likewise.
23100         * soft-fp/lesf2.c (__lesf2): Likewise.
23101         * soft-fp/letf2.c (__letf2): Likewise.
23103         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
23104         Undefine and redefine.
23105         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
23106         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
23107         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
23108         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
23109         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23110         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
23111         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23112         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
23113         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23114         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
23115         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23116         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
23117         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23118         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
23119         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
23121         [BZ #16032]
23122         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
23123         without decrementing exponent if mantissa >= that for the
23124         denominator, not >.
23125         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
23126         denominator, not >.  Decrement exponent in < case instead of
23127         incrementing in >= case.
23128         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
23129         without decrementing exponent if mantissa >= that for the
23130         denominator, not >.
23132         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
23133         computing saturated result for unsigned overflow.
23135 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23136             Jeff Law  <law@redhat.com>
23138         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
23139         (atan2Mp): Add systemtap probe marker.
23140         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
23141         (__ieee754_log): Add systemtap probe marker.
23142         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
23143         (atanMp): Add systemtap probe marker.
23144         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
23145         (tanMp): Add systemtap probe marker.
23146         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
23147         (__slowexp): Add systemtap probe marker.
23148         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
23149         (__slowpow): Add systemtap probe marker.
23150         * manual/probes.texi: Document probes.
23152 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
23154         [BZ #15362]
23155         * libio/fileops.c (_IO_new_file_write): Return count of bytes
23156         written.
23157         (_IO_new_file_xsputn): Don't return EOF if nothing has been
23158         written.
23159         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
23160         written to buffer but not flushed.
23161         * libio/iofwrite_u.c:  Likewise.
23162         * libio/iopadn.c:  Return bytes returned even if EOF was
23163         encountered.
23164         * libio/iowpadn.c:  Likewise.
23165         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
23166         if _IO_padn does not write the whole buffer.
23167         [!COMPILE_WPRINTF] (PAD): Likewise.
23169 2013-10-10  David S. Miller  <davem@davemloft.net>
23171         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
23172         directory block.
23174 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23176         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
23177         instead of FSF address.
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         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
23193         * soft-fp/fixdfti.c: Likewise.
23194         * soft-fp/fixsfti.c: Likewise.
23195         * soft-fp/fixtfti.c: Likewise.
23196         * soft-fp/fixunsdfti.c: Likewise.
23197         * soft-fp/fixunssfti.c: Likewise.
23198         * soft-fp/fixunstfti.c: Likewise.
23199         * soft-fp/floattidf.c: Likewise.
23200         * soft-fp/floattisf.c: Likewise.
23201         * soft-fp/floattitf.c: Likewise.
23202         * soft-fp/floatuntidf.c: Likewise.
23203         * soft-fp/floatuntisf.c: Likewise.
23204         * soft-fp/floatuntitf.c: Likewise.
23205         * soft-fp/trunctfxf2.c: Likewise.
23207 2013-10-10  David S. Miller  <davem@davemloft.net>
23209         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23211 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
23213         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
23214         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
23215         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
23216         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
23217         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
23218         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
23219         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
23221         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
23222         for NaNs before doing comparisons on argument.
23223         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
23224         Likewise.
23226 2013-10-10  Will Newton  <will.newton@linaro.org>
23228         * malloc/hooks.c (memalign_check): Ensure the value of bytes
23229         passed to _int_memalign does not overflow.
23231 2013-10-10  Torvald Riegel  <triegel@redhat.com>
23233         * scripts/bench.pl: Add include-sources directive.
23234         * benchtests/README: Update documentation.
23236 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
23238         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
23239         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
23240         instead of FP_INIT_ROUNDMODE.
23241         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
23242         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
23244         [BZ #16034]
23245         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
23246         copy class of input value.
23247         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
23248         not handle exceptions.
23249         * soft-fp/negsf2.c (__negsf2): Likewise.
23250         * soft-fp/negtf2.c (__negtf2): Likewise.
23251         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
23253 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
23255         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23256         semicolon.  From Linux kernel.
23258 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
23260         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23262 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
23264         [BZ #156]
23265         * manual/socket.texi: Added statement about buffer
23266         for gethostbyname2_r.
23268 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
23270         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23271         Use .p2align directive instead, throughout.
23272         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23273         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23274         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23275         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23276         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23277         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23278         * sysdeps/x86_64/strchr.S: Likewise.
23279         * sysdeps/x86_64/strrchr.S: Likewise.
23281 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23283         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23285         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23287         * sysdeps/generic/math_private.h (__mpsin1): Remove
23288         declaration.
23289         (__mpcos1): Likewise.
23290         (__mpsin): New argument __range_reduce.
23291         (__mpcos): Likewise.
23292         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23293         (slow): Use __mpsin and __mpcos.
23294         (slow1): Likewise.
23295         (slow2): Likewise.
23296         (sloww): Likewise.
23297         (sloww1): Likewise.
23298         (sloww2): Likewise.
23299         (bsloww): Likewise.
23300         (bsloww1): Likewise.
23301         (bsloww2): Likewise.
23302         (cslow2): Likewise.
23303         (csloww): Likewise.
23304         (csloww1): Likewise.
23305         (csloww2): Likewise.
23306         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23307         range_reduce.  Merge in __mpsin1.
23308         (__mpcos): Likewise.
23309         (__mpsin1): Remove.
23310         (__mpcos1): Likewise.
23312 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
23314         * locale/loadlocale.c (_nl_intern_locale_data): Use
23315         LOCFILE_ALIGNED_P.
23316         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23317         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23318         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23319         obstack data is appropriately aligned.
23320         (obstack_int32_grow_fast): Likewise.
23321         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23322         * locale/programs/locfile.c (add_locale_uint32): Likewise.
23323         (add_locale_uint32_array): Likewise.
23325 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23327         * benchtests/Makefile: Remove ARGLIST and RET variables.
23328         ($(objpfx)bench-%.c): Pass only function name to the script.
23329         * benchtests/README: Update documentation.
23330         * benchtests/acos-inputs: Add new directives.
23331         * benchtests/acosh-inputs: Likewise.
23332         * benchtests/asin-inputs: Likewise.
23333         * benchtests/asinh-inputs: Likewise.
23334         * benchtests/atan-inputs: Likewise.
23335         * benchtests/atanh-inputs: Likewise.
23336         * benchtests/cos-inputs: Likewise.
23337         * benchtests/cosh-inputs: Likewise.
23338         * benchtests/exp-inputs: Likewise.
23339         * benchtests/log-inputs: Likewise.
23340         * benchtests/pow-inputs: Likewise.
23341         * benchtests/rint-inputs: Likewise.
23342         * benchtests/sin-inputs: Likewise.
23343         * benchtests/sinh-inputs: Likewise.
23344         * benchtests/tan-inputs: Likewise.
23345         * benchtests/tanh-inputs: Likewise.
23346         * scripts/bench.pl: Add support for new directives.
23348 2013-10-07  Alan Modra  <amodra@gmail.com>
23350         * README: Fix careless merge.
23352 2013-10-05  Alan Modra  <amodra@gmail.com>
23354         * NEWS: Mention powerpc64le support and bugs fixed.
23355         * README: Both big-endian and little-endian powerpc64 supported.
23357 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23359         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23360         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23361         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23362         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23364 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
23366         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23367         match prototype.
23369 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
23371         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23372         Move -mhard-float appending from
23373         ports/sysdeps/powerpc/powerpc32/Makefile.
23374         [$(with-fp) = yes] (ASFLAGS): Likewise.
23375         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23376         * sysdeps/powerpc/nofpu: Move directory from
23377         ports/sysdeps/powerpc/nofpu.
23378         * sysdeps/powerpc/soft-fp: Move directory from
23379         ports/sysdeps/powerpc/soft-fp.
23380         * sysdeps/powerpc/powerpc32/405: Move directory from
23381         ports/sysdeps/powerpc/powerpc32/405.
23382         * sysdeps/powerpc/powerpc32/440: Move directory from
23383         ports/sysdeps/powerpc/powerpc32/440.
23384         * sysdeps/powerpc/powerpc32/464: Move directory from
23385         ports/sysdeps/powerpc/powerpc32/464.
23386         * sysdeps/powerpc/powerpc32/476: Move directory from
23387         ports/sysdeps/powerpc/powerpc32/476.
23388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23389         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23391         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23393         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23395         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23397         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23398         * README: Update for powerpc-*-linux-gnu software floating point
23399         support in libc.
23401         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23402         case to powerpc/powerpc32*.
23403         * sysdeps/unix/sysv/linux/configure: Regenerated.
23405         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23406         (_FPU_MASK_OM): Define as 0x04.
23407         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23408         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23409         0x00c10080.
23410         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23411         0x0000003c.
23412         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23415         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23416         getcontext_e500.
23417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23418         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23419         setcontext_e500.
23420         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23421         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23422         and setcontext_e500.
23424 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
23426         * locale/iso-3166.def: Update iso-1366.def and related occurrences
23428 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23430         * manual/threads.texi (Default Thread Attributes): Fix typo.
23432 2013-10-04  Will Newton  <will.newton@linaro.org>
23434         * malloc/Makefile: Add tst-memalign.
23435         * malloc/tst-memalign.c: New file.
23437         * malloc/tst-posix_memalign.c: Add comments.
23438         (do_test): Add comments and call free on all potentially
23439         allocated pointers. Add space after cast.
23441         * malloc/tst-pvalloc.c: Add comments.
23442         (do_test): Add comments and call free on all potentially
23443         allocated pointers. Remove duplicate check for NULL pointer.
23444         Add space after cast.
23446         * malloc/tst-valloc.c: Add comments.
23447         (do_test): Add comments and call free on all potentially
23448         allocated pointers. Remove duplicate check for NULL pointer.
23449         Add space after cast.
23451 2013-10-04  Alan Modra  <amodra@gmail.com>
23453         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23454         Use stdint types in rather than __attribute__((mode())).
23455         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23457 2013-10-04  Alan Modra  <amodra@gmail.com>
23459         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23460         Correct handling of unaligned relocs for little-endian.
23461         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23463 2013-10-04  Alan Modra  <amodra@gmail.com>
23465         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23466         * configure: Regenerate.
23467         * nptl/shlib-versions: Powerpc*le starts at 2.18.
23468         * shlib-versions: Likewise.
23470 2013-10-04  Alan Modra  <amodra@gmail.com>
23472         * string/tester.c (test_memrchr): Increment reported test cycle.
23474 2013-10-04  Alan Modra  <amodra@gmail.com>
23476         * string/test-memcpy.c (do_one_test): When reporting errors, print
23477         string address and don't overrun end of string.
23479 2013-10-04  Alan Modra  <amodra@gmail.com>
23481         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23482         insrdi.  Make better use of reg selection to speed exit slightly.
23483         Schedule entry path a little better.  Remove useless "are we done"
23484         checks on entry to main loop.  Handle wrapping around zero address.
23485         Correct main loop count.  Handle single left-over word from main
23486         loop inline rather than by using loop_small.  Remove extra word
23487         case in loop_small caused by wrong loop count.  Add little-endian
23488         support.
23489         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23490         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
23491         cache hint.
23492         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23493         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23494         support.  Avoid rlwimi.
23495         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23497 2013-10-04  Alan Modra  <amodra@gmail.com>
23499         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23500         insrdi.  Formatting.
23501         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23502         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23503         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23504         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23505         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23506         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23508 2013-10-04  Alan Modra  <amodra@gmail.com>
23510         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23511         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23512         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23513         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23514         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23515         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23516         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23517         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23518         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
23519         use of regs.  Use power7 mtocrf.  Tidy function tails.
23521 2013-10-04  Alan Modra  <amodra@gmail.com>
23523         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23524         Formatting.  Consistently use rXXX register defines or rN defines.
23525         Use early exit labels that avoid restoring unused non-volatile regs.
23526         Make cr field use more consistent with rWORDn compares.  Rename
23527         regs used as shift registers for unaligned loop, using rN defines
23528         for short lifetime/multiple use regs.
23529         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23530         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
23531         addi 1,1,64 to pop stack frame.  Simplify return value code.
23532         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23534 2013-10-04  Alan Modra  <amodra@gmail.com>
23536         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23537         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
23538         rather than rlwimi.
23539         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23540         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23541         little-endian support.  Correct typos.
23542         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
23543         rather than rlwimi.
23544         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
23545         in loop and entry code to keep "and." results.
23546         (strchr): Add little-endian support.  Comment.  Move cntlzd
23547         earlier in tail.
23548         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23550 2013-10-04  Alan Modra  <amodra@gmail.com>
23552         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23553         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23554         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23555         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23557 2013-10-04  Alan Modra  <amodra@gmail.com>
23559         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23560         (rTMP): Define as r11.
23561         (strcmp): Add little-endian support.  Optimise tail.
23562         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23563         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23564         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23565         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23566         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23567         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23568         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23570 2013-10-04  Alan Modra  <amodra@gmail.com>
23572         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23573         little-endian support.  Remove unnecessary "are we done" tests.
23574         Handle "s" wrapping around zero and extremely large "size".
23575         Correct main loop count.  Handle single left-over word from main
23576         loop inline rather than by using small_loop.  Correct comments.
23577         Delete "zero" tail, use "end_max" instead.
23578         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23580 2013-10-04  Alan Modra  <amodra@gmail.com>
23582         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23583         support.  Don't branch over align.
23584         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23585         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23586         support.  Rearrange tmp reg use to suit.  Comment.
23587         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23589 2013-10-04  Alan Modra  <amodra@gmail.com>
23591         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23593 2013-10-04  Alan Modra  <amodra@gmail.com>
23595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23596         conditional form of branch and link when obtaining pc.
23597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23599 2013-10-04  Alan Modra  <amodra@gmail.com>
23601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23602         HIWORD/LOWORD.
23603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23606 2013-10-04  Alan Modra  <amodra@gmail.com>
23608         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23609         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23610         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23611         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23612         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23613         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23614         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23615         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23616         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23617         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23619 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23620             Alistair Popple <alistair@ozlabs.au.ibm.com>
23621             Alan Modra <amodra@gmail.com>
23623         [BZ #15723]
23624         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23625         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23626         _dl_hwcap access for little-endian.
23627         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
23628         destroy vmx regs when saving unaligned.
23629         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23630         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
23631         destroy vmx regs when saving unaligned.
23633 2013-10-04  Alan Modra  <amodra@gmail.com>
23635         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23636         Don't use a union to pack hi/low value.
23638 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23640         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23641         for little-endian.
23642         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23643         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23644         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23645         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23646         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23648 2013-10-04  Alan Modra  <amodra@gmail.com>
23650         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23651         constants to usual value for .cst8 section, and remove redundant
23652         high address load.
23653         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23654         constant for 0x1p52.  Load little-endian words of double from
23655         correct stack offsets.
23657 2013-10-04  Alan Modra  <amodra@gmail.com>
23659         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23660         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23661         words of double from correct stack offsets.
23662         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23663         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23664         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23665         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23666         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23667         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23668         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23669         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23670         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23671         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23672         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23673         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23674         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23675         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23676         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23677         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23678         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23680 2013-10-04  Alan Modra  <amodra@gmail.com>
23682         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23683         64-bit int/double union.
23684         (_FPU_SETCW): Likewise.
23685         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23686         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23688 2013-10-04  Alan Modra  <amodra@gmail.com>
23690         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23691         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23693 2013-10-04  Alan Modra  <amodra@gmail.com>
23695         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23696         use vector int constants.
23697         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23699 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23701         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23702         array with long long.
23703         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23704         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23705         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23706         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23707         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23708         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23709         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23710         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23711         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23712         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23713         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23714         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23715         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23717 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23719         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23720         (__signbit): Likewise.  Correct for little-endian.
23721         (__signbitl): Call __signbit.
23722         (lrint): Correct for little-endian.
23723         (lrintf): Call lrint.
23725 2013-10-04  Alan Modra  <amodra@gmail.com>
23727         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23728         union 32-bit int array member with 64-bit int array.
23729         (t515, tm256): Double rather than long double.
23730         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23732 2013-10-04  Alan Modra  <amodra@gmail.com>
23734         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23735         Delete.
23736         (IEEE854_LONG_DOUBLE_BIAS): Delete.
23737         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23738         version of math_ldbl.h.
23740 2013-10-04  Alan Modra  <amodra@gmail.com>
23742         [BZ #15734], [BZ #15735]
23743         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23744         all uses of ieee875 long double macros and unions.  Simplify test
23745         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
23746         ldbl_extract_mantissa value for ix,iy exponents.  Properly
23747         normalize after ldbl_extract_mantissa, and don't add hidden bit
23748         already handled.  Don't treat low word of ieee854 mantissa like
23749         low word of IBM long double and mask off bit when testing for
23750         zero.
23751         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23752         all uses of ieee875 long double macros and unions.  Simplify tests
23753         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
23754         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
23755         two1022, instead use their values.  Recognise that tests for large
23756         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
23757         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23758         Rewrite all uses of ieee875 long double macros and unions.  Simplify
23759         test for 0.0L and nan.  Correct negation.
23760         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23761         ieee875 long double macros and unions.  Correct output for large
23762         magnitude x.  Correct absolute value calculation.
23763         (__erfcl): Likewise.
23764         * math/libm-test.inc: Add tests for errors discovered in IBM long
23765         double versions of fmodl, remainderl, erfl and erfcl.
23767 2013-10-04  Alan Modra  <amodra@gmail.com>
23769         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23770         all uses of ieee854 long double macros and unions.  Simplify tests
23771         for long doubles that are fully specified by the high double.
23772         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23773         Likewise.
23774         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23775         Remove dead code too.
23776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23777         (__ieee754_ynl): Likewise.
23778         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23779         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23780         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23781         Remove dead code too.
23782         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23783         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23784         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23785         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23786         Simplify.
23787         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23788         Simplify.
23789         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23790         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23791         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23792         Comment on variable precision.
23793         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23794         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23795         Likewise.
23796         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23797         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23798         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23799         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23800         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23802 2013-10-04  Alan Modra  <amodra@gmail.com>
23804         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23805         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23806         all uses of ieee854 long double macros and unions.
23807         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23808         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23809         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23810         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23811         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23812         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23813         Likewise.
23814         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23815         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23816         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23817         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23818         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23819         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23820         Simplify sign and nan test too.
23821         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23822         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23823         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23824         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23825         Likewise.
23826         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23827         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23828         Likewise.
23829         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23830         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23831         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23832         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23833         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23834         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23836 2013-10-04  Alan Modra  <amodra@gmail.com>
23838         * stdio-common/printf_size.c (__printf_size): Don't use
23839         union ieee854_long_double in fpnum union.
23840         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23841         signbit macro to retrieve sign from long double.
23842         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23843         retrieve sign from long double.
23844         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23845         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23846         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23847         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23848         * math/test-misc.c (main): Don't use union ieee854_long_double.
23850 2013-10-04  Alan Modra  <amodra@gmail.com>
23852         [BZ #15680]
23853         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23854         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23855         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23856         calculation.  Remove unnecessary test for denormal exponent.
23857         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23858         Correct handling of denormals.  Avoid undefined shift behaviour.
23859         Correct normalisation of low mantissa when low double is denormal.
23860         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23861         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23862         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23863         Correct normalisation of low mantissa.  Test for overflow of high
23864         mantissa and normalise.
23865         (ldbl_nearbyint): Use more readable constant for two52.
23866         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23867         (__mpn_construct_long_double): Fix test for overflow of high
23868         mantissa and correct normalisation.  Avoid undefined shift.
23870 2013-10-04  Alan Modra  <amodra@gmail.com>
23872         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23873         (union ibm_extended_long_double): Define as an array of ieee754_double.
23874         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23875         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23876         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23877         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23878         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23879         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23880         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23881         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23882         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23883         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23884         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23886 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23888         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23889         page size instead of calling getpagesize.
23891         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23892         (LOCFILE_ALIGN_MASK): Likewise.
23893         (LOCFILE_ALIGN_UP): Likewise.
23894         (LOCFILE_ALIGNED_P): Likewise.
23895         * locale/programs/ld-collate.c (collate_output): Use the new
23896         macros instead of __alignof__ (int32_t).
23897         * locale/weight.h (findidx): Likewise.
23899 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23901         [BZ #431]
23902         * manual/string.texi: Fix strncat and wcsncat.
23904 2013-10-03  Brooks Moses  <bmoses@google.com>
23906         [BZ #15915]
23907         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23908         * Makerules: ...here, and adjust associated comments.
23910 2013-10-02  Will Newton  <will.newton@linaro.org>
23912         * malloc/Makefile: Add tst-pvalloc.
23913         * malloc/tst-pvalloc.c: New file.
23915 2013-10-02  Will Newton  <will.newton@linaro.org>
23917         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23918         improve test coverage.
23920 2013-10-02  Will Newton  <will.newton@linaro.org>
23922         * malloc/Makefile: Add tst-posix_memalign.
23923         * malloc/tst-posix_memalign.c: New file.
23925 2013-10-01  Eric Blake  <eblake@redhat.com>
23927         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23928         Use __THROWNL rather than __THROW on static functions.
23930 2013-09-30  Petr Machata  <pmachata@redhat.com>
23932         * elf/elf.h (R_AARCH64_ABS16): New macro.
23933         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23934         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23935         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23936         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23937         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23938         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23939         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23940         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23941         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23942         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23943         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23944         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23945         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23946         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23947         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23948         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23949         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23950         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23951         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23952         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23953         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23954         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23955         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23956         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23957         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23958         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23959         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23960         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23961         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23962         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23963         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23964         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23965         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23966         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23967         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23968         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23969         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23970         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23971         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23972         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23973         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23974         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23975         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23976         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23977         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23978         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23979         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23980         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23981         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23982         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23983         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23984         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23985         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23986         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23987         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23988         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23989         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23990         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23991         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23992         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23993         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23994         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23995         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23996         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23997         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23998         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23999         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
24000         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
24001         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
24002         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
24003         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
24004         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
24005         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
24006         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
24007         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
24008         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
24009         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
24010         (R_AARCH64_TLSDESC_LDR): Likewise.
24011         (R_AARCH64_TLSDESC_ADD): Likewise.
24012         (R_AARCH64_TLSDESC_CALL): Likewise.
24014 2013-09-30  Andreas Schwab  <schwab@suse.de>
24016         [BZ #15048]
24017         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
24018         the nss database lookup.
24019         * nscd/initgrcache.c (addinitgroupsX): Likewise.
24020         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24022 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
24024         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
24026 2013-09-28  P. J. McDermott  <pj@pehjota.net>
24028         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
24029         ${Bash-specific parameter/pattern/string} parameter expansion.
24030         * sysdeps/unix/make-syscalls.sh: Likewise.
24032 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
24034         * sysdeps/sh/stackguard-macros.h: New file.
24036 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
24038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
24039         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
24040         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
24041         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
24042         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24043         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
24045 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24047         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
24048         Fix thread ID register.
24050 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
24052         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
24053         [POSIX || UNIX98]: Require rather than permitting all symbols from
24054         <time.h>.
24055         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
24056         element of struct sched_param.
24057         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
24058         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
24059         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
24060         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
24061         constant.
24063 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
24065         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
24066         argument calculation.
24068 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24070         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
24071         Expect macro.
24072         [POSIX] (pthread_attr_t): Do not require type.
24073         [POSIX] (pthread_cond_t): Likewise.
24074         [POSIX] (pthread_condattr_t): Likewise.
24075         [POSIX] (pthread_key_t): Likewise.
24076         [POSIX] (pthread_mutex_t): Likewise.
24077         [POSIX] (pthread_mutexattr_t): Likewise.
24078         [POSIX] (pthread_once_t): Likewise.
24079         [POSIX] (pthread_t): Likewise.
24080         [POSIX-based standards] (pthread_atfork): Expect function.
24082 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
24083             Richard Sandiford  <richard@codesourcery.com>
24085         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
24086         (swap_endianness_p): New extern variable.
24087         (set_big_endian): New inline function.
24088         (maybe_swap_uint32): Likewise.
24089         (maybe_swap_uint32_array): Likewise.
24090         (maybe_swap_uint32_obstack): Likewise.
24091         * locale/programs/locfile.c: Include <stdbool.h>.
24092         (swap_endianness_p): New variable.
24093         (add_locale_uint32): Call maybe_swap_uint32.
24094         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
24095         (write_locale_data): Call maybe_swap_uint32_array.
24096         * locale/programs/ld-collate.c (obstack_int32_grow): Call
24097         maybe_swap_uint32.
24098         (obstack_int32_grow_fast): Likewise.
24099         (output_weightwc): Call maybe_swap_uint32_obstack.
24100         (collate_output): Likewise.
24101         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
24102         (OPT_LITTLE_ENDIAN): Likewise.
24103         (options): Add --little-endian and --big-endian options.
24104         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
24105         * locale/programs/locarchive.c: Include "locfile.h".
24106         (GET): New macro.
24107         (SET): Likewise.
24108         (INC): Likewise.
24109         (create_archive): Use the new macros to access fields of
24110         structures directly mapped from or written to locale archives.
24111         (oldlocrecentcmp): Likewise.
24112         (enlarge_archive): Likewise.
24113         (insert_name): Likewise.
24114         (add_alias): Likewise.
24115         (add_locale): Likewise.
24116         (delete_locales_from_archive): Likewise.
24117         (show_archive_content): Likewise.
24118         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
24119         locale data.
24121 2013-09-24  Roland McGrath  <roland@hack.frob.com>
24123         * manual/freemanuals.texi: Updated from (newly) canonical copy at
24124         http://www.gnu.org/doc/freemanuals.texi.
24125         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
24127 2013-09-24  Will Newton  <will.newton@linaro.org>
24129         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
24130         macro.
24132 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
24134         * locale/hashval.h (compute_hashval): Interpret bytes of key as
24135         unsigned char.
24137 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
24139         * manual/threads.texi (POSIX Threads): Fix a typo.
24141 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
24143         [BZ #14547]
24144         * string/tst-strcoll-overflow.c: New test case.
24145         * string/Makefile (xtests): Add tst-strcoll-overflow.
24146         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
24147         cache if string sizes may cause integer overflow.
24149         [BZ #14547]
24150         * string/strcoll_l.c (coll_seq): New members rule, idx,
24151         save_idx and back_us.
24152         (get_next_seq_nocache): New function.
24153         (do_compare_nocache): New function.
24154         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
24155         when malloc fails.
24157 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
24159         [BZ #15754]
24160         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
24161         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
24162         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
24164         [BZ #15754]
24165         * elf/Makefile (tests): Add tst-ptrguard1.
24166         (tests-static): Add tst-ptrguard1-static.
24167         (tst-ptrguard1-ARGS): Define.
24168         (tst-ptrguard1-static-ARGS): Define.
24169         * elf/tst-ptrguard1.c: New file.
24170         * elf/tst-ptrguard1-static.c: New file.
24171         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
24172         * sysdeps/i386/stackguard-macros.h: Likewise.
24173         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
24174         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
24175         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
24176         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
24177         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
24178         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
24180 2013-09-23  Hector Marco  <hecmargi@upv.es>
24181             Ismael Ripoll  <iripoll@disca.upv.es>
24182             Carlos O'Donell  <carlos@redhat.com>
24184         [BZ #15754]
24185         * sysdeps/generic/stackguard-macros.h: Define
24186         __pointer_chk_guard_local and POINTER_CHK_GUARD.
24187         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
24188         Define __pointer_chk_guard_local.
24189         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
24190         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
24192 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
24194         [BZ #15859]
24195         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
24197 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
24199         * include/string.h (__ffs): Declare as hidden.
24200         * string/ffs.c (__ffs): Define as hidden.
24201         * sysdeps/i386/ffs.c (__ffs): Likewise.
24202         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24203         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
24204         * sysdeps/s390/ffs.c (__ffs): Likewise.
24205         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
24207 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
24209         * NEWS: Mention malloc probes.
24211         * malloc/arena.c (new_heap): New memory_heap_new probe.
24212         (grow_heap): New memory_heap_more probe.
24213         (shrink_heap): New memory_heap_less probe.
24214         (heap_trim): New memory_heap_free probe.
24215         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
24216         (systrim): New memory_sbrk_less probe.
24217         * manual/probes.texi: Document them.
24219         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
24220         * manual/probes.texi: Document it.
24222         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
24223         (__libc_realloc): Add memory_realloc_retry probe.
24224         (__libc_memalign): Add memory_memalign_retry probe.
24225         (__libc_valloc): Add memory_valloc_retry probe.
24226         (__libc_pvalloc): Add memory_pvalloc_retry probe.
24227         (__libc_calloc): Add memory_calloc_retry probe.
24228         * manual/probes.texi: Document them.
24230         * malloc/arena.c (get_free_list): Add probe
24231         memory_arena_reuse_free_list.
24232         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
24233         and memory_arena_reuse.
24234         (arena_get2) [!PER_THREAD]: Likewise.
24235         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
24236         memory_arena_reuse_realloc.
24237         * manual/probes.texi: Document them.
24239         * malloc/malloc.c (__libc_free): Add
24240         memory_mallopt_free_dyn_thresholds probe.
24241         (__libc_mallopt): Add multiple memory_mallopt probes.
24242         * manual/probes.texi: Document them.
24244         * malloc/malloc.c: Include stap-probe.h.
24245         (__libc_mallopt): Add memory_mallopt probe.
24246         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
24247         * manual/probes.texi: New.
24248         * manual/Makefile (chapters): Add probes.
24249         * manual/threads.texi: Set next node.
24251 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
24253         [BZ #15963, #13985]
24254         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24255         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24256         Add `Chinese' to `nan' entry name.
24258 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24260         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24261         (POLYNOMIAL): Likewise.
24262         (TAYLOR_SINCOS): Likewise.
24263         (TAYLOR_SLOW): Likewise.
24264         (__sin): Use TAYLOR_SINCOS.
24265         (__cos): Likewise.
24266         (slow): Use TAYLOR_SLOW.
24267         (sloww): Likewise.
24268         (bsloww): Likewise.
24269         (csloww): Likewise.
24271 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24273         * stdlib/strtod_l.c: Fix buffer overrun.
24275 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24277         * benchtests/Makefile (bench): Add sincos.
24278         * benchtests/bench-sincos.c: New file.
24280         * math/libm-test.inc (cos_test_data): New test inputs.
24281         (sin_test_data): Likewise.
24283         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24284         macro.
24285         (__sin): Use it.
24286         (__cos): Likewise.
24287         (slow1): Likewise.
24288         (slow2): Likewise.
24289         (sloww1): Likewise.
24290         (sloww2): Likewise.
24291         (bsloww1): Likewise.
24292         (bsloww2): Likewise.
24293         (cslow2): Likewise.
24294         (csloww1): Likewise.
24295         (csloww2): Likewise.
24297         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24298         function.
24299         (__sin): Use it.
24300         (__cos): Likewise.
24302         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24303         gotos.
24304         (__cos): Likewise.
24306 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
24308         * config.h.in (HAVE_MIPS_NAN2008): New macro.
24309         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24310         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24311         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24312         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24313         * elf/cache.c (print_entry): Handle the new cache flags.
24315 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24316             Aldy Hernandez  <aldyh@redhat.com>
24318         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24319         Change condition to [_SOFT_FLOAT].
24320         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24321         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24322         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24323         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24324         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24325         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24326         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24327         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24328         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24329         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24330         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24331         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24332         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24333         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24334         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24335         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24336         declaration.
24338 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24340         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24341         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24342         (__longjmp): Use LOAD_GP to load saved GPRs.
24343         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24344         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24345         (__sigsetjmp): Use SAVE_GP to save GPRs.
24347         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24348         Do not append -msoft-float.
24349         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24351 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24353         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24355 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
24357         [BZ #15966]
24358         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24359         (_FPU_GETCW): Use initial "__" on variable and field names but not
24360         on macro parameter name.
24361         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
24362         parentheses around reference to macro parameter.
24364 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
24366         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24367         prototype.
24368         (ctype_startup): Use uint32_t in cast and sizeof for
24369         ctype->charnames.
24371 2013-09-11  Jia Liu  <proljc@gmail.com>
24373         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24374         __daddr_t_defined.
24375         [__FreeBSD__]: Likewise.
24377 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
24379         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24380         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24381         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24382         (strchr): Remove __strchr_sse42 ifunc selection.
24383         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24384         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24386 2013-09-11  Will Newton  <will.newton@linaro.org>
24388         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24389         parameter to RES. Remove hardcoded 1000 value.
24390         * benchtests/bench-skeleton.c (main): Pass RES parameter
24391         to TIMING_INIT and multiply result by 1000.
24393 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24395         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24397 2013-09-11  Andreas Schwab  <schwab@suse.de>
24399         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24400         if not defined.
24401         (O_TMPFILE) [__USE_GNU]: Define.
24402         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24403         Define.
24405 2013-09-11  Will Newton  <will.newton@linaro.org>
24407         [BZ #15857]
24408         * malloc/malloc.c (__libc_memalign): Check the value of bytes
24409         does not overflow.
24411 2013-09-11  Will Newton  <will.newton@linaro.org>
24413         [BZ #15856]
24414         * malloc/malloc.c (__libc_valloc): Check the value of bytes
24415         does not overflow.
24417 2013-09-11  Will Newton  <will.newton@linaro.org>
24419         [BZ #15855]
24420         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24421         does not overflow.
24423 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
24425         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24426         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24427         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24428         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24429         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24431 2013-09-10  Allan McRae  <allan@archlinux.org>
24433         [BZ #15748]
24434         * manual/arith.texi (Parsing of Floats): Clarify
24435         cross-reference.
24437         [BZ #15849]
24438         * manual/install.texi (Running make install): Mention
24439         --enable-pt-chown.
24440         * INSTALL: Regenerated.
24442 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
24444         * csu/init-first.c (_init): Remove the !SHARED condition around
24445         FPU control word initialization.
24446         * elf/dl-support.c (_dl_fpu_control): New variable.
24447         (_dl_aux_init) <AT_FPUCW>: Initialize it.
24448         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24449         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24450         * math/test-fpucw-static.c: New file.
24451         * math/test-fpucw-ieee.c: New file.
24452         * math/test-fpucw-ieee-static.c: New file.
24453         * math/Makefile (tests): Add `test-fpucw-ieee' and
24454         `$(tests-static)'.
24455         (tests-static): New variable.
24456         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24457         dependency to...
24458         [($(build-shared),yes)]
24459         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24460         ... this.
24461         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24462         New dependency.
24464 2013-09-09  Allan McRae  <allan@archlinux.org>
24466         [BZ #15939]
24467         * manual/string.texi (Collation Functions): Fix typo in
24468         strcoll example.
24469         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24471         [BZ #15893]
24472         * stdlib/isomac.c (get_null_defines): Fix memory leak.
24474         [BZ #15892]
24475         * libio/memstream.c (open_memstream): Fix memory leak.
24476         * libio/wmemstream.c (open_wmemstream): Likewise.
24478         [BZ #15895]
24479         * nscd/netgroupcache.c: Fix nesting of ifdefs.
24481 2013-09-09  Will Newton  <will.newton@linaro.org>
24483         * malloc/Makefile: Add tst-realloc to tests.
24484         * malloc/tst-realloc.c: New file.
24486 2013-09-09  Allan McRae  <allan@archlinux.org>
24488         [BZ #15844]
24489         * COPYING: Update from GNU website to fix FSF address.
24490         * COPYING.LIB: Likewise.
24492 2013-09-06  David S. Miller  <davem@davemloft.net>
24494         * po/zh_TW.po: Update Chinese (traditional) translation from
24495         translation project.
24497 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
24498             Joseph Myers  <joseph@codesourcery.com>
24500         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24501         "localeinfo.h".
24502         (obstack_chunk_alloc): New macro.
24503         (obstack_chunk_free): Likewise.
24504         (record_offset): New function.
24505         (init_locale_data): Likewise.
24506         (align_locale_data): Likewise.
24507         (add_locale_empty): Likewise.
24508         (add_locale_raw_data): Likewise.
24509         (add_locale_raw_obstack): Likewise.
24510         (add_locale_string): Likewise.
24511         (add_locale_wstring): Likewise.
24512         (add_locale_uint32): Likewise.
24513         (add_locale_uint32_array): Likewise.
24514         (add_locale_char): Likewise.
24515         (start_locale_structure): Likewise.
24516         (end_locale_structure): Likewise.
24517         (start_locale_prelude): Likewise.
24518         (end_locale_prelude): Likewise.
24519         (write_locale_data): Take locale_file structure rather than an
24520         iovec.
24521         * locale/programs/locfile.h: Include "obstack.h".
24522         (struct locale_file): Change to store locale file contents instead
24523         of header.
24524         (init_locale_data): New prototype.
24525         (align_locale_data): Likewise.
24526         (add_locale_empty): Likewise.
24527         (add_locale_raw_data): Likewise.
24528         (add_locale_raw_obstack): Likewise.
24529         (add_locale_string): Likewise.
24530         (add_locale_wstring): Likewise.
24531         (add_locale_uint32): Likewise.
24532         (add_locale_uint32_array): Likewise.
24533         (add_locale_char): Likewise.
24534         (start_locale_structure): Likewise.
24535         (end_locale_structure): Likewise.
24536         (start_locale_prelude): Likewise.
24537         (end_locale_prelude): Likewise.
24538         (write_locale_data): Update prototype.
24539         * locale/programs/3level.h (struct TABLE): Remove result field.
24540         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24541         Use new locale_file interface.
24542         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24543         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24544         * locale/programs/ld-address.c (address_output): Use new
24545         locale_file interface.
24546         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24547         NO_ADD_LOCALE.
24548         (collate_finish): Don't call collseq_table_finalize.
24549         (collate_output): Use new locale_file interface.
24550         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24551         in file.
24552         (NO_FINALIZE): Change to NO_ADD_LOCALE.
24553         (TABLE): Move defines earlier in file.
24554         (ELEMENT): Likewise.
24555         (DEFAULT): Likewise.
24556         (wctrans_table_add): Move macro and inline function earlier in
24557         file.
24558         (struct wctype_table): Move type earlier in file.
24559         (add_locale_wctype_table): New static prototype.
24560         (struct locale_ctype_t): Use logical types instead of struct iovec
24561         pointers for members.
24562         (ctype_output): Use new locale_file interface.
24563         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
24564         new locale_file interface.
24565         (allocate_arrays): Update for use of new locale_file interface.
24566         * locale/programs/ld-identification.c (identification_output): Use
24567         new locale_file interface.
24568         * locale/programs/ld-measurement.c (measurement_output): Likewise.
24569         * locale/programs/ld-messages.c (messages_output): Likewise.
24570         * locale/programs/ld-monetary.c (monetary_output): Likewise.
24571         * locale/programs/ld-name.c (name_output): Likewise.
24572         * locale/programs/ld-numeric.c (numeric_output): Likewise.
24573         * locale/programs/ld-paper.c (paper_output): Likewise.
24574         * locale/programs/ld-telephone.c (telephone_output): Likewise.
24575         * locale/programs/ld-time.c (time_output): Likewise.
24577 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24579         * benchtests/Makefile: Add memrchr benchmark.
24580         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24581         benchmark as memrchr.
24582         * benchtests/bench-memrchr-ifunc.c: New file.
24583         * benchtests/bench-memrchr.c: New file.
24585 2013-09-06   Will Newton  <will.newton@linaro.org>
24587         * benchtests/Makefile (string-bench): Add memcpy.
24589 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
24590             Cong Wang  <amwang@redhat.com>
24592         [BZ #15850]
24593         * sysdeps/unix/sysv/linux/bits/in.h
24594         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24595         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24596         before __USE_KERNEL_IPV6_DEFS uses.
24597         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24598         IPPROTO_BEETPH.
24599         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24600         sockaddr_in6, or ipv6_mreq.
24602 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24604         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24605         memory access for final bytes in some large inputs.
24606         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24608 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24610         * string/test-memrchr.c: New file.
24611         * string/test-memrchr-ifunc.c: New file.
24612         * string/Makefile: Add new memrchr testcase.
24614 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
24616         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24617         fanotify_init returns EPERM.
24619 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24621         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24622         errors.
24623         (top level): Treat second token from macro or constant entries for
24624         allowed headers as allowed.
24625         * include/complex.h: Condition internal declarations on
24626         [!_ISOMAC].
24627         * include/fenv.h: Condition include of <stdbool.h> and internal
24628         declarations on [!_ISOMAC].
24630 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
24632         [BZ #15923]
24633         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24635 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24637         * configure.in (--enable-versioning): Remove configure option.
24638         (libc_cv_asm_symver_directive): Remove configure test.
24639         (libc_cv_ld_version_script_option): Likewise.
24640         (VERSIONING): Remove variable and AC_SUBST.
24641         (DO_VERSIONING): Remove AC_DEFINE.
24642         * configure: Regenerated.
24643         * config.h.in (DO_VERSIONING): Remove macro.
24644         * Makerules [$(versioning) = yes]: Change conditionals to
24645         [$(build-shared) = yes].
24646         * config.make.in (versioning): Remove variable.
24647         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24648         [$(build-shared) = yes].
24649         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24650         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24651         * elf/Makefile [$(versioning) = yes]: Change conditionals to
24652         [$(build-shared) = yes].
24653         * extra-lib.mk [$(versioning) = yes]: Likewise.
24654         * hurd/Makefile [$(versioning) = yes]: Likewise.
24655         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24656         [SHARED].
24657         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24658         [SHARED].
24659         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24660         [SHARED && !NO_HIDDEN].
24661         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24662         [SHARED].
24663         [SHARED && DO_VERSIONING]: Likewise..
24664         * libio/Makefile [$(versioning) = yes]: Change conditionals to
24665         [$(build-shared) = yes].
24666         * manual/install.texi (--disable-versioning): Remove
24667         documentation.
24668         * INSTALL: Regenerated.
24669         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24670         to [SHARED].
24671         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24672         [$(build-shared) = yes].
24673         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24674         * sysdeps/i386/i686/multiarch/strstr-c.c
24675         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24676         [SHARED && !NO_HIDDEN].
24677         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24678         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24679         * sysdeps/powerpc/powerpc32/dl-machine.c
24680         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24681         * sysdeps/powerpc/powerpc32/sysdep.h
24682         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24683         to [SHARED && PIC && !NO_HIDDEN].
24684         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24685         conditional to [SHARED].
24687 2013-09-04   Will Newton  <will.newton@linaro.org>
24689         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24690         * benchtests/bench-string.h: Include bench-timing.h instead
24691         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24692         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24693         call to HP_TIMING_DIFF_INIT.
24694         * benchtests/bench-memccpy.c: Use bench-timing.h macros
24695         instead of hp-timing.h macros.
24696         * benchtests/bench-memchr.c: Likewise.
24697         * benchtests/bench-memcmp.c: Likewise.
24698         * benchtests/bench-memcpy.c: Likewise.
24699         * benchtests/bench-memmem.c: Likewise.
24700         * benchtests/bench-memmove.c: Likewise.
24701         * benchtests/bench-memset.c: Likewise.
24702         * benchtests/bench-rawmemchr.c: Likewise.
24703         * benchtests/bench-strcasecmp.c: Likewise.
24704         * benchtests/bench-strcasestr.c: Likewise.
24705         * benchtests/bench-strcat.c: Likewise.
24706         * benchtests/bench-strchr.c: Likewise.
24707         * benchtests/bench-strcmp.c: Likewise.
24708         * benchtests/bench-strcpy.c: Likewise.
24709         * benchtests/bench-strcpy_chk.c: Likewise.
24710         * benchtests/bench-strlen.c: Likewise.
24711         * benchtests/bench-strncasecmp.c: Likewise.
24712         * benchtests/bench-strncat.c: Likewise.
24713         * benchtests/bench-strncmp.c: Likewise.
24714         * benchtests/bench-strncpy.c: Likewise.
24715         * benchtests/bench-strnlen.c: Likewise.
24716         * benchtests/bench-strpbrk.c: Likewise.
24717         * benchtests/bench-strrchr.c: Likewise.
24718         * benchtests/bench-strspn.c: Likewise.
24719         * benchtests/bench-strstr.c: Likewise.
24721 2013-09-04  Will Newton  <will.newton@linaro.org>
24723         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24725 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
24727         [BZ #15427]
24728         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24729         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24730         * math/libm-test.inc (lgamma_test_data): Add more tests.
24731         * sysdeps/i386/fpu/libm-test-ulps: Update.
24732         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24734 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
24736         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24737         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24738         Add ifunc.
24739         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24740         Add strcmp-sse2-unaligned
24741         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24743 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24745         * Versions.def (libc): Add GLIBC_2.19.
24747 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24749         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24750         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24752 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
24754         [BZ #14155]
24755         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24756         intermediate calculations in recurrence.
24757         (__ieee754_ynf): Likewise.
24758         * math/libm-test.inc (jn_test_data): Do not allow spurious
24759         underflow exception.  Add more tests.
24760         (yn_test_data): Add more tests.
24761         * sysdeps/i386/fpu/libm-test-ulps: Update.
24762         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24764 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
24766         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24768 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24770         * csu/init-first.c: Fix then/than typos.
24771         * locale/programs/ld-collate.c: Likewise.
24772         * locale/programs/linereader.h: Likewise.
24773         * manual/charset.texi: Likewise.
24774         * manual/filesys.texi: Likewise.
24775         * manual/stdio.texi: Likewise.
24776         * manual/string.texi: Likewise.
24777         * stdlib/fmtmsg.c: Likewise.
24778         * sysdeps/i386/stpncpy.S: Likewise.
24779         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24780         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24781         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24782         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24784 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24786         * elf/dl-open.c: Fix typos.
24787         * iconvdata/gbbig5.c: Likewise.
24788         * iconvdata/iso-2022-jp.c: Likewise.
24789         * iconv/gconv_int.h: Likewise.
24790         * iconv/loop.c: Likewise.
24791         * nis/rpcsvc/nis.h: Likewise.
24792         * resolv/ns_name.c: Likewise.
24793         * stdio-common/vfscanf.c: Likewise.
24794         * streams/stropts.h: Likewise.
24795         * sunrpc/rpc_thread.c: Likewise.
24796         * sysdeps/i386/strpbrk.S: Likewise.
24797         * sysdeps/ieee754/k_standard.c: Likewise.
24798         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24799         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24800         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24801         * sysdeps/mach/hurd/profil.c: Likewise.
24802         * sysdeps/s390/dl-procinfo.h: Likewise.
24803         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24804         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24805         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24806         * sysdeps/x86_64/dl-trampoline.S: Likewise.
24807         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24809 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
24811         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24814 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
24816         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24817         aix specific files.
24818         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24819         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24820         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24821         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24822         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24823         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24824         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24825         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24827 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24828             Roland McGrath  <roland@hack.frob.com>
24830         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24831         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24833 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24835         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24836         __executable_start symbol instead of _start.
24838 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24840         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24841         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24842         Move macros to...
24843         * sysdeps/gnu/ldsodefs.h: ... this new file.
24845         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24846         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24847         instead of ELFOSABI_LINUX.
24849         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24850         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24851         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24852         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24853         Likewise.
24854         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24855         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24856         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24857         Likewise.
24858         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24859         (ibm_extended_long_double): Add ieee_nan member.
24860         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24861         (do_test): New function.
24863         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24864         TEST_TRUNC.
24865         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24866         functions, renamed from truncdfsf_test, trunctfsf_test,
24867         trunctfdf_test.
24868         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24869         functions.
24870         (do_test): Run all these.
24872 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24874         * argp/argp-help.c: Fix typos.
24875         * argp/argp-parse.c: Likewise.
24876         * debug/backtracesyms.c: Likewise.
24877         * elf/elf.h: Likewise.
24878         * malloc/malloc.c: Likewise.
24879         * nis/nis_print.c: Likewise.
24880         * resolv/res_comp.c: Likewise.
24881         * stdlib/stdlib.h: Likewise.
24882         * sunrpc/clnt_tcp.c: Likewise.
24883         * sunrpc/clnt_udp.c: Likewise.
24884         * sunrpc/clnt_unix.c: Likewise.
24885         * sysdeps/unix/bsd/ptsname.c: Likewise.
24886         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24887         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24889         Likewise.
24890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24891         Likewise.
24892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24893         Likewise.
24894         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24896 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24898         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24899         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24901 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24903         [BZ #15897]
24904         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24905         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24906         ($(objpfx)bug-dl-leaf): New rule.
24907         ($(objpfx)bug-dl-leaf.so): Likewise.
24908         ($(objpfx)bug-dl-leaf.out): Likewise.
24909         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24910         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24911         * dlfcn/bug-dl-leaf.c: New test.
24912         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24913         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24914         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24915         (dlclose): Likewise.
24916         (dlmopen): Likewise.
24918 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24920         * include/netdb.h [!_ISOMAC]:
24921         Don't include <tls.h>.
24922         (h_errno, __libc_h_errno): Move declaration and macros out of
24923         [_LIBC_REENTRANT].
24925         * include/resolv.h [_RESOLV_H_]:
24926         Don't include <tls.h>.
24927         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24928         * resolv/res_libc.c: Don't include <tls.h>.
24929         (_res): Use __attribute__ ((nocommon)) in place of
24930         __attribute__ ((section (".bss"))).
24932         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24933         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24935         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24937         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24938         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24940         * resolv/res_mkquery.c: Include <sys/time.h>.
24942         * inet/ifreq.c: Moved to ...
24943         * sysdeps/unix/ifreq.c: ... here.
24944         * inet/ifreq.c: New file, true stub version.
24946         * socket/sa_len.c: New file.
24947         * socket/Makefile (aux): Add it.
24948         * sysdeps/unix/sysv/linux/Makefile
24949         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24950         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24951         and #include <socket/sa_len.c>.
24952         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24953         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24955         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24956         * bits/socket.h: ... here.
24958         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24959         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24960         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24962 2013-08-27  Andreas Schwab  <schwab@suse.de>
24964         [BZ #15736]
24965         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24966         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24967         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24968         * string/test-strcasecmp.c (test_main): Run tests in several
24969         locales.
24970         * string/test-strncasecmp.c (test_main): Likewise.
24972         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24973         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24974         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24975         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24976         (__strncasecmp_ssse3) [PIC]: Likewise.
24978 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24980         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24982         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24983         instead of explicitly declaring xdecrypt.
24984         * nis/nss_nis/nis-publickey.c: Likewise.
24986 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24988         [BZ #15890]
24989         * nscd/aicache.c: Include res_hconf.h.
24990         (addhstaiX): Initialize res_hconf.
24992 2013-08-26  Andreas Schwab  <schwab@suse.de>
24994         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24995         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24997 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24999         * nscd/aicache.c (addhstaiX): Fix indentation.
25001 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
25003         * configure.ac: Quote $build_pt_chown test.
25004         * configure: Regenerated.
25006 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
25008         [BZ #15532]
25009         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
25010         * math/s_cexpf.c (__cexpf): Likewise.
25011         * math/s_cexpl.c (__cexpl): Likewise.
25012         * math/libm-test.inc (cexp_test_data): Correct expected return
25013         value for NaN + i0.  Add another test.
25015 2013-08-22  David S. Miller  <davem@davemloft.net>
25017         * po/ca.po: Update Catalan translation from translation project.
25018         * po/uk.po: Add Ukrainian translations from translation project.
25020 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
25022         [BZ #15797]
25023         * math/s_fdim.c (__fdim): Check for infinite arguments if result
25024         is infinite, not alongside NaN test.
25025         * math/s_fdimf.c (__fdimf): Likewise.
25026         * math/s_fdiml.c (__fdiml): Likewise.
25027         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
25028         errno is unchanged.
25030 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
25032         * argp/argp-help.c: Fix typos.
25033         * crypt/speeds.c: Likewise.
25034         * csu/check_fds.c: Likewise.
25035         * elf/dl-load.c: Likewise.
25036         * elf/dl-open.c: Likewise.
25037         * elf/reldep3.c: Likewise.
25038         * elf/reldep.c: Likewise.
25039         * elf/sprof.c: Likewise.
25040         * iconv/iconv_charmap.c: Likewise.
25041         * iconv/skeleton.c: Likewise.
25042         * iconv/strtab.c: Likewise.
25043         * io/lockf64.c: Likewise.
25044         * libio/libioP.h: Likewise.
25045         * resolv/gai_notify.c: Likewise.
25046         * resolv/ns_name.c: Likewise.
25047         * resolv/ns_samedomain.c: Likewise.
25048         * resolv/res_send.c: Likewise.
25049         * stdlib/random.c: Likewise.
25050         * sunrpc/rpc/xdr.h: Likewise.
25051         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
25052         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
25053         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
25054         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
25055         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
25056         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
25057         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
25058         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
25059         * sysdeps/mach/hurd/check_fds.c: Likewise.
25060         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
25061         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
25062         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
25063         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
25064         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
25065         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
25066         * sysdeps/pthread/aio_notify.c: Likewise.
25067         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
25068         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
25069         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
25070         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
25071         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
25073 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25075         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
25076         version if bit_Slow_SSE4_2 is set.
25077         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
25078         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
25080 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25082         [BZ #15867]
25083         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
25084         trampoline stack frame information.
25085         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
25086         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
25087         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
25088         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
25089         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
25090         * sysdeps/unix/sysv/linux/powerpc/init-first.c
25091         (_libc_vdso_platform_setup): Initialize the signal trampolines.
25092         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
25093         sa_flags value.
25094         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
25095         interrupting a syscall and set with option SA_SIGINFO.
25097 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25099         [BZ #15531]
25100         * math/s_cproj.c (__cproj): Only return an infinity if one part of
25101         argument is infinite.
25102         * math/s_cprojf.c (__cprojf): Likewise.
25103         * math/s_cprojl.c (__cprojl): Likewise.
25104         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
25105         * math/libm-test.inc (cproj_test_data): Add more tests.
25107         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
25109         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
25110         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
25111         size.  Use __ffs to determine corresponding shift.
25113 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
25114             Roland McGrath  <roland@hack.frob.com>
25116         * Makefile (INSTALL): Remove trailing blank lines from output of
25117         makeinfo.
25119 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25121         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
25122         Align 32 bit compat elf_greg to 8 bytes.
25124 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
25126         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
25128 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
25130         * string/strcoll_l.c (coll_seq): New structure.
25131         (get_next_seq_cached): New function.
25132         (get_next_seq): New function.
25133         (do_compare): New function.
25134         (STRCOLL): Use GNU style definition.  Simplify implementation
25135         by using get_next_seq, get_next_seq_cached and do_compare.
25137 2013-08-16  Florian Weimer  <fweimer@redhat.com>
25139         [BZ #14699]
25140         CVE-2013-4237
25141         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
25142         member.
25143         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
25144         member.
25145         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
25146         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
25147         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
25148         conditional.
25149         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
25150         GETDENTS_64BIT_ALIGNED.
25151         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
25152         * manual/filesys.texi (Reading/Closing Directory): Document
25153         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
25154         strongly.
25155         * manual/conf.texi (Limits for Files): Add portability note to
25156         NAME_MAX, PATH_MAX.
25157         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
25159 2013-08-13  Andreas Schwab  <schwab@suse.de>
25161         [BZ #15749]
25162         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
25163         of fabs.
25164         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
25165         LDBL_MAX_EXP >= 16384]: Add tests for it.
25167 2013-08-12  David S. Miller  <davem@davemloft.net>
25169         * version.h (RELEASE): Set to "development".
25170         (VERSION): Set to "2.18.90".
25171         * NEWS: Add 2.19 section.
25173 2013-08-03  David S. Miller  <davem@davemloft.net>
25175         * po/ko.po: Update Korean translation from translation project.
25177 2013-08-01  David S. Miller  <davem@davemloft.net>
25179         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
25180         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
25181         Bilka.
25183 2013-07-30  David S. Miller  <davem@davemloft.net>
25185         * po/fr.po: Update French translation from translation project.
25187 2013-07-28  David S. Miller  <davem@davemloft.net>
25189         * po/cs.po: Update Czech translation from translation project.
25191         * po/sv.po: Update Swedish translation from translation project.
25193 2013-07-27  David S. Miller  <davem@davemloft.net>
25195         * po/eo.po: Update Esperanto translation from translation project.
25197         * po/vi.po: Update Vietnamese translation from translation project.
25199         * po/de.po: Update German translation from translation project.
25201 2013-07-26  David S. Miller  <davem@davemloft.net>
25203         * po/bg.po: Update Bulgarian translation from translation project.
25205         * po/nl.po: Update Dutch translation from translation project.
25206         * po/pl.po: Update Polish translation from translation project.
25207         * po/ru.po: Update Russian translation from translation project.
25209 2013-07-24  David S. Miller  <davem@davemloft.net>
25211         * po/libc.pot: Update.
25213 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25215         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
25216         variable page size.
25217         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
25218         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
25219         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
25221 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25223         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
25225 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
25226             Andreas Schwab  <schwab@suse.de>
25227             Roland McGrath  <roland@hack.frob.com>
25228             Joseph Myers  <joseph@codesourcery.com>
25229             Carlos O'Donell  <carlos@redhat.com>
25231         [BZ #15755]
25232         * config.h.in: Define HAVE_PT_CHOWN.
25233         * config.make.in (build-pt-chown): New variable.
25234         * configure.in (--enable-pt_chown): New configure option.
25235         * configure: Regenerate.
25236         * login/Makefile: Include Makeconfig.  Build pt_chown only if
25237         build-pt-chown is enabled.
25238         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
25239         pt_chown to fix pty ownership.
25240         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
25241         CLOSE_ALL_FDS.
25242         * manual/install.texi (Configuring and compiling): Mention
25243         --enable-pt_chown. Add @findex for grantpt.
25244         * INSTALL: Regenerate.
25246 2013-07-20  David S. Miller  <davem@davemloft.net>
25248         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
25249         difference between 32-bit and 64-bit.
25251 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
25253         [BZ #15711]
25254         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25255         Avoid system header dependency with -ffreestanding.
25256         ($(objpfx)bits/syscall%d): Likewise.
25258 2013-07-13  David S. Miller  <davem@davemloft.net>
25260         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25261         underflows from atanl/atan2l due to bug 15319.
25262         (casinh_test_data): Likewise.
25264 2013-07-07  David S. Miller  <davem@davemloft.net>
25266         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25268 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
25270         * sysdeps/i386/fpu/libm-test-ulps: Update.
25271         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25273 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25275         * configure.in (--enable-lock-elision): Fix message text.
25276         * INSTALL: Regenerate.
25277         * configure: Regenerate.
25279 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25281         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25283 2013-07-03  Andreas Jaeger  <aj@suse.de>
25285         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25286         define.
25287         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25288         (ptrace_peeksiginfo_args): Add.
25289         (__ptrace_peeksiginfo_flags): Add.
25290         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25291         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25292         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25294 2013-07-03  Allan McRae  <allan@archlinux.org>
25296         * sysdeps/i386/fpu/libm-test-ulps: Update.
25298 2013-07-02  David S. Miller  <davem@davemloft.net>
25300         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25302 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
25304         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25306 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25308         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25311 2013-07-02  Andi Kleen <ak@linux.intel.com>
25313         * config.h.in (ENABLE_LOCK_ELISION): Add.
25314         * configure.in (--enable-lock-elision): Add option.
25315         * manual/install.texi: Document --enable lock elision.
25316         * configure: Regenerate
25317         * INSTALL: Regenerate.
25319 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
25321         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25322         SSE4.2 strcasecmp for libc.a.
25323         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25325 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25327         [BZ #13304]
25328         * soft-fp/op-common.h (_FP_FMA): New macro.
25329         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25330         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
25331         (_FP_MUL_MEAT_1_imm): ... here.
25332         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
25333         (_FP_MUL_MEAT_1_wide): ... here.
25334         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
25335         (_FP_MUL_MEAT_1_hard): ... here.
25336         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25337         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
25338         (_FP_MUL_MEAT_2_wide): ... here.
25339         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
25340         (_FP_MUL_MEAT_2_wide_3mul): ... here.
25341         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
25342         (_FP_MUL_MEAT_2_gmp): ... here.
25343         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25344         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
25345         (_FP_MUL_MEAT_4_wide): ... here.
25346         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
25347         (_FP_MUL_MEAT_4_gmp): ... here.
25348         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25349         (_FP_WFRACBITS_DW_S): Likewise.
25350         (_FP_WFRACXBITS_DW_S): Likewise.
25351         (_FP_HIGHBIT_DW_S): Likewise.
25352         (FP_FMA_S): Likewise.
25353         (_FP_FRAC_HIGH_DW_S): Likewise.
25354         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25355         (_FP_WFRACBITS_DW_D): Likewise.
25356         (_FP_WFRACXBITS_DW_D): Likewise.
25357         (_FP_HIGHBIT_DW_D): Likewise.
25358         (FP_FMA_D): Likewise.
25359         (_FP_FRAC_HIGH_DW_D): Likewise.
25360         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25361         (_FP_WFRACBITS_DW_E): Likewise.
25362         (_FP_WFRACXBITS_DW_E): Likewise.
25363         (_FP_HIGHBIT_DW_E): Likewise.
25364         (FP_FMA_E): Likewise.
25365         (_FP_FRAC_HIGH_DW_E): Likewise.
25366         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25367         (_FP_WFRACBITS_DW_Q): Likewise.
25368         (_FP_WFRACXBITS_DW_Q): Likewise.
25369         (_FP_HIGHBIT_DW_Q): Likewise.
25370         (FP_FMA_Q): Likewise.
25371         (_FP_FRAC_HIGH_DW_Q): Likewise.
25372         * soft-fp/fmasf4.c: New file.
25373         * soft-fp/fmadf4.c: Likewise.
25374         * soft-fp/fmatf4.c: Likewise.
25376 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25378         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25379         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25380         Silvermont.
25381         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25382         macro.
25383         (index_Slow_SSE4_2): Likewise.
25384         (index_Prefer_PMINUB_for_stringop): Likewise.
25385         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25386         bit_Slow_SSE4_2 is set.
25387         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25388         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25390 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25392         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25393         rtld_global._dl_hwcap2.
25394         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25395         POWER8.
25396         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25397         POWER8 feature descriptions defined in _dl_hwcap2.
25398         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25399         string handling for POWER8 feature bits.
25400         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25401         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25402         _dl_powerpc_cap_flags.
25403         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25404         * sysdeps/powerpc/rtld-global-offsets.sym
25405         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25406         _dl_hwcap2 in the rtld_global_ro structure.
25408 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25410         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25411         hardware capabilities in support of AT_HWCAP2.
25412         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25413         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25414         GLRO(dl_hwcap2).
25415         (_dl_show_auxv): Add support for calling _dl_procinfo to display
25416         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
25417         explicitly the unknown a_type display mechanism is used.
25418         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25419         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25420         struct member.
25421         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25422         to macro prototype for AT_HWCAP2 support.
25423         * sysdeps/i386/dl-procinfo.h: Likewise.
25424         * sysdeps/s390/dl-procinfo.h: Likewise.
25425         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25426         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
25427         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
25428         return -1 for unknown a_type display fallback.
25429         * sysdeps/sparc/dl-procinfo.h: Likewise.
25430         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25431         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25433 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
25435         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25436         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25438 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
25440         [BZ #12492]
25441         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25442         mprotect making __stack_prot writable.
25444 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
25445             Joseph Myers  <joseph@codesourcery.com>
25447         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25448         as being properly aligned.
25450 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
25452         * dlfcn/modstatic5.c: New file.
25453         * dlfcn/tststatic5.c: New file.
25454         * dlfcn/Makefile (tests): Add tststatic5.
25455         (tests-static): Likewise.
25456         (modules-names): Add modstatic5.
25457         (tststatic5-ENV): New variable.
25458         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25460         [BZ #15022]
25461         * elf/dl-support.c (_dl_main_map): New variable.
25462         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25463         (_dl_nns, _dl_load_adds): Set to 1.
25464         (_dl_initial_searchlist): Refer to _dl_main_map.
25465         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25466         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25467         call to _dl_get_origin.
25468         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25469         around call_map.
25470         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25471         * dlfcn/modstatic3.c: New file.
25472         * dlfcn/tststatic3.c: New file.
25473         * dlfcn/tststatic4.c: New file.
25474         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25475         (tests-static): Likewise.
25476         (modules-names): Add modstatic3.
25477         (tststatic3-ENV, tststatic4-ENV): New variables.
25478         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25479         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25481 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
25483         * configure.in (CC): Require GCC version 4.4 or later.
25484         * configure: Regenerated.
25485         * manual/install.texi (Tools for Compilation): Update GCC version
25486         requirement.
25487         * INSTALL: Regenerated.
25489 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25491         [BZ #15674]
25492         * string/test-memcmp.c (check2): New.
25493         (main): Call check2.
25495         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25497 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
25499         [BZ #15022]
25500         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25501         over to...
25502         (dl_open_worker) [!SHARED]: ... here.
25504 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25506         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25508 2013-06-25  Richard Henderson  <rth@redhat.com>
25510         * locale/programs/locarchive.c: Include <libc-internal.h>
25512 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
25514         * manual/texinfo.tex: Update to version 2013-06-21.17, with
25515         trailing whitespace removed.
25517 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25519         [BZ #10283]
25520         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25521         * locale/programs/locarchive.c: Include libc-mmap.h.
25522         (prepare_address_space): Take two new outputs (the mmap base and len).
25523         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
25524         values.
25525         (create_archive): Declare new mmap base and len values for
25526         prepare_address_space, and store the result in ah.
25527         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25528         (enlarge_archive): If ah->mmap_base is not NULL, use that and
25529         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25530         Declare new mmap base and len values for
25531         prepare_address_space, and store the result in new_ah.
25532         (open_archive): Declare new mmap base and len values for
25533         prepare_address_space, and store the result in ah.
25534         (close_archive): If ah->mmap_base is not NULL, use that and
25535         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25536         * sysdeps/generic/libc-mmap.h: New file.
25538 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25540         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25541         (ALIGN_UP): Likewise.
25542         (PTR_ALIGN_DOWN): Likewise.
25543         (PTR_ALIGN_UP): Likewise.
25545 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25547         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25548         entry mapped to PPC_PLATFORM_POWER8.
25549         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25550         POWER8.
25551         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25552         (_dl_string_platform): Add case for exporting platform position for
25553         POWER8.
25554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25555         search path to sysdeps/powerpc/powerpc32/power8 directory.
25556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25557         search path to sysdeps/powerpc/powerpc64/power8 directory.
25558         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25559         power7 directories.
25560         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25561         power7 directories.
25563 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25565         * INSTALL: Regenerate.
25567         * nscd/connections.c (nscd_init): Fix comment.
25569 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
25571         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25573         [BZ #15667]
25574         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25575         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25577 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25579         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25580         DL_DST_REQ_STATIC.
25581         (DL_DST_REQ_STATIC): Remove macro.
25583 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
25585         [BZ #7006]
25586         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25587         with a shift of 0 bits.
25589 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25591         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25592         $(tststatic-ENV).
25594 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25596         [BZ #15655]
25597         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25599 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25601         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25602         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25603         accepts -fno-tree-loop-distribute-patterns.
25604         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25605         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25606         recursive call.
25607         * string/memset.c (memset): Likewise.
25608         * string/test-memmove.c (simple_memmove): Disable loop transformation
25609         to library calls.
25610         * string/test-memset.c (simple_memset): Likewise.
25611         * benchtests/bench-memmove.c (simple_memmove): Likewise.
25612         * benchtests/bench-memset.c (simple_memset): Likewise.
25613         * configure: Regenerated.
25615 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
25617         * math/test-misc.c (main): Ignore fesetround failure when failures
25618         of subsequent rounding tests would be ignored.
25620         [BZ #15654]
25621         * math/fedisblxcpt.c (fedisableexcept): Return 0.
25622         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25623         * math/fegetenv.c (__fegetenv): Return 0.
25624         * math/fegetexcept.c (fegetexcept): Return 0.
25625         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25626         FE_TONEAREST.
25627         * math/feholdexcpt.c (feholdexcept): Return 0.
25628         * math/fesetenv.c (__fesetenv): Return 0.
25629         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25630         argument FE_TONEAREST.
25631         * math/feupdateenv.c (__feupdateenv): Return 0.
25632         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25634 2013-06-18  Roland McGrath  <roland@hack.frob.com>
25636         * elf/rtld-Rules (rtld-compile-command.S): New variable.
25637         (rtld-compile-command.s, rtld-compile-command.c): New variables.
25638         ($(objpfx)rtld-%.os rules): Use them.
25640 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25642         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25643         fields.
25645 2013-06-17  Roland McGrath  <roland@hack.frob.com>
25647         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25648         length of target pattern, then descending length of dependency pattern.
25649         * configure.in (AWK): Require gawk 3.1.2 or newer.
25650         * manual/install.texi (Tools for Compilation): Say that we do.
25651         * configure: Regenerated.
25653         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25654         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25655         * scripts/sysd-rules.awk: ... this new script.
25656         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25657         than a glob-style pattern.
25659 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
25661         * math/test-misc.c (main): Do not treat incorrectly rounded
25662         conversions as failure unless ROUNDING_TESTS passes.
25664 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
25666         [BZ #15631]
25667         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25668         restore exception state around main square root computation, then
25669         check for inexactness explicitly.
25671         * math/libm-test.inc (fma_test_data): Add another test.
25673 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25675         * manual/threads.texi (Non-POSIX Extensions): New document
25676         node.  Document pthread_getattr_default_np and
25677         pthread_setattr_default_np.
25679         * Versions.def (libpthread): Add GLIBC_2.18.
25680         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25682         Likewise.
25683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25684         Likewise.
25685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25686         Likewise.
25687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25688         Likewise.
25689         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25690         Likewise.
25691         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25692         Likewise.
25693         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25694         Likewise.
25695         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25696         Likewise.
25697         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25698         Likewise.
25700 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25702         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25703         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25705 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25706             H.J. Lu  <hjl.tools@gmail.com>
25708         [BZ #15627]
25709         * sysdeps/x86_64/rtld-memset.c: Remove file.
25710         * sysdeps/x86_64/rtld-memset.S: New file.
25712 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
25714         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25715         (test_in_one_mode): Take arguments for whether the rounding mode
25716         is supported for each floating-point type.
25717         (do_test): Pass new arguments to test_in_one_mode using
25718         ROUNDING_TESTS.
25720 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25722         * posix/tst-waitid.c (do_test): Distinguish different instances of
25723         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
25724         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25725         before entering the kernel for waitpid.
25727 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25729         * NEWS: Fix note on clock function precision.  Text by Roland
25730         McGrath.
25732 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25734         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25735         it into place only when and if the sanity check passes.
25737 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
25739         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25740         output for whether conversion result is exact.  Take argument
25741         indicating whether type is IBM long double.
25742         (round_for_all): Change need_exact field to ibm_ld.
25743         * stdlib/tst-strtod-round.c (struct exactness): New type.
25744         (struct test): Change bool ld_ok field to struct exactness exact.
25745         (TEST): Update all definitions for change to field.
25746         (tests): Regenerate array contents.
25747         (test_in_one_mode): Take pointer to new field instead of old ld_ok
25748         field value.  Check for IBM long double here.
25749         (do_test): Update calls to test_in_one_mode.
25751 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25753         [BZ #12515]
25754         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25755         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25757 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25759         [BZ #15605]
25760         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25761         generated by the compiler on loop optimizations.
25762         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25763         general definitions.
25765 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
25767         * math/bug-nextafter.c: Include <math-tests.h>.
25768         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25769         the relevant type.
25770         * math/bug-nexttoward.c: Include <math-tests.h>.
25771         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25772         the relevant type.
25773         * math/test-misc.c: Include <math-tests.h>.
25774         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25775         the relevant type.
25777 2013-06-12  Andreas Jaeger  <aj@suse.de>
25779         * po/ia.po: Update Interlingua translation from translation
25780         project.
25782 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25784         * include/fenv.h: Include stdbool.h.
25785         (struct rm_ctx): New structure.
25786         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25787         Define macro.
25788         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25789         (SET_RESTORE_ROUNDF): Likewise.
25790         (SET_RESTORE_ROUNDL): Likewise.
25791         (SET_RESTORE_ROUND_NOEX): Likewise.
25792         (SET_RESTORE_ROUND_NOEXF): Likewise.
25793         (SET_RESTORE_ROUND_NOEXL): Likewise.
25794         (SET_RESTORE_ROUND_53BIT): Likewise.
25795         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25796         (libc_feresetround_noexf_ctx): Likewise.
25797         (libc_feresetround_noexl_ctx): Likewise.
25798         (libc_feholdsetround_53bit_ctx): Likewise.
25799         (libc_feresetround_53bit_ctx): Likewise.
25800         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25801         (libc_feholdexcept_setround_sse_ctx): New function.
25802         (libc_fesetenv_sse_ctx): Likewise.
25803         (libc_feupdateenv_sse_ctx): Likewise.
25804         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25805         (libc_feholdexcept_setround_387_ctx): Likewise.
25806         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25807         (libc_feholdsetround_387_prec_ctx): Likewise.
25808         (libc_feholdsetround_387_ctx): Likewise.
25809         (libc_feholdsetround_387_53bit_ctx): Likewise.
25810         (libc_feholdsetround_sse_ctx): Likewise.
25811         (libc_feresetround_sse_ctx): Likewise.
25812         (libc_feresetround_387_ctx): Likewise.
25813         (libc_feupdateenv_387_ctx): Likewise.
25814         (libc_feholdexcept_setroundf_ctx): Define macro.
25815         (libc_fesetenvf_ctx): Likewise.
25816         (libc_feupdateenvf_ctx): Likewise.
25817         (libc_feholdsetroundf_ctx): Likewise.
25818         (libc_feresetroundf_ctx): Likewise.
25819         (libc_feholdexcept_setround_ctx): Likewise.
25820         (libc_fesetenv_ctx): Likewise.
25821         (libc_feupdateenv_ctx): Likewise.
25822         (libc_feholdsetround_ctx): Likewise.
25823         (libc_feresetround_ctx): Likewise.
25824         (libc_feholdexcept_setroundl_ctx): Likewise.
25825         (libc_feupdateenvl_ctx): Likewise.
25826         (libc_feholdsetroundl_ctx): Likewise.
25827         (libc_feresetroundl_ctx): Likewise.
25828         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25829         (libc_feresetround_53bit_ctx): Likewise.
25831 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25833         * locale/iso-639.def: Convert to UTF-8.
25835 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25837         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25838         (EXCEPTION_TESTS_double): Likewise.
25839         (EXCEPTION_TESTS_long_double): Likewise.
25840         (EXCEPTION_TESTS): Likewise.
25841         * math/libm-test.inc (test_exceptions): Only test exceptions if
25842         EXCEPTION_TESTS (FLOAT).
25844 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25846         * benchtests/Makefile (string-bench): Add strcpy_chk and
25847         stpcpy_chk.
25848         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25849         * benchtests/bench-stpcpy_chk.c: New file.
25850         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25851         * benchtests/bench-strcpy_chk.c: New file.
25852         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25853         code.
25854         (do_test): Likewise.
25856 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25858         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25859         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25860         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25861         with tabs where appropriate.
25862         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25863         dl-procinfo.h.
25864         [PPC_PLATFORM_PPC440]: Likewise.
25865         [PPC_PLATFORM_PPC464]: Likewise.
25866         [PPC_PLATFORM_PPC476]: Likewise.
25867         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25868         ppc464, and ppc476 platform strings merging from ports/
25869         dl-procinfo.h.
25871 2013-06-11  Andreas Schwab  <schwab@suse.de>
25873         [BZ #14991]
25874         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25875         (from_ucs4_idx): Regenerate.
25876         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25877         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25878         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25879         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25880         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25881         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25882         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25883         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25884         from FROM_LOOP and TO_LOOP specific macros.
25885         (BODY): Handle combining characters.
25886         * iconvdata/BIG5HKSCS.irreversible: Update.
25887         * iconvdata/BIG5HKSCS.precomposed: New file.
25888         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25889         characters.
25890         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25892 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25894         * include/sys/time.h: Fix indentation and add copyright header.
25896         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25897         (do_test): Likewise.
25898         * string/test-memchr.c (do_one_test): Likewise.
25899         (do_test): Likewise.
25900         * string/test-memcmp.c (do_one_test): Likewise.
25901         (do_test): Likewise.
25902         * string/test-memcpy.c (do_one_test): Likewise.
25903         (do_test): Likewise.
25904         * string/test-memmem.c (do_one_test): Likewise.
25905         (do_test): Likewise.
25906         (do_random_tests): Likewise.
25907         * string/test-memmove.c (do_one_test): Likewise.
25908         (do_test): Likewise.
25909         * string/test-memset.c (do_one_test): Likewise.
25910         (do_test): Likewise.
25911         * string/test-rawmemchr.c (do_one_test): Likewise.
25912         (do_test): Likewise.
25913         * string/test-strcasecmp.c (do_one_test): Likewise.
25914         (do_test): Likewise.
25915         * string/test-strcasestr.c (do_one_test): Likewise.
25916         (do_test): Likewise.
25917         * string/test-strcat.c (do_one_test): Likewise.
25918         (do_test): Likewise.
25919         * string/test-strchr.c (do_one_test): Likewise.
25920         (do_test): Likewise.
25921         * string/test-strcmp.c (do_one_test): Likewise.
25922         (do_test): Likewise.
25923         * string/test-strcpy.c (do_one_test): Likewise.
25924         (do_test): Likewise.
25925         * string/test-string.h: Likewise.
25926         (test_init): Likewise.
25927         * string/test-strlen.c (do_one_test): Likewise.
25928         (do_test): Likewise.
25929         * string/test-strncasecmp.c (do_one_test): Likewise.
25930         (do_test): Likewise.
25931         * string/test-strncat.c (do_one_test): Likewise.
25932         (do_test): Likewise.
25933         * string/test-strncmp.c (do_one_test): Likewise.
25934         (do_test_limit): Likewise.
25935         (do_test): Likewise.
25936         * string/test-strncpy.c (do_one_test): Likewise.
25937         (do_test): Likewise.
25938         * string/test-strnlen.c (do_one_test): Likewise.
25939         (do_test): Likewise.
25940         * string/test-strpbrk.c (do_one_test): Likewise.
25941         (do_test): Likewise.
25942         * string/test-strrchr.c (do_one_test): Likewise.
25943         (do_test): Likewise.
25944         * string/test-strspn.c (do_one_test): Likewise.
25945         (do_test): Likewise.
25946         * string/test-strstr.c (do_one_test): Likewise.
25947         (do_test): Likewise.
25949         * benchtests/Makefile (string-bench): Add string benchmarks.
25950         * benchtests/bench-bcopy-ifunc.c: New file.
25951         * benchtests/bench-bcopy.c: New file.
25952         * benchtests/bench-bzero-ifunc.c: New file.
25953         * benchtests/bench-bzero.c: New file.
25954         * benchtests/bench-memccpy-ifunc.c: New file.
25955         * benchtests/bench-memccpy.c: New file.
25956         * benchtests/bench-memchr-ifunc.c: New file.
25957         * benchtests/bench-memchr.c: New file.
25958         * benchtests/bench-memcmp-ifunc.c: New file.
25959         * benchtests/bench-memcmp.c: New file.
25960         * benchtests/bench-memmem-ifunc.c: New file.
25961         * benchtests/bench-memmem.c: New file.
25962         * benchtests/bench-memmove-ifunc.c: New file.
25963         * benchtests/bench-memmove.c: New file.
25964         * benchtests/bench-mempcpy-ifunc.c: New file.
25965         * benchtests/bench-mempcpy.c: New file.
25966         * benchtests/bench-memset-ifunc.c: New file.
25967         * benchtests/bench-memset.c: New file.
25968         * benchtests/bench-rawmemchr-ifunc.c: New file.
25969         * benchtests/bench-rawmemchr.c: New file.
25970         * benchtests/bench-stpcpy-ifunc.c: New file.
25971         * benchtests/bench-stpcpy.c: New file.
25972         * benchtests/bench-stpncpy-ifunc.c: New file.
25973         * benchtests/bench-stpncpy.c: New file.
25974         * benchtests/bench-strcasecmp-ifunc.c: New file.
25975         * benchtests/bench-strcasecmp.c: New file.
25976         * benchtests/bench-strcasestr-ifunc.c: New file.
25977         * benchtests/bench-strcasestr.c: New file.
25978         * benchtests/bench-strcat-ifunc.c: New file.
25979         * benchtests/bench-strcat.c: New file.
25980         * benchtests/bench-strchr-ifunc.c: New file.
25981         * benchtests/bench-strchr.c: New file.
25982         * benchtests/bench-strchrnul-ifunc.c: New file.
25983         * benchtests/bench-strchrnul.c: New file.
25984         * benchtests/bench-strcmp-ifunc.c: New file.
25985         * benchtests/bench-strcmp.c: New file.
25986         * benchtests/bench-strcpy-ifunc.c: New file.
25987         * benchtests/bench-strcpy.c: New file.
25988         * benchtests/bench-strcspn-ifunc.c: New file.
25989         * benchtests/bench-strcspn.c: New file.
25990         * benchtests/bench-strlen-ifunc.c: New file.
25991         * benchtests/bench-strlen.c: New file.
25992         * benchtests/bench-strncasecmp-ifunc.c: New file.
25993         * benchtests/bench-strncasecmp.c: New file.
25994         * benchtests/bench-strncat-ifunc.c: New file.
25995         * benchtests/bench-strncat.c: New file.
25996         * benchtests/bench-strncmp-ifunc.c: New file.
25997         * benchtests/bench-strncmp.c: New file.
25998         * benchtests/bench-strncpy-ifunc.c: New file.
25999         * benchtests/bench-strncpy.c: New file.
26000         * benchtests/bench-strnlen-ifunc.c: New file.
26001         * benchtests/bench-strnlen.c: New file.
26002         * benchtests/bench-strpbrk-ifunc.c: New file.
26003         * benchtests/bench-strpbrk.c: New file.
26004         * benchtests/bench-strrchr-ifunc.c: New file.
26005         * benchtests/bench-strrchr.c: New file.
26006         * benchtests/bench-strspn-ifunc.c: New file.
26007         * benchtests/bench-strspn.c: New file.
26008         * benchtests/bench-strstr-ifunc.c: New file.
26009         * benchtests/bench-strstr.c: New file.
26011         * benchtests/Makefile: Disable parallel execution of targets.
26012         (string-bench): Add memcpy.
26013         (benchset): New variable to store a list of benchmark sets.
26014         (bench-func): Renamed from bench.
26015         (bench-set): New target.
26016         (bench): Depend on bench-func and bench-set.
26017         * benchtests/README: Add section on benchmark sets.
26018         * benchtests/bench-memcpy-ifunc.c: New file.
26019         * benchtests/bench-memcpy.c: New file.
26020         * benchtests/bench-string.h: New file.
26022 2013-06-11  Andreas Schwab  <schwab@suse.de>
26024         [BZ #15577]
26025         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
26026         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
26027         values in the triple.
26028         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
26029         terminator in the group key.
26031 2013-06-11  Andreas Jaeger  <aj@suse.de>
26033         * po/zh_TW.po: Update Chinese (traditional) translation from
26034         translation project.
26036 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
26038         * include/time.h (__clock_gettime): Add libc_hidden_proto.
26039         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
26040         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
26041         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26042         (clock_getcpuclockid): Likewise.
26043         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
26044         Add weak_alias and libc_hidden_def.
26045         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
26046         * rt/clock_gettime.c (clock_gettime): Rename to
26047         __clock_gettime.  Add weak_alias and libc_hidden_def.
26048         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
26049         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
26050         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
26051         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
26052         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
26053         Likewise.
26054         * rt/clock_settime.c (clock_settime): Rename to
26055         __clock_settime.  Add weak_alias and libc_hidden_def.
26056         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
26058 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
26060         * mach/err_boot.sub: Remove trailing whitespace.
26061         * mach/err_ipc.sub: Likewise.
26062         * mach/err_mach.sub: Likewise.
26064         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
26065         (ROUNDING_TESTS_double): Likewise.
26066         (ROUNDING_TESTS_long_double): Likewise.
26067         (ROUNDING_TESTS): Likewise.
26068         * math/libm-test.inc: Include <math-tests.h>.
26069         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
26070         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26071         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26072         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26074 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26076         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
26077         of assigning.
26079 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
26081         * sysdeps/gnu/errlist.awk: Do not generate space at end of
26082         otherwise empty TRANS lines.
26083         * sysdeps/gnu/errlist.c: Regenerated.
26085         * catgets/gencat.c (error_print): Use (void) in function
26086         definition.
26087         * crypt/crypt_util.c (__init_des): Likewise.
26088         * crypt/speeds.c (Stop): Likewise.
26089         (main): Likewise.
26090         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
26091         * inet/ruserpass.c (token): Likewise.
26092         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
26093         * intl/localealias.c (extend_alias_table): Likewise.
26094         * intl/plural-exp.c (init_germanic_plural): Likewise.
26095         * libio/fcloseall.c (__fcloseall): Likewise.
26096         * libio/genops.c (_IO_flush_all): Likewise.
26097         (_IO_flush_all_linebuffered): Likewise.
26098         (_IO_cleanup): Likewise.
26099         (_IO_iter_begin): Likewise.
26100         (_IO_iter_end): Likewise.
26101         (_IO_list_lock): Likewise.
26102         (_IO_list_unlock): Likewise.
26103         (_IO_list_resetlock): Likewise.
26104         * libio/getchar.c (getchar): Likewise.
26105         * libio/getchar_u.c (getchar_unlocked): Likewise.
26106         * libio/getwchar.c (getwchar): Likewise.
26107         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
26108         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
26109         * login/getpt.c (__getpt): Likewise.
26110         * login/tst-utmp.c (main): Likewise.
26111         * malloc/hooks.c (__malloc_check_init): Likewise.
26112         * malloc/malloc.c (__malloc_stats): Likewise.
26113         * malloc/mtrace.c (tr_break): Likewise.
26114         (mtrace): Likewise.
26115         (muntrace): Likewise.
26116         * misc/fstab.c (endfsent): Likewise.
26117         * misc/getclktck.c (__getclktck): Likewise.
26118         * misc/getdtsz.c (__getdtablesize): Likewise.
26119         * misc/gethostid.c (gethostid): Likewise.
26120         * misc/getpagesize.c (__getpagesize): Likewise.
26121         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
26122         (__get_nprocs): Likewise.
26123         (__get_phys_pages): Likewise.
26124         (__get_avphys_pages): Likewise.
26125         * misc/getttyent.c (getttyent): Likewise.
26126         (setttyent): Likewise.
26127         (endttyent): Likewise.
26128         * misc/getusershell.c (getusershell): Likewise.
26129         (endusershell): Likewise.
26130         (setusershell): Likewise.
26131         (initshells): Likewise.
26132         * misc/hsearch.c (__hdestroy): Likewise.
26133         * misc/sync.c (sync): Likewise.
26134         * misc/syslog.c (closelog_internal): Likewise.
26135         (closelog): Likewise.
26136         * misc/ttyslot.c (ttyslot): Likewise.
26137         * misc/vhangup.c (vhangup): Likewise.
26138         * posix/fork.c (__fork): Likewise.
26139         * posix/getegid.c (__getegid): Likewise.
26140         * posix/geteuid.c (__geteuid): Likewise.
26141         * posix/getgid.c (__getgid): Likewise.
26142         * posix/getpid.c (__getpid): Likewise.
26143         * posix/getppid.c (__getppid): Likewise.
26144         * posix/getuid.c (__getuid): Likewise.
26145         * posix/pause.c (pause): Likewise.
26146         * posix/setpgrp.c (setpgrp): Likewise.
26147         * posix/setsid.c (__setsid): Likewise.
26148         * posix/test-vfork.c (noop): Likewise.
26149         * resolv/gethnamaddr.c (_endhtent): Likewise.
26150         (_gethtent): Likewise.
26151         (ht_endhostent): Likewise.
26152         (gethostent): Likewise.
26153         (dns_service): Likewise.
26154         * stdlib/drand48.c (drand48): Likewise.
26155         * stdlib/lrand48.c (lrand48): Likewise.
26156         * stdlib/mrand48.c (mrand48): Likewise.
26157         * stdlib/rand.c (rand): Likewise.
26158         * stdlib/random.c (__random): Likewise.
26159         * stdlib/setenv.c (clearenv): Likewise.
26160         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
26161         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
26162         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
26163         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
26164         (__get_nprocs): Likewise.
26165         (__get_phys_pages): Likewise.
26166         (__get_avphys_pages): Likewise.
26167         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
26168         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
26169         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
26170         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
26171         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
26172         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
26173         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
26174         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
26175         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
26176         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
26177         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
26178         * sysdeps/mach/hurd/sync.c (sync): Likewise.
26179         * sysdeps/posix/clock.c (clock): Likewise.
26180         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
26181         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
26182         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
26183         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
26184         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
26185         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
26186         (__get_nprocs_conf): Likewise.
26187         (__get_phys_pages): Likewise.
26188         (__get_avphys_pages): Likewise.
26189         * time/clock.c (clock): Likewise.
26190         * time/tzset.c (__tzname_max): Likewise.
26192 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
26194         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
26195         (__bswap_32): Do not use "register".
26196         * crypt/crypt.c (_ufc_doit_r): Likewise.
26197         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
26198         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
26199         * gmon/gmon.c (__monstartup): Likewise.
26200         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
26201         * hurd/hurdmalloc.c (more_memory): Likewise.
26202         (malloc): Likewise.
26203         (free): Likewise.
26204         (realloc): Likewise.
26205         (malloc_fork_prepare): Likewise.
26206         (malloc_fork_parent): Likewise.
26207         (malloc_fork_child): Likewise.
26208         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
26209         (_svcauth_des): Likewise.
26210         * inet/inet_lnaof.c (inet_lnaof): Likewise.
26211         * inet/inet_net.c (inet_network): Likewise.
26212         * inet/inet_netof.c (inet_netof): Likewise.
26213         * inet/rcmd.c (__validuser2_sa): Likewise.
26214         * io/fts.c (fts_open): Likewise.
26215         (fts_load): Likewise.
26216         (fts_close): Likewise.
26217         (fts_read): Likewise.
26218         (fts_children): Likewise.
26219         (fts_build): Likewise.
26220         (fts_stat): Likewise.
26221         (fts_sort): Likewise.
26222         (fts_alloc): Likewise.
26223         (fts_lfree): Likewise.
26224         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
26225         (_IO_file_xsgetn): Likewise.
26226         (_IO_file_xsgetn_mmap): Likewise.
26227         * libio/iofopncook.c (_IO_cookie_read): Likewise.
26228         (_IO_cookie_write): Likewise.
26229         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
26230         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
26231         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
26232         * malloc/obstack.c (_obstack_begin): Likewise.
26233         (_obstack_begin_1): Likewise.
26234         (_obstack_newchunk): Likewise.
26235         (_obstack_allocated_p): Likewise.
26236         (obstack_free): Likewise.
26237         (_obstack_memory_used): Likewise.
26238         * misc/getttyent.c (getttynam): Likewise.
26239         (getttyent): Likewise.
26240         (skip): Likewise.
26241         (value): Likewise.
26242         * misc/getusershell.c (initshells): Likewise.
26243         * misc/syslog.c (__vsyslog_chk): Likewise.
26244         * misc/ttyslot.c (ttyslot): Likewise.
26245         * nis/nis_hash.c (__nis_hash): Likewise.
26246         * posix/fnmatch_loop.c (FCT): Likewise.
26247         * posix/getconf.c (print_all): Likewise.
26248         (main): Likewise.
26249         * posix/getopt.c (exchange): Likewise.
26250         * posix/glob.c (globfree): Likewise.
26251         (prefix_array): Likewise.
26252         (__glob_pattern_type): Likewise.
26253         * resolv/arpa/nameser.h (NS_GET16): Likewise.
26254         (NS_GET32): Likewise.
26255         (NS_PUT16): Likewise.
26256         (NS_PUT32): Likewise.
26257         * resolv/gethnamaddr.c (getanswer): Likewise.
26258         (gethostbyname2): Likewise.
26259         (gethostbyaddr): Likewise.
26260         (_gethtent): Likewise.
26261         (_gethtbyname2): Likewise.
26262         (_gethtbyaddr): Likewise.
26263         * resolv/ns_print.c (dst_s_get_int16): Likewise.
26264         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26265         * resolv/res_init.c (__res_vinit): Likewise.
26266         (net_mask): Likewise.
26267         * resolv/res_mkquery.c (outchar): Likewise.
26268         (PRINT): Likewise.
26269         * stdio-common/printf_fp.c (outchar): Likewise.
26270         (PRINT): Likewise.
26271         * stdio-common/printf_fphex.c (outchar): Likewise.
26272         (PRINT): Likewise.
26273         * stdio-common/printf_size.c (outchar): Likewise.
26274         (PRINT): Likewise.
26275         * stdio-common/test_rdwr.c (main): Likewise.
26276         * stdio-common/tfformat.c (matches): Likewise.
26277         * stdio-common/vfprintf.c (outchar): Likewise.
26278         (printf_unknown): Likewise.
26279         (buffered_vfprintf): Likewise.
26280         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26281         * stdio-common/xbug.c (AppendToBuffer): Likewise.
26282         (ReadFile): Likewise.
26283         * stdlib/qsort.c (SWAP): Likewise.
26284         (_quicksort): Likewise.
26285         * stdlib/setenv.c (__add_to_environ): Likewise.
26286         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26287         * stdlib/strtol_l.c (__strtol_l): Likewise.
26288         * stdlib/tst-strtod.c (main): Likewise.
26289         * stdlib/tst-strtol.c (main): Likewise.
26290         * stdlib/tst-strtoll.c (main): Likewise.
26291         * string/bits/string2.h (__strcmp_cc): Likewise.
26292         (__strcmp_cg): Likewise.
26293         (__strcspn_c1): Likewise.
26294         (__strcspn_c2): Likewise.
26295         (__strcspn_c3): Likewise.
26296         (__strspn_c1): Likewise.
26297         (__strspn_c2): Likewise.
26298         (__strspn_c3): Likewise.
26299         (__strsep_1c): Likewise.
26300         (__strsep_2c): Likewise.
26301         (__strsep_3c): Likewise.
26302         * string/memccpy.c (__memccpy): Likewise.
26303         * string/stpcpy.c (__stpcpy): Likewise.
26304         * string/strcmp.c (strcmp): Likewise.
26305         * string/strrchr.c (strrchr): Likewise.
26306         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26307         Likewise.
26308         * sysdeps/mach/hurd/getcwd.c
26309         (_hurd_canonicalize_directory_name_internal): Likewise.
26310         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26311         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26312         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26313         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26314         Likewise, in both definitions.
26315         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26316         definitions.
26317         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26318         64] (__bswap_64): Likewise.
26319         * time/test_time.c (main): Likewise.
26320         * time/tzfile.c (__tzfile_read): Likewise.
26321         (__tzfile_compute): Likewise.
26322         * time/tzset.c (__tzset_parse_tz): Likewise.
26323         (tzset_internal): Likewise.
26324         (compute_change): Likewise.
26325         * wcsmbs/wcscat.c (__wcscat): Likewise.
26326         * wcsmbs/wcschr.c (wcschr): Likewise.
26327         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26328         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26329         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26330         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26331         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26332         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26333         * wcsmbs/wmemchr.c (wmemchr): Likewise.
26334         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26335         * wcsmbs/wmemset.c (wmemset): Likewise.
26337 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
26339         * scripts/config.guess: Update to version 2013-05-16.
26340         * scripts/config.sub: Update to version 2013-04-24.
26341         * scripts/install-sh: Update to version 2011-11-20.07.
26342         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26343         * scripts/move-if-change: Update to version 2012-01-06 07:23.
26345 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
26347         * debug/fgetws_u_chk.c: Fix leading whitespaces.
26348         * elf/sln.c: Likewise.
26349         * hurd/hurd/ioctl.h: Likewise.
26350         * hurd/hurdmalloc.c: Likewise.
26351         * hurd/xattr.c: Likewise.
26352         * include/shlib-compat.h: Likewise.
26353         * inet/ruserpass.c: Likewise.
26354         * libio/iofgets_u.c: Likewise.
26355         * libio/iofgetws_u.c: Likewise.
26356         * locale/programs/ld-identification.c: Likewise.
26357         * locale/programs/ld-time.c: Likewise.
26358         * mach/msg-destroy.c: Likewise.
26359         * nss/nss_files/files-netgrp.c: Likewise.
26360         * resolv/res_data.c: Likewise.
26361         * soft-fp/op-1.h: Likewise.
26362         * soft-fp/op-2.h: Likewise.
26363         * soft-fp/op-4.h: Likewise.
26364         * soft-fp/op-common.h: Likewise.
26365         * stdio-common/printf_fphex.c: Likewise.
26366         * stdlib/strtod_l.c: Likewise.
26367         * sunrpc/rpc/clnt.h: Likewise.
26368         * sysdeps/generic/framestate.c: Likewise.
26369         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26370         * sysdeps/i386/bsd-setjmp.S: Likewise.
26371         * sysdeps/i386/__longjmp.S: Likewise.
26372         * sysdeps/i386/setjmp.S: Likewise.
26373         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26374         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26375         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26376         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26377         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26378         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26379         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26380         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26381         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26382         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26383         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26384         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26385         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26386         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26387         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26388         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26389         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26390         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26391         * sysdeps/ieee754/support.c: Likewise.
26392         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26393         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26394         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26395         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26396         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26397         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26398         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26399         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26400         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26401         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26402         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26403         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26404         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26405         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26406         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26407         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26408         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26411 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
26413         * posix/transbug.c: Remove executable mode.
26415 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
26417         * crypt/speeds.c: Remove trailing whitespace.
26418         * dlfcn/default.c: Likewise.
26419         * elf/ifuncdep2.c: Likewise.
26420         * elf/ifuncmain1.c: Likewise.
26421         * elf/ifuncmain1vis.c: Likewise.
26422         * elf/testobj.h: Likewise.
26423         * elf/tst-stackguard1.c: Likewise.
26424         * gmon/sys/gmon.h: Likewise.
26425         * hurd/hurdmsg.c: Likewise.
26426         * hurd/new-fd.c: Likewise.
26427         * hurd/ports-get.c: Likewise.
26428         * iconvdata/ibm1008_420.c: Likewise.
26429         * inet/tst-getni1.c: Likewise.
26430         * inet/tst-getni2.c: Likewise.
26431         * libio/ioungetc.c: Likewise.
26432         * libio/wfiledoalloc.c: Likewise.
26433         * manual/libm-err-tab.pl: Likewise.
26434         * math/w_dremf.c: Likewise.
26435         * misc/ftruncate.c: Likewise.
26436         * posix/bug-glob2.c: Likewise.
26437         * posix/tst-pcre.c: Likewise.
26438         * posix/wait4.c: Likewise.
26439         * resolv/README: Likewise.
26440         * resolv/res_debug.h: Likewise.
26441         * resolv/tst-inet_ntop.c: Likewise.
26442         * setjmp/bug269-setjmp.c: Likewise.
26443         * soft-fp/extended.h: Likewise.
26444         * soft-fp/op-1.h: Likewise.
26445         * soft-fp/op-2.h: Likewise.
26446         * soft-fp/op-4.h: Likewise.
26447         * soft-fp/op-8.h: Likewise.
26448         * soft-fp/testit.c: Likewise.
26449         * stdio-common/bug16.c: Likewise.
26450         * stdlib/random.c: Likewise.
26451         * sunrpc/rpcsvc/rquota.x: Likewise.
26452         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26453         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26454         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26455         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26456         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26457         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26458         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26459         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26460         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26461         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26462         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26463         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26464         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26465         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26466         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26467         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26468         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26469         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26470         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26471         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26472         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26473         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26474         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26475         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26476         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26477         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26478         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26479         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26480         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26481         * sysdeps/ieee754/s_lib_version.c: Likewise.
26482         * sysdeps/mach/hurd/check_fds.c: Likewise.
26483         * sysdeps/mach/hurd/getsockname.c: Likewise.
26484         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26485         * sysdeps/mach/hurd/recvfrom.c: Likewise.
26486         * sysdeps/powerpc/bits/link.h: Likewise.
26487         * sysdeps/powerpc/dl-procinfo.c: Likewise.
26488         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26489         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26490         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26491         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26492         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26493         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26494         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26495         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26496         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26497         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26498         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26499         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26500         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26501         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26502         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26503         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26504         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26505         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26506         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26507         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26508         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26509         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26510         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26511         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26512         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26513         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26514         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26515         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26516         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26517         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26518         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26519         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26520         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26521         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26522         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26523         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26524         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26525         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26526         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26527         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26528         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26529         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26530         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26531         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26532         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26533         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26534         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26535         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26536         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26537         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26538         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26539         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26540         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26541         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26542         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26543         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26544         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26545         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26546         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26547         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26548         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26549         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26550         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26551         * sysdeps/powerpc/sysdep.h: Likewise.
26552         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26553         * sysdeps/s390/s390-64/sub_n.S: Likewise.
26554         * sysdeps/sh/dl-trampoline.S: Likewise.
26555         * sysdeps/sh/memset.S: Likewise.
26556         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26557         * sysdeps/sh/strlen.S: Likewise.
26558         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26559         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26560         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26561         * sysdeps/sparc/sparc32/rem.S: Likewise.
26562         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26563         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26564         * sysdeps/sparc/sparc32/strchr.S: Likewise.
26565         * sysdeps/sparc/sparc32/udiv.S: Likewise.
26566         * sysdeps/sparc/sparc32/urem.S: Likewise.
26567         * sysdeps/sparc/sparc64/add_n.S: Likewise.
26568         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26569         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26570         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26571         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26572         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26573         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26574         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26575         * sysdeps/unix/bsd/times.c: Likewise.
26576         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26577         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26579         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26581         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26582         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26583         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26584         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26585         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26586         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26587         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26588         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26589         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26590         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26591         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26592         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26593         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26594         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26595         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26596         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26597         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26598         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26599         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26600         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26601         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26602         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26603         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26604         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26605         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26606         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26607         * sysdeps/x86_64/strcspn.S: Likewise.
26609 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26611         * locale/C-translit.h: Revert #include <stdint.h> because this is a
26612         generated file.  Regenerate properly from gen-translit.pl.
26613         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
26614         locale/C-translit.h.
26616 2013-06-05  Andreas Schwab  <schwab@suse.de>
26618         [BZ #15100]
26619         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26620         week as 6 instead of -1.
26621         * time/tst-strptime.c (day_tests): Add test case.
26623 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26625         * sysdeps/generic/math_private.h
26626         (libc_feholdexcept_setround_53bit): Replace with
26627         libc_feholdsetround_53bit.
26628         (libc_feupdateenv_53bit): Replace with
26629         libc_feresetround_53bit.
26630         (SET_RESTORE_ROUND_53BIT): Adjust.
26632 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26634         * string/test-strchrnul.c: Add copyright header.
26636         * posix/tst-getaddrinfo4.c: Increase test timeout.
26638 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
26640         [BZ #15536]
26641         * math/libm-test.inc (MAX_EXP): Remove
26642         (MIN_EXP): Define.
26643         (ulp): Use MIN_EXP - MANT_DIG.
26644         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26646 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
26648         * po/be.po: Revert last change.
26649         * po/zh_CN.po: Likewise.
26650         * po/header.pot: Likewise.
26652 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
26654         * Makefile ($(common-objpfx)linkobj/libc.so): Define
26655         link-libc-deps to empty as target-specific variable.
26656         * Makerules (link-libc-args): New variable.
26657         (libc-for-link): Likewise.
26658         (link-libc-deps): Likewise.
26659         (lib%.so): Depend on $(link-libc-deps).  Link with
26660         $(link-libc-args).
26661         (build-module): Link with $(link-libc-args).
26662         (build-module-asneeded): Likewise.
26663         (build-module-helper-objlist): Filter out $(link-libc-deps) from
26664         list of objects.
26665         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26666         target-specific variable.
26667         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26668         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26669         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26670         libc.
26671         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26672         libc and ld.so.
26673         ($(objpfx)libpcprofile.so): Likewise.
26674         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26675         libc_nonshared.a.
26676         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26677         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26678         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26679         $(link-libc-deps).
26680         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26681         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26682         * login/Makefile ($(objpfx)libutil.so): Likewise.
26683         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26684         * math/Makefile ($(objpfx)libm.so): Likewise.
26685         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26686         $(objpfx)libnsl.so): Define libc-for-link as target-specific
26687         variable instead of depending directly on libc.
26688         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26689         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26690         $(link-libc-deps).
26691         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26692         libc.
26693         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26694         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26695         ($(objpfx)libanl.so): Likewise.
26696         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26697         ld.so.
26698         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26699         $(link-libc-deps).
26700         * sysdeps/i386/fpu/Makefile: Remove file.
26701         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26702         ($(objpfx)libm.so): Remove dependency on ld.so.
26704 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
26706         [BZ # 15553]
26707         * nis/yp_xdr.c (XDRMAXNAME): Define.
26708         (XDRMAXRECORD): Define.
26709         (xdr_domainname): Use XDRMAXNAME.
26710         (xdr_mapname): Likewise.
26711         (xdr_peername): Likewise.
26712         (xdr_keydat): Use XDRMAXRECORD.
26713         (xdr_valdat): Likewise.
26715 2013-05-30  Jeff Law  <law@redhat.com>
26717         [BZ #14256]
26718         * manual/errno.texi (ESTALE): Update to account for more than
26719         just NFS file systems.
26720         * sysdeps/gnu/errlist.c: Regenerated.
26722 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26724         [BZ #15465]
26725         * elf/Makefile (tests): Add tst-null-argv.
26726         (modules-names):  Add tst-null-argv-lib.
26727         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26728         (tst-null-argv-ENV): Set environment for tst-null-argv.
26729         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26730         (RTLD_PROGNAME): New macro.
26731         * elf/tst-null-argv.c: New test case.
26732         * elf/tst-null-argv-lib.c: Library for test case.
26733         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26734         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26735         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26736         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26737         * elf/dl-init.c (call_init): Likewise.
26738         (_dl_init): Likewise.
26739         * elf/dl-load.c (print_search_path): Likewise.
26740         (_dl_map_object): Likewise.
26741         * elf/dl-lookup.c (do_lookup_x): Likewise.
26742         (add_dependency): Likewise.
26743         (_dl_lookup_symbol_x): Likewise.
26744         (_dl_debug_bindings): Likewise.
26745         * elf/dl-open.c (_dl_show_scope): Likewise.
26746         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26747         * elf/dl-version.c (match_symbol): Likewise.
26748         (_dl_check_map_versions): Likewise.
26749         * elf/rtld.c (dl_main): Likewise.
26750         (print_unresolved): Use RTLD_PROGNAME.
26751         (print_missing_version): Likewise.
26752         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26753         (elf_machine_rela): Likewise.
26754         * sysdeps/powerpc/powerpc32/dl-machine.c
26755         (__process_machine_rela): Likewise.
26756         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26757         Likewise.
26758         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26759         Likewise.
26760         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26761         Likewise.
26762         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26763         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26764         Likewise.
26765         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26766         Likewise.
26767         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26769 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
26771         * po/be.po: Add descriptive title.
26772         * po/zh_CN.po: Likewise.
26773         * po/header.pot: Likewise.
26775 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
26777         * locale/programs/locarchive.c (create_archive): Inlucde fname in
26778         error message.
26779         (enlarge_archive): Likewise.
26781 2013-05-28  Ben North  <ben@redfrontdoor.org>
26783         * manual/arith.texi (frexp): It is the magnitude of the return
26784         value which lies in [0.5, 1), not the return value itself.
26786 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26788         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26790 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
26792         * stdio-common/bug26.c (main): Correct fscanf template.
26794         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26795         declare _dl_skip_args.
26797         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26798         Don't declare.
26800         * manual/platform.texi: Add missing @end deftypefun.
26802 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26804         [BZ #15529]
26805         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26806         bit of mantissa of 2^16382.
26807         * math/libm-test.inc (hypot_test_data): Add more tests.
26809         * math/libm-test.inc: Add drem and pow10 to list of tested
26810         functions.
26811         (pow10_test): New function.
26812         (drem_test): Likewise.
26813         (drem_test_tonearest): Likewise.
26814         (drem_test_towardzero): Likewise.
26815         (drem_test_downward): Likewise.
26816         (drem_test_upward): Likewise.
26817         (main): Call the new functions.
26819         * math/libm-test.inc (finite_test_data): Remove.
26820         (finite_test): Run tests from isfinite_test_data.
26821         (gamma_test_data): Remove.
26822         (gamma_test): Run tests from lgamma_test_data.
26823         * sysdeps/i386/fpu/libm-test-ulps: Update.
26824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26826 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26828         * manual/platform.texi: Add PowerPC PPR function set documentation.
26829         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26830         implementation.
26832 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
26834         * math/libm-test.inc (MAX_EXP): Define.
26835         (ULPDIFF): Define.
26836         (ulp): New function.
26837         (check_float_internal): Use ULPDIFF.
26838         (cpow_test): Disable failing test.
26839         (check_ulp): Test ulp() implemetnation.
26840         (main): Call check_ulp before starting tests.
26842 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26844         * math/gen-libm-test.pl (generate_testfile): Do not handle
26845         START_DATA and END_DATA.
26846         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26847         END_DATA.
26848         (acos_tonearest_test_data): Likewise.
26849         (acos_towardzero_test_data): Likewise.
26850         (acos_downward_test_data): Likewise.
26851         (acos_upward_test_data): Likewise.
26852         (acosh_test_data): Likewise.
26853         (asin_test_data): Likewise.
26854         (asin_tonearest_test_data): Likewise.
26855         (asin_towardzero_test_data): Likewise.
26856         (asin_downward_test_data): Likewise.
26857         (asin_upward_test_data): Likewise.
26858         (asinh_test_data): Likewise.
26859         (atan_test_data): Likewise.
26860         (atanh_test_data): Likewise.
26861         (atan2_test_data): Likewise.
26862         (cabs_test_data): Likewise.
26863         (cacos_test_data): Likewise.
26864         (cacosh_test_data): Likewise.
26865         (carg_test_data): Likewise.
26866         (casin_test_data): Likewise.
26867         (casinh_test_data): Likewise.
26868         (catan_test_data): Likewise.
26869         (catanh_test_data): Likewise.
26870         (cbrt_test_data): Likewise.
26871         (ccos_test_data): Likewise.
26872         (ccosh_test_data): Likewise.
26873         (ceil_test_data): Likewise.
26874         (cexp_test_data): Likewise.
26875         (cimag_test_data): Likewise.
26876         (clog_test_data): Likewise.
26877         (clog10_test_data): Likewise.
26878         (conj_test_data): Likewise.
26879         (copysign_test_data): Likewise.
26880         (cos_test_data): Likewise.
26881         (cos_tonearest_test_data): Likewise.
26882         (cos_towardzero_test_data): Likewise.
26883         (cos_downward_test_data): Likewise.
26884         (cos_upward_test_data): Likewise.
26885         (cosh_test_data): Likewise.
26886         (cosh_tonearest_test_data): Likewise.
26887         (cosh_towardzero_test_data): Likewise.
26888         (cosh_downward_test_data): Likewise.
26889         (cosh_upward_test_data): Likewise.
26890         (cpow_test_data): Likewise.
26891         (cproj_test_data): Likewise.
26892         (creal_test_data): Likewise.
26893         (csin_test_data): Likewise.
26894         (csinh_test_data): Likewise.
26895         (csqrt_test_data): Likewise.
26896         (ctan_test_data): Likewise.
26897         (ctan_tonearest_test_data): Likewise.
26898         (ctan_towardzero_test_data): Likewise.
26899         (ctan_downward_test_data): Likewise.
26900         (ctan_upward_test_data): Likewise.
26901         (ctanh_test_data): Likewise.
26902         (ctanh_tonearest_test_data): Likewise.
26903         (ctanh_towardzero_test_data): Likewise.
26904         (ctanh_downward_test_data): Likewise.
26905         (ctanh_upward_test_data): Likewise.
26906         (erf_test_data): Likewise.
26907         (erfc_test_data): Likewise.
26908         (exp_test_data): Likewise.
26909         (exp_tonearest_test_data): Likewise.
26910         (exp_towardzero_test_data): Likewise.
26911         (exp_downward_test_data): Likewise.
26912         (exp_upward_test_data): Likewise.
26913         (exp10_test_data): Likewise.
26914         (exp2_test_data): Likewise.
26915         (expm1_test_data): Likewise.
26916         (fabs_test_data): Likewise.
26917         (fdim_test_data): Likewise.
26918         (finite_test_data): Likewise.
26919         (floor_test_data): Likewise.
26920         (fma_test_data): Likewise.
26921         (fma_towardzero_test_data): Likewise.
26922         (fma_downward_test_data): Likewise.
26923         (fma_upward_test_data): Likewise.
26924         (fmax_test_data): Likewise.
26925         (fmin_test_data): Likewise.
26926         (fmod_test_data): Likewise.
26927         (fpclassify_test_data): Likewise.
26928         (frexp_test_data): Likewise.
26929         (gamma_test_data): Likewise.
26930         (hypot_test_data): Likewise.
26931         (ilogb_test_data): Likewise.
26932         (isfinite_test_data): Likewise.
26933         (isgreater_test_data): Likewise.
26934         (isgreaterequal_test_data): Likewise.
26935         (isinf_test_data): Likewise.
26936         (isless_test_data): Likewise.
26937         (islessequal_test_data): Likewise.
26938         (islessgreater_test_data): Likewise.
26939         (isnan_test_data): Likewise.
26940         (isnormal_test_data): Likewise.
26941         (issignaling_test_data): Likewise.
26942         (isunordered_test_data): Likewise.
26943         (j0_test_data): Likewise.
26944         (j1_test_data): Likewise.
26945         (jn_test_data): Likewise.
26946         (ldexp_test_data): Likewise.
26947         (lgamma_test_data): Likewise.
26948         (lrint_test_data): Likewise.
26949         (lrint_tonearest_test_data): Likewise.
26950         (lrint_towardzero_test_data): Likewise.
26951         (lrint_downward_test_data): Likewise.
26952         (lrint_upward_test_data): Likewise.
26953         (llrint_test_data): Likewise.
26954         (llrint_tonearest_test_data): Likewise.
26955         (llrint_towardzero_test_data): Likewise.
26956         (llrint_downward_test_data): Likewise.
26957         (llrint_upward_test_data): Likewise.
26958         (log_test_data): Likewise.
26959         (log10_test_data): Likewise.
26960         (log1p_test_data): Likewise.
26961         (log2_test_data): Likewise.
26962         (logb_test_data): Likewise.
26963         (logb_downward_test_data): Likewise.
26964         (lround_test_data): Likewise.
26965         (llround_test_data): Likewise.
26966         (modf_test_data): Likewise.
26967         (nearbyint_test_data): Likewise.
26968         (nextafter_test_data): Likewise.
26969         (nexttoward_test_data): Likewise.
26970         (pow_test_data): Likewise.
26971         (pow_tonearest_test_data): Likewise.
26972         (pow_towardzero_test_data): Likewise.
26973         (pow_downward_test_data): Likewise.
26974         (pow_upward_test_data): Likewise.
26975         (remainder_test_data): Likewise.
26976         (remainder_tonearest_test_data): Likewise.
26977         (remainder_towardzero_test_data): Likewise.
26978         (remainder_downward_test_data): Likewise.
26979         (remainder_upward_test_data): Likewise.
26980         (remquo_test_data): Likewise.
26981         (rint_test_data): Likewise.
26982         (rint_tonearest_test_data): Likewise.
26983         (rint_towardzero_test_data): Likewise.
26984         (rint_downward_test_data): Likewise.
26985         (rint_upward_test_data): Likewise.
26986         (round_test_data): Likewise.
26987         (scalb_test_data): Likewise.
26988         (scalbn_test_data): Likewise.
26989         (scalbln_test_data): Likewise.
26990         (signbit_test_data): Likewise.
26991         (sin_test_data): Likewise.
26992         (sin_tonearest_test_data): Likewise.
26993         (sin_towardzero_test_data): Likewise.
26994         (sin_downward_test_data): Likewise.
26995         (sin_upward_test_data): Likewise.
26996         (sincos_test_data): Likewise.
26997         (sinh_test_data): Likewise.
26998         (sinh_tonearest_test_data): Likewise.
26999         (sinh_towardzero_test_data): Likewise.
27000         (sinh_downward_test_data): Likewise.
27001         (sinh_upward_test_data): Likewise.
27002         (sqrt_test_data): Likewise.
27003         (tan_test_data): Likewise.
27004         (tan_tonearest_test_data): Likewise.
27005         (tan_towardzero_test_data): Likewise.
27006         (tan_downward_test_data): Likewise.
27007         (tan_upward_test_data): Likewise.
27008         (tanh_test_data): Likewise.
27009         (tgamma_test_data): Likewise.
27010         (trunc_test_data): Likewise.
27011         (y0_test_data): Likewise.
27012         (y1_test_data): Likewise.
27013         (yn_test_data): Likewise.
27014         (significand_test_data): Likewise.
27016         * math/gen-libm-test.pl (@functions): Remove variable.
27017         (generate_testfile): Don't handle START and END lines.
27018         * math/libm-test.inc (START): New macro.
27019         (END): Likewise.
27020         (END_COMPLEX): Likewise.
27021         (acos_test): Use END macro without arguments.
27022         (acos_test_tonearest): Likewise.
27023         (acos_test_towardzero): Likewise.
27024         (acos_test_downward): Likewise.
27025         (acos_test_upward): Likewise.
27026         (acosh_test): Likewise.
27027         (asin_test): Likewise.
27028         (asin_test_tonearest): Likewise.
27029         (asin_test_towardzero): Likewise.
27030         (asin_test_downward): Likewise.
27031         (asin_test_upward): Likewise.
27032         (asinh_test): Likewise.
27033         (atan_test): Likewise.
27034         (atanh_test): Likewise.
27035         (atan2_test): Likewise.
27036         (cabs_test): Likewise.
27037         (cacos_test): Use END_COMPLEX macro without arguments.
27038         (cacosh_test): Likewise.
27039         (carg_test): Use END macro without arguments.
27040         (casin_test): Use END_COMPLEX macro without arguments.
27041         (casinh_test): Likewise.
27042         (catan_test): Likewise.
27043         (catanh_test): Likewise.
27044         (cbrt_test): Use END macro without arguments.
27045         (ccos_test): Use END_COMPLEX macro without arguments.
27046         (ccosh_test): Likewise.
27047         (ceil_test): Use END macro without arguments.
27048         (cexp_test): Use END_COMPLEX macro without arguments.
27049         (cimag_test): Use END macro without arguments.
27050         (clog_test): Use END_COMPLEX macro without arguments.
27051         (clog10_test): Likewise.
27052         (conj_test): Likewise.
27053         (copysign_test): Use END macro without arguments.
27054         (cos_test): Likewise.
27055         (cos_test_tonearest): Likewise.
27056         (cos_test_towardzero): Likewise.
27057         (cos_test_downward): Likewise.
27058         (cos_test_upward): Likewise.
27059         (cosh_test): Likewise.
27060         (cosh_test_tonearest): Likewise.
27061         (cosh_test_towardzero): Likewise.
27062         (cosh_test_downward): Likewise.
27063         (cosh_test_upward): Likewise.
27064         (cpow_test): Use END_COMPLEX macro without arguments.
27065         (cproj_test): Likewise.
27066         (creal_test): Use END macro without arguments.
27067         (csin_test): Use END_COMPLEX macro without arguments.
27068         (csinh_test): Likewise.
27069         (csqrt_test): Likewise.
27070         (ctan_test): Likewise.
27071         (ctan_test_tonearest): Likewise.
27072         (ctan_test_towardzero): Likewise.
27073         (ctan_test_downward): Likewise.
27074         (ctan_test_upward): Likewise.
27075         (ctanh_test): Likewise.
27076         (ctanh_test_tonearest): Likewise.
27077         (ctanh_test_towardzero): Likewise.
27078         (ctanh_test_downward): Likewise.
27079         (ctanh_test_upward): Likewise.
27080         (erf_test): Use END macro without arguments.
27081         (erfc_test): Likewise.
27082         (exp_test): Likewise.
27083         (exp_test_tonearest): Likewise.
27084         (exp_test_towardzero): Likewise.
27085         (exp_test_downward): Likewise.
27086         (exp_test_upward): Likewise.
27087         (exp10_test): Likewise.
27088         (exp2_test): Likewise.
27089         (expm1_test): Likewise.
27090         (fabs_test): Likewise.
27091         (fdim_test): Likewise.
27092         (finite_test): Likewise.
27093         (floor_test): Likewise.
27094         (fma_test): Likewise.
27095         (fma_test_towardzero): Likewise.
27096         (fma_test_downward): Likewise.
27097         (fma_test_upward): Likewise.
27098         (fmax_test): Likewise.
27099         (fmin_test): Likewise.
27100         (fmod_test): Likewise.
27101         (fpclassify_test): Likewise.
27102         (frexp_test): Likewise.
27103         (gamma_test): Likewise.
27104         (hypot_test): Likewise.
27105         (ilogb_test): Likewise.
27106         (isfinite_test): Likewise.
27107         (isgreater_test): Likewise.
27108         (isgreaterequal_test): Likewise.
27109         (isinf_test): Likewise.
27110         (isless_test): Likewise.
27111         (islessequal_test): Likewise.
27112         (islessgreater_test): Likewise.
27113         (isnan_test): Likewise.
27114         (isnormal_test): Likewise.
27115         (issignaling_test): Likewise.
27116         (isunordered_test): Likewise.
27117         (j0_test): Likewise.
27118         (j1_test): Likewise.
27119         (jn_test): Likewise.
27120         (ldexp_test): Likewise.
27121         (lgamma_test): Likewise.
27122         (lrint_test): Likewise.
27123         (lrint_test_tonearest): Likewise.
27124         (lrint_test_towardzero): Likewise.
27125         (lrint_test_downward): Likewise.
27126         (lrint_test_upward): Likewise.
27127         (llrint_test): Likewise.
27128         (llrint_test_tonearest): Likewise.
27129         (llrint_test_towardzero): Likewise.
27130         (llrint_test_downward): Likewise.
27131         (llrint_test_upward): Likewise.
27132         (log_test): Likewise.
27133         (log10_test): Likewise.
27134         (log1p_test): Likewise.
27135         (log2_test): Likewise.
27136         (logb_test): Likewise.
27137         (logb_test_downward): Likewise.
27138         (lround_test): Likewise.
27139         (llround_test): Likewise.
27140         (modf_test): Likewise.
27141         (nearbyint_test): Likewise.
27142         (nextafter_test): Likewise.
27143         (nexttoward_test): Likewise.
27144         (pow_test): Likewise.
27145         (pow_test_tonearest): Likewise.
27146         (pow_test_towardzero): Likewise.
27147         (pow_test_downward): Likewise.
27148         (pow_test_upward): Likewise.
27149         (remainder_test): Likewise.
27150         (remainder_test_tonearest): Likewise.
27151         (remainder_test_towardzero): Likewise.
27152         (remainder_test_downward): Likewise.
27153         (remainder_test_upward): Likewise.
27154         (remquo_test): Likewise.
27155         (rint_test): Likewise.
27156         (rint_test_tonearest): Likewise.
27157         (rint_test_towardzero): Likewise.
27158         (rint_test_downward): Likewise.
27159         (rint_test_upward): Likewise.
27160         (round_test): Likewise.
27161         (scalb_test): Likewise.
27162         (scalbn_test): Likewise.
27163         (scalbln_test): Likewise.
27164         (signbit_test): Likewise.
27165         (sin_test): Likewise.
27166         (sin_test_tonearest): Likewise.
27167         (sin_test_towardzero): Likewise.
27168         (sin_test_downward): Likewise.
27169         (sin_test_upward): Likewise.
27170         (sincos_test): Likewise.
27171         (sinh_test): Likewise.
27172         (sinh_test_tonearest): Likewise.
27173         (sinh_test_towardzero): Likewise.
27174         (sinh_test_downward): Likewise.
27175         (sinh_test_upward): Likewise.
27176         (sqrt_test): Likewise.
27177         (tan_test): Likewise.
27178         (tan_test_tonearest): Likewise.
27179         (tan_test_towardzero): Likewise.
27180         (tan_test_downward): Likewise.
27181         (tan_test_upward): Likewise.
27182         (tanh_test): Likewise.
27183         (tgamma_test): Likewise.
27184         (trunc_test): Likewise.
27185         (y0_test): Likewise.
27186         (y1_test): Likewise.
27187         (yn_test): Likewise.
27188         (significand_test): Likewise.
27190 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
27192         [BZ #15381]
27193         * libio/genops.c (_IO_no_init): Initialize wide struct info.
27195 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27197         [BZ #14894]
27198         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
27199         __ppc_mdoio and __ppc_mdoom.
27200         * manual/platform.texi: Document new functions __ppc_yield,
27201         __ppc_mdoio and __ppc_mdoom.
27203 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
27205         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
27206         (main): Mention "tls" pseudo-hwcap is legacy.
27207         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
27209 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27211         * math/gen-libm-test.pl (parse_args): Output only string of
27212         arguments as text for test name, not full call or descriptions of
27213         tests for extra outputs.
27214         (generate_testfile): Do not pass function name to parse_args.
27215         Generate this_func variable from START.
27216         * math/libm-test.inc (struct test_f_f_data): Rename test_name
27217         field to arg_str.
27218         (struct test_ff_f_data): Likewise.
27219         (test_ff_f_data_nexttoward): Likewise.
27220         (struct test_fi_f_data): Likewise.
27221         (struct test_fl_f_data): Likewise.
27222         (struct test_if_f_data): Likewise.
27223         (struct test_fff_f_data): Likewise.
27224         (struct test_c_f_data): Likewise.
27225         (struct test_f_f1_data): Likewise.  Remove field extra_name.
27226         (struct test_fF_f1_data): Likewise.
27227         (struct test_ffI_f1_data): Likewise.
27228         (struct test_c_c_data): Rename test_name field to arg_str.
27229         (struct test_cc_c_data): Likewise.
27230         (struct test_f_i_data): Likewise.
27231         (struct test_ff_i_data): Likewise.
27232         (struct test_f_l_data): Likewise.
27233         (struct test_f_L_data): Likewise.
27234         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
27235         and extra2_name.
27236         (COMMON_TEST_SETUP): New macro.
27237         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
27238         (COMMON_TEST_CLEANUP): Likewise.
27239         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
27240         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
27241         macros.
27242         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
27243         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
27244         macros.
27245         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
27246         (RUN_TEST_fff_f): Take argument string.  Call new setup and
27247         cleanup macros.
27248         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
27249         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
27250         macros.
27251         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
27252         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
27253         macros.
27254         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27255         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
27256         cleanup macros.
27257         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27258         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
27259         cleanup macros.
27260         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27261         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
27262         cleanup macros.
27263         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27264         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
27265         macros.
27266         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27267         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
27268         macros.
27269         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27270         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
27271         macros.
27272         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27273         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
27274         cleanup macros.
27275         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27276         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
27277         cleanup macros.
27278         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27279         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
27280         macros.
27281         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27282         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
27283         cleanup macros.
27284         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27285         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
27286         macros.
27287         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27288         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
27289         macros.
27290         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27291         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
27292         cleanup macros.
27293         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27295 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
27297         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27298         to _sifields.sigfault.
27299         (si_addr_lsb): Define new macro.
27300         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27301         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27302         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27304 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
27306         [BZ #15441]
27307         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27308         returns -1.
27309         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27310         null return -1.
27311         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27312         loading the domain.
27314 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27316         * math/gen-libm-test.pl (parse_args): Do not include expected
27317         result in test name.
27318         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27319         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27320         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27321         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27322         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27325 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27327         * benchtests/Makefile: Sort function entries.
27329         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27330         tanh, asinh, acosh, atanh.
27331         * benchtests/acos-inputs: New file.
27332         * benchtests/acosh-inputs: New file.
27333         * benchtests/asin-inputs: New file.
27334         * benchtests/asinh-inputs: New file.
27335         * benchtests/atanh-inputs: New file.
27336         * benchtests/cosh-inputs: New file.
27337         * benchtests/log-inputs: New file.
27338         * benchtests/sinh-inputs: New file.
27339         * benchtests/tanh-inputs: New file.
27341 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
27343         [BZ #15339]
27344         * posix/tst-getaddrinfo4.c: New test.
27345         * posix/Makefile (tests): Add it.
27347 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27349         [BZ #15339]
27350         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27351         when no services were used.
27352         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27353         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27355 2013-05-21  Andreas Schwab  <schwab@suse.de>
27357         [BZ #15014]
27358         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27359         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27360         successful.
27361         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27362         redundant variable declarations and reallocation of buffer when
27363         parsing as IPv6 address.  Always set NSS status when called from
27364         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
27365         buffer too small.  Correct computation of needed size.
27366         * nss/Makefile (tests): Add test-digits-dots.
27367         * nss/test-digits-dots.c: New test.
27369 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27371         * benchtests/Makefile: Remove instructions for adding
27372         benchmark tests.
27373         * benchtests/README: New file to explain how to execute and
27374         enhance the benchmark tests.
27376 2013-05-21  Andreas Schwab  <schwab@suse.de>
27378         [BZ #15493]
27379         * setjmp/Makefile (tests): Add tst-sigsetjmp.
27380         * setjmp/tst-sigsetjmp.c: New test.
27382 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
27384         * sysdeps/x86_64/memset.S (memset): New implementation.
27385         (__bzero): Likewise.
27386         (__memset_tail): New function.
27388 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
27390         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27391         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27392         __memcpy_sse2_unaligned ifunc selection.
27393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27394         Add memcpy-sse2-unaligned.S.
27395         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27396         Add: __memcpy_sse2_unaligned.
27398 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
27400         [BZ #15490]
27401         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27402         math_force_eval before restoring floating-point envrionment.
27403         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27404         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27405         Likewise.
27406         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27407         <math_private.h>.
27408         (__nearbyintl): Use math_force_eval before restoring
27409         floating-point environment.
27410         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27412         * math/gen-libm-test.pl (special_functions): Remove.
27413         (parse_args): Don't handle TEST_extra.  Handle functions with no
27414         return value.
27415         * math/libm-test.inc (struct test_sincos_data): Replace with
27416         struct test_fFF_11_data.
27417         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27418         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27419         (sincos_test_data): Change element type to struct
27420         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
27421         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27422         RUN_TEST_LOOP_sincos.
27423         * math/README.libm-test: Don't mention special handling of
27424         individual functions.
27425         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27426         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27427         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27428         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27429         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27432         * math/gen-libm-test.pl (get_variable): Remove function.
27433         (parse_args): Don't show pointer parameters to call in test
27434         names.  Use "extra output N" in test names for extra outputs
27435         rather than naming variables.
27437 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
27439         [BZ #15488]
27440         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27441         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27442         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27443         double tests.
27444         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27445         disable.
27446         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27447         check_long_double.
27449         * math/gen-libm-test.pl (@tests): Remove variable.
27450         ($count): Likewise.
27451         (new_test): Remove function.
27452         (show_exceptions): New function.
27453         (special_functions): Use show_exceptions instead of new_test.
27454         (parse_args): Likewise.
27455         (generate_testfile): Pass only function name in generated call to
27456         print_max_error or print_complex_max_error.
27457         (get_ulps): Do not handle complex tests specially.
27458         (output_test): Rename to ...
27459         (get_all_ulps_for_test): ... this.  Return a string rather than
27460         printing to a file.  Require ulps to be present.
27461         (output_ulps): Generate arrays rather than #defines.
27462         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27463         (struct ulp_data): New type.
27464         (BUILD_COMPLEX_ULP): Remove macro.
27465         (compare_ulp_data): New function.
27466         (find_ulps): Likewise.
27467         (find_test_ulps): Likewise.
27468         (find_function_ulps): Likewise.
27469         (find_complex_function_ulps): Likewise.
27470         (print_max_error): Determine allowed ulps using
27471         find_function_ulps.
27472         (print_complex_max_error): Determine allowed ulps using
27473         find_complex_function_ulps.
27474         (check_float_internal): Determine max ulps using find_test_ulps.
27475         (check_float): Do not take max_ulp parameter.  Update call to
27476         check_float_internal.
27477         (check_complex): Likewise.
27478         (check_int): Do not take max_ulp parameter.
27479         (check_long): Likewise.
27480         (check_bool): Likewise.
27481         (check_longlong): Likewise.
27482         (struct test_f_f_data): Remove max_ulp field.
27483         (struct test_ff_f_data): Likewise.
27484         (struct test_ff_f_data_nexttoward): Likewise.
27485         (struct test_fi_f_data): Likewise.
27486         (struct test_fl_f_data): Likewise.
27487         (struct test_if_f_data): Likewise.
27488         (struct test_fff_f_data): Likewise.
27489         (struct test_c_f_data): Likewise.
27490         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27491         (struct test_fF_f1_data): Likewise.
27492         (struct test_ffI_f1_data): Likewise.
27493         (struct test_c_c_data): Remove max_ulp field.
27494         (struct test_cc_c_data): Likewise.
27495         (struct test_f_i_data): Likewise.
27496         (struct test_ff_i_data): Likewise.
27497         (struct test_f_l_data): Likewise.
27498         (struct test_f_L_data): Likewise.
27499         (struct test_sincos_data): Likewise.
27500         (RUN_TEST_f_f): Do not handle ulps.
27501         (RUN_TEST_LOOP_f_f): Likewise.
27502         (RUN_TEST_2_f): Likewise.
27503         (RUN_TEST_LOOP_2_f): Likewise.
27504         (RUN_TEST_fff_f): Likewise.
27505         (RUN_TEST_LOOP_fff_f): Likewise.
27506         (RUN_TEST_c_f): Likewise.
27507         (RUN_TEST_LOOP_c_f): Likewise.
27508         (RUN_TEST_f_f1): Likewise.
27509         (RUN_TEST_LOOP_f_f1): Likewise.
27510         (RUN_TEST_fF_f1): Likewise.
27511         (RUN_TEST_LOOP_fF_f1): Likewise.
27512         (RUN_TEST_fI_f1): Likewise.
27513         (RUN_TEST_LOOP_fI_f1): Likewise.
27514         (RUN_TEST_ffI_f1): Likewise.
27515         (RUN_TEST_LOOP_ffI_f1): Likewise.
27516         (RUN_TEST_c_c): Likewise.
27517         (RUN_TEST_LOOP_c_c): Likewise.
27518         (RUN_TEST_cc_c): Likewise.
27519         (RUN_TEST_LOOP_cc_c): Likewise.
27520         (RUN_TEST_f_i): Likewise.
27521         (RUN_TEST_LOOP_f_i): Likewise.
27522         (RUN_TEST_f_i_tg): Likewise.
27523         (RUN_TEST_LOOP_f_i_tg): Likewise.
27524         (RUN_TEST_ff_i_tg): Likewise.
27525         (RUN_TEST_LOOP_ff_i_tg): Likewise.
27526         (RUN_TEST_f_b): Likewise.
27527         (RUN_TEST_LOOP_f_b): Likewise.
27528         (RUN_TEST_f_b_tg): Likewise.
27529         (RUN_TEST_LOOP_f_b_tg): Likewise.
27530         (RUN_TEST_f_l): Likewise.
27531         (RUN_TEST_LOOP_f_l): Likewise.
27532         (RUN_TEST_f_L): Likewise.
27533         (RUN_TEST_LOOP_f_L): Likewise.
27534         (RUN_TEST_sincos): Likewise.
27535         (RUN_TEST_LOOP_sincos): Likewise.
27537 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
27539         [BZ #15480]
27540         [BZ #15485]
27541         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27542         main case of finite arguments, set rounding mode to FE_TONEAREST
27543         and discard exceptions.
27544         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27545         exceptions.
27546         (remainder_tonearest_test_data): New variable.
27547         (remainder_test_tonearest): New function.
27548         (remainder_towardzero_test_data): New variable.
27549         (remainder_test_towardzero): New function.
27550         (remainder_downward_test_data): New variable.
27551         (remainder_test_downward): New function.
27552         (remainder_upward_test_data): New variable.
27553         (remainder_test_upward): New function.
27554         (main): Call the new test functions.
27556         * math/libm-test.inc (struct test_f_f1_data): Remove field
27557         extra_init.
27558         (struct test_fF_f1_data): Likewise.
27559         (struct test_ffI_f1_data): Likewise.
27560         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
27561         based on value of EXTRA_EXPECTED.
27562         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27563         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
27564         EXTRA_VAR based on value of EXTRA_EXPECTED.
27565         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27566         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
27567         EXTRA_VAR based on value of EXTRA_EXPECTED.
27568         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27569         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
27570         EXTRA_VAR based on value of EXTRA_EXPECTED.
27571         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27572         * math/gen-libm-test.pl (parse_args): Don't output initializers
27573         for extra output values.
27575         * math/libm-test.inc (check_int): Expect result to be exactly
27576         equal to expected value and do not handle ulps.
27577         (check_long): Likewise.
27578         (check_longlong): Likewise.
27580         * math/libm-test.inc (ceil_test_data): Test for "inexact"
27581         exceptions.
27582         (cimag_test_data): Likewise.
27583         (conj_test_data): Likewise.
27584         (copysign_test_data): Likewise.
27585         (cproj_test_data): Likewise.
27586         (creal_test_data): Likewise.
27587         (fabs_test_data): Likewise.
27588         (fdim_test_data): Likewise.
27589         (finite_test_data): Likewise.
27590         (floor_test_data): Likewise.
27591         (fmax_test_data): Likewise.
27592         (fmin_test_data): Likewise.
27593         (fmod_test_data): Likewise.
27594         (fpclassify_test_data): Likewise.
27595         (frexp_test_data): Likewise.
27596         (ilogb_test_data): Likewise.
27597         (isfinite_test_data): Likewise.
27598         (isgreater_test_data): Likewise.
27599         (isgreaterequal_test_data): Likewise.
27600         (isinf_test_data): Likewise.
27601         (isless_test_data): Likewise.
27602         (islessequal_test_data): Likewise.
27603         (islessgreater_test_data): Likewise.
27604         (isnan_test_data): Likewise.
27605         (isnormal_test_data): Likewise.
27606         (issignaling_test_data): Likewise.
27607         (isunordered_test_data): Likewise.
27608         (ldexp_test_data): Likewise.
27609         (lrint_test_data): Likewise.
27610         (lrint_test_data) [TEST_FLOAT]: Disable one test.
27611         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27612         (lrint_tonearest_test_data): Test for "inexact" exceptions.
27613         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27614         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27615         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27616         test input.
27617         (lrint_towardzero_test_data): Test for "inexact" exceptions.
27618         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27619         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27620         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27621         that test input.
27622         (lrint_downward_test_data): Test for "inexact" exceptions.
27623         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27624         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27625         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27626         test input.
27627         (lrint_upward_test_data): Test for "inexact" exceptions.
27628         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27629         test input.
27630         (llrint_test_data): Test for "inexact" exceptions.
27631         (llrint_test_data) [TEST_FLOAT]: Disable one test.
27632         (llrint_tonearest_test_data): Test for "inexact" exceptions.
27633         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27634         (llrint_towardzero_test_data): Test for "inexact" exceptions.
27635         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27636         (llrint_downward_test_data): Test for "inexact" exceptions.
27637         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27638         (llrint_upward_test_data): Test for "inexact" exceptions.
27639         (logb_test_data): Likewise.
27640         (logb_downward_test_data): Likewise.
27641         (nextafter_test_data): Likewise.
27642         (nexttoward_test_data): Likewise.
27643         (remainder_test_data): Likewise.
27644         (remquo_test_data): Likewise.
27645         (scalbn_test_data): Likewise.
27646         (scalbln_test_data): Likewise.
27647         (signbit_test_data): Likewise.
27648         (sqrt_test_data): Likewise.
27649         (significand_test_data): Likewise.
27651 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27653         [BZ #15424]
27654         * benchtests/bench-modf.c (struct args): Mark arg0 as
27655         volatile.
27656         * scripts/bench.pl: Mark members of struct args as volatile.
27658 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27660         [BZ # 15497]
27661         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27662         negative infinity on POWER6 or lower.
27663         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27665 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27667         [BZ #15442]
27668         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27669         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27670         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27671         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27672         (_FP_SETQNAN): New macro.
27673         (_FP_SETQNAN_SEMIRAW): Likewise.
27674         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27675         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27676         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27677         (FP_EXTEND): Use _FP_FRAC_SNANP.
27678         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27679         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27680         into account.
27681         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27682         New macro.
27683         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27684         Likewise.
27686 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27688         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27689         with DIVIDE_BY_ZERO_EXCEPTION.
27690         (gamma_test_data): Likewise.
27691         (lgamma_test_data): Likewise.
27692         (log_test_data): Likewise.
27693         (log10_test_data): Likewise.
27694         (log2_test_data): Likewise.
27695         (tgamma_test_data): Likewise.
27697         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27698         (acos_test_tonearest): Likewise.
27699         (acos_test_towardzero): Likewise.
27700         (acos_test_downward): Likewise.
27701         (acos_test_upward): Likewise.
27702         (acosh_test): Likewise.
27703         (asin_test): Likewise.
27704         (asin_test_tonearest): Likewise.
27705         (asin_test_towardzero): Likewise.
27706         (asin_test_downward): Likewise.
27707         (asin_test_upward): Likewise.
27708         (asinh_test): Likewise.
27709         (atan_test): Likewise.
27710         (atanh_test): Likewise.
27711         (atan2_test): Likewise.
27712         (cabs_test): Likewise.
27713         (cacos_test): Likewise.
27714         (cacosh_test): Likewise.
27715         (casin_test): Likewise.
27716         (casinh_test): Likewise.
27717         (catan_test): Likewise.
27718         (catanh_test): Likewise.
27719         (cbrt_test): Likewise.
27720         (ccos_test): Likewise.
27721         (ccosh_test): Likewise.
27722         (cexp_test): Likewise.
27723         (clog_test): Likewise.
27724         (clog10_test): Likewise.
27725         (cos_test): Likewise.
27726         (cos_test_tonearest): Likewise.
27727         (cos_test_towardzero): Likewise.
27728         (cos_test_downward): Likewise.
27729         (cos_test_upward): Likewise.
27730         (cosh_test): Likewise.
27731         (cosh_test_tonearest): Likewise.
27732         (cosh_test_towardzero): Likewise.
27733         (cosh_test_downward): Likewise.
27734         (cosh_test_upward): Likewise.
27735         (cpow_test): Likewise.
27736         (csin_test): Likewise.
27737         (csinh_test): Likewise.
27738         (csqrt_test): Likewise.
27739         (ctan_test): Likewise.
27740         (ctan_test_tonearest): Likewise.
27741         (ctan_test_towardzero): Likewise.
27742         (ctan_test_downward): Likewise.
27743         (ctan_test_upward): Likewise.
27744         (ctanh_test): Likewise.
27745         (ctanh_test_tonearest): Likewise.
27746         (ctanh_test_towardzero): Likewise.
27747         (ctanh_test_downward): Likewise.
27748         (ctanh_test_upward): Likewise.
27749         (erf_test): Likewise.
27750         (erfc_test): Likewise.
27751         (exp_test): Likewise.
27752         (exp_test_tonearest): Likewise.
27753         (exp_test_towardzero): Likewise.
27754         (exp_test_downward): Likewise.
27755         (exp_test_upward): Likewise.
27756         (exp10_test): Likewise.
27757         (exp2_test): Likewise.
27758         (expm1_test): Likewise.
27759         (fmod_test): Likewise.
27760         (gamma_test): Likewise.
27761         (hypot_test): Likewise.
27762         (j0_test): Likewise.
27763         (j1_test): Likewise.
27764         (jn_test): Likewise.
27765         (lgamma_test): Likewise.
27766         (log_test): Likewise.
27767         (log10_test): Likewise.
27768         (log1p_test): Likewise.
27769         (log2_test): Likewise.
27770         (logb_test_downward): Likewise.
27771         (pow_test): Likewise.
27772         (pow_test_tonearest): Likewise.
27773         (pow_test_towardzero): Likewise.
27774         (pow_test_downward): Likewise.
27775         (pow_test_upward): Likewise.
27776         (remainder_test): Likewise.
27777         (remquo_test): Likewise.
27778         (sin_test): Likewise.
27779         (sin_test_tonearest): Likewise.
27780         (sin_test_towardzero): Likewise.
27781         (sin_test_downward): Likewise.
27782         (sin_test_upward): Likewise.
27783         (sincos_test): Likewise.
27784         (sinh_test): Likewise.
27785         (sinh_test_tonearest): Likewise.
27786         (sinh_test_towardzero): Likewise.
27787         (sinh_test_downward): Likewise.
27788         (sinh_test_upward): Likewise.
27789         (sqrt_test): Likewise.
27790         (tan_test): Likewise.
27791         (tan_test_tonearest): Likewise.
27792         (tan_test_towardzero): Likewise.
27793         (tan_test_downward): Likewise.
27794         (tan_test_upward): Likewise.
27795         (tanh_test): Likewise.
27796         (tgamma_test): Likewise.
27797         (y0_test): Likewise.
27798         (y1_test): Likewise.
27799         (yn_test): Likewise.
27801         * math/gen-libm-test.pl (adjust_arg): Remove function.
27802         (special_function): Remove argument $in_func.  Only handle
27803         generating output for tables of tests, not inside functions.
27804         (parse_args): Likewise.
27805         (generate_testfile): Remove variable $in_func.  Update call to
27806         parse_args.
27807         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27808         (MINUS_ZERO_INIT): Rename macro to minus_zero.
27809         (PLUS_INFTY_INIT): Rename macro to plus_infty.
27810         (MINUS_INFTY_INIT): Rename macro to minus_infty.
27811         (QNAN_VALUE_INIT): Rename macro to qnan_value.
27812         (MAX_VALUE_INIT): Rename macro to max_value.
27813         (MIN_VALUE_INIT): Rename macro to min_value.
27814         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27815         (plus_zero): Remove variable.
27816         (minus_zero): Likewise.
27817         (plus_infty): Likewise.
27818         (minus_infty): Likewise.
27819         (qnan_value): Likewise.
27820         (max_value): Likewise.
27821         (min_value): Likewise.
27822         (min_subnorm_value): Likewise.
27824 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27826         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27827         uint64_t or uint32_t usage.
27828         * crypt/sha256-block.c: Likewise.
27829         * crypt/sha256-crypt.c: Likewise.
27830         * crypt/sha256.c: Likewise.
27831         * crypt/sha512-block.c: Likewise.
27832         * crypt/sha512-crypt.c: Likewise.
27833         * crypt/sha512.c: Likewise.
27834         * debug/backtrace-tst.c: Likewise.
27835         * debug/pcprofiledump.c: Likewise.
27836         * elf/cache.c: Likewise.
27837         * elf/dl-cache.c: Likewise.
27838         * elf/dl-misc.c: Likewise.
27839         * elf/dl-profile.c: Likewise.
27840         * elf/dl-support.c: Likewise.
27841         * elf/ldconfig.c: Likewise.
27842         * elf/sprof.c: Likewise.
27843         * iconv/dummy-repertoire.c: Likewise.
27844         * iconv/iconv_charmap.c: Likewise.
27845         * iconv/skeleton.c: Likewise.
27846         * iconvdata/8bit-generic.c: Likewise.
27847         * iconvdata/cp737.h: Likewise.
27848         * iconvdata/cp775.h: Likewise.
27849         * iconvdata/ibm1008.h: Likewise.
27850         * iconvdata/ibm1025.h: Likewise.
27851         * iconvdata/ibm1046.h: Likewise.
27852         * iconvdata/ibm1097.h: Likewise.
27853         * iconvdata/ibm1112.h: Likewise.
27854         * iconvdata/ibm1122.h: Likewise.
27855         * iconvdata/ibm1123.h: Likewise.
27856         * iconvdata/ibm1124.h: Likewise.
27857         * iconvdata/ibm1129.h: Likewise.
27858         * iconvdata/ibm1130.h: Likewise.
27859         * iconvdata/ibm1132.h: Likewise.
27860         * iconvdata/ibm1133.h: Likewise.
27861         * iconvdata/ibm1137.h: Likewise.
27862         * iconvdata/ibm1140.h: Likewise.
27863         * iconvdata/ibm1141.h: Likewise.
27864         * iconvdata/ibm1142.h: Likewise.
27865         * iconvdata/ibm1143.h: Likewise.
27866         * iconvdata/ibm1144.h: Likewise.
27867         * iconvdata/ibm1145.h: Likewise.
27868         * iconvdata/ibm1146.h: Likewise.
27869         * iconvdata/ibm1147.h: Likewise.
27870         * iconvdata/ibm1148.h: Likewise.
27871         * iconvdata/ibm1149.h: Likewise.
27872         * iconvdata/ibm1153.h: Likewise.
27873         * iconvdata/ibm1154.h: Likewise.
27874         * iconvdata/ibm1155.h: Likewise.
27875         * iconvdata/ibm1156.h: Likewise.
27876         * iconvdata/ibm1157.h: Likewise.
27877         * iconvdata/ibm1158.h: Likewise.
27878         * iconvdata/ibm1160.h: Likewise.
27879         * iconvdata/ibm1161.h: Likewise.
27880         * iconvdata/ibm1162.h: Likewise.
27881         * iconvdata/ibm1163.h: Likewise.
27882         * iconvdata/ibm1164.h: Likewise.
27883         * iconvdata/ibm1166.h: Likewise.
27884         * iconvdata/ibm1167.h: Likewise.
27885         * iconvdata/ibm12712.h: Likewise.
27886         * iconvdata/ibm1390.h: Likewise.
27887         * iconvdata/ibm1399.h: Likewise.
27888         * iconvdata/ibm16804.h: Likewise.
27889         * iconvdata/ibm4517.h: Likewise.
27890         * iconvdata/ibm4899.h: Likewise.
27891         * iconvdata/ibm4909.h: Likewise.
27892         * iconvdata/ibm4971.h: Likewise.
27893         * iconvdata/ibm5347.h: Likewise.
27894         * iconvdata/ibm803.h: Likewise.
27895         * iconvdata/ibm856.h: Likewise.
27896         * iconvdata/ibm901.h: Likewise.
27897         * iconvdata/ibm902.h: Likewise.
27898         * iconvdata/ibm9030.h: Likewise.
27899         * iconvdata/ibm9066.h: Likewise.
27900         * iconvdata/ibm921.h: Likewise.
27901         * iconvdata/ibm922.h: Likewise.
27902         * iconvdata/ibm9448.h: Likewise.
27903         * iconvdata/isiri-3342.h: Likewise.
27904         * iconvdata/jis0201.h: Likewise.
27905         * include/link.h: Likewise.
27906         * include/netdb.h: Likewise.
27907         * inet/check_native.c: Likewise.
27908         * inet/check_pf.c: Likewise.
27909         * inet/getipv4sourcefilter.c: Likewise.
27910         * inet/getnameinfo.c: Likewise.
27911         * inet/getsourcefilter.c: Likewise.
27912         * inet/htonl.c: Likewise.
27913         * inet/setipv4sourcefilter.c: Likewise.
27914         * inet/setsourcefilter.c: Likewise.
27915         * inet/test-inet6_opt.c: Likewise.
27916         * inet/tst-network.c: Likewise.
27917         * locale/C-collate.c: Likewise.
27918         * locale/C-ctype.c: Likewise.
27919         * locale/C-time.c: Likewise.
27920         * locale/C-translit.h: Likewise.
27921         * locale/loadarchive.c: Likewise.
27922         * locale/programs/3level.h: Likewise.
27923         * locale/programs/charmap.c: Likewise.
27924         * locale/programs/charmap.h: Likewise.
27925         * locale/programs/ld-address.c: Likewise.
27926         * locale/programs/ld-collate.c: Likewise.
27927         * locale/programs/ld-ctype.c: Likewise.
27928         * locale/programs/ld-identification.c: Likewise.
27929         * locale/programs/ld-measurement.c: Likewise.
27930         * locale/programs/ld-messages.c: Likewise.
27931         * locale/programs/ld-monetary.c: Likewise.
27932         * locale/programs/ld-name.c: Likewise.
27933         * locale/programs/ld-numeric.c: Likewise.
27934         * locale/programs/ld-paper.c: Likewise.
27935         * locale/programs/ld-telephone.c: Likewise.
27936         * locale/programs/ld-time.c: Likewise.
27937         * locale/programs/linereader.c: Likewise.
27938         * locale/programs/locale.c: Likewise.
27939         * locale/programs/locarchive.c: Likewise.
27940         * locale/programs/locfile.h: Likewise.
27941         * locale/programs/repertoire.c: Likewise.
27942         * locale/programs/simple-hash.c: Likewise.
27943         * locale/programs/simple-hash.h: Likewise.
27944         * malloc/memusage.c: Likewise.
27945         * malloc/memusagestat.c: Likewise.
27946         * nis/nis_defaults.c: Likewise.
27947         * nis/nis_hash.c: Likewise.
27948         * nis/nis_print.c: Likewise.
27949         * nis/nis_xdr.c: Likewise.
27950         * nscd/connections.c: Likewise.
27951         * nscd/hstcache.c: Likewise.
27952         * nscd/nscd_gethst_r.c: Likewise.
27953         * nscd/nscd_getserv_r.c: Likewise.
27954         * nscd/nscd_helper.c: Likewise.
27955         * nscd/servicescache.c: Likewise.
27956         * nss/makedb.c: Likewise.
27957         * nss/nss_db/db-XXX.c: Likewise.
27958         * nss/nss_db/db-initgroups.c: Likewise.
27959         * nss/nss_db/db-netgrp.c: Likewise.
27960         * nss/nss_files/files-network.c: Likewise.
27961         * nss/nss_files/files-parse.c: Likewise.
27962         * posix/bug-regex5.c: Likewise.
27963         * posix/fnmatch_loop.c: Likewise.
27964         * posix/regcomp.c: Likewise.
27965         * posix/regexec.c: Likewise.
27966         * posix/tst-rfc3484-2.c: Likewise.
27967         * posix/tst-rfc3484-3.c: Likewise.
27968         * posix/tst-rfc3484.c: Likewise.
27969         * resolv/nss_dns/dns-canon.c: Likewise.
27970         * resolv/nss_dns/dns-network.c: Likewise.
27971         * resolv/res_init.c: Likewise.
27972         * resolv/res_mkquery.c: Likewise.
27973         * resolv/tst-aton.c: Likewise.
27974         * stdlib/cxa_atexit.c: Likewise.
27975         * stdlib/cxa_finalize.c: Likewise.
27976         * stdlib/gen-fpioconst.c: Likewise.
27977         * stdlib/strtol_l.c: Likewise.
27978         * string/tst-endian.c: Likewise.
27979         * sunrpc/auth_des.c: Likewise.
27980         * sunrpc/clnt_udp.c: Likewise.
27981         * sunrpc/rtime.c: Likewise.
27982         * sunrpc/svcauth_des.c: Likewise.
27983         * sunrpc/xdr.c: Likewise.
27984         * sunrpc/xdr_intXX_t.c: Likewise.
27985         * sunrpc/xdr_rec.c: Likewise.
27986         * sysdeps/generic/ldconfig.h: Likewise.
27987         * sysdeps/generic/ldsodefs.h: Likewise.
27988         * sysdeps/generic/memusage.h: Likewise.
27989         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27990         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27991         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27992         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27993         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27994         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27995         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27996         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27997         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27998         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27999         * sysdeps/posix/getaddrinfo.c: Likewise.
28000         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
28001         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28002         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
28003         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
28004         * sysdeps/powerpc/test-gettimebase.c: Likewise.
28005         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28006         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
28007         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
28008         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
28009         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
28010         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
28011         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
28012         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
28013         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
28014         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
28015         * sysdeps/x86_64/dl-tls.h: Likewise.
28016         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
28017         * time/alt_digit.c: Likewise.
28018         * time/era.c: Likewise.
28019         * wcsmbs/tst-c16c32-1.c: Likewise.
28021 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28023         * math/libm-test.inc (struct test_sincos_data): New type.
28024         (RUN_TEST_LOOP_sincos): New macro.
28025         (sincos_test_data): New variable.
28026         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
28028 2013-05-16  Richard Henderson  <rth@redhat.com>
28030         * math/atest-exp2.c (LIMB64): New macro.
28031         (CONSTSZ): New macro.
28032         (mp_exp1, mp_exp_m1, mp_log2): New variables.
28033         (hexdig): Move ...
28034         (print_mpn_fp): ... to function scope.
28035         (read_mpn_hex): Remove.
28036         (get_log2): Remove.
28037         (exp2_mpn): Use mp_log2.
28038         (main): Use mp_exp1.
28040 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
28042         * math/libm-test.inc: Remove comment about not testing "inexact"
28043         exceptions.
28044         (INEXACT_EXCEPTION): New macro.
28045         (NO_INEXACT_EXCEPTION): Likewise.
28046         (INVALID_EXCEPTION_OK): Update value.
28047         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
28048         (OVERFLOW_EXCEPTION_OK): Likewise.
28049         (UNDERFLOW_EXCEPTION_OK): Likewise.
28050         (IGNORE_ZERO_INF_SIGN): Likewise.
28051         (ERRNO_UNCHANGED): Likewise.
28052         (ERRNO_EDOM): Likewise.
28053         (ERRNO_ERANGE): Likewise.
28054         (test_exceptions): Handle testing "inexact" exceptions.
28055         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
28056         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
28057         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
28058         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
28059         INEXACT_EXCEPTION.
28060         (rint_towardzero_test_data): Likewise.
28061         (rint_downward_test_data): Likewise.
28062         (rint_upward_test_data): Likewise.
28064         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
28065         with OVERFLOW_EXCEPTION.
28066         (exp10_test_data): Likewise.
28067         (exp2_test_data): Likewise.
28068         (expm1_test_data): Likewise.
28069         (lgamma_test_data): Likewise.
28070         (pow_test_data): Likewise.
28071         (tgamma_test_data): Likewise.
28072         (yn_test_data): Remove duplicate test of overflow.
28074         * math/libm-test.inc (struct test_cc_c_data): New type.
28075         (RUN_TEST_LOOP_cc_c): New macro.
28076         (cpow_test_data): New variable.
28077         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
28079         * math/libm-test.inc (struct test_f_L_data): New type.
28080         (RUN_TEST_LOOP_f_L): New macro.
28081         (llrint_test_data): New variable.
28082         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
28083         (llrint_tonearest_test_data): New variable.
28084         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
28085         (llrint_towardzero_test_data): New variable.
28086         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
28087         (llrint_downward_test_data): New variable.
28088         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
28089         (llrint_upward_test_data): New variable.
28090         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
28091         (llround_test_data): New variable.
28092         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
28094 2013-05-13  Peter Collingbourne  <pcc@google.com>
28096         * math/atest-exp2.c (get_log2): Remove const attribute.
28098 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28100         * math/libm-test.inc (struct test_f_l_data): New type.
28101         (RUN_TEST_LOOP_f_l): New macro.
28102         (lrint_test_data): New variable.
28103         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
28104         (lrint_tonearest_test_data): New variable.
28105         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
28106         (lrint_towardzero_test_data): New variable.
28107         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
28108         (lrint_downward_test_data): New variable.
28109         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
28110         (lrint_upward_test_data): New variable.
28111         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
28112         (lround_test_data): New variable.
28113         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
28115 2013-05-15  Peter Collingbourne  <pcc@google.com>
28117         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
28118         (EXTRACT_WORDS64) Use where appropriate.
28119         (INSERT_WORDS64) Likewise.
28121         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
28122         constraints with x constraints.
28123         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
28125         * malloc/obstack.c (_obstack_compat): Add initializer.
28127 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
28129         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
28130         si_trapno and add si_addr_lsb to _sifields.sigfault.
28131         (si_trapno): Remove macro.
28132         (si_addr_lsb): Define new macro.
28133         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
28135 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
28137         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
28138         instead of TEST_f_l.
28139         (llrint_test_tonearest): Likewise.
28140         (llrint_test_towardzero): Likewise.
28141         (llrint_test_downward): Likewise.
28142         (llrint_test_upward): Likewise.
28143         (llround_test): Likewise.
28145         * math/libm-test.inc (struct test_f_i_data): Add comment.
28146         (RUN_TEST_LOOP_f_b): New macro.
28147         (RUN_TEST_LOOP_f_b_tg): Likewise.
28148         (finite_test_data): New variable.
28149         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
28150         (isfinite_test_data): New variable.
28151         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28152         (isinf_test_data): New variable.
28153         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28154         (isnan_test_data): New variable.
28155         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28156         (isnormal_test_data): New variable.
28157         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28158         (issignaling_test_data): New variable.
28159         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28160         (signbit_test_data): New variable.
28161         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
28163         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
28164         with INVALID_EXCEPTION.
28165         (acosh_test_data): Likewise.
28166         (asin_test_data): Likewise.
28167         (atanh_test_data): Likewise.
28168         (fmod_test_data): Likewise.
28169         (log_test_data): Likewise.
28170         (log10_test_data): Likewise.
28171         (log2_test_data): Likewise.
28172         (pow_test_data): Likewise.
28173         (sqrt_test_data): Likewise.
28174         (y0_test_data): Likewise.
28175         (y1_test_data): Likewise.
28176         (yn_test_data): Likewise.
28178         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
28179         function contents.
28181         * math/libm-test.inc (struct test_ff_i_data): New type.
28182         (RUN_TEST_LOOP_ff_i_tg): New macro.
28183         (isgreater_test_data): New variable.
28184         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28185         (isgreaterequal_test_data): New variable.
28186         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28187         (isless_test_data): New variable.
28188         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28189         (islessequal_test_data): New variable.
28190         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28191         (islessgreater_test_data): New variable.
28192         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28193         (isunordered_test_data): New variable.
28194         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
28196 2013-05-14  David S. Miller  <davem@davemloft.net>
28198         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28200 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
28202         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
28204         * math/libm-test.inc (struct test_fF_f1_data): Change type of
28205         extra_test to int.
28206         (struct test_f_i_data): Change type of max_ulp to int.
28208         * math/libm-test.inc (test_ffI_f1_data): New type.
28209         (RUN_TEST_LOOP_ffI_f1): New macro.
28210         (remquo_test_data): New variable.
28211         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
28213         * setjmp/tst-setjmp-fp.c: New file.
28214         * setjmp/Makefile (tests): Add tst-setjmp-fp.
28215         (link-libm): New variable.
28216         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
28218         * math/libm-test.inc (struct test_f_i_data): New type.
28219         (RUN_TEST_LOOP_f_i): New macro.
28220         (RUN_TEST_LOOP_f_i_tg): Likewise.
28221         (fpclassify_test_data): New variable.
28222         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
28223         (ilogb_test_data): New variable.
28224         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
28226         * math/libm-test.inc (scalbln_test): Correct function name in END
28227         call.
28229         * math/libm-test.inc (struct test_f_f1_data): Add comment.
28230         (RUN_TEST_LOOP_fI_f1): New macro.
28231         (frexp_test_data): New variable.
28232         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
28234         * math/libm-test.inc (struct test_fF_f1_data): New type.
28235         (RUN_TEST_LOOP_fF_f1): New macro.
28236         (modf_test_data): New variable.
28237         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
28239         * math/libm-test.inc (struct test_f_f1_data): New type.
28240         (RUN_TEST_LOOP_f_f1): New macro.
28241         (gamma_test_data): New variable.
28242         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28243         (lgamma_test_data): New variable.
28244         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
28246 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
28248         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
28249         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
28250         (main): Comment "tls" pseudo-hwcap.
28252 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
28254         * math/libm-test.inc (struct test_fl_f_data): New type.
28255         (RUN_TEST_LOOP_fl_f): New variable.
28256         (scalbln_test_data): New variable.
28257         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28259         * math/libm-test.inc (struct test_fi_f_data): New type.
28260         (RUN_TEST_LOOP_fi_f): New macro.
28261         (ldexp_test_data): New variable.
28262         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28263         (scalbn_test_data): New variable.
28264         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28266         * math/libm-test.inc (struct test_c_f_data): New type.
28267         (RUN_TEST_LOOP_c_f): New macro.
28268         (cabs_test_data): New variable.
28269         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28270         (carg_test_data): New variable.
28271         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28272         (cimag_test_data): New variable.
28273         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28274         (creal_test_data): New variable.
28275         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28277         * math/libm-test.inc (struct test_if_f_data): New type.
28278         (RUN_TEST_LOOP_if_f): New macro.
28279         (jn_test_data): New variable.
28280         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28281         (yn_test_data): New variable.
28282         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28284         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28286 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28288         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28289         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28291 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28293         * benchtests/Makefile (CPPFLAGS-nonlib): Add
28294         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28295         (bench-deps): Add bench-timing.h.
28296         * benchtests-bench-skeleton.c: Include bench-timing.h.
28297         (main): Use TIMING_* macros instead of clock_gettime.
28298         * benchtests/bench-timing.h: New file.
28300         [BZ #14582]
28301         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28302         Renamed from _LIB_VERSION.
28303         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28305 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
28307         * math/libm-test.inc (struct test_fff_f_data): New type.
28308         (RUN_TEST_LOOP_fff_f): New macro.
28309         (fma_test_data): New variable.
28310         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28311         (fma_towardzero_test_data): New variable.
28312         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28313         (fma_downward_test_data): New variable.
28314         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28315         (fma_upward_test_data): New variable.
28316         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28318         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28319         (struct test_c_c_data): New type.
28320         (RUN_TEST_LOOP_c_c): New macro.
28321         (cacos_test_data): New variable.
28322         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28323         (cacosh_test_data): New variable.
28324         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28325         (casin_test_data): New variable.
28326         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28327         (casinh_test_data): New variable.
28328         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28329         (catan_test_data): New variable.
28330         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28331         (catanh_test_data): New variable.
28332         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28333         (ccos_test_data): New variable.
28334         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28335         (ccosh_test_data): New variable.
28336         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28337         (cexp_test_data): New variable.
28338         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28339         (clog_test_data): New variable.
28340         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28341         (clog10_test_data): New variable.
28342         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28343         (conj_test_data): New variable.
28344         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28345         (cproj_test_data): New variable.
28346         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28347         (csin_test_data): New variable.
28348         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28349         (csinh_test_data): New variable.
28350         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28351         (csqrt_test_data): New variable.
28352         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28353         (ctan_test_data): New variable.
28354         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28355         (ctan_tonearest_test_data): New variable.
28356         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28357         (ctan_towardzero_test_data): New variable.
28358         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28359         (ctan_downward_test_data): New variable.
28360         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28361         (ctan_upward_test_data): New variable.
28362         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28363         (ctanh_test_data): New variable.
28364         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28365         (ctanh_tonearest_test_data): New variable.
28366         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28367         (ctanh_towardzero_test_data): New variable.
28368         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28369         (ctanh_downward_test_data): New variable.
28370         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28371         (ctanh_upward_test_data): New variable.
28372         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28373         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28374         of BUILD_COMPLEX.
28376         * math/libm-test.inc (struct test_ff_f_data): New type.
28377         (struct test_ff_f_data_nexttoward): Likewise.
28378         (RUN_TEST_LOOP_2_f): New macro.
28379         (RUN_TEST_LOOP_ff_f): Likewise.
28380         (atan2_test_data): New variable.
28381         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28382         (copysign_test_data): New variable.
28383         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28384         (fdim_test_data): New variable.
28385         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28386         (fmax_test_data): New variable.
28387         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28388         (fmin_test_data): New variable.
28389         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28390         (fmod_test_data): New variable.
28391         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28392         (hypot_test_data): New variable.
28393         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28394         (nextafter_test_data): New variable.
28395         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28396         (nexttoward_test_data): New variable.
28397         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28398         (pow_test_data): New variable.
28399         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28400         (pow_tonearest_test_data): New variable.
28401         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28402         (pow_towardzero_test_data): New variable.
28403         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28404         (pow_downward_test_data): New variable.
28405         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28406         (pow_upward_test_data): New variable.
28407         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28408         (remainder_test_data): New variable.
28409         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28410         (scalb_test_data): New variable.
28411         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28412         * sysdeps/i386/fpu/libm-test-ulps: Update.
28414 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
28416         * math/libm-test.inc (fma_test): Use max_value instead of local
28417         variable fltmax.
28418         (nextafter_test): Likewise.
28420         * math/libm-test.inc (acos_towardzero_test_data): New variable.
28421         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28422         (acos_downward_test_data): New variable.
28423         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28424         (acos_upward_test_data): New variable.
28425         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28426         (acosh_test_data): New variable.
28427         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28428         (asin_test_data): New variable.
28429         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28430         (asin_tonearest_test_data): New variable.
28431         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28432         (asin_towardzero_test_data): New variable.
28433         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28434         (asin_downward_test_data): New variable.
28435         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28436         (asin_upward_test_data): New variable.
28437         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28438         (asinh_test_data): New variable.
28439         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28440         (atan_test_data): New variable.
28441         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28442         (atanh_test_data): New variable.
28443         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28444         (cbrt_test_data): New variable.
28445         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28446         (ceil_test_data): New variable.
28447         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28448         (cos_test_data): New variable.
28449         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28450         (cos_tonearest_test_data): New variable.
28451         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28452         (cos_towardzero_test_data): New variable.
28453         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28454         (cos_downward_test_data): New variable.
28455         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28456         (cos_upward_test_data): New variable.
28457         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28458         (cosh_test_data): New variable.
28459         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28460         (cosh_tonearest_test_data): New variable.
28461         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28462         (cosh_towardzero_test_data): New variable.
28463         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28464         (cosh_downward_test_data): New variable.
28465         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28466         (cosh_upward_test_data): New variable.
28467         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28468         (erf_test_data): New variable.
28469         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28470         (erfc_test_data): New variable.
28471         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28472         (exp_test_data): New variable.
28473         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28474         (exp_tonearest_test_data): New variable.
28475         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28476         (exp_towardzero_test_data): New variable.
28477         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28478         (exp_downward_test_data): New variable.
28479         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28480         (exp_upward_test_data): New variable.
28481         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28482         (exp10_test_data): New variable.
28483         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28484         (exp2_test_data): New variable.
28485         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28486         (expm1_test_data): New variable.
28487         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28488         (fabs_test_data): New variable.
28489         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28490         (floor_test_data): New variable.
28491         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28492         (j0_test_data): New variable.
28493         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28494         (j1_test_data): New variable.
28495         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28496         (log_test_data): New variable.
28497         (log_test): Run tests with RUN_TEST_LOOP_f_f.
28498         (log10_test_data): New variable.
28499         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28500         (log1p_test_data): New variable.
28501         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28502         (log2_test_data): New variable.
28503         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28504         (logb_test_data): New variable.
28505         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28506         (logb_downward_test_data): New variable.
28507         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28508         (nearbyint_test_data): New variable.
28509         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28510         (rint_test_data): New variable.
28511         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28512         (rint_tonearest_test_data): New variable.
28513         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28514         (rint_towardzero_test_data): New variable.
28515         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28516         (rint_downward_test_data): New variable.
28517         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28518         (rint_upward_test_data): New variable.
28519         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28520         (round_test_data): New variable.
28521         (round_test): Run tests with RUN_TEST_LOOP_f_f.
28522         (sin_test_data): New variable.
28523         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28524         (sin_tonearest_test_data): New variable.
28525         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28526         (sin_towardzero_test_data): New variable.
28527         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28528         (sin_downward_test_data): New variable.
28529         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28530         (sin_upward_test_data): New variable.
28531         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28532         (sinh_test_data): New variable.
28533         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28534         (sinh_tonearest_test_data): New variable.
28535         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28536         (sinh_towardzero_test_data): New variable.
28537         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28538         (sinh_downward_test_data): New variable.
28539         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28540         (sinh_upward_test_data): New variable.
28541         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28542         (sqrt_test_data): New variable.
28543         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28544         (tan_test_data): New variable.
28545         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28546         (tan_tonearest_test_data): New variable.
28547         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28548         (tan_towardzero_test_data): New variable.
28549         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28550         (tan_downward_test_data): New variable.
28551         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28552         (tan_upward_test_data): New variable.
28553         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28554         (tanh_test_data): New variable.
28555         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28556         (tgamma_test_data): New variable.
28557         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28558         (trunc_test_data): New variable.
28559         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28560         (y0_test_data): New variable.
28561         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28562         (y1_test_data): New variable.
28563         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28564         (significand_test_data): New variable.
28565         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28567 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
28569         [BZ #12387]
28570         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28572 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28574         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28576 2013-05-10  Andreas Jaeger  <aj@suse.de>
28578         [BZ #15448]
28579         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28580         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28582 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28584         * math/gen-libm-test.pl (adjust_arg): New function.
28585         (special_functions): Handle generating output in both functions
28586         and arrays.
28587         (parse_args): Likewise.
28588         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
28589         $in_func argument to parse_args.
28590         * math/libm-test.inc (struct test_f_f_data): New type.
28591         (IF_ROUND_INIT_): New macro.
28592         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28593         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28594         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28595         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28596         (ROUND_RESTORE_): Likewise.
28597         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28598         (ROUND_RESTORE_FE_TONEAREST): Likewise.
28599         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28600         (ROUND_RESTORE_FE_UPWARD): Likewise.
28601         (RUN_TEST_LOOP_f_f): New macro.
28602         (acos_test_data): New variable.
28603         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28604         (acos_tonearest_test_data): New variable.
28605         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28607 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28609         * benchtests/bench-skeleton.c (startup): Fix coding style.
28611 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28613         [BZ #6809]
28614         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28615         negative infinity argument.
28616         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28617         negative infinity argument.
28618         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28619         negative infinity argument.
28620         * math/libm-test.inc (tgamma_test): Expect errno to be set for
28621         domain errors.
28623 2013-05-10  Florian Weimer  <fweimer@redhat.com>
28625         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28626         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28627         * iconv/iconv_prog.c (main): Likewise.
28628         * locale/programs/charmap-dir.c (charmap_readdir)
28629         (fopen_uncompressed): Likewise.
28630         * locale/programs/locfile.c (siblings_uncached)
28631         (write_locale_data): Use lstat64 instead of lstat.
28632         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28633         stat.
28635 2013-05-10  Andreas Jaeger  <aj@suse.de>
28637         [BZ #15395]
28638         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28639         localization.
28640         Include <locale.h>.
28642 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
28644         * elf/dl-close.c (_dl_close_worker): Add comments.
28646 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
28648         [BZ #15359]
28649         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28650         high part of pi/2.
28651         (__ieee754_rem_pio2l): Update comments.
28653         [BZ #15429]
28654         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28655         high part of pi/2.
28656         (__ieee754_rem_pio2l): Update comments.
28658         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28659         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28661         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28662         M_PI_4l.
28664         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28665         (M_PI_34_LOG10El): Likewise.
28666         (M_PI2_LOG10El): Likewise.
28667         (M_PI4_LOG10El): Likewise.
28668         (M_PI_LOG10El): Likewise.
28670 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28672         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28674 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
28676         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28677         (MINUS_ZERO_INIT): Likewise.
28678         (PLUS_INFTY_INIT): Likewise.
28679         (MINUS_INFTY_INIT): Likewise.
28680         (QNAN_VALUE_INIT): Likewise.
28681         (MAX_VALUE_INIT): Likewise.
28682         (MIN_VALUE_INIT): Likewise.
28683         (MIN_SUBNORM_VALUE_INIT): Likewise.
28684         (plus_zero): Initialize with PLUS_ZERO_INIT.
28685         (minus_zero): Initialize with MINUS_ZERO_INIT.
28686         (plus_infty): Initialize with PLUS_INFTY_INIT.
28687         (minus_infty): Initialize with MINUS_INFTY_INIT.
28688         (qnan_value): Initialize with QNAN_VALUE_INIT.
28689         (max_value): Initialize with MAX_VALUE_INIT.
28690         (min_value): Initialize with MIN_VALUE_INIT.
28691         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28693         * math/libm-test.inc (RUN_TEST_if_f): New macro.
28694         (jn_test): Use TEST_if_f instead of TEST_ff_f.
28695         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28696         (yn_test): Use TEST_if_f instead of TEST_ff_f.
28698         * math/libm-test.inc (RUN_TEST_f_f): New macro.
28699         (RUN_TEST_2_f): Likewise.
28700         (RUN_TEST_ff_f): Likewise.
28701         (RUN_TEST_fi_f): Likewise.
28702         (RUN_TEST_fl_f): Likewise.
28703         (RUN_TEST_fff_f): Likewise.
28704         (RUN_TEST_c_f): Likewise.
28705         (RUN_TEST_f_f1): Likewise.
28706         (RUN_TEST_fF_f1): Likewise.
28707         (RUN_TEST_fI_f1): Likewise.
28708         (RUN_TEST_ffI_f1): Likewise.
28709         (RUN_TEST_c_c): Likewise.
28710         (RUN_TEST_cc_c): Likewise.
28711         (RUN_TEST_f_i): Likewise.
28712         (RUN_TEST_f_i_tg): Likewise.
28713         (RUN_TEST_ff_i_tg): Likewise.
28714         (RUN_TEST_f_b): Likewise.
28715         (RUN_TEST_f_b_tg): Likewise.
28716         (RUN_TEST_f_l): Likewise.
28717         (RUN_TEST_f_L): Likewise.
28718         (RUN_TEST_sincos): Likewise.
28719         * math/gen-libm-test.pl (new_test): Take new argument to indicate
28720         whether to show exceptions.  Do not include ");\n" in return
28721         value.
28722         (special_functions): Output call to RUN_TEST_sincos instead of
28723         check_float calls.  Update calls to new_test.
28724         (parse_args): Output call to single RUN_TEST_* macro instead of
28725         check_* calls and other assignments.  Update calls to new_test.
28727         [BZ #2546]
28728         [BZ #2560]
28729         [BZ #5159]
28730         [BZ #15426]
28731         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28732         input to result for tgamma overflow.
28733         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28734         (gamma_coeff): New variable.
28735         (NCOEFF): New macro.
28736         (gamma_positive): New function.
28737         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28738         underflow here.  Use gamma_positive instead of exp (lgamma) for
28739         other arguments.
28740         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28741         (gamma_coeff): New variable.
28742         (NCOEFF): New macro.
28743         (gammaf_positive): New function.
28744         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28745         underflow here.  Use gamma_positive instead of exp (lgamma) for
28746         other arguments.
28747         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28748         (gamma_coeff): New variable.
28749         (NCOEFF): New macro.
28750         (gammal_positive): New function.
28751         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28752         underflow here.  Use gamma_positive instead of exp (lgamma) for
28753         other arguments.
28754         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28755         (gamma_coeff): New variable.
28756         (NCOEFF): New macro.
28757         (gammal_positive): New function.
28758         (__ieee754_gammal_r): Handle positive infinity, overflow and
28759         underflow here.  Handle NaN the same as positive infinity.  Remove
28760         check x < 0xffffffff for negative integers.  Use gamma_positive
28761         instead of exp (lgamma) for other arguments.
28762         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28763         (gamma_coeff): New variable.
28764         (NCOEFF): New macro.
28765         (gammal_positive): New function.
28766         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28767         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28768         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28769         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28770         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28771         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28772         * sysdeps/generic/math_private.h (__gamma_productf): New
28773         prototype.
28774         (__gamma_product): Likewise.
28775         (__gamma_productl): Likewise.
28776         * math/Makefile (libm-calls): Add gamma_product.
28777         * math/libm-test.inc (tgamma_test): Add more tests.
28778         * sysdeps/i386/fpu/libm-test-ulps: Update.
28779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28781 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
28783         * benchtests/bench-skeleton.c (main): Preheat CPU.
28785 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
28787         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28789 2013-05-07  Roland McGrath  <roland@hack.frob.com>
28791         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28792         and _dl_skip_args_internal.
28794 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
28796         * manual/message.texi (Message Translation): Talk about users.
28797         Message to key mapping impacts design.
28799 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28801         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28803         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28805         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28806         * sysdeps/wordsize-64/glob64.c: ... here.
28808         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28809         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28810         New macros.
28812         * debug/getlogin_r_chk.c: Moved to ...
28813         * login/getlogin_r_chk.c: ... here.
28814         * debug/Makefile (routines): Move getlogin_r_chk to ...
28815         * login/Makefile (routines): ... here.
28816         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28817         * login/Versions (libc: GLIBC_2.4): ... here.
28819         * io/poll.c (__poll): Renamed from poll.
28820         Add libc_hidden_def.
28821         (poll): Define as weak alias.
28823         * debug/ptsname_r_chk.c: Moved to ...
28824         * login/ptsname_r_chk.c: ... here.
28825         * debug/Makefile (routines): Move ptsname_r_chk to ...
28826         * login/Makefile (routines): ... here.
28827         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28828         * login/Versions (libc: GLIBC_2.4): ... here.
28830         * posix/getlogin.c: Moved to ...
28831         * login/getlogin.c: ... here.
28832         * posix/getlogin_r.c: Moved to ...
28833         * login/getlogin_r.c: ... here.
28834         * posix/getlogin_r.c: Moved to ...
28835         * login/getlogin_r.c: ... here.
28836         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28837         * login/Makefile (routines): ... here.
28838         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28839         * login/Versions (libc: GLIBC_2.0): ... here.
28841         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28842         (setrlimit): Define as weak alias.
28844         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28845         Call __ names for open, ftruncate, and close.
28846         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28847         (truncate): Define as weak alias.
28849 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28851         * math/gen-libm-test.pl (parse_args): Initialize x before each
28852         test of frexp, modf and remquo.
28854         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28855         test signgam value.
28857 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28859         [BZ #15418]
28860         [BZ #15419]
28861         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28862         internal tests.
28863         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28865 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28867         * elf/dl-writev.h: New file.
28868         * elf/dl-misc.c: Include it.
28869         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28870         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28872 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28874         * math/libm-test.inc (noXFails): Remove variable.
28875         (noXPasses): Likewise.
28876         (BUILD_COMPLEX_INT): Remove macro.
28877         (print_screen): Remove xfail argument.
28878         (print_screen_max_error): Likewise.
28879         (update_stats): Likewise.
28880         (print_max_error): Likewise.  Update calls to other affected
28881         functions.
28882         (print_complex_max_error): Likewise.
28883         (test_single_exception): Update calls to print_screen.
28884         (test_single_errno): Likewise.
28885         (check_float_internal): Remove xfail argument.  Update calls to
28886         other affected functions.
28887         (check_float): Likewise.
28888         (check_complex): Likewise.
28889         (check_int): Likewise.
28890         (check_long): Likewise.
28891         (check_bool): Likewise.
28892         (check_longlong): Likewise.
28893         (main): Don't print noXFails and noXPasses.
28894         * math/gen-libm-test.pl (top level): Don't mention expected
28895         failure handling in comment.
28896         (new_test): Don't handle expected failures.
28897         (parse_args): Don't mention expected failure handling in comment.
28898         (generate_testfile): Don't handle expected failures.
28899         (parse_ulps): Likewise.
28900         (print_ulps_file): Likewise.
28901         (get_failure): Remove function.
28902         (output_test): Don't handle expected failures.
28903         * make/README.libm-test: Don't mention expected failure handling.
28905         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28906         (minus_zero): Likewise.
28907         (plus_infty): Likewise.
28908         (minus_infty): Likewise.
28909         (qnan_value): Likewise.
28910         (max_value): Likewise.
28911         (min_value): Likewise.
28912         (min_subnorm_value): Likewise.
28913         (initialize): Do not initialize those variables dynamically.
28915 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28917         * io/open.c (__open_2): Moved to ...
28918         * io/open_2.c: ... this new file.
28919         * io/open64.c (__open64_2): Moved to ...
28920         * io/open64_2.c: ... this new file.
28921         * io/openat.c (__openat_2): Moved to ...
28922         * io/openat_2.c: ... this new file.
28923         * io/openat64.c (__openat64_2): Moved to ...
28924         * io/openat64_2.c: ... this new file.
28925         * io/Makefile (routines): Add them.
28926         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28927         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28928         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28929         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28930         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28931         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28932         (__openat64): Add hidden_ver.
28933         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28934         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28936         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28937         Separately conditionalize setting of GLRO(dl_sysinfo) so
28938         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28939         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28941 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28943         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28944         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28945         definition.
28946         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28947         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28948         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28949         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28950         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28952 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28954         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28955         test signgam value.
28957         * math/libm-test.inc (hypot_test): Do not use
28958         IGNORE_ZERO_INF_SIGN.
28960 2013-05-03  Andreas Jaeger  <aj@suse.de>
28962         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28963         Linux 3.9.
28964         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28965         (PF_MAX): Adjust for VSOCK change.
28967 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28969         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28971 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28973         [BZ #15264]
28974         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28975         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28976         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28978 2013-05-02  David S. Miller  <davem@davemloft.net>
28980         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28982 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28984         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28986 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28988         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28990 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28992         [BZ #14952]
28993         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28994         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28995         Use __attribute__ ((__gnu_inline__)).
28996         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28997         Don't use __attribute__ ((__gnu_inline__)).
28999 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
29001         [BZ #15423]
29002         * math/s_catan.c (__catan): Handle small real or imaginary part of
29003         input specially to avoid spurious underflow.
29004         * math/s_catanf.c (__catanf): Likewise.
29005         * math/s_catanh.c (__catanh): Likewise.
29006         * math/s_catanhf.c (__catanhf): Likewise.
29007         * math/s_catanhl.c (__catanhl): Likewise.
29008         * math/s_catanl.c (__catanl): Likewise.
29009         * math/libm-test.inc (catan_test): Add more tests.
29010         (catanh_test): Likewise.
29011         * sysdeps/i386/fpu/libm-test-ulps: Update.
29012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29014 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29018 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
29020         [BZ #15416]
29021         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
29022         accurately for denominator in atan2.
29023         * math/s_catanf.c (__catanf): Likewise.
29024         * math/s_catanh.c (__catanh): Likewise.
29025         * math/s_catanhf.c (__catanhf): Likewise.
29026         * math/s_catanhl.c (__catanhl): Likewise.
29027         * math/s_catanl.c (__catanl): Likewise.
29028         * math/libm-test.inc (catan_test): Add more tests.
29029         (catanh_test): Likewise.
29030         * sysdeps/i386/fpu/libm-test-ulps: Update.
29031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29033 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
29035         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
29037         * benchtests/Makefile (bench): Remove slow benchmarks.
29038         * benchtests/atan-inputs: Add slow benchmark inputs.
29039         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
29040         (BENCH_FUNC): Accept variant offset.
29041         (VARIANT): Define.
29042         * benchtests/bench-skeleton.c (main): Run benchmark for each
29043         variant.
29044         * benchtests/cos-inputs: Add slow benchmark inputs.
29045         * benchtests/exp-inputs: Likewise.
29046         * benchtests/pow-inputs: Likewise.
29047         * benchtests/sin-inputs: Likewise.
29048         * benchtests/slowatan-inputs: Remove.
29049         * benchtests/slowatan.c: Remove.
29050         * benchtests/slowcos-inputs: Remove.
29051         * benchtests/slowcos.c: Remove.
29052         * benchtests/slowexp-inputs: Remove.
29053         * benchtests/slowexp.c: Remove.
29054         * benchtests/slowpow-inputs: Remove.
29055         * benchtests/slowpow.c: Remove.
29056         * benchtests/slowsin-inputs: Remove.
29057         * benchtests/slowsin.c: Remove.
29058         * benchtests/slowtan-inputs: Remove.
29059         * benchtests/slowtan.c: Remove.
29060         * benchtests/tan-inputs: Add slow benchmark inputs.
29061         * scripts/bench.pl: Parse comments and directives.
29063         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
29064         in CPPFLAGS.
29065         ($(objpfx)bench-%.c): Remove *-ITER.
29066         * benchtests/bench-modf.c: Remove definition of ITER.
29067         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
29068         (main): Loop for DURATION seconds instead of fixed number of
29069         iterations.
29070         * scripts/bench.pl: Don't expect iterations in parameters.
29072 2013-04-29  Roland McGrath  <roland@hack.frob.com>
29074         * io/fchdir.c (__fchdir): Renamed from fchdir.
29075         (fchdir): Define as weak alias.
29077 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29079         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
29080         (ERRNO_EDOM): Likewise.
29081         (ERRNO_ERANGE): Likewise.
29082         (noErrnoTests): New variable.
29083         (init_max_error): Set errno to 0.
29084         (test_single_errno): New function.
29085         (test_errno): Likewise.
29086         (check_float_internal): Call test_errno.  Set errno to 0.
29087         (check_complex): Refer to errno tests in comment.
29088         (check_int): Call test_errno.  Set errno to 0.
29089         (check_long): Likewise.
29090         (check_bool): Likewise.
29091         (check_longlong): Likewise.
29092         (cos_test): Use ERRNO_* flags for errno tests instead of
29093         check_int.
29094         (expm1_test): Likewise.
29095         (fmod_test): Likewise.
29096         (ilogb_test): Likewise.
29097         (lgamma_test): Likewise.
29098         (pow_test): Likewise.
29099         (remainder_test): Likewise.
29100         (sin_test): Likewise.
29101         (tan_test): Likewise.
29102         (yn_test): Likewise.
29103         (initialize): Set errno to 0.
29104         (main): Print number of errno tests.
29105         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
29107 2013-04-29  Andreas Jaeger  <aj@suse.de>
29109         [BZ #15084]
29110         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
29111         and RES_USEVC.
29113         [BZ #15085]
29114         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
29115         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
29116         unimplemented.
29118         [BZ #15380]
29119         * stdlib/random.c (__initstate): Return NULL if
29120         __initstate fails.
29122         [BZ #15086]
29123         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
29124         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
29125         RES_SNGLKUPREOP.
29127 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29129         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29131 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
29133         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
29134         of individual tests.
29135         (casin_test): Likewise.
29136         (casinh_test): Likewise.
29138 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
29140         [BZ #15409]
29141         * math/s_catan.c (__catan): Handle arguments with large real or
29142         imaginary part separately without squaring.
29143         * math/s_catanf.c (__catanf): Likewise.
29144         * math/s_catanh.c (__catanh): Likewise.
29145         * math/s_catanhf.c (__catanhf): Likewise.
29146         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29147         and redefine.
29148         (__catanhl): Handle arguments with large real or imaginary part
29149         separately without squaring.
29150         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29151         and redefine.
29152         (__catanl): Handle arguments with large real or imaginary part
29153         separately without squaring.
29154         * math/libm-test.inc (catan_test): Add more tests.
29155         (catanh_test): Likewise.
29156         * sysdeps/i386/fpu/libm-test-ulps: Update.
29157         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29159 2013-04-27  Andreas Jaeger  <aj@suse.de>
29161         [BZ #15007]
29162         * stdlib/stdlib.h: Update guards for qecvt.
29163         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
29164         <stdlib.h>.
29166 2013-04-27  Allan McRae  <allan@archlinux.org>
29168         * sysdeps/i386/fpu/libm-test-ulps: Update.
29170 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
29172         [BZ #15406]
29173         * math/s_catan.c: Include <float.h>.
29174         (__catan): Ensure underflow exception occurs for underflowed
29175         result.
29176         * math/s_catanf.c: Include <float.h>.
29177         (__catanf): Ensure underflow exception occurs for underflowed
29178         result.
29179         * math/s_catanh.c: Include <float.h>.
29180         (__catanh): Ensure underflow exception occurs for underflowed
29181         result.
29182         * math/s_catanhf.c: Include <float.h>.
29183         (__catanhf): Ensure underflow exception occurs for underflowed
29184         result.
29185         * math/s_catanhl.c: Include <float.h>.
29186         (__catanhl): Ensure underflow exception occurs for underflowed
29187         result.
29188         * math/s_catanl.c: Include <float.h>.
29189         (__catanl): Ensure underflow exception occurs for underflowed
29190         result.
29191         * math/libm-test.inc (catan_test): Add more tests.
29192         (catanh_test): Likewise.
29194         [BZ #15405]
29195         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
29196         underflowed result.
29197         * math/s_ccoshf.c (__ccoshf): Likewise.
29198         * math/s_ccoshl.c (__ccoshl): Likewise.
29199         * math/s_csin.c (__csin): Likewise.
29200         * math/s_csinf.c (__csinf): Likewise.
29201         * math/s_csinh.c (__csinh): Likewise.
29202         * math/s_csinhf.c (__csinhf): Likewise.
29203         * math/s_csinhl.c (__csinhl): Likewise.
29204         * math/s_csinl.c (__csinl): Likewise.
29205         * math/libm-test.inc (ccos_test): Add more tests.
29206         (ccosh_test): Likewise.
29207         (csin_test): Likewise.
29208         (csinh_test): Likewise.
29210 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29212         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
29213         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
29214         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
29215         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
29216         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
29217         powerpc/power5+/fpu folders.
29218         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
29221 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
29223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
29225 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
29227         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
29228         additions to variable.
29229         [$(config-machine) = x86_64] (modules-names): Likewise.
29230         ($(objpfx)tst-audit3): Remove dependency.
29231         ($(objpfx)tst-audit3.out): Likewise.
29232         ($(objpfx)tst-audit4): Likewise.
29233         ($(objpfx)tst-audit4.out): Likewise.
29234         ($(objpfx)tst-audit5): Likewise.
29235         ($(objpfx)tst-audit5.out): Likewise.
29236         ($(objpfx)tst-audit6): Likewise.
29237         ($(objpfx)tst-audit6.out): Likewise.
29238         ($(objpfx)tst-audit7): Likewise.
29239         ($(objpfx)tst-audit7.out): Likewise.
29240         (tst-audit3-ENV): Remove variable.
29241         (tst-audit4-ENV): Likewise.
29242         (tst-audit5-ENV): Likewise.
29243         (tst-audit6-ENV): Likewise.
29244         (tst-audit7-ENV): Likewise.
29245         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
29246         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
29247         addition to variable.
29248         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
29249         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
29250         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
29251         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
29252         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
29253         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
29254         tst-audit3, tst-audit4 and tst-audit5.
29255         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29256         tst-audit6 and tst-audit7.
29257         [$(subdir) = elf] (modules-names): Add audit modules for those
29258         tests.
29259         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29260         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29261         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29262         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29263         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29264         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29265         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29266         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29267         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29268         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29269         [$(subdir) = elf] (tst-audit3-ENV): New variable.
29270         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29271         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29272         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29273         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29274         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29275         Likewise.
29276         [$(subdir) = elf && $(config-cflags-avx) = yes]
29277         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29278         [$(subdir) = elf && $(config-cflags-avx) = yes]
29279         (CFLAGS-tst-auditmod4a.c): Likewise.
29280         [$(subdir) = elf && $(config-cflags-avx) = yes]
29281         (CFLAGS-tst-auditmod4b.c): Likewise.
29282         [$(subdir) = elf && $(config-cflags-avx) = yes]
29283         (CFLAGS-tst-auditmod6b.c): Likewise.
29284         [$(subdir) = elf && $(config-cflags-avx) = yes]
29285         (CFLAGS-tst-auditmod6c.c): Likewise.
29286         [$(subdir) = elf && $(config-cflags-avx) = yes]
29287         (CFLAGS-tst-auditmod7b.c): Likewise.
29288         * elf/tst-audit3.c: Move to ...
29289         * sysdeps/x86_64/tst-audit3.c: ... here.
29290         * elf/tst-audit4.c: Move to ...
29291         * sysdeps/x86_64/tst-audit4.c: ... here.
29292         * elf/tst-audit5.c: Move to ...
29293         * sysdeps/x86_64/tst-audit5.c: ... here.
29294         * elf/tst-audit6.c: Move to ...
29295         * sysdeps/x86_64/tst-audit6.c: ... here.
29296         * elf/tst-audit7.c: Move to ...
29297         * sysdeps/x86_64/tst-audit7.c: ... here.
29298         * elf/tst-auditmod3a.c: Move to ...
29299         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29300         * elf/tst-auditmod3b.c: Move to ...
29301         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29302         * elf/tst-auditmod4a.c: Move to ...
29303         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29304         * elf/tst-auditmod4b.c: Move to ...
29305         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29306         * elf/tst-auditmod5a.c: Move to ...
29307         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29308         * elf/tst-auditmod5b.c: Move to ...
29309         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29310         * elf/tst-auditmod6a.c: Move to ...
29311         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29312         * elf/tst-auditmod6b.c: Move to ...
29313         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29314         * elf/tst-auditmod6c.c: Move to ...
29315         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29316         * elf/tst-auditmod7a.c: Move to ...
29317         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29318         * elf/tst-auditmod7b.c: Move to ...
29319         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29321 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
29323         [BZ #15366]
29324         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29325         define unconditionally.
29326         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29327         define unconditionally.
29328         (INT8_C, INT16_C, etc.): Likewise.
29330 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
29332         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29333         __ehdr_start with hidden visibility.
29335         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29337 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
29339         * math/libm-test.inc (cos_test): Use accurate hex constants.
29340         (sincost_test): Likewise.
29342 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
29344         * math/libm-test.inc (catan_test): Add more tests.
29345         (catanh_test): Likewise.
29347         * math/s_catanf.c (__catanf): Use suffixed floating-point
29348         constants.
29349         * math/s_catanhf.c (__catanhf): Likewise.
29350         * math/s_catanhl.c (__catanhl): Likewise.
29351         * math/s_catanl.c (__catanl): Likewise.
29353         [BZ #15394]
29354         * math/s_catan.c (__catan): Calculate imaginary part of result
29355         with log1p not log unless computing log of number close to 0.
29356         * math/s_catanf.c (__catanf): Likewise.
29357         * math/s_catanl.c (__catanl): Likewise.
29358         * math/s_catanh.c (__catanh): Calculate real part of result with
29359         log1p not log unless computing log of number close to 0.
29360         * math/s_catanhf.c (__catanhf): Likewise.
29361         * math/s_catanhl.c (__catanhl): Likewise.
29362         * math/libm-test.inc (catan_test): Add more tests.
29363         (catanh_test): Likewise.
29364         * sysdeps/i386/fpu/libm-test-ulps: Update.
29365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29367 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29369         * benchtests/Makefile: Mention files in which fast and slow
29370         paths of math functions are implemented.
29372 2013-04-23  Roland McGrath  <roland@hack.frob.com>
29374         * sysdeps/posix/timespec_get.c: New file.
29376 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29378         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29379         POWER.
29380         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29381         for POWER.
29382         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29383         powerpc/power5/fpu folders.
29384         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29385         * benchtests/Makefile: Add modf testcase.
29386         * benchtests/bench-modf.c: New file: Benchmark test for mo
29388 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29390         [BZ #14888]
29391         * time/Makefile (tests): Add tst-strptime-whitespace.
29392         * time/strptime_l.c (get_number): Use ISSPACE.
29393         (__strptime_internal): Likewise.
29394         * time/tst-strptime-whitespace.c: New test case.
29396 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
29398         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29399         member.
29400         (_nss_files_init): Set it here.
29402 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
29404         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29405         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29406         unsigned.
29408 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
29410         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29412 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29414         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29415         size just once.
29417 2013-04-21  David S. Miller  <davem@davemloft.net>
29419         * po/ru.po: Update Russion translation from translation project.
29421 2013-04-17  Adam Conrad  <adconrad@0c3.net>
29423         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29424         and setfsgid.
29426 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
29428         * configure.in: Remove i386 configure warning. Remove i386 case.
29429         * configure: Regenerate.
29430         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29431         Add example to error message.
29432         * sysdeps/i386/configure: Regenerate.
29434 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29436         * benchtests/Makefile (bench): Add cos, tan, slowcos and
29437         slowtan.
29438         * benchtests/cos-inputs: New file.
29439         * benchtests/slowcos-inputs: New file.
29440         * benchtests/slowcos.c: New file.
29441         * benchtests/slowtan-inputs: New file.
29442         * benchtests/slowtan.c: New file.
29443         * benchtests/tan-inputs: New file.
29445 2013-04-16  Roland McGrath  <roland@hack.frob.com>
29447         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29448         considered kosher.
29450 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29452         * benchtests/Makefile: Include cppflags-iterator.mk to add
29453         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29455         * Makefile.in (bench-clean): New target.
29456         * benchtests/Makefile (bench-clean): Likewise.
29458 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
29460         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29462 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
29464         * stdio-common/tstdiomisc.c: Fix coding-style violation.
29466 2013-04-15  Andreas Schwab  <schwab@suse.de>
29468         * nscd/grpcache.c (cache_addgr): Properly check for short write.
29469         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29470         * nscd/pwdcache.c (cache_addpw): Likewise.
29471         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
29472         more than recsize.
29474 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29476         * benchtests/Makefile (bench): Write all output to
29477         bench-out.tmp together.
29479 2013-04-15  Andreas Schwab  <schwab@suse.de>
29481         * nscd/nscd.c (main): Don't fork again after closing files.
29483 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29485         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29487         * benchtests/Rules (bench-deps): Collect dependencies into a
29488         single variable.  Add Makefile to dependencies.
29489         ($(objpfx)bench-%.c): Depend on bench-deps.
29491 2013-04-12  Roland McGrath  <roland@hack.frob.com>
29492             Xavier Roche  <roche+kml2@exalead.com>
29494         [BZ #15361]
29495         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29496         just that it's a file descriptor.
29497         * manual/llio.texi (Synchronizing AIO Operations): Update description
29498         for EBADF error from aio_fsync.
29500 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29502         * Rules (bench): Move target definition...
29503         * benchtests/Makefile: ... here.
29505 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
29507         * math/libm-test.inc (cos_test): Fix PI/2 test.
29508         (sincos_test): Likewise.
29509         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29510         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29512 2013-04-11  Andreas Schwab  <schwab@suse.de>
29514         [BZ #13988]
29515         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29516         accept exponent character only when digits were seen.
29517         * stdio-common/Makefile (tests): Add bug26.
29518         * stdio-common/bug26.c: New file.
29520         [BZ #14293]
29521         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29522         non-freeable.
29524 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29526         * Makeconfig (rtld-prefix): Define built linker prefix.
29527         * Rules (run-bench): Use it.
29528         * math/Makefile (run-regen-ulps): Likewise.
29530         * Rules (bench): Remove eval.
29532 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29533             Roland McGrath  <roland@hack.frob.com>
29534             Ondrej Bilka  <neleai@seznam.cz>
29536         [BZ #15346]
29537         * time/getdate.c: Include ctype.h and alloca.h.
29538         (__getdate_r): Trim leading and trailing spaces of input.
29539         * time/tst-getdate.c (tests): Add tests with leading and
29540         trailing spaces.
29542 2013-04-08  Roland McGrath  <roland@hack.frob.com>
29544         [BZ #14280]
29545         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29546         when computing value.
29548 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29550         * math/README.libm-test (How can I generate "libm-test-ulps"?):
29551         Use testrun.sh to run libm tests.
29553         [BZ #15309]
29554         * elf/dl-open.c (dl_open_worker): memset all of seen array.
29556 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
29558         [BZ #15264]
29559         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29561 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29563         * Makefile.in (regen-ulps): New target.
29564         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29565         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29566         [ifneq (no,$(PERL)] (regen-ulps): New target.
29567         [ifeq (no,$(PERL)] (regen-ulps): New target.
29568         * math/libm-test.inc (ulps_file_name): Define.
29569         (output_dir): New variable.
29570         (options): Add "output-dir" option.
29571         (parse_opt): Handle 'o' case.
29572         (main): If output_dir is non-NULL use it as a prefix
29573         otherwise use "".
29574         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29576 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29578         [BZ #10060, #10062]
29579         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29580         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29581         fail configure if __sync_val_compare_and_swap is not inlined.
29582         * sysdeps/i386/configure: Regenerate.
29583         * configure.in: Build for i686 when configured for i386.
29584         * configure: Regenerate.
29585         * README: Remove i386 reference.
29587 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29589         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29590         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29592 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29594         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29595         (lmsnanval): New variables.
29596         (F): Add conversion tests.
29597         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29598         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29600         * stdio-common/tstdiomisc.c (F): Properly collect individual
29601         tests' results.
29603         [BZ #14686, #15336]
29604         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29605         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29606         Instead, use input NaN values or generate a qNaN by arithmetic
29607         operation.  Also fix bugs to comply with the standard.
29608         * math/libm-test.inc (remainder_test): Add more tests.
29610         [BZ #15335, #15342]
29611         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29612         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29613         input NaN values or generate a qNaN by arithmetic operation.
29615         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29616         unreachable code.
29618         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29619         definitions.
29621 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
29623         [BZ #14478]
29624         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29625         underflowed result.
29626         * math/s_cexpf.c (__cexpf): Likewise.
29627         * math/s_cexpl.c (__cexpl): Likewise.
29628         * math/libm-test.inc (cexp_test): Add more tests.
29630 2013-04-03  Andreas Schwab  <schwab@suse.de>
29632         [BZ #15330]
29633         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29634         order arrays from heap if bigger than alloca cutoff.
29636 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
29638         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29639         (SNAN_TESTS_double): Refer to GCC PR56831.
29640         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29641         GCC PR56828.
29643 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29645         * Rules (bench): Move bench.out after the run is complete.
29647         * Rules (bench): Echo currently running benchmark.
29649         * benchtests/Makefile (bench): Add atan and slowatan.
29650         * benchtests/atan-inputs: New file.
29651         * benchtests/slowatan-inputs: New file.
29652         * benchtests/slowatan.c: New file.
29654         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29655         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29656         its value.
29658         [BZ #15305]
29659         * sysdeps/unix/sysv/linux/kernel-features.h
29660         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29661         __ASSUME_XFS_RESTRICTED_CHOWN.
29662         * sysdeps/unix/sysv/linux/pathconf.c
29663         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29664         Save and restore errno.
29666 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
29668         [BZ #15327]
29669         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29670         arguments using __kernel_casinh.
29671         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29672         arguments using __kernel_casinhf.
29673         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29674         arguments using __kernel_casinhl.
29675         * math/libm-test.inc (cacosh_test): Add more tests.
29676         * sysdeps/i386/fpu/libm-test-ulps: Update.
29677         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29679 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29681         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29682         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29684         * bench/Makefile (bench): Add sin and slowsin.
29685         * benchtests/sin-inputs: New file.
29686         * benchtests/slowsin-inputs: New file.
29687         * benchtests/slowsin.c: New file.
29689         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29690         (bench): Add slowexp and slowpow.
29691         (exp-ITER): Increase iterations.
29692         (pow-ITER): Likewise.
29693         * benchtests/exp-inputs: Change input.
29694         * benchtests/pow-inputs: Likewise.
29695         * benchtests/slowexp-inputs: New file.
29696         * benchtests/slowexp.c: New file.
29697         * benchtests/slowpow-inputs: New file.
29698         * benchtests/slowpow.c: New file.
29700 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29702         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29703         instructions.
29704         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29705         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29706         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29707         * benchtests/Makefile: Add rint benchtest.
29708         * benchtests/rint-inputs: Input for rint benchtest.
29710 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29712         * Versions.def (libm): Add GLIBC_2.18.
29713         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29714         hidden libm prototypes.
29715         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29716         * math/Makefile (libm-calls): Add s_issignaling.
29717         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29718         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
29719         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29720         declaration.
29721         * math/math.h [__USE_GNU] (issignaling): New macro.
29722         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29723         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29724         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29725         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29726         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29727         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29728         * manual/arith.texi (issignaling): New section.
29729         * manual/libm-err-tab.pl (@all_functions): Update comment.
29730         * math/gen-libm-test.pl (parse_args): Apply special handling for
29731         issignaling.
29732         * math/libm-test.inc (print_float, issignaling_test): New
29733         functions.
29734         (check_float_internal): Add issignaling checks.
29735         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29736         default definition.
29737         * sysdeps/powerpc/math-tests.h: New file.
29738         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29739         tests.
29740         * math/test-snan.c (TEST_FUNC): Likewise.
29742 2013-03-30  David S. Miller  <davem@davemloft.net>
29744         * po/de.po: Update from translation team.
29746 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
29748         [BZ #10357]
29749         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29750         imaginary part less than 1.0 and real part less than 0.5
29751         specially.
29752         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29753         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29754         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29755         (cacos_test): Add more tests.
29756         (casin_test): Likewise.
29757         (casinh_test): Likewise.
29758         * sysdeps/i386/fpu/libm-test-ulps: Update.
29759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29761 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29763         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29764         ONE with its value.
29766         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29767         (__pow_mp): Replace ONE and MONE with their values.
29768         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29769         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29770         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29771         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29772         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29773         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29775         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29777         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29778         (__pow_mp): Replace ZERO and MZERO with their values.
29779         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29780         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29781         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29782         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29783         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29784         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29785         (__sqr): Likewise.
29787         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29789         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29791 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29793         * include/stdlib.h [!SHARED] (__call_tls_dtors):
29794         Declare with __attribute__ ((weak)).
29795         * stdlib/exit.c (__libc_atexit) [!SHARED]:
29796         Call __call_tls_dtors only if it's not NULL.
29798 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29800         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29801         didn't do it already, then set _dl_phdr and _dl_phnum based on the
29802         magic __ehdr_start linker symbol if it's defined.
29803         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29804         them up here if it was already done.
29806         * elf/dl-support.c (_dl_phdr): Make pointer to const.
29807         (_dl_aux_init): Use const in cast when setting it.
29808         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29809         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29810         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29812         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29813         Declare them here.
29814         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29815         * csu/libc-tls.c: Nor here.
29816         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29818         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29819         (__libc_message): Never call vsyslog.
29821 2013-03-28  Alan Modra  <amodra@gmail.com>
29823         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29824         Define as empty.
29825         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29826         Likewise.
29828 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29830         [BZ #15214]
29831         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29832         underflow.
29833         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29835 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29837         [BZ #15304]
29838         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29839         Don't add gid passed as argument.
29841         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29843 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29845         [BZ #15307]
29846         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29847         imaginary part between 1.0 and 1.5 and real part less than 0.5
29848         specially.
29849         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29850         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29851         * math/libm-test.inc (cacos_test): Add more tests.
29852         (casin_test): Likewise.
29853         (casinh_test): Likewise.
29854         * sysdeps/i386/fpu/libm-test-ulps: Update.
29855         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29857 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29859         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29860         constants.
29861         (norm): Likewise.
29862         (denorm): Likewise.
29863         (__dbl_mp): Likewise.
29864         (add_magnitudes): Likewise.
29865         (sub_magnitudes): Likewise.
29866         (__add): Likewise.
29867         (__sub): Likewise.
29868         (__mul): Likewise.
29869         (__sqr): Likewise.
29870         (__inv): Likewise.
29871         (__dvd): Likewise.
29873         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29874         commented code.
29875         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29876         (__dubcos): Likewise.
29877         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29878         (__ieee754_acos): Likewise.
29879         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29880         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29881         (__exp1): Likewise.
29882         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29883         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29884         (log1): Likewise.
29885         (my_log2): Likewise.
29886         (checkint): Likewise.
29887         * sysdeps/ieee754/dbl-64/e_remainder.c
29888         (__ieee754_remainder): Likewise.
29889         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29890         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29891         (bsloww): Likewise.
29892         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29894         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29895         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29896         MANTISSA_STORE_T to store computations on mantissa.  Use
29897         macros for rounding and division.
29898         (denorm): Likewise.
29899         (__dbl_mp): Likewise.
29900         (add_magnitudes): Likewise.
29901         (sub_magnitudes): Likewise.
29902         (__mul): Likewise.
29903         (__sqr): Likewise.
29904         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29905         powers of two in terms of TWOPOW macro.
29906         (mp_no): Make type of mantissa as MANTISSA_T.
29907         [!RADIXI]: Define RADIXI.
29908         [!TWO52]: Define TWO52.
29909         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29911 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29913         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29914         llroundl symbol when building for PPC32.
29916 2013-03-24  Mark H Weaver  <mhw@netris.org>
29918         * manual/arith.texi (Normalization Functions): Fix prototypes for
29919         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29921 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29923         [BZ #13889]
29924         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29925         high value to check if expl overflow.
29926         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29927         to check for underflow and overflow.
29928         * math/libm-test.inc: Add exp test.
29930 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29932         [BZ #11120]
29933         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29934         with NOT_IN_libc.
29936 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29938         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29939         symbol.
29941 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29943         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29944         wrap blocks consisting of several statements.
29946         * sysdeps/generic/math-tests.h: New file.
29947         * sysdeps/i386/fpu/math-tests.h: Likewise.
29948         * math/test-snan.c: Include it.
29949         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29951 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29953         [BZ #15285]
29954         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29955         (__ieee754_j0l): Do not improve calculations using cos of twice
29956         input for inputs above LDBL_MAX / 2.0L.
29957         (__ieee754_y0l): Likewise.
29958         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29959         (__ieee754_j1l): Do not improve calculations using cos of twice
29960         input for inputs above LDBL_MAX / 2.0L.
29961         (__ieee754_y1l): Likewise.
29962         * math/libm-test.inc (j0_test): Add another test.
29963         (j1_test): Likewise.
29964         (y0_test): Likewise.
29965         (y1_test): Likewise.
29966         * sysdeps/i386/fpu/libm-test-ulps: Update.
29968 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29970         * Rules ($(objpfx)bench-%.c): Include code from a C source
29971         file.
29973 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29975         [BZ #15287]
29976         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29977         imaginary part 1.0 and real part less than 0.5 specially.
29978         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29979         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29980         * math/libm-test.inc (cacos_test): Add more tests.
29981         (casin_test): Likewise.
29982         (casinh_test): Likewise.
29983         * sysdeps/i386/fpu/libm-test-ulps: Update.
29984         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29986 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29988         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29989         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29991 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29993         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29994         * config.make.in (config-cflags-sse4): Remove variable.
29995         (config-cflags-avx): Likewise.
29996         (config-cflags-sse2avx): Likewise.
29997         (config-cflags-novzeroupper): Likewise.
29998         (config-asflags-i686): Likewise.
29999         (have-mfma4): Likewise.
30000         (have-as-vis3): Likewise.
30001         (MIG): Likewise.
30002         * configure.in (MIG): Do not AC_SUBST.
30003         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
30004         (libc_cv_cc_sse4): Do not AC_SUBST.
30005         (libc_cv_cc_avx): Likewise.
30006         (libc_cv_cc_sse2avx): Likewise.
30007         (libc_cv_cc_novzeroupper): Likewise.
30008         (libc_cv_cc_fma4): Likewise.
30009         (libc_cv_as_i686): Likewise.
30010         (libc_cv_sparc_as_vis3): Likewise.
30011         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
30012         LIBC_CONFIG_VAR.
30013         (config-asflags-i686): Likewise.
30014         (config-cflags-avx): Likewise.
30015         (config-cflags-sse2avx): Likewise.
30016         (have-mfma4): Likewise.
30017         (config-cflags-novzeroupper): Likewise.
30018         * sysdeps/mach/configure.in (MIG): Likewise.
30019         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
30020         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
30021         LIBC_CONFIG_VAR.
30022         (config-cflags-avx): Likewise.
30023         (config-cflags-sse2avx): Likewise.
30024         (have-mfma4): Likewise.
30025         (config-cflags-novzeroupper): Likewise.
30026         * configure: Regenerated.
30027         * sysdeps/i386/configure: Likewise.
30028         * sysdeps/mach/configure: Likewise.
30029         * sysdeps/sparc/configure: Likewise.
30030         * sysdeps/x86_64/configure: Likewise.
30032 2013-03-20  Roland McGrath  <roland@hack.frob.com>
30034         [BZ #14812]
30035         * locale/programs/localedef.c (options): Put N_ translation marker
30036         on argument names, not just descriptions.
30038 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
30040         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
30042 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
30044         [BZ #14176]
30045         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
30047 2013-03-19  Roland McGrath  <roland@hack.frob.com>
30049         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
30050         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
30051         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
30052         [!BEFORE_ABORT] (before_abort): New function.
30053         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
30054         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
30055         (writev_for_fatal): New function.
30056         (WRITEV_FOR_FATAL): New macro; call that.
30057         (backtrace_and_maps): New function.
30058         (BEFORE_ABORT): New macro; call that.
30059         (struct str_list): Type removed.
30060         (__libc_message, __libc_fatal): Functions removed.
30061         Include <sysdeps/posix/libc_fatal.c> instead.
30063 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
30065         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
30066         constants.
30067         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
30068         double constants.
30070 2013-03-19  Andreas Schwab  <schwab@suse.de>
30072         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
30073         * sysdeps/gnu/configure: Regenerate.
30075         * configure.in: Substitute libc_cv_rtlddir.
30076         * configure: Regenerate.
30077         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
30078         * Makeconfig (rtlddir, inst_rtlddir): New variables.
30079         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
30080         * elf/Makefile (install-others, CFLAGS-interp.c)
30081         (ldso_install, common-ldd-rewrite): Likewise.
30082         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
30083         $(inst_slibdir)/$(rtld-installed-name).
30084         * scripts/rellns-sh: Add -p option.
30085         * Makerules (make-shlib-link): Use rellns-sh to get relative name
30086         for source.
30088 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
30090         * manual/nptl.texi: Renamed to ...
30091         * manual/threads.texi: ... this.
30092         * manual/Makefile (chapters): Update.
30094 2013-03-18  Roland McGrath  <roland@hack.frob.com>
30096         [BZ #14812]
30097         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
30098         on argument names, not just descriptions.
30099         * malloc/memusagestat.c (options): Likewise.
30100         * nss/getent.c (options): Likewise.
30102 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
30104         [BZ #14812]
30105         * iconv/iconv_prog.c (options): Put N_ translation marker
30106         on argument names, not just descriptions.
30107         * iconv/iconvconfig.c (options): Likewise.
30109 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
30111         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
30112         implementation which is faster on all x86_64 architectures.
30113         Tested on AMD, Intel Nehalem, SNB, IVB.
30114         * sysdeps/x86_64/strnlen.S: Likewise.
30116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
30117         Remove all multiarch strlen and strnlen versions.
30118         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
30119         Remove strlen and strnlen related parts.
30121         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
30122         Inline strlen part.
30123         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
30125         * sysdeps/x86_64/multiarch/strlen.S: Remove.
30126         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
30127         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
30128         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
30129         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
30130         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
30132 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
30134         * manual/memory.texi (Malloc Tunable Parameters):
30135         Sort parameters alphabetically. Add comments for missing entries.
30137 2013-03-17  David S. Miller  <davem@davemloft.net>
30139         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30141 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
30143         [BZ #15283]
30144         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
30145         for arguments at most half maximum finite value.
30146         * math/libm-test.inc (j0_test): Add more tests.
30147         (j1_test): Likewise.
30148         (y0_test): Likewise.
30149         (y1_test): Likewise.
30150         * sysdeps/i386/fpu/libm-test-ulps: Update.
30151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30153         [BZ #14155]
30154         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
30155         1 / x and functions P and Q for arguments above 0x1p256L.
30156         (__ieee754_y0l): Likewise.
30157         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
30158         (__ieee754_y1l): Likewise.
30159         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
30160         (j1_test): Likewise.
30161         (y0_test): Likewise.
30162         (y1_test): Likewise.
30164 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
30166         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
30167         variable.
30169 2013-03-15  Roland McGrath  <roland@hack.frob.com>
30171         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
30172         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
30173         zero since it's initialized to EXEC_PAGESIZE.
30175         * sysdeps/unix/sysv/linux/ldsodefs.h
30176         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
30177         * sysdeps/generic/ldsodefs.h: ... here.
30179 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
30181         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
30183         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
30184         math/test-snan.c.
30185         * math/test-snan.c: Renamed from
30186         sysdeps/powerpc/fpu/test-powerpc-snan.c.
30187         * math/Makefile (tests): Add test-snan.
30188         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
30189         test-powerpc-snan.
30191         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
30192         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
30193         functions.
30194         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
30195         __builtin_nan family of functions.
30196         * math/libm-test.inc (initialize): Initialize qnan_value with
30197         __builtin_nan family of functions.
30198         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
30199         Remove variables.
30200         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
30201         Remove functions.
30202         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
30203         storage class.  Initialize qNaN_var and sNaN_var with
30204         __builtin_nan and __builtin_nans families of functions,
30205         respectively.
30207         * math/libm-test.inc (acosh_test): Also test with qNaN input.
30208         (sqrt_test): Remove duplicate test with qNaN input.
30209         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
30210         (round_test, signbit_test, significand_test): Note missing +/-Inf
30211         as well as qNaN tests.
30213         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
30214         qNaN_var.  Fix a few strings, too.
30215         * math/libm-test.inc (nan_value): Rename to qnan_value.
30216         * math/gen-libm-test.pl (%beautify): Adjust to that.
30217         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
30218         * math/test-misc.c (main): Likewise.
30219         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
30220         to __qnan_bytes, and __qnan_union, respectively.
30221         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
30222         Likewise.
30223         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
30224         and lqnanval, respectively.
30225         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
30226         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
30227         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
30228         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
30230         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
30231         * math/test-misc.c (main) [__x86_64__]: Enable test for long
30232         doubles.
30234         * math/test-misc.c (main): Fix copy'n'pastos.
30235         * misc/tst-efgcvt.c (special): Likewise.
30237         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
30238         Remove declarations.
30240 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30242         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
30243         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
30244         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
30245         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
30247 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30249         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
30250         macro to return vdso values correctly in IFUNC implementations.
30251         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
30252         Optimization by using IFUNC.
30254 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30255             Richard Henderson  <rth@redhat.com>
30256             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30258         * Makefile.in (bench): New target.
30259         * NEWS: Mention the benchmark framework.
30260         * Rules (bench): Likewise.
30261         (binaries-bench): Generate binaries for functions to
30262         benchmark.
30263         * benchtests/Makefile: New makefile for benchmark tests.
30264         * benchtests/bench-skeleton.c: New skeleton file for benchmark
30265         programs.
30266         * benchtests/exp-inputs: New input file for EXP function.
30267         * benchtests/pow-inputs: New input file for POW function.
30268         * scripts/bench.pl: New script to generate source files for
30269         benchmark programs.
30271 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30273         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30274         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30275         computations on mantissa.  Use macros for rounding and
30276         division.
30277         (denorm): Likewise.
30278         (__dbl_mp): Likewise.
30279         (add_magnitudes): Likewise.
30280         (sub_magnitudes): Likewise.
30281         (__mul): Likewise.
30282         (__sqr): Likewise.
30283         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30284         powers of two in terms of TWOPOW macro.
30285         (mp_no): Make type of mantissa as MANTISSA_T.
30286         [!RADIXI]: Define RADIXI.
30287         [!TWO52]: Define TWO52.
30288         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30290         * manual/nptl.texi (cindex): Modify threads to pthreads.
30292 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
30294         * sysdeps/x86_64/preconfigure: Regenerated.
30296 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
30298         [BZ #14155]
30299         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30300         0x1p28 and above.
30301         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30302         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30303         0x1p28 and above.
30304         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30305         * math/libm-test.inc (j0_test): Do not allow one spurious
30306         underflow exception.
30307         (y1_test): Likewise.
30309 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30311         * manual/Makefile (chapters): Add nptl.
30312         * manual/debug.texi (Debugging Support): Add link to Threads
30313         chapter.
30314         * manual/nptl.texi: New file.
30316         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30318 2013-03-14  Petr Baudis  <pasky@ucw.cz>
30320         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30321         for non-NULL pointer before the memory validity test. Pointed
30322         out by Holger Brunck <holger.brunck@keymile.com>.
30324 2013-03-13  Andreas Schwab  <schwab@suse.de>
30326         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30327         instead of .os.
30329 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
30331         * timezone/zic.c: Update from tzcode 2013b.
30333 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
30335         * manual/install.texi (Configuring and compiling):
30336         Mention i686 and i586.
30337         * INSTALL: Regenerate.
30339 2013-03-12  Roland McGrath  <roland@hack.frob.com>
30341         * sysdeps/init_array/elf-init.c: New file.
30342         * csu/elf-init.c
30343         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30344         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30346         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30347         __gmon_start__ as global, but as static with a .preinit_array pointer.
30348         * sysdeps/init_array/gmon-start.c: New file.  Use that.
30349         * sysdeps/init_array/crti.S: New file, empty except for comments.
30350         * sysdeps/init_array/crtn.S: Likewise.
30352 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
30354         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30355         definining bcopy.
30356         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30357         Remove Prefer_SSE_for_memop.
30358         * sysdeps/x86_64/multiarch/init-arch.h: Remove
30359         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30360         HAS_PREFER_SSE_FOR_MEMOP.
30361         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30362         memset-x86-64.
30363         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30364         Remove bzero, memset ifunc support.
30365         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30366         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30367         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30368         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30370 2013-03-11  Andreas Schwab  <schwab@suse.de>
30372         [BZ #15234]
30373         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30374         by SHLIB_COMPAT.
30375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30376         (GLIBC_2.16): Remove pthread_atfork.
30378 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30380         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30381         (ptestcases.h): Likewise.
30383 2013-03-08  Roland McGrath  <roland@hack.frob.com>
30385         * Makeconfig ($(common-objpfx)config.status): Depend on
30386         sysdeps/*/preconfigure{,.in} too.
30388 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
30390         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30391         (__free_hook): Use void * instead of __malloc_ptr_t.
30392         (__malloc_hook): Likewise.
30393         (__realloc_hook): Likewise.
30394         (__memalign_hook): Likewise.
30395         (__after_morecore_hook): Likewise.
30396         * malloc/arena.c (save_malloc_hook): Likewise.
30397         (save_free_hook): Likewise.
30398         * malloc/hooks.c (malloc_hook_ini): Likewise.
30399         (realloc_hook_ini): Likewise.
30400         (memalign_hook_ini): Likewise.
30401         * malloc/malloc.c (malloc_hook_ini): Likewise.
30402         (realloc_hook_ini): Likewise.
30403         (memalign_hook_ini): Likewise.
30404         (__free_hook): Likewise.
30405         (__malloc_hook): Likewise.
30406         (__realloc_hook): Likewise.
30407         (__memalign_hook): Likewise.
30408         (__libc_malloc): Likewise.
30409         (__libc_free): Likewise.
30410         (__libc_realloc): Likewise.
30411         (__libc_memalign): Likewise.
30412         (__libc_valloc): Likewise.
30413         (__libc_pvalloc): Likewise.
30414         (__libc_calloc): Likewise.
30415         (__posix_memalign): Likewise.
30416         * malloc/morecore.c (__sbrk): Likewise.
30417         (__default_morecore): Likewise.
30419         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30421         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30422         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30423         __malloc_ptrdiff_t.
30425         * malloc/malloc.h (__malloc_size_t): Remove macro.
30426         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30427         __malloc_size_t.
30428         (old_memalign_hook): Likewise.
30429         (old_realloc_hook): Likewise.
30430         (struct hdr): Likewise.
30431         (flood): Likewise.
30432         (mallochook): Likewise.
30433         (memalignhook): Likewise.
30434         (reallochook): Likewise.
30435         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30436         (tr_old_realloc_hook): Likewise.
30437         (tr_old_memalign_hook): Likewise.
30438         (tr_mallochook): Likewise.
30439         (tr_reallochook): Likewise.
30440         (tr_memalignhook): Likewise.
30442 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30444         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30445         default_ldbl_pack and using as default implementation.
30446         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30447         implementation.
30448         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30449         redundant definition.
30450         (ldbl_insert_mantissa): Likewise.
30451         (ldbl_canonicalize): Likewise.
30452         (ldbl_nearbyint): Likewise.
30453         (ldbl_pack): Rename to ldbl_pack_ppc.
30454         (ldbl_unpack): Rename to ldbl_unpack_ppc.
30455         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30456         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30458 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30460         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30461         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30462         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30463         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30464         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30465         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30466         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30467         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30469 2013-03-07  Andreas Jaeger  <aj@suse.de>
30471         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30472         bits/mman-linux.h.
30474 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30476         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30477         Include mpa.h and declare __MPEXP.
30478         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30479         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30480         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30481         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30482         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30483         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30484         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30486         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30487         (__slowpow): Use long double EXPL and LOGL functions to
30488         compute POW.
30489         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30490         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30491         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30492         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30493         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30494         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30496         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30497         intermediate variable to calculate exponent.
30498         (__sqr): Likewise.
30499         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30500         Likewise.
30501         (__sqr): Likewise.
30503         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30504         [!NO__SQR]: Define __sqr.
30505         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30506         and NO__SQR.  Remove all code except __mul and __sqr.  Include
30507         sysdeps/ieee754/dbl-64/mpa.c.
30508         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30510         [BZ #12723]
30511         * posix/Makefile (tests): Add tst-pathconf.
30512         * posix/tst-pathconf.c: New test case.
30513         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30514         _PC_PIPE_BUF.
30515         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30517 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
30519         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30521 2013-03-06  Andreas Jaeger  <aj@suse.de>
30523         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30524         definition via __MAP_ANONYMOUS.
30526         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30527         it's not part of Linux headers.
30529         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30530         (MAP_HUGE_MASK): Define.
30532         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30533         Define.
30534         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30535         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30536         Define.
30537         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30538         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30539         Define.
30540         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30541         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30542         Define.
30543         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30545         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30546         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30547         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30548         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30549         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30550         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30552         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30553         Handle f2fs.
30555         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30556         Handle f2fs and efivarfs.
30558         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30559         f2fs.
30561         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30562         (EFIVARFS_MAGIC): Add.
30563         (F2FS_LINK_MAX): Add.
30565 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30567         * stdio-common/vfprintf.c: Replace __builtin_expect with
30568         __glibc_unlikely.
30570 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
30572         [BZ #13550]
30573         * sysdeps/generic/bp-sym.h: Remove file.
30574         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30575         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30576         <bp-sym.h> and <bp-asm.h>.
30577         (__longjmp): Don't use BP_SYM.
30578         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30579         and <bp-asm.h>.
30580         (memcpy): Don't use BP_SYM.
30581         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30582         <bp-sym.h> and <bp-asm.h>.
30583         (memcpy): Don't use BP_SYM.
30584         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30585         <bp-asm.h>.
30586         (memcpy): Don't use BP_SYM.
30587         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30588         <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/memcmp.S: Don't include
30596         <bp-sym.h> and <bp-asm.h>.
30597         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30598         pointers.
30599         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30600         <bp-sym.h> and <bp-asm.h>.
30601         (memcpy): Don't use BP_SYM.
30602         * sysdeps/powerpc/powerpc64/power4/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/power4/strncmp.S: Don't include
30611         <bp-sym.h> and <bp-asm.h>.
30612         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30613         pointers.
30614         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30615         <bp-sym.h> and <bp-asm.h>.
30616         (memcpy): Don't use BP_SYM.
30617         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30618         <bp-sym.h> and <bp-asm.h>.
30619         (memset): Don't use BP_SYM.
30620         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30621         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30622         (__bzero): Don't use BP_SYM.
30623         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30624         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30625         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30626         <bp-sym.h> and <bp-asm.h>.
30627         (__memchr): Don't use BP_SYM.
30628         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30629         <bp-sym.h> and <bp-asm.h>.
30630         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30631         pointers.
30632         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30633         <bp-sym.h> and <bp-asm.h>.
30634         (memcpy): Don't use BP_SYM.
30635         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30636         <bp-sym.h> and <bp-asm.h>.
30637         (__mempcpy): Don't use BP_SYM.
30638         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30639         <bp-sym.h> and <bp-asm.h>.
30640         (__memrchr): Don't use BP_SYM.
30641         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30642         <bp-sym.h> and <bp-asm.h>.
30643         (memset): Don't use BP_SYM.
30644         (__bzero): Likewise.
30645         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30646         <bp-sym.h> and <bp-asm.h>.
30647         (__rawmemchr): Don't use BP_SYM.
30648         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30649         <bp-sym.h> and <bp-asm.h>.
30650         (__STRCMP): Don't use BP_SYM.
30651         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30652         <bp-sym.h> and <bp-asm.h>.
30653         (strchr): Don't use BP_SYM.
30654         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30655         <bp-sym.h> and <bp-asm.h>.
30656         (__strchrnul): Don't use BP_SYM.
30657         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30658         <bp-sym.h> and <bp-asm.h>.
30659         (strlen): Don't use BP_SYM.
30660         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30661         <bp-sym.h> and <bp-asm.h>.
30662         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30663         pointers.
30664         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30665         <bp-sym.h> and <bp-asm.h>.
30666         (__strnlen): Don't use BP_SYM.
30667         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30668         <bp-sym.h> and <bp-asm.h>.
30669         (__GI__setjmp): Don't use BP_SYM.
30670         (_setjmp): Likewise.
30671         (__sigsetjmp): Likewise.
30672         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30673         (L(start_addresses)): Don't use BP_SYM.
30674         (_start): Likewise.
30675         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30676         <bp-asm.h>.
30677         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30678         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30679         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30680         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30681         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30682         <bp-asm.h>.
30683         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30684         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
30685         about bounded pointers.
30686         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30687         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30688         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30689         <bp-asm.h>.
30690         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30691         about bounded pointers.  Remove GKM FIXME comments.
30692         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30693         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30694         <bp-asm.h>.
30695         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30696         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
30697         Remove GKM FIXME comments.
30698         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30699         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30700         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30701         <bp-asm.h>.
30702         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30703         about bounded pointers.  Remove GKM FIXME comment.
30704         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30705         and <bp-asm.h>.
30706         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30707         pointers.
30708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30709         <bp-sym.h> and <bp-asm.h>.
30710         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30712         <bp-sym.h> and <bp-asm.h>.
30713         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30714         comment.
30716 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30718         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30719         call free(NULL).
30721 2013-03-05  David S. Miller  <davem@davemloft.net>
30723         * po/es.po: Update from translation team.
30725 2013-03-05  Andreas Jaeger  <aj@suse.de>
30727         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30728         <bits/mman-linux.h>.
30729         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30730         is fine.
30731         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30732         <bits/mman-linux.h> to end of file.
30733         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30734         is fine.
30735         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30736         <bits/mman-linux.h> to end of file.
30737         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30738         is fine.
30739         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30740         <bits/mman-linux.h> to end of file.
30742         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30743         (MCL_CURRENT, MCL_FUTURE): Define here.
30745 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30747         [BZ #15232]
30748         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30749         attribute_hidden.
30750         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30752 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30754         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30755         fourth parameter needed for rt_sigprocmask syscall.
30756         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30757         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30758         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30759         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30760         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30761         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30763 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
30765         [BZ #13550]
30766         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30767         comment about bounded pointers.
30768         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30769         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30771 2013-03-04  Andreas Jaeger  <aj@suse.de>
30773         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30774         common definitions.
30776         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30777         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30778         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30779         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30780         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30781         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30783 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30785         [BZ #15055]
30786         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30787         __ieee754_sqrl instead of __sqrl.
30789 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
30791         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30792         * sysdeps/powerpc/fpu_control.h: ... here.
30793         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30794         * sysdeps/powerpc/bits/fenvinline.h: ... here.
30795         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30796         * sysdeps/powerpc/bits/mathinline.h: ... here.
30798 2013-03-01  Roland McGrath  <roland@hack.frob.com>
30800         * elf/dl-hwcaps.c (_dl_important_hwcaps):
30801         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30802         to just [NEED_DL_SYSINFO_DSO].
30803         * elf/dl-support.c: Likewise.
30804         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30805         * elf/rtld.c (dl_main): Likewise.
30806         * elf/setup-vdso.h (setup_vdso): Likewise.
30807         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30808         * sysdeps/unix/sysv/linux/dl-sysdep.c
30809         (_dl_discover_osversion): Likewise.
30811 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
30813         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30814         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30816 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30818         * NEWS: Mention libm performance improvements and non-x86 PI
30819         futex support.
30821         * csu/libc-start.c (__pthread_initialize_minimal): Change
30822         function arguments.
30823         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30825 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
30827         [BZ #13550]
30828         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30829         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30830         <bp-sym.h> and <bp-asm.h>.
30831         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30832         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30833         and <bp-asm.h>.
30834         (memcpy): Don't use BP_SYM.
30835         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30836         <bp-asm.h>.
30837         (__mpn_add_n): Don't use BP_SYM.
30838         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30839         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30840         and <bp-asm.h>.
30841         (__mpn_addmul_1): Don't use BP_SYM.
30842         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30843         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30844         <bp-sym.h>.
30845         (_setjmp): Don't use BP_SYM.
30846         (__novmx_setjmp): Likewise.
30847         (__GI__setjmp): Likewise.
30848         (__vmx_setjmp): Likewise.
30849         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30850         <bp-sym.h>.
30851         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30852         (__bzero): Don't use BP_SYM.
30853         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30854         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30855         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30856         <bp-sym.h> and <bp-asm.h>.
30857         (memcpy): Don't use BP_SYM.
30858         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30859         <bp-sym.h> and <bp-asm.h>.
30860         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30861         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30862         <bp-sym.h> and <bp-asm.h>.
30863         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30864         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30865         <bp-asm.h>.
30866         (__mpn_lshift): Don't use BP_SYM.
30867         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30868         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30869         <bp-asm.h>.
30870         (memset): Don't use BP_SYM.
30871         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30872         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30873         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30874         <bp-asm.h>.
30875         (__mpn_mul_1): Don't use BP_SYM.
30876         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30877         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30878         <bp-sym.h> and <bp-asm.h>.
30879         (memcmp): Don't use BP_SYM.
30880         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30881         <bp-sym.h> and <bp-asm.h>.
30882         (memcpy): Don't use BP_SYM.
30883         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30884         <bp-sym.h> and <bp-asm.h>.
30885         (memset): Don't use BP_SYM.
30886         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30887         <bp-sym.h> and <bp-asm.h>.
30888         (strncmp): Don't use BP_SYM.
30889         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30890         <bp-sym.h> and <bp-asm.h>.
30891         (memcpy): Don't use BP_SYM.
30892         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30893         <bp-sym.h> and <bp-asm.h>.
30894         (memset): Don't use BP_SYM.
30895         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30896         <bp-sym.h> and <bp-asm.h>.
30897         (__memchr): Don't use BP_SYM.
30898         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30899         <bp-sym.h> and <bp-asm.h>.
30900         (memcmp): Don't use BP_SYM.
30901         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30902         <bp-sym.h> and <bp-asm.h>.
30903         (memcpy): Don't use BP_SYM.
30904         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30905         <bp-sym.h> and <bp-asm.h>.
30906         (__mempcpy): Don't use BP_SYM.
30907         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30908         <bp-sym.h> and <bp-asm.h>.
30909         (__memrchr): Don't use BP_SYM.
30910         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30911         <bp-sym.h> and <bp-asm.h>.
30912         (memset): Don't use BP_SYM.
30913         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30914         <bp-sym.h> and <bp-asm.h>.
30915         (__rawmemchr): Don't use BP_SYM.
30916         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30917         <bp-sym.h> and <bp-asm.h>.
30918         (__STRCMP): Don't use BP_SYM.
30919         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30920         <bp-sym.h> and <bp-asm.h>.
30921         (strchr): Don't use BP_SYM.
30922         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30923         <bp-sym.h> and <bp-asm.h>.
30924         (__strchrnul): Don't use BP_SYM.
30925         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30926         <bp-sym.h> and <bp-asm.h>.
30927         (strlen): Don't use BP_SYM.
30928         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30929         <bp-sym.h> and <bp-asm.h>.
30930         (strncmp): Don't use BP_SYM.
30931         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30932         <bp-sym.h> and <bp-asm.h>.
30933         (__strnlen): Don't use BP_SYM.
30934         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30935         <bp-asm.h>.
30936         (__mpn_rshift): Don't use BP_SYM.
30937         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30938         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30939         <bp-sym.h> and <bp-asm.h>.
30940         (__sigsetjmp): Don't use BP_SYM.
30941         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30942         (L(start_addresses)): Don't use BP_SYM.
30943         (_start): Likewise.
30944         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30945         <bp-asm.h>.
30946         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30947         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30948         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30949         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30950         <bp-asm.h>.
30951         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30952         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30953         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30954         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30955         <bp-asm.h>.
30956         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30957         comments.
30958         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30959         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30960         <bp-asm.h>.
30961         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30962         FIXME comments.
30963         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30964         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30965         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30966         <bp-asm.h>.
30967         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30968         comment.
30969         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30970         and <bp-asm.h>.
30971         (strncmp): Don't use BP_SYM,
30972         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30973         <bp-asm.h>.
30974         (__mpn_sub_n): Don't use BP_SYM.
30975         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30976         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30977         and <bp-asm.h>.
30978         (__mpn_submul_1): Don't use BP_SYM.
30979         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30980         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30981         <bp-sym.h> and <bp-asm.h>.
30982         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30984         <bp-sym.h> and <bp-asm.h>.
30985         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30986         comment.
30988 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30990         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30991         Use ZK to minimize writes to Z.
30992         (sub_magnitudes): Simplify code a bit.
30993         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30994         Use ZK to minimize writes to Z.
30995         (sub_magnitudes): Simplify code a bit.
30997 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30999         * csu/gmon-start.c: Add special exception to license text.
31001 2013-02-27  Richard Henderson  <rth@redhat.com>
31003         * scripts/config.guess: Update from config.git.
31004         * scripts/config.sub: Likewise.
31006 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31008         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
31010         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
31012         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
31014         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
31016         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
31018 2013-02-26  Roland McGrath  <roland@hack.frob.com>
31020         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
31021         [$(build-shared = yes].
31023 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31025         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
31026         (__mul): Reduce iterations for calculating mantissa.
31028         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
31029         MPTWO.
31030         (__mpranred): Likewise.
31032         [BZ #15160]
31033         * malloc/memusagestat.c (main): Draw graphs for heap and stack
31034         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
31036 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
31038         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
31039         Define __attribute__.
31041 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31043         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
31044         unused.
31045         * posix/regex_internal.h (__attribute): Remove.
31046         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
31047         (re_string_context_at): Likewise.
31048         (bitset_not): Use __attribute__ and mark function as possibly
31049         unused.
31050         (bitset_merge): Likewise.
31051         (bitset_mask): Likewise.
31052         (re_string_char_size_at): Likewise.
31053         (re_string_wchar_at): Likewise.
31054         (re_string_elem_size_at): Likewise.
31056 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
31058         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
31059         code.
31060         (cc32): Likewise.
31062         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
31063         (__acr): Likewise.
31064         (__cpy): Likewise.
31065         (norm): Likewise.
31066         (denorm): Likewise.
31067         (__dbl_mp): Likewise.
31068         (add_magnitudes): Likewise.
31069         (sub_magnitudes): Likewise.
31070         (__mul): Likewise.
31071         (__inv): Likewise.
31073         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
31074         style.
31076         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
31077         style.
31079         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
31080         code.
31082         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
31083         up changes with default code.
31084         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
31085         Likewise.
31087 2013-02-24  Allan McRae  <allan@archlinux.org>
31089         * manual/socket.texi (The Internet Namespace): Order menu items
31090         to match that in the file.
31092         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
31093         node listing of the info page menu.
31095 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
31097         [BZ #13550]
31098         * sysdeps/i386/bp-asm.h: Remove file.
31099         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31100         (PARMS): Do not use macros from bp-asm.h.
31101         (S1): Likewise.
31102         (S2): Likewise.
31103         (SIZE): Likewise.
31104         (__mpn_add_n): Do not use BP_SYM
31105         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
31106         "bp-asm.h".
31107         (PARMS): Do not use macros from bp-asm.h.
31108         (S1): Likewise.
31109         (SIZE): Likewise.
31110         (__mpn_addmul_1): Do not use BP_SYM
31111         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
31112         "bp-asm.h".
31113         (PARMS): Do not use macros from bp-asm.h.
31114         (SIGMSK): Likewise.
31115         (_setjmp): Likewise.  Do not use BP_SYM.
31116         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
31117         "bp-asm.h".
31118         (PARMS): Do not use macros from bp-asm.h.
31119         (SIGMSK): Likewise.
31120         (setjmp): Likewise.  Do not use BP_SYM.
31121         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
31122         "bp-asm.h".
31123         (PARMS): Do not use macros from bp-asm.h.
31124         (__frexp): Do not use BP_SYM.
31125         (frexp): Likewise.
31126         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
31127         "bp-asm.h".
31128         (PARMS): Do not use macros from bp-asm.h.
31129         (__frexpf): Do not use BP_SYM.
31130         (frexpf): Likewise.
31131         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
31132         "bp-asm.h".
31133         (PARMS): Do not use macros from bp-asm.h.
31134         (__frexpl): Do not use BP_SYM.
31135         (frexpl): Likewise.
31136         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
31137         "bp-asm.h".
31138         (PARMS): Do not use macros from bp-asm.h.
31139         (__remquo): Do not use BP_SYM.
31140         (remquo): Likewise.
31141         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
31142         "bp-asm.h".
31143         (PARMS): Do not use macros from bp-asm.h.
31144         (__remquof): Do not use BP_SYM.
31145         (remquof): Likewise.
31146         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
31147         "bp-asm.h".
31148         (PARMS): Do not use macros from bp-asm.h.
31149         (__remquol): Do not use BP_SYM.
31150         (remquol): Likewise.
31151         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
31152         "bp-asm.h".
31153         (PARMS): Do not use macros from bp-asm.h.
31154         (DEST): Likewise.
31155         (SRC): Likewise.
31156         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
31157         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
31158         "bp-asm.h".
31159         (PARMS): Do not use macros from bp-asm.h.
31160         (strlen): Do not use BP_SYM.
31161         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
31162         "bp-asm.h".
31163         (PARMS): Do not use macros from bp-asm.h.
31164         (S1): Likewise.
31165         (S2): Likewise.
31166         (SIZE): Likewise.
31167         (__mpn_add_n): Do not use BP_SYM.
31168         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
31169         "bp-asm.h".
31170         (PARMS): Do not use macros from bp-asm.h.
31171         (S1): Likewise.
31172         (SIZE): Likewise.
31173         (__mpn_addmul_1): Do not use BP_SYM.
31174         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
31175         weak_alias.
31176         (bzero): Likewise.
31177         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
31178         "bp-asm.h".
31179         (PARMS): Do not use macros from bp-asm.h.
31180         (S): Likewise.
31181         (SIZE): Likewise.
31182         (__mpn_lshift): Do not use BP_SYM.
31183         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
31184         "bp-asm.h".
31185         (PARMS): Do not use macros from bp-asm.h.
31186         (DEST): Likewise.
31187         (SRC): Likewise.
31188         (LEN): Likewise.
31189         (memcpy): Likewise.  Do not use BP_SYM.
31190         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
31191         libc_hidden_def and weak_alias.
31192         (mempcpy): Do not use BP_SYM in weak_alias.
31193         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
31194         "bp-asm.h".
31195         (PARMS): Do not use macros from bp-asm.h.
31196         (DEST): Likewise.
31197         (LEN): Likewise.
31198         [!BZERO_P] (CHR): Likewise.
31199         (memset): Likewise.  Do not use BP_SYM.
31200         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
31201         "bp-asm.h".
31202         (PARMS): Do not use macros from bp-asm.h.
31203         (S1): Likewise.
31204         (SIZE): Likewise.
31205         (__mpn_mul_1): Do not use BP_SYM.
31206         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
31207         "bp-asm.h".
31208         (PARMS): Do not use macros from bp-asm.h.
31209         (S): Likewise.
31210         (SIZE): Likewise.
31211         (__mpn_rshift): Do not use BP_SYM.
31212         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
31213         "bp-asm.h".
31214         (PARMS): Do not use macros from bp-asm.h.
31215         (STR): Likewise.
31216         (CHR): Likewise.
31217         (strchr): Likewise.  Do not use BP_SYM.
31218         (index): Do not use BP_SYM in weak_alias.
31219         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
31220         "bp-asm.h".
31221         (PARMS): Do not use macros from bp-asm.h.
31222         (DEST): Likewise.
31223         (SRC): Likewise.
31224         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
31225         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
31226         "bp-asm.h".
31227         (PARMS): Do not use macros from bp-asm.h.
31228         (strlen): Do not use BP_SYM.
31229         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
31230         "bp-asm.h".
31231         (PARMS): Do not use macros from bp-asm.h.
31232         (S1): Likewise.
31233         (S2): Likewise.
31234         (SIZE): Likewise.
31235         (__mpn_sub_n): Do not use BP_SYM.
31236         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
31237         "bp-asm.h".
31238         (PARMS): Do not use macros from bp-asm.h.
31239         (S1): Likewise.
31240         (SIZE): Likewise.
31241         (__mpn_submul_1): Do not use BP_SYM.
31242         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
31243         "bp-asm.h".
31244         (PARMS): Do not use macros from bp-asm.h.
31245         (S1): Likewise.
31246         (S2): Likewise.
31247         (SIZE): Likewise.
31248         (__mpn_add_n): Do not use BP_SYM.
31249         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
31250         weak_alias.
31251         (bzero): Likewise.
31252         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
31253         "bp-asm.h".
31254         (PARMS): Do not use macros from bp-asm.h.
31255         (BLK2): Likewise.
31256         (LEN): Likewise.
31257         (memcmp): Do not use BP_SYM.
31258         (bcmp): Do not use BP_SYM in weak_alias.
31259         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31260         "bp-asm.h".
31261         (PARMS): Do not use macros from bp-asm.h.
31262         (DEST): Likewise.
31263         (SRC): Likewise.
31264         (LEN): Likewise.
31265         (memcpy): Likewise.  Do not use BP_SYM.
31266         * sysdeps/i386/i686/memmove.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         (SRC): Likewise.
31271         (LEN): Likewise.
31272         (memmove): Likewise.  Do not use BP_SYM.
31273         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31274         "bp-asm.h".
31275         (PARMS): Do not use macros from bp-asm.h.
31276         (DEST): Likewise.
31277         (SRC): Likewise.
31278         (LEN): Likewise.
31279         (__mempcpy): Likewise.  Do not use BP_SYM.
31280         (mempcpy): Do not use BP_SYM in weak_alias.
31281         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31282         "bp-asm.h".
31283         (PARMS): Do not use macros from bp-asm.h.
31284         (DEST): Likewise.
31285         (LEN): Likewise.
31286         [!BZERO_P] (CHR): Likewise.
31287         (memset): Likewise.  Do not use BP_SYM.
31288         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31289         "bp-asm.h".
31290         (PARMS): Do not use macros from bp-asm.h.
31291         (STR2): Likewise.
31292         (strcmp): Do not use BP_SYM.
31293         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31294         "bp-asm.h".
31295         (PARMS): Do not use macros from bp-asm.h.
31296         (STR): Likewise.
31297         (DELIM): Likewise.
31298         [USE_AS_STRTOK_R] (SAVE): Likewise.
31299         (FUNCTION): Likewise.  Do not use BP_SYM.
31300         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31301         aliases.
31302         (strtok_r): Likewise.
31303         (__GI___strtok_r): Likewise.
31304         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31305         (PARMS): Do not use macros from bp-asm.h.
31306         (S): Likewise.
31307         (SIZE): Likewise.
31308         (__mpn_lshift): Do not use BP_SYM.
31309         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31310         (PARMS): Do not use macros from bp-asm.h.
31311         (STR): Likewise.
31312         (CHR): Likewise.
31313         (__memchr): Do not use BP_SYM.
31314         (memchr): Do not use BP_SYM in weak_alias.
31315         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31316         (PARMS): Do not use macros from bp-asm.h.
31317         (BLK2): Likewise.
31318         (LEN): Likewise.
31319         (memcmp): Do not use BP_SYM.
31320         (bcmp): Do not use BP_SYM in weak_alias.
31321         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31322         (PARMS): Do not use macros from bp-asm.h.
31323         (S1): Likewise.
31324         (SIZE): Likewise.
31325         (__mpn_mul_1): Do not use BP_SYM.
31326         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31327         "bp-asm.h".
31328         (PARMS): Do not use macros from bp-asm.h.
31329         (STR): Likewise.
31330         (CHR): Likewise.
31331         (__rawmemchr): Do not use BP_SYM.
31332         (rawmemchr): Do not use BP_SYM in weak_alias.
31333         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31334         (PARMS): Do not use macros from bp-asm.h.
31335         (S): Likewise.
31336         (SIZE): Likewise.
31337         (__mpn_rshift): Do not use BP_SYM.
31338         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31339         (PARMS): Do not use macros from bp-asm.h.
31340         (SIGMSK): Likewise.
31341         (__sigsetjmp): Likewise.  Do not use BP_SYM.
31342         * sysdeps/i386/start.S: Do not include "bp-sym.h".
31343         (_start): Do not use BP_SYM.
31344         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31345         (PARMS): Do not use macros from bp-asm.h.
31346         (DEST): Likewise.
31347         (SRC): Likewise.
31348         (__stpcpy): Likewise.  Do not use BP_SYM.
31349         (stpcpy): Do not use BP_SYM in weak_alias.
31350         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31351         "bp-asm.h".
31352         (PARMS): Do not use macros from bp-asm.h.
31353         (DEST): Likewise.
31354         (SRC): Likewise.
31355         (LEN): Likewise.
31356         (__stpncpy): Likewise.  Do not use BP_SYM.
31357         (stpncpy): Do not use BP_SYM in weak_alias.
31358         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31359         (PARMS): Do not use macros from bp-asm.h.
31360         (STR): Likewise.
31361         (CHR): Likewise.
31362         (strchr): Likewise.  Do not use BP_SYM.
31363         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31364         "bp-asm.h".
31365         (PARMS): Do not use macros from bp-asm.h.
31366         (STR): Likewise.
31367         (CHR): Likewise.
31368         (__strchrnul): Likewise.  Do not use BP_SYM.
31369         (strchrnul): Do not use BP_SYM in weak_alias.
31370         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31371         "bp-asm.h".
31372         (PARMS): Do not use macros from bp-asm.h.
31373         (STOP): Likewise.
31374         (strcspn): Do not use BP_SYM.
31375         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31376         "bp-asm.h".
31377         (PARMS): Do not use macros from bp-asm.h.
31378         (STR): Likewise.
31379         (STOP): Likewise.
31380         (strpbrk): Likewise.  Do not use BP_SYM.
31381         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31382         "bp-asm.h".
31383         (PARMS): Do not use macros from bp-asm.h.
31384         (STR): Likewise.
31385         (CHR): Likewise.
31386         (strrchr): Likewise.  Do not use BP_SYM.
31387         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31388         (PARMS): Do not use macros from bp-asm.h.
31389         (SKIP): Likewise.
31390         (strspn): Do not use BP_SYM.
31391         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31392         (PARMS): Do not use macros from bp-asm.h.
31393         (STR): Likewise.
31394         (DELIM): Likewise.
31395         (SAVE): Likewise.
31396         (FUNCTION): Likewise.  Do not use BP_SYM.
31397         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31398         aliases.
31399         (strtok_r): Likewise.
31400         (__GI___strtok_r): Likewise.
31401         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31402         (PARMS): Do not use macros from bp-asm.h.
31403         (S1): Likewise.
31404         (S2): Likewise.
31405         (SIZE): Likewise.
31406         (__mpn_sub_n): Do not use BP_SYM.
31407         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31408         "bp-asm.h".
31409         (PARMS): Do not use macros from bp-asm.h.
31410         (S1): Likewise.
31411         (SIZE): Likewise.
31412         (__mpn_submul_1): Do not use BP_SYM.
31413         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31414         <bp-sym.h>.
31415         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31416         and <bp-asm.h>.
31417         (PARMS): Do not use macros from bp-asm.h.
31418         (FLAGS): Likewise.
31419         (PTID): Likewise.
31420         (TLS): Likewise.
31421         (CTID): Likewise.
31422         (__clone): Do not use BP_SYM.
31423         (clone): Do not use BP_SYM in weak_alias.
31424         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31425         and <bp-asm.h>.
31426         (PARMS): Do not use macros from bp-asm.h.
31427         (LEN): Likewise.
31428         (__mmap64): Do not use BP_SYM.
31429         (mmap64): Do not use BP_SYM in weak_alias.
31430         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31431         <bp-sym.h> and <bp-asm.h>.
31432         (PARMS): Do not use macros from bp-asm.h.
31433         (__posix_fadvise64_l64): Do not use BP_SYM.
31434         * sysdeps/unix/sysv/linux/i386/semtimedop.S
31435         (PARMS): Do not use macros from bp-asm.h.
31436         (NSOPS): Likewise.
31437         (semtimedop): Do not use BP_SYM.
31438         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31439         and <bp-asm.h>.
31441 2013-02-21  Allan McRae  <allan@archlinux.org>
31443         * manual/message.texi (Charset conversion in gettext):
31444         Move @end statement to beginning of line.
31446 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31448         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31449         static.
31450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31451         Likewise.
31453         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31454         (denorm): Likewise.
31455         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31456         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31458 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31460         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31461         tail-call to the resolved function if pltexit isn't needed.
31463 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31465         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31466         or Y being zero as being unlikely.
31467         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31468         Likewise.
31470 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
31472         * manual/nss.texi (System Databases and Name Service Switch):
31473         Remove frobnicate @pxref.
31475 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31477         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31478         __attribute__ ((unused)) to __attribute__ ((__unused__)).
31480 2013-02-20  Petr Machata  <pmachata@redhat.com>
31482         * elf/elf.h (R_ARM_TARGET1): New macro.
31483         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31484         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31485         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31486         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31487         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31488         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31489         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31490         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31491         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31492         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31493         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31494         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31495         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31496         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31497         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31498         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31499         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31500         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31501         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31502         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31503         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31504         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31505         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31506         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31507         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31508         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31509         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31510         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31511         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31512         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31513         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31514         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31515         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31516         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31517         (R_ARM_THM_GOT_BREL12): Likewise.
31518         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31519         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31520         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31521         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31522         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31523         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31524         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31525         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31526         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31528 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31530         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31531         __attribute_used__ to __attribute__ ((unused)).
31533 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31535         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31536         powerpc mpa.c.
31537         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31538         comment formatting.
31539         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31541 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
31543         [BZ #13550]
31544         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31545         Remove macro.
31546         (ENTER): Remove both macro definitions.
31547         (LEAVE): Likewise.
31548         (CHECK_BOUNDS_LOW): Likewise.
31549         (CHECK_BOUNDS_HIGH): Likewise.
31550         (CHECK_BOUNDS_BOTH): Likewise.
31551         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31552         (RETURN_BOUNDED_POINTER): Likewise.
31553         (RETURN_NULL_BOUNDED_POINTER): Likewise.
31554         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31555         (POP_ERRNO_LOCATION_RETURN): Likewise.
31556         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31557         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31558         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31559         macros.
31560         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31561         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31562         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31563         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31564         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31565         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31566         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31567         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31568         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31569         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31570         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31571         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31572         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31573         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31574         removed macros.
31575         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31576         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31577         macros.
31578         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31579         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31580         * sysdeps/i386/i586/memset.S (memset): Likewise.
31581         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31582         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31583         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31584         macros.
31585         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31586         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31587         Change uses of L(2) to L(out).
31588         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31589         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31590         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31591         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31592         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31593         removed macros.
31594         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31595         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31596         macros.
31597         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31598         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31599         (RETURN): Do not use macro LEAVE.
31600         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31601         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31602         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31603         * sysdeps/i386/i686/memset.S (memset): Likewise.
31604         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31605         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31606         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31607         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31608         Likewise.
31609         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31610         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
31611         L(1_2) and L(1_3) into L(1).
31612         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31613         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31614         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31615         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31616         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31617         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31618         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31619         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31620         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31621         macros.
31622         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31623         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31624         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31625         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31626         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31627         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31628         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31629         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31630         * sysdeps/i386/strcspn.S (strcspn): Likewise.
31631         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31632         * sysdeps/i386/strrchr.S (strrchr): Likewise.
31633         * sysdeps/i386/strspn.S (strspn): Likewise.
31634         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31635         conditional code.
31636         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31637         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31638         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31639         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
31640         L(1_3) into L(1_1).
31641         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31642         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31643         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31644         macros.
31645         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31647 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
31649         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31650         macro.
31652 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31654         * math/atest-exp.c (exp_mpn): Remove ROUND.
31655         * math/atest-exp2.c (exp_mpn): Likewise.
31656         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31658         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31659         * stdlib/tst-tls-atexit-lib.c: Likewise.
31660         * stdlib/tst-tls-atexit.c: Likewise.
31662 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31664         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31665         and __attribute_alloc_size__.
31667 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31669         * include/programs/xmalloc.h: Change __attribute_alloc_size to
31670         __attribute_alloc_size__.
31671         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31672         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31674 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31676         * include/programs/xmalloc.h: New file.
31677         * catgets/gencat.c: Include it.
31678         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31679         * elf/pldd.c: Likewise.
31680         * iconv/iconv_charmap.c: Likewise.
31681         * iconv/iconvconfig.c: Likewise.
31682         * iconv/strtab.c: Likewise.
31683         * locale/programs/locale.c: Likewise.
31684         * locale/programs/localedef.h: Likewise.
31685         * locale/programs/simple-hash.c: Likewise.
31686         * nscd/nscd.h: Likewise.
31687         * nss/makedb.c: Likewise.
31688         * sysdeps/generic/ldconfig.h: Likewise.
31690 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31692         * Versions.def: Add GLIBC_2.18.
31693         * include/link.h (struct link_map): New member l_tls_dtor_count.
31694         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31695         (__call_tls_dtors): Likewise.
31696         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31697         __cxa_thread_atexit_impl.
31698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31699         Likewise.
31700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31701         Likewise.
31702         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31703         Likewise.
31704         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31705         Likewise.
31706         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31707         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31708         Likewise.
31709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31710         Likewise.
31711         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31712         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31713         Likewise.
31714         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31715         (tests): Add test case tst-tls-atexit.
31716         (modules-names): Add shared library for tst-tls-atexit.
31717         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31718         (GLIBC_PRIVATE): Add __call_tls_dtors.
31719         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31720         for libstdc++.
31721         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31722         * stdlib/tst-tls-atexit.c: New test case.
31723         * stdlib/tst-tls-atexit-lib.c: New test case.
31725         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31727         * elf/Versions (ld): Add _dl_find_dso_for_object.
31728         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31729         * elf/dl-open.c (_dl_find_dso_for_object): New function.
31730         (dl_open_worker): Use _dl_find_dso_for_object.
31731         * elf/dl-sym.c (do_sym): Likewise.
31732         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31734 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31736         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31737         Syntactic changes only.
31738         (_dl_runtime_profile): Do a tail-call to the resolved function.
31740 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
31742         [BZ #13550]
31743         * sysdeps/x86_64/bp-asm.h: Remove file.
31744         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31745         <bp-sym.h> and <bp-asm.h>.
31746         (__clone): Do not use BP_SYM.
31747         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31748         <bp-sym.h> and <bp-asm.h>.
31749         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31750         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31751         "bp-asm.h".
31752         (_setjmp): Do not use BP_SYM.
31753         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31754         "bp-asm.h".
31755         (setjmp): Do not use BP_SYM.
31756         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31757         libc_hidden_def.
31758         (mempcpy): Do not use BP_SYM in weak_alias.
31759         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31760         "bp-asm.h".
31761         (strchr): Do not use BP_SYM.
31762         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31763         "bp-asm.h".
31764         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31765         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31766         (_start): Do not use BP_SYM.
31767         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31768         "bp-asm.h".
31769         (strcat): Do not use BP_SYM.
31770         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31771         "bp-asm.h".
31772         (STRCMP): Do not use BP_SYM.
31773         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31774         "bp-asm.h".
31775         (STRCPY): Do not use BP_SYM.
31776         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31777         "bp-asm.h".
31778         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31779         "bp-asm.h".
31780         (FUNCTION): Do not use BP_SYM.
31781         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31782         weak_alias.
31783         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31785 2013-02-17  Andreas Jaeger  <aj@suse.de>
31787         * time/Versions: Sort entries.
31788         * string/Versions: Likewise.
31789         * resolv/Versions: Likewise.
31790         * posix/Versions: Likewise.
31791         * iconv/Versions: Likewise.
31792         * elf/Versions: Likewise.
31793         * wcsmbs/Versions: Likewise.
31795 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31797         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31798         loop termination condition.
31800         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31801         variable to calculate EZ.
31802         (__sqr): Likewise.
31804         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31805         the lower precision input.
31807 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
31809         [BZ #13550]
31810         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31811         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31812         (run-via-rtld-prefix): Do not handle %-bp tests.
31813         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31814         (all-object-suffixes): Remove .ob.
31815         (bppfx): Remove variable.
31816         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31817         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31818         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31819         [$(build-bounded) = yes] (libtype.ob): Likewise.
31820         * Makerules (elide-routines.ob): Remove variable.
31821         (do-tests-clean): Do not handle *-bp.out.
31822         (common-mostlyclean): Do not handle *-bp and *-bp.out.
31823         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31824         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31825         (tests): Do not include $(tests-bp.out).
31826         (xtests): Do not include $(xtests-bp.out).
31827         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31828         [$(build-bounded) = yes] ($(addprefix
31829         $(objpfx),$(binaries-bounded))): Remove rule.
31830         ($(objpfx)%-bp.out): Remove rule.
31831         * config.make.in (build-bounded): Remove variable.
31832         * crypt/Makefile [$(build-bounded) = yes]
31833         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31834         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31835         append to variable.
31836         [$(build-bounded) = yes] (install-lib): Likewise.
31837         [$(build-bounded) = yes] (generated): Likewise.
31838         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31839         Remove rule.
31840         * intl/Makefile [$(build-bounded) = yes]
31841         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31842         * math/Makefile [$(build-bounded) = yes]
31843         ($(tests:%=$(objpfx)%-bp): Likewise.
31844         * misc/Makefile [$(build-bounded) = yes]
31845         ($(objpfx)tst-tsearch-bp): Likewise.
31846         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31847         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31848         Remove dependency.
31849         * string/Makefile (o-objects.ob): Remove variable.
31850         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31851         (CFLAGS-.ob): Remove variable.
31852         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31853         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31854         both definitions of variable.
31855         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31856         (ASFLAGS-.ob): Remove variable.
31858 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31860         [BZ #13550]
31861         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31862         Remove __BOUNDED_POINTERS__ from condition.
31863         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31864         * string/bits/string2.h [!__NO_STRING_INLINES &&
31865         !__BOUNDED_POINTERS__]: Likewise.
31866         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31867         Likewise.
31868         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31869         Remove conditional code.
31870         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31871         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31872         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31873         condition.
31875         [BZ #13550]
31876         * csu/libc-start.c: Do not include <bp-sym.h>.
31877         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31878         * elf/dl-open.c: Do not include <bp-sym.h>.
31879         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31880         * math/fegetenv.c: Do not include <bp-sym.h>.
31881         (fegetenv): Do not use BP_SYM in versioned symbols.
31882         * nptl/sysdeps/pthread/bits/libc-lockP.h
31883         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31884         <bp-sym.h>.
31885         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31886         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31887         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31888         (__pthread_mutex_destroy): Likewise.
31889         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31890         (__pthread_mutex_lock): Likewise.
31891         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31892         (__pthread_mutex_trylock): Likewise.
31893         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31894         (__pthread_mutex_unlock): Likewise.
31895         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31896         (__pthread_mutexattr_init): Likewise.
31897         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31898         (__pthread_mutexattr_destroy): Likewise.
31899         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31900         (__pthread_mutexattr_settype): Likewise.
31901         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31902         (__pthread_rwlock_init): Likewise.
31903         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31904         (__pthread_rwlock_destroy): Likewise.
31905         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31906         (__pthread_rwlock_rdlock): Likewise.
31907         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31908         (__pthread_rwlock_tryrdlock): Likewise.
31909         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31910         (__pthread_rwlock_wrlock): Likewise.
31911         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31912         (__pthread_rwlock_trywrlock): Likewise.
31913         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31914         (__pthread_rwlock_unlock): Likewise.
31915         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31916         (__pthread_key_create): Likewise.
31917         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31918         (__pthread_setspecific): Likewise.
31919         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31920         (__pthread_getspecific): Likewise.
31921         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31922         Likewise.
31923         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31924         (_pthread_cleanup_push_defer): Likewise.
31925         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31926         (_pthread_cleanup_pop_restore): Likewise.
31927         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31928         (pthread_setcancelstate): Likewise.
31929         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31930         <bp-sym.h>.
31931         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31932         (memchr): Do not use BP_SYM in weak_alias.
31933         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31934         (fegetenv): Do not use BP_SYM in versioned symbols.
31935         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31936         (fesetenv): Do not use BP_SYM in versioned symbols.
31937         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31938         (feupdateenv): Do not use BP_SYM in versioned symbols.
31939         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31940         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31941         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31942         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31943         (open64): Do not use BP_SYM in weak_alias.
31944         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31945         (fegetenv): Do not use BP_SYM in versioned symbols.
31946         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31947         (fesetenv): Do not use BP_SYM in versioned symbols.
31948         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31949         (feupdateenv): Do not use BP_SYM in versioned symbols.
31950         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31951         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31952         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31953         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31954         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31955         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31956         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31957         <bp-sym.h>.
31958         (__libc_start_main): Do not use BP_SYM.
31960 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31962         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31963         redundant return line.
31964         (norm): Likewise.
31965         (denorm): Likewise.
31966         (dbl_mp): Likewise.
31967         (sub_magnitudes): Likewise.
31968         (__add): Likewise.
31969         (__sub): Likewise.
31970         (__mul): Likewise.
31971         (__inv): Likewise.
31972         (__dvd): Likewise.
31973         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31974         (norm): Likewise.
31975         (denorm): Likewise.
31976         (dbl_mp): Likewise.
31977         (sub_magnitudes): Likewise.
31978         (__add): Likewise.
31979         (__sub): Likewise.
31980         (__mul): Likewise.
31981         (__inv): Likewise.
31982         (__dvd): Likewise.
31984         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31985         instead of __mul.
31986         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31987         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31988         (cc32): Likewise.
31990         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31991         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31992         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31993         of __mul for squares.
31994         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31995         function
31996         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31997         Likewise.
31998         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31999         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
32001 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
32003         [BZ #13550]
32004         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
32005         code.
32006         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
32007         prototype or function definition.  Rename ubp_* variables and
32008         parameters.  Remove argv definitions conditional on
32009         [__BOUNDED_POINTERS__].
32010         * debug/backtrace.c (__backtrace): Do not use __unbounded.
32011         * elf/dl-runtime.c (_dl_fixup): Likewise.
32012         * include/set-hooks.h (RUN_HOOK): Likewise.
32013         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
32014         definition.
32015         * string/strcpy.c (strcpy): Do not use __unbounded.
32016         * sysdeps/generic/frame.h (struct layout): Likewise.
32017         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
32018         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
32019         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
32020         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
32021         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
32022         (__backtrace): Likewise.
32023         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
32024         use __ptrvalue.
32025         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
32026         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
32027         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
32028         Likewise.
32029         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
32030         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
32031         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
32032         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32033         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
32034         Do not use __unbounded.
32035         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
32036         Rename __unboundedrlimits parameter to rlimits in prototype.
32037         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
32038         Do not use __unbounded.
32039         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
32040         not use __ptrvalue.
32041         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32042         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
32043         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32044         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
32045         __ptrvalue or __unbounded.
32046         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
32047         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
32048         use __unbounded.
32049         (__new_msgctl): Do not use __ptrvalue.
32050         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
32051         __unbounded.
32052         (__libc_msgrcv): Do not use __ptrvalue.
32053         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
32054         startup_info): Do not use __unbounded.
32055         (__libc_start_main): Likewise.  Rename ubp_* variables and
32056         parameters.  Remove argv definitions conditional on
32057         [__BOUNDED_POINTERS__].
32058         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
32059         __ptrvalue.
32060         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
32061         use __unbounded.
32062         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
32063         or __ptrvalue.
32064         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
32065         use __unbounded.
32066         (__new_shmctl): Do not use __ptrvalue.
32067         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
32068         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
32069         Likewise.
32070         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
32071         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
32072         (__libc_sigaction): Likewise.
32073         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
32074         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
32075         Likewise.
32076         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32078 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
32080         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
32082         * string/mempcpy.c: Implement by calling memcpy.
32084 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
32086         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
32088         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
32089         evaluation.
32091         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
32092         values in the mantissa.
32094         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
32095         minimize writes to Z.
32096         (sub_magnitudes): Simplify code a bit.
32098 2013-02-12  Roland McGrath  <roland@hack.frob.com>
32100         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
32101         from the message.  The linker prefixes all warnings with that already.
32103 2013-02-12  Andreas Schwab  <schwab@suse.de>
32105         [BZ #15078]
32106         * posix/regexec.c (extend_buffers): Add parameter min_len.
32107         (check_matching): Pass minimum needed length.
32108         (clean_state_log_if_needed): Likewise.
32109         (get_subexp): Likewise.
32110         * posix/Makefile (tests): Add bug-regex34.
32111         (bug-regex34-ENV): Define.
32112         * posix/bug-regex34.c: New file.
32114         [BZ #11561]
32115         * posix/regcomp.c (parse_bracket_exp): When looking up collating
32116         elements compare against the byte sequence of it, not its name.
32117         * posix/Makefile (tests): Add bug-regex35.
32118         (bug-regex35-ENV): Define.
32119         * posix/bug-regex35.c: New file.
32121 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32123         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
32124         comment.
32125         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
32126         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
32127         (CHECK_EOL): Add undef.
32129 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
32131         * bits/stdlib-bsearch.h: New file.
32132         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
32133         * stdlib/stdlib.h: Likewise.
32135 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32137         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
32138         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
32139         declaration.
32140         * manual/search.texi (Array Search Function): Add missing const in
32141         lfind prototype.
32142         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
32143         declaration to use rlim_t.
32144         (Basic Scheduling Functions): Remove erroneous const from
32145         sched_getparam prototype.  Remove erroneous * from
32146         sched_get_priority_max and sched_get_priority_min prototypes.
32147         (Resource Usage): Fix summary @comment on vtimes to refer to
32148         sys/vtimes.h rather than vtimes.h.
32149         Add missing *s in vtimes prototype.
32150         (Limits on Resources): Fix ulimit prototype to return long int.
32151         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
32152         prototypes to use long int rather than double.
32153         (BSD Random): Fix initstate and setstate to use char *, not void *.
32154         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
32155         prototype to make second argument 'struct aiocb64 *const[]'.
32156         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
32157         (Status of AIO Operations): Remove erroneous const in aio_return and
32158         aio_return64 prototypes.
32159         (Synchronizing I/O): Fix sync prototype to return void.
32160         * manual/startup.texi (Suboptions): Remove an erroneous const in
32161         getsubopt prototype.
32162         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
32163         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
32164         use size_t rather than int.
32165         (Scanning All Users): Likewise for getpwent_r.
32166         (Setting Groups): Add missing const to setgroups prototype.
32167         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
32168         * manual/socket.texi (Host Names): Fix gethostbyaddr and
32169         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
32170         'const void *' rather than 'const char *'.
32171         (Host Address Functions): Likewise for inet_ntop.
32172         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
32173         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
32174         ssize_t for return value.
32175         (Sending Data): Likewise for send, sendto, sendmsg.
32176         (Socket Option Functions): Add a missing const in setsockopt prototype.
32177         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
32178         use wchar_t for the argument.
32179         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
32180         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
32181         take no arguments.
32182         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
32183         double/float/long double for second argument.
32184         Fix return types of significand, significandf, significandl.
32185         * manual/filesys.texi (Setting Permissions): Use mode_t for second
32186         argument in fchmod prototype.
32187         (File Owner): Use uid_t and gid_t in fchown prototype.
32188         (File Times): Add const to utimes, futimes, and lutimes prototypes.
32189         (Making Special Files): Use mode_t and dev_t in mknod prototype.
32190         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
32191         use 'const struct dirent **' as argument types to CMP function pointer
32192         argument.
32193         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
32194         (File Times): Fix summary magic @comment for struct utimbuf and utime
32195         to refer to utime.h, not time.h.
32196         * manual/string.texi (Argz Functions): Add missing const in
32197         argz_extract and argz_next prototypes.
32198         (Finding Tokens in a String): Likewise for basename.
32199         (String/Array Comparison): Fix typo in wcscasecmp prototype.
32200         (Copying and Concatenation): Fix typo in wmemmove prototype.
32201         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
32202         (Signal Stack): Remove erroneous const in sigstack prototype.
32203         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
32204         prototype.
32205         (Simple Calendar Time): Likewise for stime.
32206         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
32207         prototype.
32208         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
32209         say sys/sysctl.h instead.
32210         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
32211         and vsyslog prototypes.
32213 2013-02-11  Tom de Vries  <tom@codesourcery.com>
32215         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
32216         Remove.
32218 2013-02-11  Roland McGrath  <roland@hack.frob.com>
32220         * misc/sys/mman.h: Fix typo in mremap comment.
32222 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32224         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
32225         the '\0' terminator.
32227 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32229         [BZ #13550]
32230         * debug/segfault.c: Don't include <bp-checks.h>.
32231         * sysdeps/generic/bp-checks.h: Remove file.
32232         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
32233         (__GETDENTS): Don't use CHECK_N.
32234         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
32235         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
32236         (__getgroups): Don't use CHECK_N.
32237         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
32238         (setgroups): Don't use CHECK_N.
32239         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
32240         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
32241         (__libc_msgrcv): Don't use CHECK_N.
32242         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
32243         (__libc_msgsnd): Don't use CHECK_N.
32244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
32245         <bp-checks.h>.
32246         (__libc_pread): Don't use CHECK_N.
32247         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
32248         include <bp-checks.h>.
32249         (__libc_pread64): Don't use CHECK_N.
32250         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
32251         include <bp-checks.h>.
32252         (__libc_pwrite): Don't use CHECK_N.
32253         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
32254         include <bp-checks.h>.
32255         (__libc_pwrite64): Don't use CHECK_N.
32256         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32257         <bp-checks.h>.
32258         (__libc_pread): Don't use CHECK_N.
32259         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32260         include <bp-checks.h>.
32261         (__libc_pread64): Don't use CHECK_N.
32262         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32263         include <bp-checks.h>.
32264         (__libc_pwrite): Don't use CHECK_N.
32265         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32266         include <bp-checks.h>.
32267         (__libc_pwrite64): Don't use CHECK_N.
32268         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32269         (do_pread): Don't use CHECK_N.
32270         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32271         (do_pread64): Don't use CHECK_N.
32272         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32273         (do_pwrite): Don't use CHECK_N.
32274         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32275         (do_pwrite64): Don't use CHECK_N.
32276         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32277         (__libc_readv): Don't use CHECK_N.
32278         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32279         (semop): Don't use CHECK_N.
32280         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32281         <bp-checks.h>.
32282         (semtimedop): Don't use CHECK_N.
32283         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32284         (__libc_pread): Don't use CHECK_N.
32285         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32286         <bp-checks.h>.
32287         (__libc_pread64): Don't use CHECK_N.
32288         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32289         <bp-checks.h>.
32290         (__libc_pwrite): Don't use CHECK_N.
32291         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32292         <bp-checks.h>.
32293         (__libc_pwrite64): Don't use CHECK_N.
32294         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32295         <bp-checks.h>.
32296         (__libc_msgrcv): Don't use CHECK_N.
32297         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32298         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
32299         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32300         (__libc_writev): Don't use CHECK_N.
32302 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32304         * string/strcpy.c: Removed unused variable.
32306         * Makeconfig (+sysdep-includes): Define with := rather than =.
32307         Use an existing include/ subdir of each sysdeps dir before it.
32309 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32311         * nscd/connection.c (register_traced_file): Comment function.
32312         [HAVE_INOTIFY] (union __inev): Define.
32313         [HAVE_INOTIFY] (inotify_check_files): New function.
32314         [HAVE_INOTIFY] (clear_db_cache): Likewise.
32315         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32316         clear_db_cache.
32317         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32319 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32321         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32322         loaded if not already and that a failure is permanent.
32324 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32326         [BZ #15006]
32327         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32328         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32330 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32332         [BZ #13550]
32333         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32334         (CHECK_1_NULL_OK): Likewise.
32335         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32336         (__fxstat): Do not use CHECK_1.
32337         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32338         <bp-checks.h>.
32339         (___fxstat64): Do not use CHECK_1.
32340         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32341         <bp-checks.h>.
32342         (__fxstatat): Do not use CHECK_1.
32343         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32344         <bp-checks.h>.
32345         (__fxstatat64): Do not use CHECK_1.
32346         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32347         <bp-checks.h>.
32348         (__fxstat): Do not use CHECK_1.
32349         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32350         <bp-checks.h>.
32351         (__fxstatat): Do not use CHECK_1.
32352         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32353         <bp-checks.h>.
32354         (__getresgid): Do not use CHECK_1.
32355         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32356         <bp-checks.h>.
32357         (__getresuid): Do not use CHECK_1.
32358         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32359         <bp-checks.h>.
32360         (__lxstat): Do not use CHECK_1.
32361         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32362         <bp-checks.h>.
32363         (__old_msgctl): Do not use CHECK_1.
32364         (__new_msgctl): Likewise.
32365         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32366         <bp-checks.h>.
32367         (__new_setrlimit): Do not use CHECK_1.
32368         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32369         <bp-checks.h>.
32370         (__old_shmctl): Do not use CHECK_1.
32371         (__new_shmctl): Likewise.
32372         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32373         <bp-checks.h>.
32374         (__xstat): Do not use CHECK_1.
32375         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32376         (__lxstat): Do not use CHECK_1.
32377         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32378         <bp-checks.h>.
32379         (___lxstat64): Do not use CHECK_1.
32380         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32381         (__old_msgctl): Do not use CHECK_1.
32382         (__new_msgctl): Likewise.
32383         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32384         <bp-checks.h>.
32385         (__gettimeofday): Do not use CHECK_1.
32386         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32387         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32388         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32389         <bp-checks.h>.
32390         (__gettimeofday): Do not use CHECK_1.
32391         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32392         (__old_shmctl): Do not use CHECK_1_NULL_OK.
32393         (__new_shmctl): Do not use CHECK_1.
32394         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32395         <bp-checks.h>.
32396         (do_sigtimedwait): Do not use CHECK_1.
32397         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32398         <bp-checks.h>.
32399         (do_sigwaitinfo): Do not use CHECK_1.
32400         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32401         <bp-checks.h>.
32402         (msgctl): Do not use CHECK_1.
32403         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32404         <bp-checks.h>.
32405         (shmctl): Do not use CHECK_1.
32406         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32407         (ustat): Do not use CHECK_1.
32408         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32409         <bp-checks.h>.
32410         (__fxstat): Do not use CHECK_1.
32411         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32412         <bp-checks.h>.
32413         (__fxstatat): Do not use CHECK_1.
32414         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32415         <bp-checks.h>.
32416         (__lxstat): Do not use CHECK_1.
32417         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32418         <bp-checks.h>.
32419         (__xstat): Do not use CHECK_1.
32420         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32421         (__xstat): Do not use CHECK_1.
32422         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32423         (___xstat64): Do not use CHECK_1.
32425         [BZ #13550]
32426         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32427         definitions.
32428         (CHECK_BOUNDS_HIGH): Likewise.
32429         * string/strcpy.c: Do not include <bp-checks.h>.
32430         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32432 2013-02-07  Roland McGrath  <roland@hack.frob.com>
32434         * nscd/nscd-client.h (__nscd_drop_map_ref):
32435         Add __attribute__ ((unused)).
32436         * nis/nss-nisplus.h (niserr2nss): Likewise.
32438         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32439         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32441         * csu/libc-tls.c (init_static_tls, init_slotinfo):
32442         Remove inline keyword.
32443         * include/rounding-mode.h (round_away): Likewise.
32444         * libio/wfileops.c (adjust_wide_data): Likewise.
32445         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32446         (__m128i_strloadu_tolower): Likewise.
32447         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32448         (__m128i_strloadu_tolower): Likewise.
32449         * time/mktime.c (ydhms_diff): Likewise.
32450         * locale/elem-hash.h (elem_hash): Likewise.
32451         * locale/setlocale.c (setdata): Likewise.
32452         * posix/regex_internal.h (re_string_char_size_at): Likewise.
32453         (re_string_wchar_at): Likewise.
32454         (bitset_not, bitset_merge, bitset_mask): Likewise.
32455         [!(__GNUC__ > 3)] (inline): Remove macro.
32456         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32457         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32458         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32459         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32460         * string/memcmp.c (memcmp_bytes): Likewise.
32461         * locale/programs/locarchive.c (compute_hashval): Likewise.
32462         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32463         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32464         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32465         * nss/getent.c (print_rpc, print_protocols): Likewise.
32466         (print_passwd, print_group, print_aliases): Likewise.
32467         * nis/nss-nisplus.h (niserr2nss): Likewise.
32468         * nscd/connections.c (restart_p): Likewise.
32469         Change return type to bool.
32471 2013-02-05  Roland McGrath  <roland@hack.frob.com>
32473         * Makeconfig (all-Depend-files): Add existing
32474         $(sorted-subdirs:=/Depend) files.
32475         (all-subdirs): Remove nss.
32476         * sysdeps/unix/inet/Subdirs: Add it here instead.
32477         * hesiod/Depend: New file.
32479         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32480         instead of calling alloca.
32482         * io/lseek.c (__lseek): Rename to __libc_lseek.
32483         Define __lseek as an alias.
32485         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32487 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
32489         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32490         else clause and remove check for non-standard endianness.
32492 2013-02-04  David S. Miller  <davem@davemloft.net>
32494         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32496 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
32498         [BZ #13550]
32499         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32500         (__ubp_memchr): Remove prototype.
32501         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32502         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32503         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32504         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32505         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32506         Remove alias.
32507         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32508         (__ubp_memchr): Likewise.
32509         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32510         (__ubp_memchr): Likewise.
32511         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32512         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32513         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32514         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32515         CHECK_STRING.
32516         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32517         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32518         (__getcwd): Do not use CHECK_STRING.
32519         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32520         <bp-checks.h>.
32521         (__real_chown): Do not use CHECK_STRING.
32522         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32523         <bp-checks.h>.
32524         (fchownat): Do not use CHECK_STRING.
32525         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32526         CHECK_STRING.
32527         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32528         <bp-checks.h>.
32529         (__lchown): Do not use CHECK_STRING.
32530         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32531         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32532         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32533         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32534         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32535         include <bp-checks.h>.
32536         (truncate64): Do not use CHECK_STRING.
32537         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32538         <bp-checks.h>.
32539         (__real_chown): Do not use CHECK_STRING.
32540         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32541         <bp-checks.h>.
32542         (__lchown): Do not use CHECK_STRING.
32543         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32544         <bp-checks.h>.
32545         (__chown): Do not use CHECK_STRING.
32546         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32547         <bp-checks.h>.
32548         (truncate64): Do not use CHECK_STRING.
32549         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32550         Likewise.
32551         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32552         (__xmknod): Do not use CHECK_STRING.
32553         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32554         <bp-checks.h>.
32555         (__xmknodat): Do not use CHECK_STRING.
32556         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32557         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32559 2013-02-04  Andreas Schwab  <schwab@suse.de>
32561         [BZ #14142]
32562         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32563         * include/netdb.h: Likewise for h_errno.
32564         * elf/tst-stackguard1.c: Include <tls.h>.
32566 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
32568         * elf/link.h (struct link_map): Extend the l_addr comment.
32569         * include/link.h (struct link_map): Likewise.
32571 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
32573         [BZ #13550]
32574         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32575         (BOUNDED_1): Remove macro.
32576         * debug/backtrace.c: Don't include <bp-checks.h>.
32577         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32578         (__backtrace): Likewise.
32579         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32580         <bp-checks.h>.
32581         (__backtrace): Don't use BOUNDED_1.
32582         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32583         <bp-checks.h>.
32584         (__backtrace): Don't use BOUNDED_1.
32585         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32586         (__backtrace): Don't use BOUNDED_1.
32587         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32588         (shmat): Don't use BOUNDED_N.
32590 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
32592         [BZ #13550]
32593         * sysdeps/generic/bp-start.h: Remove file.
32594         * csu/libc-start.c: Don't include <bp-start.h>.
32595         (LIBC_START_MAIN): Set up __environ directly instead of using
32596         INIT_ARGV_and_ENVIRON.
32597         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32598         <bp-start.h>.
32600         [BZ #13550]
32601         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32602         definitions.
32603         (CHECK_FCNTL): Likewise.
32604         (CHECK_N_PAGES): Likewise.
32606         [BZ #13550]
32607         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32608         definitions.
32609         (CHECK_SIGSET_NULL_OK): Likewise.
32610         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32611         <bp-checks.h>.
32612         (sigpending): Don't use CHECK_SIGSET.
32613         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32614         <bp-checks.h>.
32615         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32616         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32617         <bp-checks.h>.
32618         (do_sigsuspend): Don't use CHECK_SIGSET.
32619         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32620         use CHECK_SIGSET.
32621         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32622         (do_sigwait): Don't use CHECK_SIGSET.
32623         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32624         use CHECK_SIGSET.
32625         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32626         include <bp-checks.h>.
32627         (sigpending): Don't use CHECK_SIGSET.
32628         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32629         include <bp-checks.h>.
32630         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32631         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32632         <bp-checks.h>.
32633         (sigpending): Don't use CHECK_SIGSET.
32634         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32635         <bp-checks.h>.
32636         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32638         [BZ #13550]
32639         * sysdeps/generic/bp-semctl.h: Remove file.
32640         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32641         <bp-checks.h> and <bp-semctl.h>.
32642         (__old_semctl): Don't use CHECK_SEMCTL.
32643         (__new_semctl): Likewise.
32644         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32645         and <bp-semctl.h>.
32646         (__old_semctl): Don't use CHECK_SEMCTL.
32647         (__new_semctl): Likewise.
32648         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32649         <bp-checks.h> and <bp-semctl.h>.
32650         (__old_semctl): Don't use CHECK_SEMCTL.
32651         (__new_semctl): Likewise.
32652         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32653         <bp-checks.h> and <bp-semctl.h>.
32654         (semctl): Don't use CHECK_SEMCTL.
32656         [BZ #13550]
32657         * Makerules (elide-bp-thunks): Remove variable.
32658         (elide-routines.oS): Don't use $(elide-bp-thunks).
32659         (elide-routines.os): Likewise.
32660         (elide-routines.o): Likewise.
32661         (elide-routines.op): Likewise.
32662         (elide-routines.og): Likewise.
32663         (objects): Don't use $(bp-thunks).
32664         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32665         include.
32666         (common-generated): Do not add s-proto-bp.d.
32667         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32668         (int): Likewise.
32669         (typ): Likewise.
32670         Do not generate makefile rules for bounded-pointer thunks.
32671         * sysdeps/generic/bp-thunks.h: Remove file.
32672         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32673         * sysdeps/unix/s-proto-bp.S: Likewise.
32675         [BZ #15062]
32676         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32677         parts of result separately when argument is not close to line from
32678         -i to i and one part of argument is small.
32679         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32680         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32681         * math/libm-test.inc (cacos_test): Add more tests.
32682         (casin_test): Likewise.
32683         (casinh_test): Likewise.
32684         * sysdeps/i386/fpu/libm-test-ulps: Update.
32685         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32687 2013-01-31  David S. Miller  <davem@davemloft.net>
32689         * po/de.po: Update from translation team.
32691 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
32693         * time/tzfile.c: Include stdint.h for SIZE_MAX.
32695 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
32697         * configure.in (_AC_PROG_CC_C89): New definition.
32698         * configure: Regenerate.
32700         * configure.in (AC_PROG_CPP): New definition.
32701         * configure: Regenerate.
32703 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32705         * debug/tst-backtrace.h: New file.
32706         * debug/tst-backtrace2.c: Include tst-backtrace.h.
32707         (ret): Remove variable.
32708         (x): Likewise.
32709         (FAIL): Remove macro.
32710         (NO_INLINE): Likewise.
32711         (fn1): Use match function instead of strstr.
32712         * debug/tst-backtrace3.c: Include tst-backtrace.h.
32713         (ret): Remove variable.
32714         (x): Likewise.
32715         (FAIL): Remove macro.
32716         (NO_INLINE): Likewise.
32717         (fn): Use match function instead of strstr.
32718         * debug/tst-backtrace4.c: Include tst-backtrace.h.
32719         (ret): Remove variable.
32720         (x): Likewise.
32721         (FAIL): Remove macro.
32722         (NO_INLINE): Likewise.
32723         (handle_signal): Use match function instead of strstr.
32724         * debug/tst-backtrace5.c: Include tst-backtrace.h.
32725         (ret): Remove variable.
32726         (x): Likewise.
32727         (FAIL): Remove macro.
32728         (NO_INLINE): Likewise.
32729         (handle_signal): Use match function instead of strstr.
32731 2013-01-23  Roland McGrath  <roland@hack.frob.com>
32733         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32735 2013-01-23  David S. Miller  <davem@davemloft.net>
32737         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32738         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32739         argument of CAS if possible.
32740         * sysdeps/sparc/sparc64/bits/atomic.h
32741         (__arch_compare_and_exchange_val_32_acq): Likewise.
32742         (__arch_compare_and_exchange_val_64_acq): Likewise.
32744 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
32746         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32747         * sysdeps/posix/ulimit.c: ... this.
32748         Include <limits.h>.
32749         * sysdeps/unix/bsd/ulimit.c: Remove file.
32751 2013-01-23  Adam Conrad  <adconrad@0c3.net>
32753         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32754         (LDFLAGS-tst-array5): Likewise.
32756 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32758         [BZ #15036]
32759         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32760         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32761         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32762         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32764 2013-01-21  David S. Miller  <davem@davemloft.net>
32766         * sysdeps/sparc/backtrace.c: New file.
32767         * sysdeps/sparc/sparc32/backtrace.h: New file.
32768         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32769         * sysdeps/sparc/sparc64/backtrace.h: New file.
32770         * sysdeps/sparc/sparc64/backtrace.c: Delete.
32771         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32772         -funwind-tables.
32774 2013-01-21  Andreas Schwab  <schwab@suse.de>
32776         [BZ #15020]
32777         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32778         closed its stdout.
32780 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
32782         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32783         "mpa2.h".
32784         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32786 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
32787             Mark Mitchell  <mark@codesourcery.com>
32788             Tom de Vries  <tom@codesourcery.com>
32789             Paul Pluzhnikov  <ppluzhnikov@google.com>
32791         * debug/tst-backtrace2.c: New file.
32792         * debug/tst-backtrace3.c: Likewise.
32793         * debug/tst-backtrace4.c: Likewise.
32794         * debug/tst-backtrace5.c: Likewise.
32795         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32796         (CFLAGS-tst-backtrace3.c): Likewise.
32797         (CFLAGS-tst-backtrace4.c): Likewise.
32798         (CFLAGS-tst-backtrace5.c): Likewise.
32799         (LDFLAGS-tst-backtrace2): Likewise.
32800         (LDFLAGS-tst-backtrace3): Likewise.
32801         (LDFLAGS-tst-backtrace4): Likewise.
32802         (LDFLAGS-tst-backtrace5): Likewise.
32803         (tests): Add new tests tst-backtrace2, tst-backtrace3,
32804         tst-backtrace4 and tst-backtrace5.
32806 2013-01-18  Anton Blanchard  <anton@samba.org>
32807             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32809         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32810         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32811         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32812         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32814         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32815         "+r" and remove output regs list as redundant.  Add explicit inline
32816         asm to specify register of return val to work around compiler codegen
32817         bug.  Remove (int) cast on return value.  Add return type parameter to
32818         use in macro so that this macro does not truncate return value for
32819         64-bit values.
32820         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32821         pass to INTERNAL_VSYSCALL_NCS.
32822         (INLINE_VSYSCALL): Add 'long int' as return type to
32823         INTERNAL_VSYSCALL_NCS macro invocation.
32824         (INTERNAL_VSYSCALL): Add 'long int' as return type to
32825         INTERNAL_VSYSCALL_NCS macro invocation.
32826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32828 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32830         [BZ #14496]
32831         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32832         Fix application of SIMD FP exception mask.
32834         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32835         mp_no from a power of two.
32836         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32837         __mpexp_twomm1.  Use __pow_mp.
32839         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32840         multiplication.
32842 2013-01-17  David S. Miller  <davem@davemloft.net>
32844         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32846 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32848         [BZ #15023]
32849         * include/complex.h: Condition contents on [!_COMPLEX_H].
32850         (__kernel_casinhf): New prototype.
32851         (__kernel_casinh): Likewise.
32852         (__kernel_casinhl): Likewise.
32853         * math/Makefile (libm_calls): Add k_casinh.
32854         * math/k_casinh.c: New file.
32855         * math/k_casinhf.c: Likewise.
32856         * math/k_casinhl.c: Likewise.
32857         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32858         finite nonzero arguments.
32859         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32860         finite nonzero arguments.
32861         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32862         finite nonzero arguments.
32863         * math/s_casinh.c: Do not include <float.h>.
32864         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32865         * math/s_casinhf.c: Do not include <float.h>.
32866         (__casinhf): Move code for finite nonzero arguments to
32867         k_casinhf.c.
32868         * math/s_casinhl.c: Do not include <float.h>.
32869         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32870         redefine.
32871         (__casinhl): Move code for finite nonzero arguments to
32872         k_casinhl.c.
32873         * math/libm-test.inc (cacos_test): Add more tests.
32874         * sysdeps/i386/fpu/libm-test-ulps: Update.
32875         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32877 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32879         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32880         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32881         [!HAVE_MREMAP]: Remove [defined linux] case.
32882         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32884 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32886         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32888 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32890         * elf/elf.h (R_386_SIZE32): New relocation.
32891         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32892         R_386_SIZE32.
32893         (elf_machine_rela): Likewise.
32894         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32895         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32897 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32899         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32900         (FP_FAST_FMA): Do not define.
32901         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32902         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32903         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32904         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32905         !_SOFT_FLOAT]: Likewise.
32906         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32907         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32908         value.
32909         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32910         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32911         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32912         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32913         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32914         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32915         file.
32917 2013-01-16  Andreas Schwab  <schwab@suse.de>
32919         [BZ #14327]
32920         * include/stdlib.h (__mktemp): Add declaration.
32921         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32922         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32924 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32926         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32927         definitions.
32928         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32929         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32930         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32931         definitions here.
32932         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32933         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32934         definitions.
32935         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32936         and ONE.
32937         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32938         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32939         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32940         definitions.
32941         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32942         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32943         definitions.
32944         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32946         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32948 2013-01-15  David S. Miller  <davem@davemloft.net>
32950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32951         trunc{,f} to libm-sysdep_routes.
32952         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32954         file.
32955         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32957         file.
32958         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32959         file.
32960         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32961         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32962         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32963         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32964         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32965         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32966         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32967         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32970         nearbyint{,f} to libm-sysdep_routes.
32971         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32973         New file.
32974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32975         file.
32976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32977         New file.
32978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32979         file.
32980         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32981         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32982         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32983         file.
32984         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32985         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32986         file.
32987         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32988         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32989         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32991         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32992         libc_feholdexcept and libc_fesetenv.
32994 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32996         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32998 2013-01-14  David S. Miller  <davem@davemloft.net>
33000         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
33001         (SPARC_ASM_VIS2_IFUNC): Likewise.
33002         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
33003         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
33004         use of 'siam' instruction.
33005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
33006         Likewise.
33007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
33008         Likewise.
33009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
33010         Likewise.
33011         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
33012         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
33013         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
33014         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
33015         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
33016         file.
33017         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
33018         file.
33019         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
33020         file.
33021         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
33022         file.
33023         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
33024         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
33025         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
33026         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
33027         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
33028         new VIS2 routines.
33029         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
33030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
33031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
33032         Likewise.
33033         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
33034         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
33035         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
33036         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
33037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
33038         routines to libm-sysdep_routines.
33039         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
33041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
33042         fdim/fdimf to libm-sysdep_routines.
33043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
33044         file.
33045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
33046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
33047         file.
33048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
33049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
33050         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
33051         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
33052         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
33053         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
33054         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
33056 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
33058         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
33059         to optimize copies.
33061         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
33062         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33063         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33065         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
33066         local variable MPTWO.
33067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
33068         Likewise.
33070 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33072         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
33073         GLOB_NOESCAPE.
33075 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33077         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
33079 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
33081         * manual/pattern.texi (glob_t): Document gl_flags.
33082         (glob64_t): Likewise.
33084 2013-01-11  David S. Miller  <davem@davemloft.net>
33086         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
33087         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
33088         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
33089         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
33090         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
33091         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
33092         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
33093         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
33094         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
33095         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
33096         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
33097         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
33098         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
33100         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33101         sparc V9 rather than using V8 code.
33102         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33103         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33105         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
33106         Move to...
33107         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
33108         Here.
33110 2013-01-11  Roland McGrath  <roland@hack.frob.com>
33112         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
33113         not in the main loop.
33114         * configure: Regenerated.
33116 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
33118         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
33119         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
33120         to just #else.
33121         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
33122         [!__GLIBC_HAVE_LONG_LONG] case.
33123         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
33124         condition to just #else.
33125         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
33126         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
33127         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
33128         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
33129         unconditional.
33130         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
33131         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33132         #elif condition to just #else.
33133         * sysdeps/unix/sysv/linux/sys/sysmacros.h
33134         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
33135         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
33136         #elif condition to just #else.
33138 2013-01-11  Steve Ellcey  <sellcey@mips.com>
33140         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
33141         (EF_MIPS_ARCH_64): Fix value.
33142         (EF_MIPS_ARCH_32R2): New.
33143         (EF_MIPS_ARCH_64R2): New.
33145 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
33147         * Makeconfig (+link-pie-before-libc): New.
33148         (+link-pie-after-libc): Likewise.
33149         (+link-pie-tests): Likewise.
33150         (+link-pie): Rewritten.
33151         (link-before-libc): Remove $(config-LDFLAGS).
33152         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
33153         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
33154         (config-LDFLAGS): Renamed to ...
33155         (rtld-LDFLAGS): This.
33156         (rtld-tests-LDFLAGS): New macro.
33157         (link-libc-rpath-link): Likewise.
33158         (link-libc-tests-rpath-link): Likewise.
33159         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
33160         (link-libc): Prepand $(link-libc-rpath-link).
33161         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
33162         (test-program-prefix): New macro.
33163         (test-via-rtld-prefix): Likewise.
33164         (test-program-cmd): Likewise.
33165         (host-test-program-cmd): Likewise.
33166         * Makefile ($(common-objpfx)testrun.sh): Replace
33167         $(run-program-prefix) with $(test-program-prefix).
33168         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
33169         $(rtld-LDFLAGS).
33170         ($(common-objpfx)shlib.lds): Likewise.
33171         (build-module-helper): Likewise.
33172         ($(common-objpfx)format.lds): Likewise.
33173         * Rules (binaries-pie-tests): New.
33174         (binaries-pie-notests): Likewise.
33175         (binaries-pie): Rewritten.
33176         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
33177         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
33178         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
33179         (make-test-out): Replace $(host-built-program-cmd) with
33180         $(host-test-program-cmd).
33181         * config.make.in (build-hardcoded-path-in-tests): New variable.
33182         * configure.in (--enable-hardcoded-path-in-tests): New configure
33183         option.
33184         (hardcoded_path_in_tests): New AC_SUBST.
33185         * configure: Regenerated.
33186         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
33187         $(built-program-cmd) with $(test-program-cmd).
33188         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
33189         (test_program_cmd): This.
33190         * elf/Makefile ($(objpfx)order.out): Run test with
33191         $(test-program-prefix).
33192         ($(objpfx)order2.out): Likewise.
33193         ($(objpfx)tst-initorder.out): Likewise.
33194         ($(objpfx)tst-initorder2.out): Likewise.
33195         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
33196         $(test-program-cmd).
33197         ($(objpfx)tst-array1-static.out): Likewise.
33198         ($(objpfx)tst-array2.out): Likewise.
33199         ($(objpfx)tst-array3.out): Likewise.
33200         ($(objpfx)tst-array4.out): Likewise.
33201         ($(objpfx)tst-array5.out): Likewise.
33202         ($(objpfx)tst-array5-static.out): Likewise.
33203         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
33204         $(test-program-cmd).
33205         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
33206         $(run-program-prefix) with $(test-program-prefix).
33207         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
33208         (test_program_prefix): This.
33209         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
33210         $(run-program-prefix) with $(test-program-prefix).
33211         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
33212         (test_program_prefix): This.
33213         * iconvdata/tst-tables.sh: Likewise.
33214         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
33215         $(run-program-prefix) with $(test-program-prefix).
33216         ($(objpfx)tst-translit.out): Likewise.
33217         ($(objpfx)tst-gettext2.out): Likewise.
33218         ($(objpfx)tst-gettext4.out): Likewise.
33219         ($(objpfx)tst-gettext6.out): Likewise.
33220         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
33221         (test_program_prefix): This.
33222         * intl/tst-gettext2.sh: Likewise.
33223         * intl/tst-gettext4.sh  Likewise.
33224         * intl/tst-gettext6.sh: Likewise.
33225         * intl/tst-translit.sh: Likewise.
33226         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
33227         with $(test-program-cmd).
33228         * libio/Makefile ($(objpfx)test-freopen.out): Replace
33229         $(run-program-prefix) with $(test-program-prefix).
33230         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
33231         (test_program_prefix): This.
33232         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
33233         $(run-program-prefix) with $(test-program-prefix).
33234         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
33235         (test_program_prefix): This.
33236         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
33237         * posix/Makefile ($(objpfx)globtest.out): Replace
33238         $(run-via-rtld-prefix) and $(test-wrapper) with
33239         $(test-program-prefix) and $(test-via-rtld-prefix).
33240         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
33241         $(test-program-prefix).
33242         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
33243         $(host-test-program-cmd).
33244         (tst-spawn-ARGS): Likewise.
33245         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
33246         $(test-program-prefix).
33247         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
33248         (test_via_rtld_prefix): This.
33249         (test_wrapper): Renamed to ...
33250         (test_program_prefix): This.
33251         (run_program_prefix): Replaced by test_program_prefix.
33252         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
33253         (test_program_prefix): This.
33254         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33255         with $(host-test-program-cmd).
33256         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33257         $(run-program-prefix) with $(test-program-prefix).
33258         ($(objpfx)tst-printf.out): Likewise.
33259         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33260         $(test-program-cmd).
33261         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33262         (test_program_prefix): This.
33263         * stdio-common/tst-unbputc.sh: Likewise.
33264         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33265         $(run-program-prefix) with $(test-program-prefix).
33266         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33267         (test_program_prefix): This.
33268         * string/Makefile ($(objpfx)tst-svc.out):  Replace
33269         $(built-program-cmd) with $(test-program-cmd).
33271 2013-01-11  Andreas Jaeger  <aj@suse.de>
33273         [BZ #15003]
33274         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33275         value. Sync with Linux 3.7.
33277 2013-01-10  David S. Miller  <davem@davemloft.net>
33279         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33280         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33281         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33283 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33285         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33286         never set.
33287         * configure: Regenerated.
33289 2013-01-10  David S. Miller  <davem@davemloft.net>
33291         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33292         sparc V9 rather than using V8 code.
33293         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33294         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33296 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33298         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33299         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33300         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33301         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33302         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33303         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33304         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33305         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33306         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33307         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33308         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33309         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33310         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33311         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33312         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33313         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33314         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33315         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33316         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33317         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33318         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33319         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33320         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33321         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33322         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33323         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33324         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33326 2013-01-10  David S. Miller  <davem@davemloft.net>
33328         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33330 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
33332         * posix/Makefile (tests-static): New variable.
33333         (tests): Add $(tests-static).
33334         (tst-exec-static-ARGS): New variable.
33335         (tst-spawn-static-ARGS): Likewise.
33336         * posix/tst-exec-static.c: New file.
33337         * posix/tst-spawn-static.c: Likewise.
33338         * posix/tst-exec.c: Support run directly.
33339         * posix/tst-spawn.c: Likewise.
33341 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
33343         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33344         long.
33345         * math/bits/mathcalls.h (llrint): Likewise.
33346         (llround): Likewise.
33347         * stdlib/stdlib.h (struct drand48_data): Likewise.
33348         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33349         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33350         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33351         Likewise.
33352         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33353         Likewise.
33354         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33355         (elf_greg_t): Likewise.
33356         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33357         (__jmp_buf): Likewise.
33358         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33359         definitions.
33360         (llrint): Likewise, for all definitions.
33361         (llrintl): Likewise.
33363         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33364         Remove [__GNUC__] condition.
33365         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33366         condition to just [__USE_ISOC99].
33367         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33369 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
33371         [BZ #14200]
33372         * sysdeps/unix/sysv/linux/x86/bits/environments.h
33373         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33374         defined.
33375         (_POSIX_V6_ILP32_OFF32): Likewise.
33376         (_XBS5_ILP32_OFF32): Likewise.
33377         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33378         (__ILP32_OFFBIG_LDFLAGS): Likewise.
33380 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33382         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33384         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33385         doubles __mpexp_twomm1.  Adjust usage.
33386         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33387         Remove.
33389 2013-01-10  Andreas Schwab  <schwab@suse.de>
33391         [BZ #14964]
33392         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33393         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33395 2013-01-09  David S. Miller  <davem@davemloft.net>
33397         [BZ #15003]
33398         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33399         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33400         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33401         (TCP_FASTOPEN): Define.
33402         (tcp_repair_opt): New structure.
33403         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33404         enum values.
33405         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33406         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33407         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33408         (tcp_cookie_transactions): New structure.
33410 2013-01-09  Anton Blanchard  <anton@samba.org>
33412         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33413         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33414         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33415         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33417 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
33419         * include/features.h (__USE_ANSI): Remove.
33421 2013-01-09  Roland McGrath  <roland@hack.frob.com>
33423         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33425         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33427 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33429         * sysdeps/s390/fpu/libm-test-ulps: Update.
33431         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33433         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33434         (__acr): Likewise.
33435         (__cpy): Likewise.
33436         (norm): Likewise.
33437         (denorm): Likewise.
33438         (__mp_dbl): Likewise.
33439         (__dbl_mp): Likewise.
33440         (add_magnitudes): Likewise.
33441         (sub_magnitudes): Likewise.
33442         (__add): Likewise.
33443         (__sub): Likewise.
33444         (__mul): Likewise.
33445         (__inv): Likewise.
33446         (__dvd): Likewise.
33447         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33448         (__acr): Likewise.
33449         (__cpy): Likewise.
33450         (norm): Likewise.
33451         (denorm): Likewise.
33452         (__mp_dbl): Likewise.
33453         (__dbl_mp): Likewise.
33454         (add_magnitudes): Likewise.
33455         (sub_magnitudes): Likewise.
33456         (__add): Likewise.
33457         (__sub): Likewise.
33458         (__mul): Likewise.
33459         (__inv): Likewise.
33460         (__dvd): Likewise.
33461         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33462         (__acr): Likewise.
33463         (__cpy): Likewise.
33464         (norm): Likewise.
33465         (denorm): Likewise.
33466         (__mp_dbl): Likewise.
33467         (__dbl_mp): Likewise.
33468         (add_magnitudes): Likewise.
33469         (sub_magnitudes): Likewise.
33470         (__add): Likewise.
33471         (__sub): Likewise.
33472         (__mul): Likewise.
33473         (__inv): Likewise.
33474         (__dvd): Likewise.
33476 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
33478         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33479         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33480         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33481         2 && __USE_EXTERN_INLINES]: Likewise.
33483 2013-01-08  Andreas Jaeger  <aj@suse.de>
33485         [BZ# 14985]
33486         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33487         Remove.
33488         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33489         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33491 2013-01-07  Anton Blanchard  <anton@samba.org>
33493         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33494         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33495         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33496         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33497         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33498         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33499         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33500         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33501         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33502         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33503         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33504         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33505         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33506         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33507         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33508         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33509         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33510         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33511         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33512         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33513         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33514         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33515         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33516         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33517         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33518         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33519         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33520         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33521         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33522         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33523         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33524         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33525         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33526         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33527         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33528         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33529         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33530         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33531         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33532         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33533         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33534         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33535         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33537 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
33539         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33540         (__MALLOC_PMT): Likewise.
33541         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33542         [__GNUC__], only on [_LIBC].
33543         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33544         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33545         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33546         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33547         forward declaration.
33548         (realloc_hook_ini): Likewise.
33549         (memalign_hook_ini): Likewise.
33550         (__libc_memalign): Do not use __MALLOC_PMT in variable
33551         declaration.
33552         (__libc_valloc): Likewise.
33553         (__libc_pvalloc): Likewise.
33554         (__libc_calloc): Likewise.
33555         (__posix_memalign): Likewise.
33557         [BZ #14996]
33558         * math/s_casinh.c: Include <float.h>.
33559         (__casinh): Do not do computation with squaring and square root
33560         for large arguments.
33561         * math/s_casinhf.c: Include <float.h>.
33562         (__casinhf): Do not do computation with squaring and square root
33563         for large arguments.
33564         * math/s_casinhl.c: Include <float.h>.
33565         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33566         (__casinhl): Do not do computation with squaring and square root
33567         for large arguments.
33568         * math/libm-test.inc (casin_test): Add more tests.
33569         (casinh_test): Likewise.
33570         * sysdeps/i386/fpu/libm-test-ulps: Update.
33571         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33573 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
33575         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33576         (__x86_64_raw_data_cache_size): Likewise.
33577         (__x86_64_data_cache_size_half): Likewise.
33578         (__x86_64_raw_data_cache_size_half): Likewise.
33579         (__x86_64_shared_cache_size): Likewise.
33580         (__x86_64_raw_shared_cache_size): Likewise.
33581         (__x86_64_shared_cache_size_half): Likewise.
33582         (__x86_64_raw_shared_cache_size_half): Likewise.
33583         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33584         to ...
33585         (__x86_data_cache_size): This.
33586         (__x86_64_raw_data_cache_size): Renamed to ...
33587         (__x86_raw_data_cache_size): This.
33588         (__x86_64_data_cache_size_half): Renamed to ...
33589         (__x86_data_cache_size_half): This.
33590         (__x86_64_raw_data_cache_size_half): Renamed to ...
33591         (__x86_raw_data_cache_size_half): This.
33592         (__x86_64_shared_cache_size): Renamed to ...
33593         (__x86_shared_cache_size): This.
33594         (__x86_64_raw_shared_cache_size): Renamed to ...
33595         (__x86_raw_shared_cache_size): This.
33596         (__x86_64_shared_cache_size_half): Renamed to ...
33597         (__x86_shared_cache_size_half): This.
33598         (__x86_64_raw_shared_cache_size_half): Renamed to ...
33599         (__x86_raw_shared_cache_size_half): This.
33600         * sysdeps/x86_64/memcpy.S: Updated.
33601         * sysdeps/x86_64/memset.S: Likewise.
33602         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33603         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33604         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33606 2013-01-04  David S. Miller  <davem@davemloft.net>
33608         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33610 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
33612         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33613         1 to avoid redefinition warning.
33614         (__USE_GNU): Don't define.
33615         (init_signaling_nan): Protoize.
33617         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33619 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33621         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33622         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33623         (__cpymn): Likewise.
33624         (norm): Remove commented code.
33625         (denorm): Likewise.
33626         (__mp_dbl): Likewise.
33627         (__inv): Likewise.
33628         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33629         (__cpymn): Likewise.
33630         (norm): Remove commented code.
33631         (denorm): Likewise.
33632         (__mp_dbl): Likewise.
33633         (__inv): Likewise.
33635         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33636         mp_no value for 1.0 and 2.0.
33637         (norm): Use RADIXI instead of radixi.d.
33638         (denorm): Likewise.
33639         (__mul): Use 0.0 instead of zero.d.
33640         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33641         mp_no value for 1.0 and 2.0.
33642         (norm): Use RADIXI instead of radixi.d.
33643         (denorm): Likewise.
33644         (__mul): Use 0.0 instead of zero.d.
33646 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
33648         [BZ #14994]
33649         * math/s_casinh.c (__casinh): Reduce finite argument to first
33650         quadrant then set signs of results at the end.
33651         * math/s_casinhf.c (__casinhf): Likewise.
33652         * math/s_casinhl.c (__casinhl): Likewise.
33653         * math/libm-test.inc (casin_test): Add more tests.
33654         (casinh_test): Likewise.
33655         * sysdeps/i386/fpu/libm-test-ulps: Update.
33656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33658 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33660         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33662         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33664         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33665         declarations.
33666         (denorm): Likewise.
33667         (__mp_dbl): Likewise.
33668         (__inv): Likewise.
33670         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33671         and adjust the header comment.
33673         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33674         variable name from declaration.
33676 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
33678         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33679         Initialize COMMON_CPUID_INDEX_7 element.
33680         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33681         (CPUID_RTM): Likewise.
33682         (HAS_RTM): Likewise.
33683         (COMMON_CPUID_INDEX_7): New enum.
33685 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
33687         [BZ #14981]
33688         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33689         size is zero, record memory as freed.
33691 2013-01-03  Andreas Jaeger  <aj@suse.de>
33693         * po/ia.po: Add new Interlingua translation.
33695 2012-01-03  Allan McRae  <allan@archlinux.org>
33697         * locale/programs/localedef.c: Fix description of '--posix' flag.
33699 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
33701         * NEWS: Update dates in second copyright notice.
33702         * README: Update copyright dates in example.
33703         * manual/libc.texinfo: Update copyright dates.
33704         * scripts/test-installation.pl: Update copyright date in --version
33705         output.
33707         * hurd/ctty-input.c: Fix copyright notice formatting.
33708         * hurd/ctty-output.c: Likewise.
33709         * hurd/dtable.c: Likewise.
33710         * hurd/hurd-raise.c: Likewise.
33711         * hurd/hurdprio.c: Likewise.
33712         * hurd/msgportdemux.c: Likewise.
33713         * misc/sys/file.h: Likewise.
33714         * misc/sys/ioctl.h: Likewise.
33715         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33716         * sysdeps/mach/hurd/chdir.c: Likewise.
33717         * sysdeps/mach/hurd/fchdir.c: Likewise.
33718         * sysdeps/mach/hurd/rename.c: Likewise.
33719         * sysdeps/mach/hurd/rmdir.c: Likewise.
33720         * sysdeps/mach/hurd/seekdir.c: Likewise.
33721         * sysdeps/mach/hurd/setsid.c: Likewise.
33722         * sysdeps/posix/wait3.c: Likewise.
33724         * All files with FSF copyright notices: Update copyright dates
33725         using scripts/update-copyrights.
33726         * intl/plural.c: Regenerated.
33727         * locale/programs/charmap-kw.h: Likewise.
33728         * locale/programs/locfile-kw.h: Likewise.
33730 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33732         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33733         four values.
33735         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33736         calculation loop and add branch prediction.
33738         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33739         check access beyond bounds of m1np.
33741         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33742         MPTWO.
33743         (__inv): Remove local variable MPTWO to use the global
33744         constant.
33745         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33746         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33747         variable MPTWO.
33748         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33749         MP3HALFS static const.
33751 2013-01-01  David S. Miller  <davem@davemloft.net>
33753         * po/ca.po: Update from translation team.
33755 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
33757         * scripts/update-copyrights: New file.
33758         * Makeconfig: Reformat copyright notice.
33759         * ctype/ctype.h: Likewise.
33760         * debug/swprintf_chk.c: Likewise.
33761         * elf/dl-cache.c: Likewise.
33762         * elf/dl-debug.c: Likewise.
33763         * elf/dl-object.c: Likewise.
33764         * grp/initgroups.c: Likewise.
33765         * hurd/Makefile: Likewise.
33766         * hurd/hurd/signal.h: Likewise.
33767         * hurd/hurdfault.c: Likewise.
33768         * hurd/hurdioctl.c: Likewise.
33769         * hurd/hurdlookup.c: Likewise.
33770         * hurd/intr-msg.c: Likewise.
33771         * iconv/gconv_open.c: Likewise.
33772         * libio/swprintf.c: Likewise.
33773         * locale/lc-ctype.c: Likewise.
33774         * locale/nl_langinfo.c: Likewise.
33775         * mach/Machrules: Likewise.
33776         * mach/Makefile: Likewise.
33777         * malloc/obstack.h: Likewise.
33778         * manual/Makefile: Likewise.
33779         * manual/tsort.awk: Likewise.
33780         * misc/bits/stab.def: Likewise.
33781         * nis/nis_print_group_entry.c: Likewise.
33782         * nis/nis_table.c: Likewise.
33783         * nis/nss_compat/compat-pwd.c: Likewise.
33784         * nis/nss_compat/compat-spwd.c: Likewise.
33785         * po/Makefile: Likewise.
33786         * posix/fnmatch.c: Likewise.
33787         * posix/regex.h: Likewise.
33788         * resolv/Makefile: Likewise.
33789         * resolv/nss_dns/dns-network.c: Likewise.
33790         * resolv/res_hconf.c: Likewise.
33791         * scripts/gen-sorted.awk: Likewise.
33792         * soft-fp/soft-fp.h: Likewise.
33793         * stdio-common/printf.h: Likewise.
33794         * stdlib/monetary.h: Likewise.
33795         * stdlib/random.c: Likewise.
33796         * stdlib/random_r.c: Likewise.
33797         * sysdeps/generic/Makefile: Likewise.
33798         * sysdeps/gnu/Makefile: Likewise.
33799         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33800         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33801         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33802         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33803         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33804         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33805         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33806         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33807         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33808         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33809         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33810         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33811         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33812         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33813         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33814         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33815         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33816         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33817         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33818         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33819         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33820         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33821         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33822         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33823         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33824         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33825         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33826         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33827         * sysdeps/mach/hurd/errnos.awk: Likewise.
33828         * sysdeps/mach/hurd/fork.c: Likewise.
33829         * sysdeps/mach/hurd/getcwd.c: Likewise.
33830         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33831         * sysdeps/mach/hurd/mmap.c: Likewise.
33832         * sysdeps/mach/hurd/utimes.c: Likewise.
33833         * sysdeps/mach/hurd/xmknod.c: Likewise.
33834         * sysdeps/posix/profil.c: Likewise.
33835         * sysdeps/posix/readdir_r.c: Likewise.
33836         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33837         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33838         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33839         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33840         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33841         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33842         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33843         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33844         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33845         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33846         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33847         * sysdeps/pthread/lio_listio.c: Likewise.
33848         * sysdeps/sparc/dl-procinfo.h: Likewise.
33849         * sysdeps/unix/i386/sysdep.S: Likewise.
33850         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33851         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33852         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33853         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33855         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33856         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33857         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33858         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33859         * sysdeps/wordsize-32/divdi3.c: Likewise.
33860         * time/sys/time.h: Likewise.
33861         * wcsmbs/Makefile: Likewise.
33863 2013-01-01  David S. Miller  <davem@davemloft.net>
33865         * po/fr.po: Update from translation team.
33867         * catgets/gencat.c: Update copyright year.
33868         * csu/version.c: Likewise.
33869         * debug/catchsegv.sh: Likewise.
33870         * debug/pcprofiledump.c: Likewise.
33871         * debug/xtrace.sh: Likewise.
33872         * elf/ldconfig.c: Likewise.
33873         * elf/ldd.bash.in: Likewise.
33874         * elf/pldd.c: Likewise.
33875         * elf/sotruss.ksh: Likewise.
33876         * elf/sprof.c: Likewise.
33877         * iconv/iconv_prog.c: Likewise.
33878         * iconv/iconvconfig.c: Likewise.
33879         * locale/programs/locale.c: Likewise.
33880         * locale/programs/localedef.c: Likewise.
33881         * login/programs/pt_chown.c: Likewise.
33882         * malloc/memusage.sh: Likewise.
33883         * malloc/memusagestat.c: Likewise.
33884         * malloc/mtrace.pl: Likewise.
33885         * nscd/nscd.c: Likewise.
33886         * nss/getent.c: Likewise.
33887         * nss/makedb.c: Likewise.
33888         * posix/getconf.c: Likewise.
33890 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33892         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33893         numbers.
33895 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33897         * math/bits/mathcalls.h (modf): Use __nonnull.
33899 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33901         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33902         (split): Use macro CN instead of the bare value.
33903         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33904         could be used.
33905         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33906         instead of the bare value.
33907         (power1): Likewise.
33909 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33911         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33912         __ATAN_TWOM.
33913         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33915         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33916         their values.
33917         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33918         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33919         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33920         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33922 2012-12-28  Andreas Jaeger  <aj@suse.de>
33924         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33925         values are from Linux 3.7.
33927         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33928         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33930 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33932         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33933         TRUE case.
33935         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33936         (norm): Likewise.
33937         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33938         variables with preprocessor constants.
33939         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33940         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33941         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33943 2012-12-27  Bruno Haible  <bruno@clisp.org>
33945         [BZ #14317]
33946         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33947         only if needed.
33949 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33951         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33952         and use variable directly.
33953         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33955         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33956         MPONE.
33957         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33958         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33959         variable MPONE.
33960         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33961         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33962         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33963         include directive.  Remove local variable MPONE.
33964         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33965         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33966         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33968 2012-12-25  David S. Miller  <davem@davemloft.net>
33970         * version.h (RELEASE): Set to "development".
33971         (VERSION): Set to "2.17.90".
33972         * NEWS: Add 2.18 section.
33974 2012-12-21  David S. Miller  <davem@davemloft.net>
33976         * po/hr.po: Update from translation team.
33978 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33980         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33982 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33984         * NEWS:  Mention new memcpy for MIPS.
33986 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33988         * manual/contrib.texi (Contributors): Spelling correction.
33990 2012-12-15  David S. Miller  <davem@davemloft.net>
33992         * po/ru.po: Update from translation team.
33994 2012-12-13  David S. Miller  <davem@davemloft.net>
33996         * NEWS: Mention IFUNC testsuite enhancements.
33998         * po/pl.po: Update from translation team.
33999         * po/bg.po: Likewise.
34001         * manual/contrib.texi (Contributors): Update entries for Hongjiu
34002         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
34004 2012-12-11  David S. Miller  <davem@davemloft.net>
34006         * po/sv.po: Update from translation team.
34008         * po/vi.po: Update from translation team.
34010         * po/cs.po: Update from translation team.
34012         * po/de.po: Update from translation team.
34013         * po/eo.po: Likewise.
34014         * po/nl.po: Likewise.
34016 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
34018         [BZ #14246]
34019         * manual/argp.texi (Argp Helper Functions): Move node to follow
34020         Argp Parsing State.
34022         [BZ #14872]
34023         * manual/conf.texi (Limits on File System Capacity): Mention if
34024         terminating null is included in the max size.
34026 2012-12-10  Andreas Jaeger  <aj@suse.de>
34028         * po/cs.po: Update from translation team.
34030 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
34032         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
34033         void pointer and cast to uintptr_t.
34034         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
34035         path.
34036         * sysdeps/s390/s390-64/memcpy.S: Likewise.
34037         * sysdeps/s390/s390-64/memset.S: Likewise.
34039 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
34041         [BZ #14833]
34042         * menual/message.texi (Message Translation): Fix typos.
34043         (Helper programs for gettext): Likewise.
34045 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
34047         [BZ #14898]
34048         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
34049         Change to -1.
34051 2012-12-07  David S. Miller  <davem@davemloft.net>
34053         * po/libc.pot: Update.
34055 2012-12-07  Richard Henderson  <rth@redhat.com>
34057         [BZ #10114]
34058         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
34059         normal/normal case to before the switch.
34060         (_FP_DIV): Likewise.
34062 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
34063             Mike Frysinger  <vapier@gentoo.org>
34065         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
34066         check for __NR_fadvise64_64.
34068 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
34070         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
34071         0, not just to plain "0" as a statement.
34072         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
34073         with cw.
34075 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
34077         * NEWS: Use sourceware.org in Bugzilla URL.
34079 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
34081         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34082         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34084         * stdio-common/tst-put-error.c (do_test): Add newline to the
34085         padded test to ensure flush.
34087 2012-12-05  Jeff Law  <law@redhat.com>
34089         * sunrpc/etc.rpc (fedfs_admin): Add entry.
34091 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
34093         * README: Don't refer to ports add-on as distributed separately.
34094         Mention AArch64 in list of systems supported in the ports add-on.
34096         * LICENSES: Add more non-FSF copyright and license notices.
34098         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
34099         ((unused)).
34101         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
34103         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
34104         10000 as width of padded output.
34106 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34108         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
34110         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
34111         variable LX with __attribute__ ((unused)).
34112         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
34113         Likewise.
34114         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
34115         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
34116         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
34117         with __attribute__ ((unused)).
34119 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
34121         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
34123 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
34125         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
34126         (CFLAGS-nldbl-acos.c): New variable.
34127         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
34128         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
34129         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
34130         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
34131         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
34132         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
34133         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
34134         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
34135         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
34136         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
34137         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
34138         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
34139         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
34140         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
34141         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
34142         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
34143         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
34144         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
34145         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
34146         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
34147         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
34148         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
34149         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
34150         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
34151         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
34152         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
34153         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
34154         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
34155         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
34156         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
34157         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
34158         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
34159         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
34160         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
34161         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
34162         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
34163         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
34164         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
34165         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
34166         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
34167         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
34168         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
34169         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
34170         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
34171         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
34172         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
34173         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
34174         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
34175         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
34176         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
34177         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
34178         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
34179         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
34180         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
34181         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
34182         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
34183         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
34184         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
34185         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
34186         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
34187         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
34188         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
34189         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
34190         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
34191         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
34192         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
34193         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
34194         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
34195         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
34196         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
34197         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
34198         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
34199         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
34200         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
34201         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
34202         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
34203         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
34204         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
34205         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
34206         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
34207         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
34208         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
34209         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
34210         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
34211         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
34212         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
34213         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
34214         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
34215         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
34216         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
34217         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
34218         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
34219         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
34220         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
34221         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
34222         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
34223         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
34225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34226         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
34228         [BZ #14914]
34229         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
34230         whole low double instead of just low 47 bits when splitting values
34231         into two parts.
34233 2012-12-03  Allan McRae  <allan@archlinux.org>
34235         * manual/stdio.texi (Predefined Printf Handlers): Remove
34236         @hsep and @vsep usage.
34238 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
34240         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
34241         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
34243 2012-12-03  Jeff Law  <law@redhat.com>
34245         * time/sys/time.h (settimeofday): Do not mark TV argument
34246         as __nonnull.
34248 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
34250         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
34251         when currently writing and seek to current position when not.
34252         * libio/Makefile (tests): Remove bug-fclose1.
34253         * libio/bug-fclose1.c: Delete.
34255 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
34257         * manual/arith.texi (feenableexcept): Fix typo.
34258         (fedisableexcept): Likewise.
34260 2012-11-30  Roland McGrath  <roland@hack.frob.com>
34262         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34263         second, differently-typed declaration, rather than a cast.
34265 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34267         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34268         * include/rpc/svc.h: ... here.
34270 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
34272         [BZ #13013]
34273         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34274         depending n and resplen2 to catch cases where answer
34275         equals answerp2.
34277 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
34279         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34280         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34282 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
34284         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34286 2012-11-29  Roland McGrath  <roland@hack.frob.com>
34288         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34290 2012-11-28  Jeff Law  <law@redhat.com>
34292         [BZ #13761]
34293         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34294         dataset_temporary.  Track alloca usage into alloca_used.
34295         If dataset is large allocate and release it via malloc/free.
34297 2012-06-04  Florian Weimer  <fweimer@redhat.com>
34299         [BZ #14197]
34300         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34302 2012-11-28  David S. Miller  <davem@davemloft.net>
34304         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34306 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34308         [BZ #14803]
34309         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34310         of pi/2 rounded to nearest to 64 bits.
34311         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34312         nearest to 64 bits.
34313         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34314         bits.
34316 2012-11-28  Jeff Law <law@redhat.com>
34317             Martin Osvald <mosvald@redhat.com>
34319         [BZ #14889]
34320         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34321         * sunrpc/svc.c: Include time.h.
34322         (__svc_accept_failed): New function.
34323         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34324         any reason other than EINTR, call __svc_accept_failed.
34325         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34326         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34328 2012-11-28  Andreas Schwab  <schwab@suse.de>
34330         * scripts/abilist.awk: Also handle indirect functions in .opd
34331         section.
34333 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34335         [BZ #13881]
34336         * sysdeps/x86/fpu/powl_helper.c: New file.
34337         * sysdeps/x86/fpu/Makefile: Likewise.
34338         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34339         (p3): New object.
34340         (__ieee754_powl): Use __powl_helper for finite arguments except
34341         integer exponents below 8.
34342         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34343         (p3): New object.
34344         (__ieee754_powl): Use __powl_helper for finite arguments except
34345         integer exponents below 8.
34346         * math/libm-test.inc (pow_test): Add more tests and enable some
34347         previously disabled tests.
34348         * sysdeps/i386/fpu/libm-test-ulps: Update.
34349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34351 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34352             Carlos O'Donell  <carlos_odonell@mentor.com>
34354         * nss/makedb.c (is_prime): Assert that input is odd and greater
34355         than 4.  Note that fact in a comment too.
34356         (next_prime): Add 4 to input.
34358 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34360         [BZ #11741]
34361         * libio/Makefile (tests): Add test case tst-fwrite-error.
34362         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34363         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34364         * libio/tst-fwrite-error.c: New test case.
34366 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
34368         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34369         before casting to void *.
34370         * include/libc-internal.h (__pointer_type): New macro.
34371         (__integer_if_pointer_type_sub): Likewise.
34372         (__integer_if_pointer_type): Likewise.
34373         (cast_to_integer): Likewise.
34374         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34375         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34376         before casting to atomic64_t.
34377         (atomic_exchange_acq): Likewise.
34378         (__arch_exchange_and_add_body): Likewise.
34379         (__arch_add_body): Likewise.
34380         (atomic_add_negative): Likewise.
34381         (atomic_add_zero): Likewise.
34383 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
34385         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34386         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34387         (add_fdes): Likewise.
34388         (linear_search_fdes): Likewise.
34389         (binary_search_unencoded_fdes): Likewise.
34391 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
34393         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34395 2012-11-24  Adam Conrad  <adconrad@0c3.net>
34397         * configure.in: Autodetect C++ header directories.
34398         * configure: Regenerated.
34400 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
34402         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34404 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
34406         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34408 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
34410         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34411         LDBL_MANT_DIG == 106]: Disable some tests.
34412         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34413         Likewise.
34414         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34415         Likewise.
34417         [BZ #14871]
34418         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34419         input for small inputs.  Return +/- pi/2 for large inputs.
34420         * math/libm-test.inc (atan_test): Add more tests.
34422         * sysdeps/generic/unwind-dw2-fde-glibc.c
34423         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34424         __attribute__ ((unused)).
34426         [BZ #14645]
34427         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34428         x * y if x and y are nonzero and z is zero.
34430         [BZ #14811]
34431         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34432         nonzero exponents with absolute value below 0x1p-117 to +/-
34433         0x1p-117.
34435         [BZ #14869]
34436         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34437         up arguments below 2**-450, not just those below 2**-500.
34438         * math/libm-test.inc (hypot_test): Add another test.
34440         [BZ #14868]
34441         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34442         Return a+b for ratio over 2**120, not 2**60.
34443         * math/libm-test.inc (hypot_test): Add another test.
34445         * math/libm-test.inc (clog_test): Use
34446         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34447         (clog10_test): Likewise.
34449         [BZ #6778]
34450         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34452 2012-11-22  Andreas Schwab  <schwab@suse.de>
34454         * sysdeps/i386/fpu/libm-test-ulps: Update.
34456 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
34458         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34459         printf output with newline.
34461 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
34463         [BZ #14865]
34464         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34465         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34466         -z nodlopen, -z initfirst and -z execstack support.
34467         * configure: Regenerated.
34469         * elf/elf.h (DF_1_NODIRECT): New macro.
34470         (DF_1_IGNMULDEF): Likewise.
34471         (DF_1_NOKSYMS): Likewise.
34472         (DF_1_NOHDR): Likewise.
34473         (DF_1_EDITED): Likewise.
34474         (DF_1_NORELOC): Likewise.
34475         (DF_1_SYMINTPOSE): Likewise.
34476         (DF_1_GLOBAUDIT): Likewise.
34477         (DF_1_SINGLETON): Likewise.
34478         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34479         DT_1_SUPPORTED_MASK bits.
34480         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34482 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
34484         * sysdeps/unix/make-syscalls.sh: Document prefixes.
34486 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
34488         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34489         macro.
34491         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34492         (sendmmsg): Move declarations...
34493         * socket/sys/socket.h: ... here.
34494         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34495         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34496         include it from...
34497         * socket/recvmmsg.c: ... this new file.
34498         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34499         (sendmmsg): Rename to __sendmmsg, create weak alias and make
34500         definition of __sendmmsg hidden.
34501         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34502         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34503         Move ENOSYS stub into and include it from...
34504         * socket/sendmmsg.c: ... this new file.
34505         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34506         (sysdep_routines): Move recvmmsg and sendmmsg...
34507         * socket/Makefile (routines): ... here.
34508         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34509         (GLIBC_PRIVATE): Add __sendmmsg.
34510         * include/sys/socket.h (__sendmmsg): Add declarations.
34511         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34512         sendmmsg.
34514 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
34516         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34517         variable I1 with __attribute__ ((unused)).
34518         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34520 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34522         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34523         DUMMY variables with __attribute__ ((unused)).
34525         * bits/byteswap.h: Include <bits/types.h>.
34526         (__bswap_64): Use __uint64_t instead of unsigned long long int.
34528 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34530         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34531         string_t.  Do not manually set errno.
34532         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34533         length with __strnlen.  Make sure to both set errno and return it on
34534         failure.
34536 2012-11-19  David S. Miller  <davem@davemloft.net>
34538         With help from Joseph Myers.
34539         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34540         very large arguments properly.
34541         * math/libm-test.inc (atan_test): New tests.
34542         (atan2_test): New tests.
34543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34544         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34546 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34548         [BZ #14856]
34549         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34550         Define to 3.
34552         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34553         [POSIX] (EADDRNOTAVAIL): Likewise.
34554         [POSIX] (EAFNOSUPPORT): Likewise.
34555         [POSIX] (EALREADY): Likewise.
34556         [POSIX] (ECONNABORTED): Likewise.
34557         [POSIX] (ECONNREFUSED): Likewise.
34558         [POSIX] (ECONNRESET): Likewise.
34559         [POSIX] (EDESTADDRREQ): Likewise.
34560         [POSIX] (EDQUOT): Likewise.
34561         [POSIX] (EHOSTUNREACH): Likewise.
34562         [POSIX] (EIDRM): Likewise.
34563         [POSIX] (EISCONN): Likewise.
34564         [POSIX] (ELOOP): Likewise.
34565         [POSIX] (EMULTIHOP): Likewise.
34566         [POSIX] (ENETDOWN): Likewise.
34567         [POSIX] (ENETUNREACH): Likewise.
34568         [POSIX] (ENOBUFS): Likewise.
34569         [POSIX] (ENODATA): Likewise.
34570         [POSIX] (ENOLINK): Likewise.
34571         [POSIX] (ENOMSG): Likewise.
34572         [POSIX] (ENOPROTOOPT): Likewise.
34573         [POSIX] (ENOSR): Likewise.
34574         [POSIX] (ENOSTR): Likewise.
34575         [POSIX] (ENOTCONN): Likewise.
34576         [POSIX] (ENOTSOCK): Likewise.
34577         [POSIX] (EOPNOTSUPP): Likewise.
34578         [POSIX] (EOVERFLOW): Likewise.
34579         [POSIX] (EPROTO): Likewise.
34580         [POSIX] (EPROTONOSUPPORT): Likewise.
34581         [POSIX] (EPROTOTYPE): Likewise.
34582         [POSIX] (ESTALE): Likewise.
34583         [POSIX] (ETIME): Likewise.
34584         [POSIX] (ETXTBSY): Likewise.
34585         [POSIX] (EWOULDBLOCK): Likewise.
34586         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34587         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34588         [POSIX] (SEEK_CUR): Likewise.
34589         [POSIX] (SEEK_END): Likewise.
34590         [POSIX || UNIX98] (mode_t): Do not require.
34591         [POSIX] (off_t): Likewise.
34592         [POSIX] (pid_t): Likewise.
34593         [POSIX] (sys/stat.h): Do not allow header.
34594         [POSIX] (unistd.h): Likewise.
34595         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34596         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34597         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34598         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34599         require.
34600         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34601         sigevent): Specify elements.
34602         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34603         entry.
34604         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34605         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34607         * conform/data/cpio.h-data [POSIX]: Disable whole file.
34608         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34609         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34610         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34611         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34612         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34613         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34614         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34615         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34616         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34617         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34618         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34619         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34620         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34621         Likewise.
34622         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34623         Likewise.
34624         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34625         Likewise.
34626         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34627         Likewise.
34628         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34629         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34630         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34631         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34632         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34633         Specify lower bound on value.
34634         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34635         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34636         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34637         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34638         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34639         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34640         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34641         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34642         value.
34643         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34644         as optional.
34645         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34646         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34647         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34648         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34649         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34650         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34651         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34652         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34653         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34654         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34655         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34656         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34657         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34658         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34659         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34660         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34661         entry.
34662         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34663         optional.
34664         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34665         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34666         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34667         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34668         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34669         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34670         Likewise.
34671         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34672         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34673         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34674         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34675         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
34676         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34677         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34678         as optional.
34679         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34680         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34681         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34682         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34683         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34684         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34685         specify as optional.
34686         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34687         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34688         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34689         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34690         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34691         [XPG3] (NL_LANGMAX): Likewise.
34692         [POSIX || XPG3] (NL_MSGMAX): Likewise.
34693         [POSIX || XPG3] (NL_NMAX): Likewise.
34694         [POSIX || XPG3] (NL_SETMAX): Likewise.
34695         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34696         [XPG3] (NZERO): Likewise.
34697         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34698         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34699         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34700         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34701         (REG_ERANGE): Expect.
34702         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34703         optional-constant.
34704         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34705         Use (void) in prototype.
34706         [POSIX] (*_t): Allow.
34707         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34708         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34709         (WRDE_BADVAL): Expect.
34711         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34712         expect.
34713         [XPG3 || XPG4] (O_RSYNC): Likewise.
34714         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34715         Likewise.
34716         [XPG3 || XPG4] (pthread_sigmask): Likewise.
34717         [XPG3 || XPG4] (sigqueue): Likewise.
34718         [XPG3 || XPG4] (sigtimedwait): Likewise.
34719         [XPG3 || XPG4] (sigwaitinfo): Likewise.
34720         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34721         [XPG3 || XPG4] (vsnprintf): Likewise.
34722         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34723         Likewise.
34724         [XPG3 || XPG4] (blksize_t): Likewise.
34725         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34726         Likewise.
34727         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34728         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34729         [XPG3 || XPG4] (struct itimerspec): Likewise.
34730         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34731         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34732         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34733         [XPG3 || XPG4] (clockid_t): Likewise.
34734         [XPG3 || XPG4] (timer_t): Likewise.
34735         [XPG3 || XPG4] (clock_getres): Likewise.
34736         [XPG3 || XPG4] (clock_gettime): Likewise.
34737         [XPG3 || XPG4] (clock_settime): Likewise.
34738         [XPG3 || XPG4] (nanosleep): Likewise.
34739         [XPG3 || XPG4] (timer_create): Likewise.
34740         [XPG3 || XPG4] (timer_delete): Likewise.
34741         [XPG3 || XPG4] (timer_gettime): Likewise.
34742         [XPG3 || XPG4] (timer_getoverrun): Likewise.
34743         [XPG3 || XPG4] (timer_settime): Likewise.
34744         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34745         [XPG3 || XPG4] (getlogin_r): Likewise.
34746         [XPG3 || XPG4] (pread): Likewise.
34747         [XPG3 || XPG4] (pthread_atfork): Likewise.
34748         [XPG3 || XPG4] (pwrite): Likewise.
34750         [BZ #14835]
34751         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34752         <bits/siginfo.h>.
34754 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34756         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34757         finalizing MALLSTREAM.
34759         * sysdeps/mach/hurd/syncfs.c: New file.
34761 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34763         [BZ #14719]
34764         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34765         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34766         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34767         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34768         (_nss_dns_gethostbyname4_r): Likewise.
34769         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34770         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34772 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
34774         [BZ #13763]
34775         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34777 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
34779         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34780         * elf/cache.c (print_entry): Print ",AArch64" for
34781         FLAG_AARCH64_LIB64
34783         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34784         * elf/cache.c (print_entry): Print ",hard-float" for
34785         FLAG_ARM_LIBHF.
34787 2012-11-18  David S. Miller  <davem@davemloft.net>
34789         With help from Joseph Myers.
34790         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34791         cutoff to 2**-13.
34792         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34793         cutoff to 2**-25.
34794         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34795         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34796         small.
34797         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34798         * math/libm-test.inc (y0_test): New tests.
34799         (y1_test): New tests.
34800         * sysdeps/i386/fpu/libm-test-ulps: Update.
34801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34804 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
34806         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34807         64-bit targets.
34808         * configure: Regenerated.
34810 2012-11-17  David S. Miller  <davem@davemloft.net>
34812         [BZ #14811]
34813         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34814         nonzero exponents with absolute value below 0x1p-128 to +/-
34815         0x1p-128.
34817 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
34819         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34821         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34823         * posix/getconf-speclist.c: New file.
34824         * posix/posix-envs.def: Likewise.
34825         * posix/confstr.c (START_ENV_GROUP): New macro.
34826         (END_ENV_GROUP): Likewise.
34827         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34828         (KNOWN_PRESENT_ENV_STRING): Likewise.
34829         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34830         (UNKNOWN_ENVIRONMENT): Likewise.
34831         (confstr): Include posix-envs.def instead of handling
34832         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34833         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34834         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34835         (END_ENV_GROUP): Likewise.
34836         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34837         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34838         (UNKNOWN_ENVIRONMENT): Likewise.
34839         (__sysconf): Include posix-envs.def instead of handling associated
34840         cases directly here.
34841         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34842         preprocessing getconf-speclist.c rather than running getconf or
34843         generating empty file.
34845 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34847         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34849 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34851         [BZ #14672]
34852         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34854 2012-11-16  David S. Miller  <davem@davemloft.net>
34856         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34857         smaller than LDBL_EPSILON/2.0L, just return xm1.
34859 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34861         * elf/tst-array1.c (init): Set constructor priority to 1000.
34862         (fini): Set destructor priority to 1000.
34863         * elf/tst-array2dep.c: Likewise.
34865 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34867         [BZ #11741]
34868         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34869         (_IO_new_file_xsputn): Also return EOF if none of the input
34870         data was written when overflow failed.
34871         * libio/iopadn.c (_IO_padn): Likewise.
34872         * libio/iowpadn.c (_IO_wpadn): Likewise.
34873         * stdio-common/tst-put-error.c: Add copyright notice.
34874         (do_test): Add case for printing padded string.
34875         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34876         _IO_padn returned error.
34877         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34878         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34879         return EOF.
34881 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34883         * libio/libioP.h: Add comment note that the references to C++
34884         bits are now obsolete.
34886 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34888         * math/libm-test.inc (check_complex): Use asprintf.
34890 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34892         * debug/pcprofiledump.c (print_version): Update copyright year.
34893         * malloc/memusagestat.c (print_version): Likewise.
34895 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34897         [BZ #14831]
34898         * elf/Makefile (tests): Add tst-audit8.
34899         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34900         ($(objpfx)tst-audit8.out): New target.
34901         (tst-audit8-ENV): New variable.
34902         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34903         audit if l_reloc_result is NULL.
34904         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34905         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34906         * elf/tst-audit8.c: New file.
34908 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34910         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34911         * misc/Makefile (CFLAGS-select.c): Define.
34912         * posix/Makefile (CFLAGS-pause.c): Define.
34914 2012-11-13  David S. Miller  <davem@davemloft.net>
34916         * crypt/Makefile: Move test targets after toplevel Rules
34917         inclusion.  Grab any necessary sysdep routines when linking.
34918         * crypt/md5.c (md5_process_block): Remove define, we will always
34919         name it __md5_process_block.
34920         (md5_finish_ctx): Update md5_process_block call.
34921         (md5_stream): Likewise.
34922         (md5_process_bytes): Likewise.
34923         (md5_process_block): Rename to __md5_process_block and move to ...
34924         * crypt/md5-block.c: ... here.
34925         * crypt/sha256.c (sha256_process_block): Move to ...
34926         * crypt/sha256-block.c: ... here.
34927         * crypt/sha512.c (sha512_process_block): Move to ...
34928         * crypt/sha512-block.c: ... here.
34929         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34930         path.
34931         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34932         * sysdeps/sparc/sparc64/multiarch/Makefile
34933         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34934         crypt subdir.
34935         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34936         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34937         multiarch changes.
34938         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34939         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34940         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34941         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34942         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34943         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34944         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34945         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34946         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34947         file.
34948         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34949         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34950         file.
34951         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34953 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34955         * timezone/tzselect.ksh: Update from tzcode git revision
34956         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34957         * timezone/zdump.c: Likewise.
34958         * timezone/zic.c: Likewise.
34959         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34960         in TZVERSION setting, not $(PKGVERSION).
34961         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34962         REPORT_BUGS_TO settings.
34964         [BZ #14838]
34965         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34966         macro.
34968 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34970         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34971         detection to immediately after _FP_ROUND().
34972         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34973         bits are 0.
34975 2012-11-11  David S. Miller  <davem@davemloft.net>
34977         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34978         inttypes.h
34979         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34980         __close rather than their public counterparts.
34982 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34984         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34985         file.
34986         [UNIX98] (sem_timedwait): Do not expect.
34987         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34988         [XPG4 || UNIX98] (sockatmark): Do not expect.
34989         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34990         (clock_getcpuclockid): Do not expect.
34991         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34992         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34993         Do not expect.
34994         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34995         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34996         [UNIX98] (vwscanf): Likewise.
34997         [UNIX98] (vswscanf): Likewise.
34999 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
35001         * timezone/version.h: Remove file.
35002         * timezone/README: Do not refer to version.h.
35003         * timezone/Makefile ($(objpfx)zic.o): New dependency on
35004         $(objpfx)version.h.
35005         ($(objpfx)zdump.o): Likewise.
35006         ($(objpfx)version.h): New target.
35008         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
35009         2012i.
35010         * timezone/README: Don't mention modification to tzselect.ksh.
35011         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
35012         work on unmodified tzselect.ksh.  Substitute version numbers in
35013         tzselect.ksh.
35015         * Makefile (format-me): Remove.
35016         (INSTALL): Adjust indentation.  Use commands directly instead of
35017         using $(format-me).
35019         * aclocal.m4 (ACX_PKGVERSION): New macro.
35020         (ACX_BUGURL): Likewise.
35021         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
35022         (PKGVERSION): New AC_DEFINE_UNQUOTED.
35023         (REPORT_BUGS_TO): Likewise.
35024         * configure: Regenerated.
35025         * config.h.in (PKGVERSION): New macro.
35026         (REPORT_BUGS_TO): Likewise.
35027         * config.make.in (PKGVERSION): New variable.
35028         (PKGVERSION_TEXI): Likewise.
35029         (REPORT_BUGS_TO): Likewise.
35030         (REPORT_BUGS_TEXI): Likewise.
35031         * Makefile (format-me): Use -I$(common-objpfx)manual.
35032         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
35033         ($(common-objpfx)manual/%): New target.
35034         (manual/%): Remove target.
35035         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
35036         (print_version): Use PKGVERSION.
35037         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
35038         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
35039         and REPORT_BUGS_TO.
35040         ($(objpfx)xtrace): Likewise.
35041         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
35042         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
35043         (print_version): Use PKGVERSION.
35044         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
35045         (do_version): Use PKGVERSION.
35046         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
35047         REPORT_BUGS_TO.
35048         (common-ldd-rewrite): Likewise.
35049         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
35050         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
35051         (print_version): Use PKGVERSION.
35052         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
35053         * elf/pldd.c (argp_program_bug_address): Remove variable.
35054         (more_help): New function.
35055         (argp): Use more_help.
35056         (print_version): Use PKGVERSION.
35057         * elf/sln.c (main): Use PKGVERSION.
35058         (usage): Use REPORT_BUGS_TO.
35059         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
35060         (top level): Use PKGVERSION.
35061         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
35062         (print_version): Use PKGVERSION.
35063         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
35064         (print_version): Use PKGVERSION.
35065         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
35066         (print_version): Use PKGVERSION.
35067         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
35068         (print_version): Use PKGVERSION.
35069         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
35070         (print_version): Use PKGVERSION.
35071         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
35072         (print_version): Use PKGVERSION.
35073         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
35074         and BUGURL.
35075         ($(objpfx)memusage): Likewise.
35076         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
35077         (do_version): Use PKGVERSION.
35078         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
35079         (print_version): Use PKGVERSION.
35080         * malloc/mtrace.pl ($PACKAGE): Remove variable.
35081         ($PKGVERSION): New variable.
35082         ($REPORT_BUGS_TO): Likewise.
35083         (usage): Use $REPORT_BUGS_TO.
35084         (top level): Use $PKGVERSION.
35085         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
35086         ($(objpfx)pkgvers.texi): New rule.
35087         ($(objpfx)stamp-pkgvers): Likewise.
35088         * manual/install.texi: Include pkgvers.texi.
35089         (--with-pkgversion): Document new configure option.
35090         (--with-bugurl): Likewise.
35091         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
35092         than necessarily for this particular distribution.  Use
35093         REPORT_BUGS_TO for where to report bugs.
35094         * INSTALL: Regenerated.
35095         * manual/libc.texinfo: Include pkgvers.texi.
35096         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
35097         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
35098         (print_version): Use PKGVERSION.
35099         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
35100         (print_version): Use PKGVERSION.
35101         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
35102         (print_version): Use PKGVERSION.
35103         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
35104         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
35105         macro.
35106         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
35107         (print_version): Use PKGVERSION.
35108         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
35109         (print_version): Use PKGVERSION.
35110         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
35111         and PKGVERSION.
35113         * timezone/checktab.awk: Update from tzcode 2012i.
35114         * timezone/ialloc.c: Likewise.
35115         * timezone/private.h: Likewise.
35116         * timezone/scheck.c: Likewise.
35117         * timezone/tzfile.h: Likewise.
35118         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
35119         (TZVERSION): Hardcode tzcode version number.
35120         * timezone/zdump.c: Update from tzcode 2012i.
35121         * timezone/zic.c: Likewise.
35122         * timezone/version.h: New file.
35123         * timezone/README: Describe version.h.  Update upstream location.
35125         [BZ #14824]
35126         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
35127         (mktemp): Enable declaration.
35128         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
35129         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
35130         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
35131         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
35132         Likewise.
35133         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
35134         Likewise.
35135         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
35136         Likewise.
35137         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
35138         Likewise.
35139         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
35140         Likewise.
35141         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
35142         Likewise.
35144         [BZ #14821]
35145         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
35146         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
35147         for copies of such integer values.
35148         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
35149         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
35151 2012-11-09  Andreas Jaeger  <aj@suse.de>
35153         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
35154         definitions and declarations that are provided by
35155         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
35157 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35159         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
35160         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
35161         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
35162         definition.
35164 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35166         * elf/elf.h: Update comment before AArch64 relocations.
35168 2012-11-07  David S. Miller  <davem@davemloft.net>
35170         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
35171         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35172         (__start_context): Declare.
35173         (__makecontext_ret): Delete.
35174         (__makecontext): Hook up __start_context instead of
35175         __makecontext_ret.
35176         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
35177         (sysdep_routines): Add __start_context when in stdlib.
35179 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35181         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
35182         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
35183         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
35184         hardcoded "nm".
35185         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
35186         (READELF): New variable.  Use it instead of hardcoded "readelf".
35188 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35190         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
35191         * sysdeps/x86/Makefile: Here.
35192         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
35193         * sysdeps/x86/tst-xmmymm.sh: This.
35195 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35197         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
35198         expectations.
35199         [UNIX98] (pthread_barrier_t): Do not expect.
35200         [UNIX98] (pthread_barrierattr_t): Likewise.
35201         [UNIX98] (pthread_spinlock_t): Likewise.
35202         [UNIX98] (pthread_barrier_destroy): Likewise.
35203         [UNIX98] (pthread_barrier_init): Likewise.
35204         [UNIX98] (pthread_barrier_wait): Likewise.
35205         [UNIX98] (pthread_barrierattr_destroy): Likewise.
35206         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
35207         [UNIX98] (pthread_barrierattr_init): Likewise.
35208         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
35209         [UNIX98] (pthread_getcpuclockid): Likewise.
35210         [UNIX98] (pthread_mutex_timedlock): Likewise.
35211         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
35212         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
35213         [UNIX98] (pthread_sigmask): Likewise.
35214         [UNIX98] (pthread_spin_destroy): Likewise.
35215         [UNIX98] (pthread_spin_init): Likewise.
35216         [UNIX98] (pthread_spin_lock): Likewise.
35217         [UNIX98] (pthread_spin_trylock): Likewise.
35218         [UNIX98] (pthread_spin_unlock): Likewise.
35219         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
35220         Do not expect.
35221         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
35222         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
35223         [XPG3 || XPG4] (pthread_cond_t): Likewise.
35224         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
35225         [XPG3 || XPG4] (pthread_key_t): Likewise.
35226         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
35227         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
35228         [XPG3 || XPG4] (pthread_once_t): Likewise.
35229         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
35230         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
35231         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
35232         [XPG3 || XPG4] (pthread_t): Likewise.
35234         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
35235         not expect.
35236         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
35238         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
35239         Change function return type to int.
35241         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
35242         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
35243         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
35244         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
35245         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
35246         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
35247         [!POSIX] (posix_madvise): Likewise.
35248         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
35249         && !UNIX98].
35250         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
35251         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
35252         (mode_t): Likewise.
35253         (posix_mem_offset): Likewise.
35254         (posix_typed_mem_get_info): Likewise.
35255         (posix_typed_mem_open): Likewise.
35257         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35258         Change condition to [XOPEN2K8].
35260         * conform/conformtest.pl: Preprocess allow-header data with -x c
35261         instead of from stdin.
35262         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35263         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35264         [C99-based standards] (cerfc): Likewise.
35265         [C99-based standards] (cexp2): Likewise.
35266         [C99-based standards] (cexpm1): Likewise.
35267         [C99-based standards] (clog10): Likewise.
35268         [C99-based standards] (clog1p): Likewise.
35269         [C99-based standards] (clog2): Likewise.
35270         [C99-based standards] (clgamma): Likewise.
35271         [C99-based standards] (ctgamma): Likewise.
35272         [C99-based standards] (cerff): Likewise.
35273         [C99-based standards] (cerfcf): Likewise.
35274         [C99-based standards] (cexp2f): Likewise.
35275         [C99-based standards] (cexpm1f): Likewise.
35276         [C99-based standards] (clog10f): Likewise.
35277         [C99-based standards] (clog1pf): Likewise.
35278         [C99-based standards] (clog2f): Likewise.
35279         [C99-based standards] (clgammaf): Likewise.
35280         [C99-based standards] (ctgammaf): Likewise.
35281         [C99-based standards] (cerfl): Likewise.
35282         [C99-based standards] (cerfcl): Likewise.
35283         [C99-based standards] (cexp2l): Likewise.
35284         [C99-based standards] (cexpm1l): Likewise.
35285         [C99-based standards] (clog10l): Likewise.
35286         [C99-based standards] (clog1pl): Likewise.
35287         [C99-based standards] (clog2l): Likewise.
35288         [C99-based standards] (clgammal): Likewise.
35289         [C99-based standards] (ctgammal): Likewise.
35290         * conform/data/inttypes.h-data [C99-based standards]: Include
35291         stdint.h-data.  Remove all expectations for stdint.h contents.
35292         [C99-based standards] (PRI*): Do not allow.
35293         [C99-based standards] (SCN*): Likewise.
35294         [C99-based standards] (*_t): Likewise.
35295         [C99-based-standards] (PRId8): Expect macro.
35296         [C99-based-standards] (PRIi8): Likewise.
35297         [C99-based-standards] (PRIo8): Likewise.
35298         [C99-based-standards] (PRIu8): Likewise.
35299         [C99-based-standards] (PRIx8): Likewise.
35300         [C99-based-standards] (PRIX8): Likewise.
35301         [C99-based-standards] (SCNd8): Likewise.
35302         [C99-based-standards] (SCNi8): Likewise.
35303         [C99-based-standards] (SCNo8): Likewise.
35304         [C99-based-standards] (SCNu8): Likewise.
35305         [C99-based-standards] (SCNx8): Likewise.
35306         [C99-based-standards] (PRIdLEAST8): Likewise.
35307         [C99-based-standards] (PRIiLEAST8): Likewise.
35308         [C99-based-standards] (PRIoLEAST8): Likewise.
35309         [C99-based-standards] (PRIuLEAST8): Likewise.
35310         [C99-based-standards] (PRIxLEAST8): Likewise.
35311         [C99-based-standards] (PRIXLEAST8): Likewise.
35312         [C99-based-standards] (SCNdLEAST8): Likewise.
35313         [C99-based-standards] (SCNiLEAST8): Likewise.
35314         [C99-based-standards] (SCNoLEAST8): Likewise.
35315         [C99-based-standards] (SCNuLEAST8): Likewise.
35316         [C99-based-standards] (SCNxLEAST8): Likewise.
35317         [C99-based-standards] (PRIdFAST8): Likewise.
35318         [C99-based-standards] (PRIiFAST8): Likewise.
35319         [C99-based-standards] (PRIoFAST8): Likewise.
35320         [C99-based-standards] (PRIuFAST8): Likewise.
35321         [C99-based-standards] (PRIxFAST8): Likewise.
35322         [C99-based-standards] (PRIXFAST8): Likewise.
35323         [C99-based-standards] (SCNdFAST8): Likewise.
35324         [C99-based-standards] (SCNiFAST8): Likewise.
35325         [C99-based-standards] (SCNoFAST8): Likewise.
35326         [C99-based-standards] (SCNuFAST8): Likewise.
35327         [C99-based-standards] (SCNxFAST8): Likewise.
35328         [C99-based-standards] (PRId16): Likewise.
35329         [C99-based-standards] (PRIi16): Likewise.
35330         [C99-based-standards] (PRIo16): Likewise.
35331         [C99-based-standards] (PRIu16): Likewise.
35332         [C99-based-standards] (PRIx16): Likewise.
35333         [C99-based-standards] (PRIX16): Likewise.
35334         [C99-based-standards] (SCNd16): Likewise.
35335         [C99-based-standards] (SCNi16): Likewise.
35336         [C99-based-standards] (SCNo16): Likewise.
35337         [C99-based-standards] (SCNu16): Likewise.
35338         [C99-based-standards] (SCNx16): Likewise.
35339         [C99-based-standards] (PRIdLEAST16): Likewise.
35340         [C99-based-standards] (PRIiLEAST16): Likewise.
35341         [C99-based-standards] (PRIoLEAST16): Likewise.
35342         [C99-based-standards] (PRIuLEAST16): Likewise.
35343         [C99-based-standards] (PRIxLEAST16): Likewise.
35344         [C99-based-standards] (PRIXLEAST16): Likewise.
35345         [C99-based-standards] (SCNdLEAST16): Likewise.
35346         [C99-based-standards] (SCNiLEAST16): Likewise.
35347         [C99-based-standards] (SCNoLEAST16): Likewise.
35348         [C99-based-standards] (SCNuLEAST16): Likewise.
35349         [C99-based-standards] (SCNxLEAST16): Likewise.
35350         [C99-based-standards] (PRIdFAST16): Likewise.
35351         [C99-based-standards] (PRIiFAST16): Likewise.
35352         [C99-based-standards] (PRIoFAST16): Likewise.
35353         [C99-based-standards] (PRIuFAST16): Likewise.
35354         [C99-based-standards] (PRIxFAST16): Likewise.
35355         [C99-based-standards] (PRIXFAST16): Likewise.
35356         [C99-based-standards] (SCNdFAST16): Likewise.
35357         [C99-based-standards] (SCNiFAST16): Likewise.
35358         [C99-based-standards] (SCNoFAST16): Likewise.
35359         [C99-based-standards] (SCNuFAST16): Likewise.
35360         [C99-based-standards] (SCNxFAST16): Likewise.
35361         [C99-based-standards] (PRId32): Likewise.
35362         [C99-based-standards] (PRIi32): Likewise.
35363         [C99-based-standards] (PRIo32): Likewise.
35364         [C99-based-standards] (PRIu32): Likewise.
35365         [C99-based-standards] (PRIx32): Likewise.
35366         [C99-based-standards] (PRIX32): Likewise.
35367         [C99-based-standards] (SCNd32): Likewise.
35368         [C99-based-standards] (SCNi32): Likewise.
35369         [C99-based-standards] (SCNo32): Likewise.
35370         [C99-based-standards] (SCNu32): Likewise.
35371         [C99-based-standards] (SCNx32): Likewise.
35372         [C99-based-standards] (PRIdLEAST32): Likewise.
35373         [C99-based-standards] (PRIiLEAST32): Likewise.
35374         [C99-based-standards] (PRIoLEAST32): Likewise.
35375         [C99-based-standards] (PRIuLEAST32): Likewise.
35376         [C99-based-standards] (PRIxLEAST32): Likewise.
35377         [C99-based-standards] (PRIXLEAST32): Likewise.
35378         [C99-based-standards] (SCNdLEAST32): Likewise.
35379         [C99-based-standards] (SCNiLEAST32): Likewise.
35380         [C99-based-standards] (SCNoLEAST32): Likewise.
35381         [C99-based-standards] (SCNuLEAST32): Likewise.
35382         [C99-based-standards] (SCNxLEAST32): Likewise.
35383         [C99-based-standards] (PRIdFAST32): Likewise.
35384         [C99-based-standards] (PRIiFAST32): Likewise.
35385         [C99-based-standards] (PRIoFAST32): Likewise.
35386         [C99-based-standards] (PRIuFAST32): Likewise.
35387         [C99-based-standards] (PRIxFAST32): Likewise.
35388         [C99-based-standards] (PRIXFAST32): Likewise.
35389         [C99-based-standards] (SCNdFAST32): Likewise.
35390         [C99-based-standards] (SCNiFAST32): Likewise.
35391         [C99-based-standards] (SCNoFAST32): Likewise.
35392         [C99-based-standards] (SCNuFAST32): Likewise.
35393         [C99-based-standards] (SCNxFAST32): Likewise.
35394         [C99-based-standards] (PRId64): Likewise.
35395         [C99-based-standards] (PRIi64): Likewise.
35396         [C99-based-standards] (PRIo64): Likewise.
35397         [C99-based-standards] (PRIu64): Likewise.
35398         [C99-based-standards] (PRIx64): Likewise.
35399         [C99-based-standards] (PRIX64): Likewise.
35400         [C99-based-standards] (SCNd64): Likewise.
35401         [C99-based-standards] (SCNi64): Likewise.
35402         [C99-based-standards] (SCNo64): Likewise.
35403         [C99-based-standards] (SCNu64): Likewise.
35404         [C99-based-standards] (SCNx64): Likewise.
35405         [C99-based-standards] (PRIdLEAST64): Likewise.
35406         [C99-based-standards] (PRIiLEAST64): Likewise.
35407         [C99-based-standards] (PRIoLEAST64): Likewise.
35408         [C99-based-standards] (PRIuLEAST64): Likewise.
35409         [C99-based-standards] (PRIxLEAST64): Likewise.
35410         [C99-based-standards] (PRIXLEAST64): Likewise.
35411         [C99-based-standards] (SCNdLEAST64): Likewise.
35412         [C99-based-standards] (SCNiLEAST64): Likewise.
35413         [C99-based-standards] (SCNoLEAST64): Likewise.
35414         [C99-based-standards] (SCNuLEAST64): Likewise.
35415         [C99-based-standards] (SCNxLEAST64): Likewise.
35416         [C99-based-standards] (PRIdFAST64): Likewise.
35417         [C99-based-standards] (PRIiFAST64): Likewise.
35418         [C99-based-standards] (PRIoFAST64): Likewise.
35419         [C99-based-standards] (PRIuFAST64): Likewise.
35420         [C99-based-standards] (PRIxFAST64): Likewise.
35421         [C99-based-standards] (PRIXFAST64): Likewise.
35422         [C99-based-standards] (SCNdFAST64): Likewise.
35423         [C99-based-standards] (SCNiFAST64): Likewise.
35424         [C99-based-standards] (SCNoFAST64): Likewise.
35425         [C99-based-standards] (SCNuFAST64): Likewise.
35426         [C99-based-standards] (SCNxFAST64): Likewise.
35427         [C99-based-standards] (PRIdMAX): Likewise.
35428         [C99-based-standards] (PRIiMAX): Likewise.
35429         [C99-based-standards] (PRIoMAX): Likewise.
35430         [C99-based-standards] (PRIuMAX): Likewise.
35431         [C99-based-standards] (PRIxMAX): Likewise.
35432         [C99-based-standards] (PRIXMAX): Likewise.
35433         [C99-based-standards] (SCNdMAX): Likewise.
35434         [C99-based-standards] (SCNiMAX): Likewise.
35435         [C99-based-standards] (SCNoMAX): Likewise.
35436         [C99-based-standards] (SCNuMAX): Likewise.
35437         [C99-based-standards] (SCNxMAX): Likewise.
35438         [C99-based-standards] (PRIdPTR): Likewise.
35439         [C99-based-standards] (PRIiPTR): Likewise.
35440         [C99-based-standards] (PRIoPTR): Likewise.
35441         [C99-based-standards] (PRIuPTR): Likewise.
35442         [C99-based-standards] (PRIxPTR): Likewise.
35443         [C99-based-standards] (PRIXPTR): Likewise.
35444         [C99-based-standards] (SCNdPTR): Likewise.
35445         [C99-based-standards] (SCNiPTR): Likewise.
35446         [C99-based-standards] (SCNoPTR): Likewise.
35447         [C99-based-standards] (SCNuPTR): Likewise.
35448         [C99-based-standards] (SCNxPTR): Likewise.
35449         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35450         allow.
35451         * conform/data/stdint.h-data: Update comments to clarify
35452         requirements.
35453         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
35454         type.
35455         [C99-based standards] (INT8_MAX): Likewise.
35456         [C99-based standards] (INT16_MIN): Likewise.
35457         [C99-based standards] (INT16_MAX): Likewise.
35458         [C99-based standards] (INT32_MIN): Likewise.
35459         [C99-based standards] (INT32_MAX): Likewise.
35460         [C99-based standards] (INT64_MIN): Likewise.
35461         [C99-based standards] (INT64_MAX): Likewise.
35462         [C99-based standards] (UINT8_MAX): Likewise.
35463         [C99-based standards] (UINT16_MAX): Likewise.
35464         [C99-based standards] (UINT32_MAX): Likewise.
35465         [C99-based standards] (UINT64_MAX): Likewise.
35466         [C99-based standards] (INT_LEAST8_MIN): Likewise.
35467         [C99-based standards] (INT_LEAST8_MAX): Likewise.
35468         [C99-based standards] (INT_LEAST16_MIN): Likewise.
35469         [C99-based standards] (INT_LEAST16_MAX): Likewise.
35470         [C99-based standards] (INT_LEAST32_MIN): Likewise.
35471         [C99-based standards] (INT_LEAST32_MAX): Likewise.
35472         [C99-based standards] (INT_LEAST64_MIN): Likewise.
35473         [C99-based standards] (INT_LEAST64_MAX): Likewise.
35474         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35475         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35476         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35477         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35478         [C99-based standards] (INT_FAST8_MIN): Likewise.
35479         [C99-based standards] (INT_FAST8_MAX): Likewise.
35480         [C99-based standards] (INT_FAST16_MIN): Likewise.
35481         [C99-based standards] (INT_FAST16_MAX): Likewise.
35482         [C99-based standards] (INT_FAST32_MIN): Likewise.
35483         [C99-based standards] (INT_FAST32_MAX): Likewise.
35484         [C99-based standards] (INT_FAST64_MIN): Likewise.
35485         [C99-based standards] (INT_FAST64_MAX): Likewise.
35486         [C99-based standards] (UINT_FAST8_MAX): Likewise.
35487         [C99-based standards] (UINT_FAST16_MAX): Likewise.
35488         [C99-based standards] (UINT_FAST32_MAX): Likewise.
35489         [C99-based standards] (UINT_FAST64_MAX): Likewise.
35490         [C99-based standards] (INTPTR_MIN): Likewise.
35491         [C99-based standards] (INTPTR_MAX): Likewise.
35492         [C99-based standards] (UINTPTR_MAX): Likewise.
35493         [C99-based standards] (INTMAX_MIN): Likewise.
35494         [C99-based standards] (INTMAX_MAX): Likewise.
35495         [C99-based standards] (UINTMAX_MAX): Likewise.
35496         [C99-based standards] (PTRDIFF_MIN): Likewise.
35497         [C99-based standards] (PTRDIFF_MAX): Likewise.
35498         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35499         [C99-based standards] (SIZE_MAX): Likewise.
35500         [C99-based standards] (WCHAR_MAX): Likewise.
35501         [C99-based standards] (WINT_MAX): Likewise.
35502         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
35503         constraint on value.
35504         [C99-based standards] (WCHAR_MIN): Likewise.
35505         [C99-based standards] (WINT_MIN): Likewise.
35506         [C99-based standards] (*_t): Allow.
35507         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35508         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35509         Include math.h-data and complex.h-data.  Remove all expectations
35510         of math.h and complex.h contents.
35511         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35512         at end of line.
35513         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35514         (struct tm): Expect tag.
35515         [C99-based-standards] (wcstof): Expect function.
35516         [C99-based-standards] (wcstold): Likewise.
35517         [C99-based-standards] (wcstoll): Likewise.
35518         [C99-based-standards] (wcstoull): Likewise.
35519         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35520         macro-int-constant.  Specify type.
35521         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
35522         constraint on value.
35523         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35524         Specify type.
35525         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35526         Specify value.
35527         [ISO C standards]: Do not allow headers.
35528         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35529         wcs[abcdefghijklmnopqrstuvwxyz]*.
35530         [ISO C standards] (*_t): Do not allow.
35531         * conform/data/wctype.h-data [C99-based standards] (iswblank):
35532         Expect function.
35533         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35534         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35535         Specify type.
35536         [ISO C standards]: Do not allow headers.
35537         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35538         is[abcdefghijklmnopqrstuvwxyz]*.
35539         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35540         to[abcdefghijklmnopqrstuvwxyz]*.
35541         [ISO C standards] (*_t): Do not allow.
35542         * conform/data/stdalign.h-data: New file.
35543         * conform/data/stdbool.h-data: Likewise.
35544         * conform/data/stdnoreturn.h-data: Likewise.
35546 2012-11-07  Roland McGrath  <roland@hack.frob.com>
35548         [BZ #14815]
35549         * manual/filesys.texi (Directory Entries): Typo fix.
35550         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35552 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35554         * elf/elf.h (EM_AARCH64): New macro.
35555         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35556         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35557         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35558         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35559         (R_AARCH64_TLSDESC): Likewise.
35560         (NT_ARM_TLS): Likewise.
35561         (NT_ARM_HW_BREAK): Likewise.
35562         (NT_ARM_HW_WATCH): Likewise.
35564 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35566         [BZ #14811]
35567         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35568         (__ieee754_powl): Saturate nonzero exponents with absolute value
35569         below 0x1p-79 to +/- 0x1p-79.
35570         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35571         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35572         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35573         nonzero exponents with absolute value below 0x1p-32 to +/-
35574         0x1p-32.
35575         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35576         (__ieee754_powl): Saturate nonzero exponents with absolute value
35577         below 0x1p-79 to +/- 0x1p-79.
35578         * math/libm-test.inc (pow_test): Add more tests.
35580 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35582         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35583         _dl_s390_cap_flags with kernel. Increase string length.
35584         (_dl_s390_platforms): Add z196 and zEC12.
35586 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35588         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35589         Change XOPEN21K to XOPEN2K.
35591 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
35593         * string/memmove.c: Use memcpy when possible.
35595 2012-11-06  Andreas Jaeger  <aj@suse.de>
35597         * po/eo.po: Update from translation team.
35599 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
35601         [BZ #14793]
35602         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35603         exponent and small x and y exponents, scale x or y up.  Increase
35604         by 2 the exponent used in scaling up.
35605         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35606         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35607         * math/libm-test.inc (fma_test): Add more tests.
35608         (fma_test_towardzero): Likewise.
35609         (fma_test_downward): Likewise.
35610         (fma_test_upward): Likewise.
35612 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
35614         [BZ #14805]
35615         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35616         fenv_t *.
35618         [BZ #14801]
35619         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35620         namespace for names of struct fields.
35621         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35622         fenv_t fields.
35623         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35624         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35626 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35628         [BZ #3665]
35629         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35631 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35633         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35634         PTR_DEMANGLE.
35636         [BZ #5246]
35637         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35638         PTR_DEMANGLE.
35640 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
35642         [BZ #14797]
35643         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35644         definitely overflow as x * y not x * y + z.
35645         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35646         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35647         * math/libm-test.inc (fma_test): Add more tests.
35648         (fma_test_towardzero): Likewise.
35649         (fma_test_downward): Likewise.
35650         (fma_test_upward): Likewise.
35652 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35654         [BZ #157]
35656         * include/stub-tag.h: Remove file.
35657         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35658         '#include' of it.
35659         * manual/maint.texi (Porting): Don't reference it.
35660         * Makerules ($(objpfx)stubs): Likewise.
35661         * dirent/closedir.c: Don't include <stub-tag.h>.
35662         * dirent/dirfd.c: Likewise.
35663         * dirent/fdopendir.c: Likewise.
35664         * dirent/getdents.c: Likewise.
35665         * dirent/getdents64.c: Likewise.
35666         * dirent/opendir.c: Likewise.
35667         * dirent/readdir.c: Likewise.
35668         * dirent/readdir64.c: Likewise.
35669         * dirent/readdir64_r.c: Likewise.
35670         * dirent/readdir_r.c: Likewise.
35671         * dirent/rewinddir.c: Likewise.
35672         * dirent/seekdir.c: Likewise.
35673         * dirent/telldir.c: Likewise.
35674         * gmon/profil.c: Likewise.
35675         * grp/setgroups.c: Likewise.
35676         * inet/if_index.c: Likewise.
35677         * io/access.c: Likewise.
35678         * io/chdir.c: Likewise.
35679         * io/chmod.c: Likewise.
35680         * io/chown.c: Likewise.
35681         * io/close.c: Likewise.
35682         * io/dup.c: Likewise.
35683         * io/dup2.c: Likewise.
35684         * io/dup3.c: Likewise.
35685         * io/euidaccess.c: Likewise.
35686         * io/faccessat.c: Likewise.
35687         * io/fchdir.c: Likewise.
35688         * io/fchmod.c: Likewise.
35689         * io/fchmodat.c: Likewise.
35690         * io/fchown.c: Likewise.
35691         * io/fchownat.c: Likewise.
35692         * io/fcntl.c: Likewise.
35693         * io/flock.c: Likewise.
35694         * io/fstatfs.c: Likewise.
35695         * io/fstatfs64.c: Likewise.
35696         * io/fstatvfs.c: Likewise.
35697         * io/fstatvfs64.c: Likewise.
35698         * io/futimens.c: Likewise.
35699         * io/fxstat.c: Likewise.
35700         * io/fxstat64.c: Likewise.
35701         * io/fxstatat.c: Likewise.
35702         * io/fxstatat64.c: Likewise.
35703         * io/getcwd.c: Likewise.
35704         * io/isatty.c: Likewise.
35705         * io/lchmod.c: Likewise.
35706         * io/lchown.c: Likewise.
35707         * io/link.c: Likewise.
35708         * io/linkat.c: Likewise.
35709         * io/lseek.c: Likewise.
35710         * io/lseek64.c: Likewise.
35711         * io/lxstat64.c: Likewise.
35712         * io/mkdir.c: Likewise.
35713         * io/mkdirat.c: Likewise.
35714         * io/mkfifo.c: Likewise.
35715         * io/mkfifoat.c: Likewise.
35716         * io/open.c: Likewise.
35717         * io/open64.c: Likewise.
35718         * io/openat.c: Likewise.
35719         * io/openat64.c: Likewise.
35720         * io/pipe.c: Likewise.
35721         * io/pipe2.c: Likewise.
35722         * io/poll.c: Likewise.
35723         * io/posix_fadvise.c: Likewise.
35724         * io/posix_fadvise64.c: Likewise.
35725         * io/posix_fallocate.c: Likewise.
35726         * io/posix_fallocate64.c: Likewise.
35727         * io/read.c: Likewise.
35728         * io/readlink.c: Likewise.
35729         * io/readlinkat.c: Likewise.
35730         * io/rmdir.c: Likewise.
35731         * io/sendfile.c: Likewise.
35732         * io/sendfile64.c: Likewise.
35733         * io/statfs.c: Likewise.
35734         * io/statfs64.c: Likewise.
35735         * io/statvfs.c: Likewise.
35736         * io/statvfs64.c: Likewise.
35737         * io/symlink.c: Likewise.
35738         * io/symlinkat.c: Likewise.
35739         * io/ttyname.c: Likewise.
35740         * io/ttyname_r.c: Likewise.
35741         * io/umask.c: Likewise.
35742         * io/unlink.c: Likewise.
35743         * io/unlinkat.c: Likewise.
35744         * io/utime.c: Likewise.
35745         * io/utimensat.c: Likewise.
35746         * io/write.c: Likewise.
35747         * io/xmknod.c: Likewise.
35748         * io/xmknodat.c: Likewise.
35749         * io/xstat.c: Likewise.
35750         * io/xstat64.c: Likewise.
35751         * login/getpt.c: Likewise.
35752         * login/grantpt.c: Likewise.
35753         * login/unlockpt.c: Likewise.
35754         * math/e_acoshl.c: Likewise.
35755         * math/e_acosl.c: Likewise.
35756         * math/e_asinl.c: Likewise.
35757         * math/e_atan2l.c: Likewise.
35758         * math/e_atanhl.c: Likewise.
35759         * math/e_coshl.c: Likewise.
35760         * math/e_expl.c: Likewise.
35761         * math/e_fmodl.c: Likewise.
35762         * math/e_gammal_r.c: Likewise.
35763         * math/e_hypotl.c: Likewise.
35764         * math/e_j0l.c: Likewise.
35765         * math/e_j1l.c: Likewise.
35766         * math/e_jnl.c: Likewise.
35767         * math/e_lgammal_r.c: Likewise.
35768         * math/e_log10l.c: Likewise.
35769         * math/e_log2l.c: Likewise.
35770         * math/e_logl.c: Likewise.
35771         * math/e_powl.c: Likewise.
35772         * math/e_rem_pio2l.c: Likewise.
35773         * math/e_sinhl.c: Likewise.
35774         * math/e_sqrtl.c: Likewise.
35775         * math/fclrexcpt.c: Likewise.
35776         * math/fedisblxcpt.c: Likewise.
35777         * math/feenablxcpt.c: Likewise.
35778         * math/fegetenv.c: Likewise.
35779         * math/fegetexcept.c: Likewise.
35780         * math/fegetround.c: Likewise.
35781         * math/feholdexcpt.c: Likewise.
35782         * math/fesetenv.c: Likewise.
35783         * math/fesetround.c: Likewise.
35784         * math/feupdateenv.c: Likewise.
35785         * math/fgetexcptflg.c: Likewise.
35786         * math/fraiseexcpt.c: Likewise.
35787         * math/fsetexcptflg.c: Likewise.
35788         * math/ftestexcept.c: Likewise.
35789         * math/k_cosl.c: Likewise.
35790         * math/k_rem_pio2l.c: Likewise.
35791         * math/k_sinl.c: Likewise.
35792         * math/k_tanl.c: Likewise.
35793         * math/s_asinhl.c: Likewise.
35794         * math/s_atanl.c: Likewise.
35795         * math/s_cbrtl.c: Likewise.
35796         * math/s_erfl.c: Likewise.
35797         * math/s_expm1l.c: Likewise.
35798         * math/s_log1pl.c: Likewise.
35799         * math/s_tanhl.c: Likewise.
35800         * misc/acct.c: Likewise.
35801         * misc/brk.c: Likewise.
35802         * misc/chflags.c: Likewise.
35803         * misc/chroot.c: Likewise.
35804         * misc/fchflags.c: Likewise.
35805         * misc/fgetxattr.c: Likewise.
35806         * misc/flistxattr.c: Likewise.
35807         * misc/fremovexattr.c: Likewise.
35808         * misc/fsetxattr.c: Likewise.
35809         * misc/fsync.c: Likewise.
35810         * misc/ftruncate.c: Likewise.
35811         * misc/futimes.c: Likewise.
35812         * misc/futimesat.c: Likewise.
35813         * misc/getdomain.c: Likewise.
35814         * misc/getdtsz.c: Likewise.
35815         * misc/gethostid.c: Likewise.
35816         * misc/gethostname.c: Likewise.
35817         * misc/getloadavg.c: Likewise.
35818         * misc/getpagesize.c: Likewise.
35819         * misc/getsysstats.c: Likewise.
35820         * misc/getxattr.c: Likewise.
35821         * misc/gtty.c: Likewise.
35822         * misc/ioctl.c: Likewise.
35823         * misc/lgetxattr.c: Likewise.
35824         * misc/listxattr.c: Likewise.
35825         * misc/llistxattr.c: Likewise.
35826         * misc/lremovexattr.c: Likewise.
35827         * misc/lsetxattr.c: Likewise.
35828         * misc/lutimes.c: Likewise.
35829         * misc/madvise.c: Likewise.
35830         * misc/mincore.c: Likewise.
35831         * misc/mlock.c: Likewise.
35832         * misc/mlockall.c: Likewise.
35833         * misc/mmap.c: Likewise.
35834         * misc/mprotect.c: Likewise.
35835         * misc/msync.c: Likewise.
35836         * misc/munlock.c: Likewise.
35837         * misc/munlockall.c: Likewise.
35838         * misc/munmap.c: Likewise.
35839         * misc/preadv.c: Likewise.
35840         * misc/preadv64.c: Likewise.
35841         * misc/ptrace.c: Likewise.
35842         * misc/pwritev.c: Likewise.
35843         * misc/pwritev64.c: Likewise.
35844         * misc/readv.c: Likewise.
35845         * misc/reboot.c: Likewise.
35846         * misc/remap_file_pages.c: Likewise.
35847         * misc/removexattr.c: Likewise.
35848         * misc/revoke.c: Likewise.
35849         * misc/select.c: Likewise.
35850         * misc/setdomain.c: Likewise.
35851         * misc/setegid.c: Likewise.
35852         * misc/seteuid.c: Likewise.
35853         * misc/sethostid.c: Likewise.
35854         * misc/sethostname.c: Likewise.
35855         * misc/setregid.c: Likewise.
35856         * misc/setreuid.c: Likewise.
35857         * misc/setxattr.c: Likewise.
35858         * misc/sstk.c: Likewise.
35859         * misc/stty.c: Likewise.
35860         * misc/swapoff.c: Likewise.
35861         * misc/swapon.c: Likewise.
35862         * misc/sync.c: Likewise.
35863         * misc/syncfs.c: Likewise.
35864         * misc/syscall.c: Likewise.
35865         * misc/truncate.c: Likewise.
35866         * misc/ualarm.c: Likewise.
35867         * misc/usleep.c: Likewise.
35868         * misc/ustat.c: Likewise.
35869         * misc/utimes.c: Likewise.
35870         * misc/vhangup.c: Likewise.
35871         * misc/writev.c: Likewise.
35872         * posix/_exit.c: Likewise.
35873         * posix/alarm.c: Likewise.
35874         * posix/execve.c: Likewise.
35875         * posix/fexecve.c: Likewise.
35876         * posix/fork.c: Likewise.
35877         * posix/fpathconf.c: Likewise.
35878         * posix/getaddrinfo.c: Likewise.
35879         * posix/getegid.c: Likewise.
35880         * posix/geteuid.c: Likewise.
35881         * posix/getgid.c: Likewise.
35882         * posix/getgroups.c: Likewise.
35883         * posix/getlogin.c: Likewise.
35884         * posix/getlogin_r.c: Likewise.
35885         * posix/getpgid.c: Likewise.
35886         * posix/getpid.c: Likewise.
35887         * posix/getppid.c: Likewise.
35888         * posix/getresgid.c: Likewise.
35889         * posix/getresuid.c: Likewise.
35890         * posix/getsid.c: Likewise.
35891         * posix/getuid.c: Likewise.
35892         * posix/glob64.c: Likewise.
35893         * posix/nanosleep.c: Likewise.
35894         * posix/pathconf.c: Likewise.
35895         * posix/pause.c: Likewise.
35896         * posix/posix_madvise.c: Likewise.
35897         * posix/pread.c: Likewise.
35898         * posix/pread64.c: Likewise.
35899         * posix/pwrite.c: Likewise.
35900         * posix/pwrite64.c: Likewise.
35901         * posix/sched_getaffinity.c: Likewise.
35902         * posix/sched_getp.c: Likewise.
35903         * posix/sched_gets.c: Likewise.
35904         * posix/sched_primax.c: Likewise.
35905         * posix/sched_primin.c: Likewise.
35906         * posix/sched_rr_gi.c: Likewise.
35907         * posix/sched_setaffinity.c: Likewise.
35908         * posix/sched_setp.c: Likewise.
35909         * posix/sched_sets.c: Likewise.
35910         * posix/sched_yield.c: Likewise.
35911         * posix/setgid.c: Likewise.
35912         * posix/setlogin.c: Likewise.
35913         * posix/setpgid.c: Likewise.
35914         * posix/setresgid.c: Likewise.
35915         * posix/setresuid.c: Likewise.
35916         * posix/setsid.c: Likewise.
35917         * posix/setuid.c: Likewise.
35918         * posix/sleep.c: Likewise.
35919         * posix/spawni.c: Likewise.
35920         * posix/sysconf.c: Likewise.
35921         * posix/times.c: Likewise.
35922         * posix/wait.c: Likewise.
35923         * posix/wait3.c: Likewise.
35924         * posix/wait4.c: Likewise.
35925         * posix/waitpid.c: Likewise.
35926         * resolv/gai_sigqueue.c: Likewise.
35927         * resource/getpriority.c: Likewise.
35928         * resource/getrlimit.c: Likewise.
35929         * resource/getrusage.c: Likewise.
35930         * resource/nice.c: Likewise.
35931         * resource/setpriority.c: Likewise.
35932         * resource/setrlimit.c: Likewise.
35933         * resource/ulimit.c: Likewise.
35934         * rt/aio_cancel.c: Likewise.
35935         * rt/aio_fsync.c: Likewise.
35936         * rt/aio_read.c: Likewise.
35937         * rt/aio_sigqueue.c: Likewise.
35938         * rt/aio_suspend.c: Likewise.
35939         * rt/aio_write.c: Likewise.
35940         * rt/clock_getres.c: Likewise.
35941         * rt/clock_gettime.c: Likewise.
35942         * rt/clock_nanosleep.c: Likewise.
35943         * rt/clock_settime.c: Likewise.
35944         * rt/lio_listio.c: Likewise.
35945         * rt/mq_close.c: Likewise.
35946         * rt/mq_getattr.c: Likewise.
35947         * rt/mq_notify.c: Likewise.
35948         * rt/mq_open.c: Likewise.
35949         * rt/mq_receive.c: Likewise.
35950         * rt/mq_send.c: Likewise.
35951         * rt/mq_setattr.c: Likewise.
35952         * rt/mq_timedreceive.c: Likewise.
35953         * rt/mq_timedsend.c: Likewise.
35954         * rt/mq_unlink.c: Likewise.
35955         * rt/shm_open.c: Likewise.
35956         * rt/shm_unlink.c: Likewise.
35957         * rt/timer_create.c: Likewise.
35958         * rt/timer_delete.c: Likewise.
35959         * rt/timer_getoverr.c: Likewise.
35960         * rt/timer_gettime.c: Likewise.
35961         * rt/timer_settime.c: Likewise.
35962         * setjmp/__longjmp.c: Likewise.
35963         * setjmp/setjmp.c: Likewise.
35964         * signal/kill.c: Likewise.
35965         * signal/killpg.c: Likewise.
35966         * signal/raise.c: Likewise.
35967         * signal/sigaction.c: Likewise.
35968         * signal/sigaltstack.c: Likewise.
35969         * signal/sigblock.c: Likewise.
35970         * signal/sigignore.c: Likewise.
35971         * signal/sigintr.c: Likewise.
35972         * signal/signal.c: Likewise.
35973         * signal/sigpause.c: Likewise.
35974         * signal/sigpending.c: Likewise.
35975         * signal/sigqueue.c: Likewise.
35976         * signal/sigreturn.c: Likewise.
35977         * signal/sigset.c: Likewise.
35978         * signal/sigsetmask.c: Likewise.
35979         * signal/sigstack.c: Likewise.
35980         * signal/sigsuspend.c: Likewise.
35981         * signal/sigtimedwait.c: Likewise.
35982         * signal/sigvec.c: Likewise.
35983         * signal/sigwait.c: Likewise.
35984         * signal/sigwaitinfo.c: Likewise.
35985         * signal/sysv_signal.c: Likewise.
35986         * socket/accept.c: Likewise.
35987         * socket/accept4.c: Likewise.
35988         * socket/bind.c: Likewise.
35989         * socket/connect.c: Likewise.
35990         * socket/getpeername.c: Likewise.
35991         * socket/getsockname.c: Likewise.
35992         * socket/getsockopt.c: Likewise.
35993         * socket/isfdtype.c: Likewise.
35994         * socket/listen.c: Likewise.
35995         * socket/recv.c: Likewise.
35996         * socket/recvfrom.c: Likewise.
35997         * socket/recvmsg.c: Likewise.
35998         * socket/send.c: Likewise.
35999         * socket/sendmsg.c: Likewise.
36000         * socket/sendto.c: Likewise.
36001         * socket/setsockopt.c: Likewise.
36002         * socket/shutdown.c: Likewise.
36003         * socket/sockatmark.c: Likewise.
36004         * socket/socket.c: Likewise.
36005         * socket/socketpair.c: Likewise.
36006         * stdio-common/ctermid.c: Likewise.
36007         * stdio-common/cuserid.c: Likewise.
36008         * stdio-common/remove.c: Likewise.
36009         * stdio-common/rename.c: Likewise.
36010         * stdio-common/renameat.c: Likewise.
36011         * stdio-common/tempname.c: Likewise.
36012         * stdlib/getcontext.c: Likewise.
36013         * stdlib/makecontext.c: Likewise.
36014         * stdlib/setcontext.c: Likewise.
36015         * stdlib/swapcontext.c: Likewise.
36016         * stdlib/system.c: Likewise.
36017         * streams/fattach.c: Likewise.
36018         * streams/fdetach.c: Likewise.
36019         * streams/getmsg.c: Likewise.
36020         * streams/getpmsg.c: Likewise.
36021         * streams/putmsg.c: Likewise.
36022         * streams/putpmsg.c: Likewise.
36023         * sysdeps/unix/bsd/getpt.c: Likewise.
36024         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
36025         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
36026         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
36027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
36028         Likewise.
36029         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
36030         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
36031         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
36032         * sysvipc/msgctl.c: Likewise.
36033         * sysvipc/msgget.c: Likewise.
36034         * sysvipc/msgrcv.c: Likewise.
36035         * sysvipc/msgsnd.c: Likewise.
36036         * sysvipc/semctl.c: Likewise.
36037         * sysvipc/semget.c: Likewise.
36038         * sysvipc/semop.c: Likewise.
36039         * sysvipc/semtimedop.c: Likewise.
36040         * sysvipc/shmat.c: Likewise.
36041         * sysvipc/shmctl.c: Likewise.
36042         * sysvipc/shmdt.c: Likewise.
36043         * sysvipc/shmget.c: Likewise.
36044         * termios/tcdrain.c: Likewise.
36045         * termios/tcflow.c: Likewise.
36046         * termios/tcflush.c: Likewise.
36047         * termios/tcgetattr.c: Likewise.
36048         * termios/tcgetpgrp.c: Likewise.
36049         * termios/tcsendbrk.c: Likewise.
36050         * termios/tcsetattr.c: Likewise.
36051         * termios/tcsetpgrp.c: Likewise.
36052         * time/adjtime.c: Likewise.
36053         * time/clock.c: Likewise.
36054         * time/getitimer.c: Likewise.
36055         * time/gettimeofday.c: Likewise.
36056         * time/setitimer.c: Likewise.
36057         * time/settimeofday.c: Likewise.
36058         * time/stime.c: Likewise.
36059         * time/time.c: Likewise.
36061 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
36063         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
36064         /usr/old/bin.
36066         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
36067         instead of spaces.
36068         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
36070 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
36072         [BZ #14796]
36073         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
36074         FE_TONEAREST before applying Dekker multiplication and Knuth
36075         addition.  Clear inexact exceptions and check for exact zero
36076         results afterwards.
36077         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36078         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36079         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36080         * math/libm-test.inc (fma_test): Add more tests.
36081         (fma_test_towardzero): Likewise.
36082         (fma_test_downward): Likewise.
36083         (fma_test_upward): Likewise.
36084         * sysdeps/generic/math_private.h (default_libc_fesetround): New
36085         function.
36086         (libc_fesetround): New macro.
36087         (libc_fesetroundf): Likewise.
36088         (libc_fesetroundl): Likewise.
36089         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
36090         function.
36091         (libc_fesetround_387): Likewise.
36092         (libc_fesetroundf): New macro.
36093         (libc_fesetround): Likewise.
36094         (libc_fesetroundl): Likewise.
36095         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
36096         function.
36097         (libc_fesetroundf): New macro.
36098         (libc_fesetround): Likewise.
36099         (libc_fesetroundl): Likewise.
36100         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
36101         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
36102         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
36103         libm_hidden_ver.
36104         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
36105         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
36106         libm_hidden_def.
36107         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
36108         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
36109         libm_hidden_ver.
36110         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
36111         libm_hidden_def.
36113         [BZ #3439]
36114         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
36115         integer constant usable in #if and use that to give value to enum
36116         constant.
36117         (FE_DIVBYZERO): Likewise.
36118         (FE_UNDERFLOW): Likewise.
36119         (FE_OVERFLOW): Likewise.
36120         (FE_INVALID): Likewise.
36121         (FE_INVALID_SNAN): Likewise.
36122         (FE_INVALID_ISI): Likewise.
36123         (FE_INVALID_IDI): Likewise.
36124         (FE_INVALID_ZDZ): Likewise.
36125         (FE_INVALID_IMZ): Likewise.
36126         (FE_INVALID_COMPARE): Likewise.
36127         (FE_INVALID_SOFTWARE): Likewise.
36128         (FE_INVALID_SQRT): Likewise.
36129         (FE_INVALID_INTEGER_CONVERSION): Likewise.
36130         (FE_TONEAREST): Likewise.
36131         (FE_TOWARDZERO): Likewise.
36132         (FE_UPWARD): Likewise.
36133         (FE_DOWNWARD): Likewise.
36134         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
36135         (FE_DIVBYZERO): Likewise.
36136         (FE_OVERFLOW): Likewise.
36137         (FE_UNDERFLOW): Likewise.
36138         (FE_INEXACT): Likewise.
36139         (FE_TONEAREST): Likewise.
36140         (FE_DOWNWARD): Likewise.
36141         (FE_UPWARD): Likewise.
36142         (FE_TOWARDZERO): Likewise.
36143         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
36144         (FE_UNDERFLOW): Likewise.
36145         (FE_OVERFLOW): Likewise.
36146         (FE_DIVBYZERO): Likewise.
36147         (FE_INVALID): Likewise.
36148         (FE_TONEAREST): Likewise.
36149         (FE_TOWARDZERO): Likewise.
36150         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
36151         (FE_OVERFLOW): Likewise.
36152         (FE_UNDERFLOW): Likewise.
36153         (FE_DIVBYZERO): Likewise.
36154         (FE_INEXACT): Likewise.
36155         (FE_TONEAREST): Likewise.
36156         (FE_TOWARDZERO): Likewise.
36157         (FE_UPWARD): Likewise.
36158         (FE_DOWNWARD): Likewise.
36159         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
36160         (FE_DIVBYZERO): Likewise.
36161         (FE_OVERFLOW): Likewise.
36162         (FE_UNDERFLOW): Likewise.
36163         (FE_INEXACT): Likewise.
36164         (FE_TONEAREST): Likewise.
36165         (FE_DOWNWARD): Likewise.
36166         (FE_UPWARD): Likewise.
36167         (FE_TOWARDZERO): Likewise.
36169 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
36171         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
36173 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
36175         * scripts/cross-test-ssh.sh (command): Use newlines to separate
36176         commands.  Quote $PWD.
36177         (blacklist_exports): Don't use remove_newlines.  Replace "declare
36178         -x" by "export".
36179         (remove_newlines): Remove.
36181 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
36183         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
36184         * stdlib/stdlib.h (atof): Moved to ...
36185         * include/bits/stdlib-float.h: Here.  New file.
36186         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
36187         * stdlib/bits/stdlib-float.h: New file.
36188         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
36189         -mno-sse -mno-mmx.
36190         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
36191         <xmmintrin.h>.
36193 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36195         * conform/conformtest.pl (@headers): Add fenv.h.
36196         * conform/data/fenv.h-data: New file.
36197         * include/fenv.h [_ISOMAC]: Disable all contents of file except
36198         include of <math/fenv.h>.
36200         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
36201         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
36202         && !UNIX98].  Enables tests for XOPEN2K8.
36203         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
36204         POSIX2008]: Likewise.
36206         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
36207         (struct rusage): Do not expect type or its members.
36209         [BZ #3439]
36210         * math/math.h (FP_NAN): Define macro to integer constant usable in
36211         #if and use that to give value to enum constant.
36212         (FP_INFINITE): Likewise.
36213         (FP_ZERO): Likewise.
36214         (FP_SUBNORMAL): Likewise.
36215         (FP_NORMAL): Likewise.
36217 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
36219         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
36220         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
36221         arguments.
36223 2012-11-02  Roland McGrath  <roland@hack.frob.com>
36225         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
36226         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
36227         autoconf-time if not.
36228         * configure.in: Remove AC_PREREQ.
36230 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36232         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
36233         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
36234         of the internal implementation.
36236 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
36238         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
36239         except include of <misc/sys/syslog.h>.
36241 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36243         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
36244         function returns with a NULL context exit with zero.
36246 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36248         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
36250 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
36252         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
36253         (run_program_cmd): This.
36254         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36255         (tst_langinfo): New variable.  Use it.
36257 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
36259         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36260         floating point opcodes.
36262 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36264         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36265         variable.
36267         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36269         * sysdeps/mach/hurd/powerpc: Remove directory.
36270         * sysdeps/mach/powerpc: Likewise.
36272 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36274         * scripts/check-local-headers.sh: Ignore c++ headers.
36276 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36278         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36279         __libc_cleanup_region_start argument.
36281 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
36283         [BZ #14784]
36284         [BZ #14785]
36285         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36286         x * y using scaling, not as x * y + z.
36287         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36288         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36289         * math/libm-test.inc (fma_test): Add more tests.
36290         (fma_test_towardzero): Likewise.
36291         (fma_test_downward): Likewise.
36292         (fma_test_upward): Likewise.
36294 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36296         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36298 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36300         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36301         New variable.
36303 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
36305         * rt/tst-shm.c (worker): Correct checking for mmap failure.
36307 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36310         Fix sort order.
36311         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36312         Likewise.
36314 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36317         Fix the order of the list for glibc 2.17.
36318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36319         Likewise.
36321 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36323         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36325 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36327         [BZ #14610]
36328         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36329         for low part of x being zero before using __atanl (y).
36330         * math/libm-test.inc (atan2_test): Add another test.
36332         * manual/install.texi (Configuring and compiling): Document
36333         general use of test-wrapper and test-wrapper-env.
36334         * INSTALL: Regenerated.
36336         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36337         (__fma): Do not extract and scale down low bits on after-rounding
36338         systems when result rounded to normal precision would have normal
36339         exponent.
36340         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36341         (__fmal): Do not extract and scale down low bits on after-rounding
36342         systems when result rounded to normal precision would have normal
36343         exponent.
36344         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36345         (__fmal): Do not extract and scale down low bits on after-rounding
36346         systems when result rounded to normal precision would have normal
36347         exponent.
36348         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36349         macro.
36350         (fma_test): Add more tests.
36351         (fma_test_towardzero): Likewise.
36352         (fma_test_downward): Likewise.
36353         (fma_test_upward): Likewise.
36355 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
36357         * sysdeps/i386/tininess.h: Renamed to ...
36358         * sysdeps/x86/tininess.h: This.
36359         * sysdeps/x86_64/tininess.h: Removed.
36361 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
36363         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36364         input.  Use $(build-program-cmd).
36365         ($(objpfx)tst-array1-static.out): Likewise.
36366         ($(objpfx)tst-array2.out): Likewise.
36367         ($(objpfx)tst-array3.out): Likewise.
36368         ($(objpfx)tst-array4.out): Likewise.
36369         ($(objpfx)tst-array5.out): Likewise.
36370         ($(objpfx)tst-array5-static.out): Likewise.
36372 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
36374         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36375         if defined.
36377         * nss/nsswitch.h (nss_interface_function): Provide new
36378         macro for use with NSS functions.
36379         * grp/initgroups.c: Use new macro.
36380         * nss/getXXbyYY.c: Likewise.
36381         * nss/getXXbyYY_r.c: Likewise.
36382         * nss/getXXent.c: Likewise.
36383         * nss/getXXent_r.c: Likewise.
36384         * sysdeps/posix/getaddrinfo.c: Likewise.
36386 2012-10-30  Andreas Jaeger  <aj@suse.de>
36388         * po/ru.po: Update Russion translation from translation project.
36390 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
36392         [BZ #14152]
36393         [BZ #14783]
36394         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36395         result and shift together with sticky bit instead of replicating
36396         round-to-nearest rounding.
36397         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36398         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36399         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
36400         missing underflow exceptions.
36401         (fma_test_towardzero): Add more tests.
36402         (fma_test_downward): Likewise.
36403         (fma_test_upward): Likewise.
36405         [BZ #14047]
36406         * sysdeps/generic/tininess.h: New file.
36407         * sysdeps/i386/tininess.h: Likewise.
36408         * sysdeps/sh/tininess.h: Likewise.
36409         * sysdeps/x86_64/tininess.h: Likewise.
36410         * stdlib/tst-strtod-underflow.c: Likewise.
36411         * stdlib/tst-tininess.c: Likewise.
36412         * stdlib/strtod_l.c: Include <tininess.h>.
36413         (round_and_return): Do not set errno for exact underflow cases.
36414         Force an underflow exception when setting errno for underflow.
36415         Determine underflow based on rounding to normal precision if
36416         TININESS_AFTER_ROUNDING.
36417         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36418         ERANGE for exact underflow cases.
36419         * stdlib/Makefile (tests): Add tst-tininess and
36420         tst-strtod-underflow.
36421         ($(objpfx)tst-tininess): Use $(link-libm).
36422         ($(objpfx)tst-strtod-underflow): Likewise.
36424 2012-10-30  Andreas Jaeger  <aj@suse.de>
36426         [BZ#14767]
36427         * elf/Makefile (tests): Remove conditional for have-initfini-array
36428         since this is now always required and the variable does not exist
36429         anymore.
36430         (tests-static): Likewise.
36431         (modules-names): Likewise.
36433         * po/eo.po: Add Esperanto translation from translation project.
36435         * elf/tst-array1.c (fini_array): Make writeable so that it can be
36436         merged with constructor/destructor.
36437         (init_array): Likewise.
36438         * elf/tst-array2dep.c (fini_array): Likewise.
36439         (init_array): Likewise.
36441 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
36443         * manual/message.texi: Delete @cartouche tags.
36445 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
36447         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36448         EOPNOTSUPP.
36449         * sysdeps/mach/hurd/fsync.c: Likewise.
36451         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36452         [_POSIX_REALTIME_SIGNALS]: Change condition to
36453         [_POSIX_REALTIME_SIGNALS > 0].
36455 2012-10-27  Andreas Jaeger  <aj@suse.de>
36457         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36458         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36459         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36460         [__WORDSIZE != 64]: Likewise.
36462 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
36464         *  iconvdata/tst-table.sh: Remove ${SHELL}.
36465         *  iconvdata/tst-tables.sh: Likewise.
36467 2012-10-25  David S. Miller  <davem@davemloft.net>
36469         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36470         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36471         of strtoull.
36473         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36474         ifunc-impl-list.c
36475         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36476         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36477         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36478         file.
36480 2012-10-25  Roland McGrath  <roland@hack.frob.com>
36482         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36483         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36484         __getdirentries.
36486 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36487             Jim Blandy  <jimb@codesourcery.com>
36489         * scripts/cross-test-ssh.sh: New file.
36490         * manual/install.texi (Configuring and compiling): Document use of
36491         cross-test-ssh.sh.
36492         * INSTALL: Regenerated.
36494 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
36496         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36497         EOPNOTSUPP.
36499 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36501         * Makeconfig (run-program-prefix): Fix comment.
36503 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36504             Jim Blandy  <jimb@codesourcery.com>
36506         * Makeconfig (test-wrapper): New variable,
36507         (test-wrapper-env): Likewise.
36508         [$(cross-compiling) = yes && $(test-wrapper) != ""]
36509         (run-built-tests): Define to yes.
36510         (run-program-prefix): Use $(test-wrapper).
36511         (built-program-cmd): Likewise.
36512         * Rules (make-test-out): Use $(test-wrapper-env) and
36513         $(host-built-program-cmd).
36514         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36515         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36516         tst-pathopt.sh.
36517         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36518         $(test-wrapper-env) to tst-rtld-load-self.sh.
36519         ($(objpfx)order2.out): Use $(test-wrapper).
36520         ($(objpfx)tst-initorder.out): Likewise.
36521         ($(objpfx)tst-initorder2.out): Likewise.
36522         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36523         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36524         (test_wrapper_env): New variable.  Use it to run ld.so.
36525         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36526         Use it to run ld.so.
36527         (test_wrapper_env): Likewise.
36528         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36529         $(test-wrapper) to run-iconv-test.sh.
36530         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36531         (ICONV): Use $test_wrapper.
36532         * posix/Makefile ($(objpfx)globtest.out): Pass
36533         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36534         globtest.sh, not $(run-program-prefix).
36535         * posix/globtest.sh (run_via_rtld_prefix): New variable.
36536         (test_wrapper): Likewise.
36537         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
36538         set together with run_via_rtld_prefix.
36539         (run_program_prefix): Define in terms of test_wrapper and
36540         run_via_rtld_prefix.
36542 2012-10-24  Roland McGrath  <roland@hack.frob.com>
36544         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36545         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36546         Targets removed.
36548         [BZ #14743]
36549         * include/time.h: Remove librt_hidden_proto (clock_gettime).
36550         Declare __clock_getres, __clock_gettime, __clock_settime,
36551         __clock_nanosleep, and __clock_getcpuclockid.
36552         * rt/clock_gettime.c: Define __clock_gettime as an alias.
36553         Remove librt_hidden_def (clock_gettime).
36554         * sysdeps/unix/clock_gettime.c: Likewise.
36555         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36556         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36557         * rt/clock_getres.c: Define __clock_getres as an alias.
36558         * sysdeps/posix/clock_getres.c: Likewise.
36559         * rt/clock_settime.c: Define __clock_settime as an alias.
36560         * sysdeps/unix/clock_settime.c: Likewise.
36561         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36562         * sysdeps/unix/clock_nanosleep.c: Likewise.
36563         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36564         * rt/clock-compat.c: New file.
36565         * rt/Makefile (librt-routines): Add clock-compat and move
36566         $(clock-routines) to ...
36567         (routines): ... here, new variable.
36568         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36569         Don't add get_clockfreq here.
36570         * rt/Versions (libc: GLIBC_2.17): New version set.
36571         Add clock_* symbols here.
36572         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
36573         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36574         (GLIBC_2.17): Add clock_* symbols.
36575         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36576         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36577         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36579         Likewise.
36580         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36581         Likewise.
36582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36583         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36584         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36585         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36586         * NEWS: Mention the move.
36588         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36589         Use __open, __read, __close rather than their public counterparts.
36590         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36591         (__get_clockfreq_via_cpuinfo): Likewise.
36592         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36593         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36595         * config.h.in (HAVE_IFUNC): New #undef.
36596         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36597         was successful.
36598         * configure: Regenerated.
36600 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36602         * configure.in: Move READELF check to start of file.
36603         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36604         libc_cv_asm_gnu_indirect_function in the process.
36605         * configure: Regenerated.
36607 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36609         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36610         send the output to /dev/null.
36611         (libc_cv_cc_with_libunwind): Likewise.
36612         (libc_cv_as_noexecstack): Likewise.
36613         * configure: Regenerate.
36615 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36617         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36619         * posix/globtest.sh (TMPDIR): Do not set.
36620         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36621         (testout): Likewise.
36623 2012-10-24  Andreas Jaeger  <aj@suse.de>
36625         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36626         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36627         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36628         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36629         posix_fadvise64, posix_fallocate64.
36631         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36632         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36633         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36634         Likewise.
36635         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36636         Likewise.
36637         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36639         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36640         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36641         <bits/fcntl-linux.h>.
36642         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36644         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36645         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36646         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36647         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36648         [__WORDSIZE != 64]: Likewise.
36650 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36652         * Makeconfig (run-built-tests): New variable.
36653         * Rules [$(cross-compiling) = yes]: Change condition to
36654         [$(run-built-tests) = no].
36655         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36656         to [$(run-built-tests) = yes].
36657         * elf/Makefile [$(cross-compiling) = no]: Likewise
36658         * grp/Makefile [$(cross-compiling) = no]: Likewise.
36659         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36660         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36661         * intl/Makefile [$(cross-compiling) = no]: Likewise.
36662         * io/Makefile [$(cross-compiling) = no]: Likewise.
36663         * libio/Makefile [$(cross-compiling) = no]: Likewise.
36664         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36665         * misc/Makefile [$(cross-compiling) = no]: Likewise.
36666         * posix/Makefile [$(cross-compiling) = no]: Likewise.
36667         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36668         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36669         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36670         * string/Makefile [$(cross-compiling) = no]: Likewise.
36672         * posix/Makefile ($(objpfx)globtest.out): Pass
36673         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36674         $(rtld-installed-name).
36675         * posix/globtest.sh (elf_objpfx): Remove variable.
36676         (rtld_installed_name): Likewise.
36677         (library_path): Likewise.
36678         (run_program_prefix): New variable.  Use for running globtest
36679         binary.
36681 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
36682             Joseph Myers  <joseph@codesourcery.com>
36684         * Makeconfig (host-built-program-cmd): New variable.
36685         * elf/Makefile (tst-stackguard1-ARGS): Use
36686         $(host-built-program-cmd).
36687         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36688         (tst-spawn-ARGS): Likewise.
36689         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36691 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36692             Jim Blandy  <jimb@codesourcery.com>
36694         * Makeconfig (run-via-rtld-prefix): New variable.
36695         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36696         (built-program-cmd): Likewise.
36698 2012-10-22  Andreas Jaeger  <aj@suse.de>
36700         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36701         __O_RSYNC if it exists, otherwise to O_SYNC.
36703 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
36704             Joseph Myers  <joseph@codesourcery.com>
36706         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36707         /dev/null.
36708         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36709         from /dev/null
36710         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36711         /dev/null.
36713 2012-10-22  Andreas Jaeger  <aj@suse.de>
36715         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36716         Define always.
36717         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36720         bits/fcntl-linux.h.
36722         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36723         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36725         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36726         to __O_LARGEFILE.
36727         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36728         to __O_LARGEFILE.
36730 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
36731             Joseph Myers  <joseph@codesourcery.com>
36733         * config.make.in (NM): New variable.
36735 2012-10-21  Andreas Jaeger  <aj@suse.de>
36737         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36738         definitions and declarations that are provided by
36739         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36741 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36743         [BZ #14683]
36744         * elf/Makefile (tests-static): Add tst-leaks1-static.
36745         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36746         ($(objpfx)tst-leaks1-static): New rule.
36747         ($(objpfx)tst-leaks1-static-mem): Likewise.
36748         (tst-leaks1-static-ENV): New macro.
36749         * elf/dl-open.c (dl_open_worker): Check the main application
36750         only if SHARED is defined.
36751         * elf/tst-leaks1-static.c: New file.
36753 2012-10-20  Andreas Jaeger  <aj@suse.de>
36755         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36756         generic values for Linux.
36757         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36758         and declarations that are provided by <bits/fcntl-linux.h> and
36759         include <bits/fcntl-linux.h>.
36760         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36761         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36763 2012-10-20  Roland McGrath  <roland@hack.frob.com>
36765         * io/fcntl.h: Move include of <bits/types.h> to the top and
36766         include it unconditionally.
36768 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36770         * wcsmbs/Makefile (tests-ifunc): New variable.
36771         (tests): Add $(tests-ifunc).
36772         * wcsmbs/test-wcschr-ifunc.c: New file.
36773         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36774         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36775         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36776         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36777         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36779         * string/Makefile (tests-ifunc): New variable.
36780         (tests): Add $(tests-ifunc).
36781         * string/test-memccpy.c (TEST_NAME): New macro.
36782         * string/test-memchr.c (TEST_NAME): Likewise.
36783         * string/test-memcmp.c (TEST_NAME): Likewise.
36784         * string/test-memcpy.c (TEST_NAME): Likewise.
36785         * string/test-memmem.c (TEST_NAME): Likewise.
36786         * string/test-memmove.c (TEST_NAME): Likewise.
36787         * string/test-memset.c (TEST_NAME): Likewise.
36788         * string/test-rawmemchr.c (TEST_NAME): Likewise.
36789         * string/test-stpcpy.c (TEST_NAME): Likewise.
36790         * string/test-stpncpy.c (TEST_NAME): Likewise.
36791         * string/test-strcasecmp.c (TEST_NAME): Likewise.
36792         * string/test-strcasestr.c (TEST_NAME): Likewise.
36793         * string/test-strcat.c (TEST_NAME): Likewise.
36794         * string/test-strchr.c (TEST_NAME): Likewise.
36795         * string/test-strcmp.c(TEST_NAME): Likewise.
36796         * string/test-strcpy.c (TEST_NAME): Likewise.
36797         * string/test-strcspn.c (TEST_NAME): Likewise.
36798         * string/test-strlen.c (TEST_NAME): Likewise.
36799         * string/test-strncasecmp.c (TEST_NAME): Likewise.
36800         * string/test-strncmp.c (TEST_NAME): Likewise.
36801         * string/test-strncpy.c (TEST_NAME): Likewise.
36802         * string/test-strnlen.c (TEST_NAME): Likewise.
36803         * string/test-strpbrk.c (TEST_NAME): Likewise.
36804         * string/test-strrchr.c (TEST_NAME): Likewise.
36805         * string/test-strspn.c (TEST_NAME): Likewise.
36806         * string/test-strstr.c (TEST_NAME): Likewise.
36807         * string/test-bcopy-ifunc.c: New file.
36808         * string/test-bzero-ifunc.c: Likewise.
36809         * string/test-memccpy-ifunc.c: Likewise.
36810         * string/test-memchr-ifunc.c: Likewise.
36811         * string/test-memcmp-ifunc.c: Likewise.
36812         * string/test-memcpy-ifunc.c: Likewise.
36813         * string/test-memmem-ifunc.c: Likewise.
36814         * string/test-memmove-ifunc.c: Likewise.
36815         * string/test-mempcpy-ifunc.c: Likewise.
36816         * string/test-memset-ifunc.c: Likewise.
36817         * string/test-rawmemchr-ifunc.c: Likewise.
36818         * string/test-stpcpy-ifunc.c: Likewise.
36819         * string/test-stpncpy-ifunc.c: Likewise.
36820         * string/test-strcasecmp-ifunc.c: Likewise.
36821         * string/test-strcasestr-ifunc.c: Likewise.
36822         * string/test-strcat-ifunc.c: Likewise.
36823         * string/test-strchr-ifunc.c: Likewise.
36824         * string/test-strchrnul-ifunc.c: Likewise.
36825         * string/test-strcmp-ifunc.c: Likewise.
36826         * string/test-strcpy-ifunc.c: Likewise.
36827         * string/test-strcspn-ifunc.c: Likewise.
36828         * string/test-strlen-ifunc.c: Likewise.
36829         * string/test-strncasecmp-ifunc.c: Likewise.
36830         * string/test-strncat-ifunc.c: Likewise.
36831         * string/test-strncmp-ifunc.c: Likewise.
36832         * string/test-strncpy-ifunc.c: Likewise.
36833         * string/test-strnlen-ifunc.c: Likewise.
36834         * string/test-strpbrk-ifunc.c: Likewise.
36835         * string/test-strrchr-ifunc.c: Likewise.
36836         * string/test-strspn-ifunc.c: Likewise.
36837         * string/test-strstr-ifunc.c: Likewise.
36839         * debug/Makefile (tests-ifunc): New variable.
36840         (tests): Add $(tests-ifunc).
36841         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36842         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36843         * debug/test-stpcpy_chk-ifunc.c: New file.
36844         * debug/test-strcpy_chk-ifunc.c: Likewise.
36846 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36848         [BZ #13601]
36849         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36850         header is not read in.
36852 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36854         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36855         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36856         directly.  Pass built executable to script as
36857         $(built-program-cmd).
36858         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36859         $testprogram without using LD_LIBRARY_PATH and $ldso.
36861         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36862         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36863         $(rtld-installed-name).
36864         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36865         (rtld_installed_name): Likewise.
36866         (library_path): Likewise.
36867         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36868         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36869         $(run-program-prefix) to tst-tables.sh.
36870         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36871         it to run tst-table-from and tst-table-to.
36872         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36873         Pass it to tst-table.sh.
36874         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36875         $(run-program-prefix) to tst-gettext.sh.
36876         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36877         tst-translit.sh.
36878         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36879         tst-gettext2.sh.
36880         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36881         to run tst-gettext.
36882         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36883         to run tst-gettext2.
36884         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36885         to run tst-translit.
36886         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36887         $(run-program-prefix) to tst-mtrace.sh.
36888         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36889         to run tst-mtrace.
36890         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36891         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36892         $(rtld-installed-name).
36893         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36894         (rtld_installed_name): Likewise.
36895         (run_program_prefix): New variable.  Use it to run wordexp-test.
36897         * Makeconfig (ARCH): Remove all definitions.
36898         (machine): Likewise.
36899         [ARCH]: Remove conditional code.
36900         [!objdir]: Give error.
36901         [!objdir] (objpfx): Remove.
36902         [!objdir] (common-objpfx): Likewise.
36903         [!objdir] (common-objdir): Likewise.
36904         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36905         AC_CONFIG_FILES call.
36906         * configure: Regenerated.
36908         [BZ #13888]
36909         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36910         or TMPDIR.
36911         (testout): Likewise.
36913         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36914         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36915         $(rtld-installed-name).
36916         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36917         (rtld_installed_name): Likwise.
36918         (runit): Remove function.
36919         (run_getconf): New variable,  Use it for running getconf binary.
36921 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36923         [BZ #14716]
36924         * string/test-memmem.c (check_result): New function.
36925         (do_one_test): Use it.
36926         (check1): New function.
36927         (test_main): Use it.
36929 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36931         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36933 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36935         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36936         (_G_LSEEK64): Likewise.
36937         (_G_MMAP64): Likewise.
36938         (_G_FSTAT64): Likewise.
36939         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36940         (_G_LSEEK64): Likewise.
36941         (_G_MMAP64): Likewise.
36942         (_G_FSTAT64): Likewise.
36943         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36944         unconditional.  Call __mmap64 directly.
36945         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36946         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36947         __lseek64 directly.
36948         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36949         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36950         __mmap64 directly.
36951         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36952         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36953         __lseek64 directly.
36954         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36955         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36956         __lseek64 directly.
36957         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36958         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36959         __lseek64 directly.
36960         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36961         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36962         __fxstat64 directly.
36963         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36964         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36965         unconditional.
36966         (freopen64) [!_G_OPEN64]: Remove conditional code.
36967         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36968         unconditional.
36969         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36970         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36971         unconditional.
36972         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36973         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36974         unconditional.
36975         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36976         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36977         unconditional.
36978         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36979         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36980         unconditional.
36981         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36982         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36983         unconditional.
36984         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36985         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36986         unconditional.
36987         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36989 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36991         [BZ #12140]
36992         * manual/memory.texi (Malloc Tunable Parameters): Add note
36993         about free list pointers overwriting some perturb bytes.
36994         Wording suggested by Roland McGrath.
36996 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36998         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36999         (lgamma_test): Likewise.
37000         (tgamma_test): Likewise.
37002 2012-10-16  Florian Weimer  <fweimer@redhat.com>
37004         [BZ #14700]
37005         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
37006         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
37008 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
37010         * NEWS: Mention BZ #14716.
37011         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
37012         when removing AVAILABLE1_USES_J macro.
37014 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
37016         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
37017         (__bswap_64): __uint64_t for unsigned 64-bit int.
37019 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
37021         * include/string.h (memmem): Declare libc hidden alias.
37022         * string/memmem.c (memmem): Define libc hidden alias.
37023         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
37024         __read, __close instead of open, read, close.
37026 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
37028         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
37029         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
37030         global and hidden.
37031         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
37032         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
37033         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
37034         Likewise.
37035         (__rawmemchr_sse2): Likewise.
37036         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
37037         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
37038         (__strchr_sse2): Likewise.
37039         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
37040         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
37041         (__strcasecmp_sse2): Likewise.
37042         (__strncasecmp_sse2): Likewise.
37043         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
37044         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
37045         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
37046         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
37047         (__strrchr_sse2): Likewise.
37048         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
37049         ifunc-impl-list.c.
37050         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
37051         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
37052         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
37053         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
37054         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
37055         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
37056         * sysdeps/x86_64/multiarch/memset.S: Likewise.
37057         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37058         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
37059         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
37060         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
37061         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
37062         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
37063         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
37064         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
37065         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
37066         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
37067         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
37068         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
37069         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
37070         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
37071         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
37072         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
37073         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
37074         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
37075         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
37076         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
37077         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
37078         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
37079         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
37081         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
37082         global and hidden.
37083         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
37084         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
37085         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
37086         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
37087         Likewise.
37088         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
37089         Likewise.
37090         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
37091         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
37092         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
37093         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
37094         ifunc-impl-list.c.
37095         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37096         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37097         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37098         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37099         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37100         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37101         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37102         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37103         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37104         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37105         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37106         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37107         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37108         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
37109         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
37110         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37111         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
37112         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
37113         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37114         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37115         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37116         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37117         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37118         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37119         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37120         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
37121         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
37122         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
37123         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
37124         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37125         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
37126         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37127         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37128         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
37129         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37130         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37131         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37132         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37133         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37134         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37135         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
37137         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
37138         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
37139         * include/ifunc-impl-list.h: New file.
37140         * misc/ifunc-impl-list.c: Likewise.
37141         * misc/Makefile (routines): Add ifunc-impl-list.
37142         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
37143         * string/test-string.h: Include <ifunc-impl-list.h>.
37144         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
37145         TEST_NAME]: New variables.
37146         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
37147         are defined.
37148         (test_init): Call __libc_ifunc_impl_list to initialize
37149         func_list if TEST_IFUNC and TEST_NAME are defined.
37151         * string/Makefile (strop-tests): Add bcopy and bzero.
37152         * string/test-bcopy.c: New file.
37153         * string/test-bzero.c: Likewise.
37154         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
37155         defined.
37156         * string/test-memset.c: Support bzero test if TEST_BZERO is
37157         defined.
37158         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
37159         __libc_memmove.
37160         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
37161         __libc_memset.
37162         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
37163         of memset.
37165 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
37167         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
37168         * configure: Regenerated.
37170         * Makeconfig (+link-static-before-libc): Don't include
37171         $(link-static-libc).
37173         * libio/libio.h (_IO_pos_t): Remove.
37175 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37177         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
37178         McGrath.
37180 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37182         * crypt/crypt-entry.c: Include fips-private.h.
37183         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
37184         * crypt/md5c-test.c (main): Tolerate disabled MD5.
37185         * sysdeps/unix/sysv/linux/fips-private.h: New file.
37186         * sysdeps/generic/fips-private.h: New file, dummy fallback.
37188 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
37190         * crypt/crypt-private.h: Include stdbool.h.
37191         (_ufc_setup_salt_r): Return bool.
37192         * crypt/crypt-entry.c: Include errno.h.
37193         (__crypt_r): Return NULL with EINVAL for bad salt.
37194         * crypt/crypt_util.c (bad_for_salt): New.
37195         (_ufc_setup_salt_r): Check that salt is long enough and within
37196         the specified alphabet.
37197         * crypt/badsalttest.c: New file.
37198         * crypt/Makefile (tests): Add it.
37199         ($(objpfx)badsalttest): New.
37201 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
37203         * NEWS: Add entry for BZ #14602.
37205 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37207         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
37208         type-generic.
37209         * math/libm-test.inc: Update comment listing what functions and
37210         macros are tested.
37211         (isgreater_test): New function.
37212         (isgreaterequal_test): Likewise.
37213         (isless_test): Likewise.
37214         (islessequal_test): Likewise.
37215         (islessgreater_test): Likewise.
37216         (isunordered_test): Likewise.
37217         (main): Call the new functions.
37219 2012-10-09  Roland McGrath  <roland@hack.frob.com>
37221         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
37222         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
37223         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
37224         * sysdeps/i386/configure: Regenerated.
37225         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
37226         * sysdeps/mach/configure: Regenerated.
37227         * sysdeps/mach/hurd/configure: Regenerated.
37228         * sysdeps/powerpc/configure: Regenerated.
37229         * sysdeps/powerpc/powerpc32/configure: Regenerated.
37230         * sysdeps/powerpc/powerpc64/configure: Regenerated.
37231         * sysdeps/s390/s390-32/configure: Regenerated.
37232         * sysdeps/s390/s390-64/configure: Regenerated.
37233         * sysdeps/sh/configure: Regenerated.
37234         * sysdeps/sparc/configure: Regenerated.
37235         * sysdeps/unix/sysv/linux/configure: Regenerated.
37236         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
37237         * sysdeps/x86_64/configure: Regenerated.
37239         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
37240         defined.  Don't check if MAP is NULL.
37242 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
37244         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
37245         (_G_stat64): Likewise.
37246         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
37247         (_G_stat64): Likewise.
37248         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
37249         instead of struct _G_stat64.
37250         * libio/fileops.c (mmap_remap_check): Likewise.
37251         (decide_maybe_mmap): Likewise.
37252         (_IO_new_file_seekoff): Likewise.
37253         (_IO_file_stat): Likewise.
37254         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37255         _G_off64_t.
37256         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37257         instead of struct _G_stat64.
37258         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37260 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
37262         [BZ #14602]
37263         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37264         Replace with ...
37265         (CHECK_EOL): New macro.
37266         (two_way_short_needle): Check beginning of haystack for EOL.  Use
37267         CHECK_EOL.
37268         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37269         Replace with CHECK_EOL.
37270         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37271         Replace with CHECK_EOL.
37273 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
37275         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37276         type-generic.
37277         * math/libm-test.inc: Update comment listing what functions and
37278         macros are tested.
37279         (finite_test): New function.
37280         (isinf_test): Likewise.
37281         (isnan_test): Likewise.
37282         (fpclassify_test): Test subnormal input.
37283         (isfinite_test): Likewise.
37284         (isnormal_test): Likewise.
37285         (main): Call the new functions.
37287 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
37289         [BZ #14660]
37290         * Makerules (%.dynsym): Force C locale when running
37291         $(OBJDUMP) --dynamic-syms.
37293 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
37295         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37296         <stdint.h>.
37298 2012-10-06  David S. Miller  <davem@davemloft.net>
37300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37301         upper 32-bits of the length value in %o2 since we use branch-on-register
37302         tests which consider the entire 64-bit register.
37304 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
37306         * string/test-strstr.c (check2): Add a test for page boundary.
37308 2012-10-05  David S. Miller  <davem@davemloft.net>
37310         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37311         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37312         file.
37313         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37314         sysdep_routines.
37315         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37316         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37317         and bzero when HWCAP_SPARC_CRYPTO is present.
37319 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
37321         [BZ #14602]
37322         * string/test-strstr.c (check2): New function.
37323         (test_main): Call check2.
37325         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37326         and bug-strchr1.
37327         * string/bug-strcasestr1.c (do_test): Moved to ...
37328         * string/test-strcasestr.c (check1): Here.  New function.
37329         (do_one_test): Break out result checking code into ...
37330         (check_result): This.  New function.
37331         (do_one_test): Call check_result.
37332         (test_main): Call check1.
37333         * string/bug-strchr1.c (do_test): Moved to ...
37334         * string/test-strchr.c (check1): Here.  New function.
37335         (do_one_test): Break out result checking code into ...
37336         (check_result): This.  New function.
37337         (do_one_test): Call check_result.
37338         (test_main): Call check1.
37339         * string/bug-strstr1.c (main): Moved to ...
37340         * string/test-strstr.c (check1): Here.  New function.
37341         (do_one_test): Break out result checking code into ...
37342         (check_result): This.  New function.
37343         (do_one_test): Call check_result.
37344         (test_main): Call check1.
37345         * string/bug-strcasestr1.c: Removed.
37346         * string/bug-strchr1.c: Likewise.
37347         * string/bug-strstr1.c: Likewise.
37349         * elf/Makefile (dl-routines): Add hwcaps.
37350         * elf/dl-support.c (_dl_important_hwcaps): Removed.
37351         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37352         (_dl_important_hwcaps): Moved to ...
37353         * elf/dl-hwcaps.c: Here.  New file.
37354         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37356         [BZ #14557]
37357         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37358         if IS_IN_rtld isn't defined.
37360         * elf/dl-support.c (_dl_sysinfo_map): New.
37361         Include "get-dynamic-info.h" and "setup-vdso.h".
37362         (_dl_non_dynamic_init): Call setup_vdso.
37363         * elf/dynamic-link.h: Don't include <assert.h>.
37364         (elf_get_dynamic_info): Moved to ...
37365         * elf/get-dynamic-info.h: Here.  New file.
37366         * elf/dynamic-link.h: Include "get-dynamic-info.h".
37367         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37368         * elf/setup-vdso.h: Here.  New file.
37369         * elf/rtld.c: Include "setup-vdso.h".
37370         (dl_main): Call setup_vdso.
37372 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
37374         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37375         creal in comment listing functions tested.  List finite, isinf,
37376         isnan, isless, islessequal, isgreater, isgreaterequal,
37377         islessgreater, isunordered, lgamma_r and pow10 as functions and
37378         macros not tested.  Mention which functions not tested are aliases
37379         for other functions.  Fix typo.  Note that signs of NaNs are not
37380         tested.
37382         * scripts/config.guess: Update from config.git.
37383         * scripts/config.sub: Likewise.
37385 2012-10-04  Roland McGrath  <roland@hack.frob.com>
37387         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37388         * misc/madvise.c (madvise): Renamed to __madvise.
37389         Make madvise a weak alias.
37390         * include/sys/mman.h: Declare __madvise.
37391         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37392         * sysdeps/unix/syscalls.list
37393         (madvise): Make __madvise the strong name, and madvise a weak alias.
37394         * sysdeps/unix/sysv/linux/syscalls.list
37395         (madvise, mmap): Remove redundant entries.
37396         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37397         * malloc/malloc.c (mtrim): Likewise.
37398         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37400 2012-10-03  Roland McGrath  <roland@hack.frob.com>
37402         * sysdeps/mach/hurd/dl-cache.c: File removed.
37403         * config.h.in (USE_LDCONFIG): New #undef.
37404         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37405         * configure: Regenerated.
37406         * elf/Makefile (dl-routines): Add dl-cache only under
37407         [$(use-ldconfig) = yes].
37408         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37409         cache on [USE_LDCONFIG].
37410         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37411         [USE_LDCONFIG].
37412         * elf/rtld.c (dl_main): Likewise.
37414 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
37416         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37417         _SC_LEVEL4_CACHE_LINESIZE.
37419 2012-10-03  Roland McGrath  <roland@hack.frob.com>
37421         * sysdeps/unix/bsd/confstr.h: File removed.
37423 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
37425         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37426         sys/sdt-config.h.
37428 2012-10-02  Roland McGrath  <roland@hack.frob.com>
37430         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37431         Make 'mapoff' field ElfW(Off) rather than off_t.
37433 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
37435         * nscd/Makefile: Remove nscd-cflags and all its users.
37436         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37437         (CFLAGS-nonlib): Add compiler flags for nscd modules.
37439         [BZ #10631]
37440         * malloc.c (malloc_printerr): Clarify error message.
37442 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
37444         [BZ #14648]
37445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37446         Set bit_FMA_Usable if FMA is supported.
37447         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37448         macro.
37449         (bit_FMA4_Usable): Updated.
37450         (index_FMA_Usable): New macro.
37451         (CPUID_FMA): Likewise
37452         (HAS_FMA): Defined with bit_FMA_Usable.
37454 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37456         * bits/types.h (__swblk_t): Type removed.
37457         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37458         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37459         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37460         (__SWBLK_T_TYPE): Likewise.
37461         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37462         (__SWBLK_T_TYPE): Likewise.
37463         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37464         (__SWBLK_T_TYPE): Likewise.
37465         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37466         (__SWBLK_T_TYPE): Likewise.
37468 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
37469             Honza Horak <hhorak@redhat.com>
37471         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37472         (xdr_mapname): Use YPMAXMAP as maxsize.
37473         (xdr_peername): Use YPMAXPEER as maxsize.
37474         (xdr_keydat): Use YPAXRECORD as maxsize.
37475         (xdr_valdat): Use YPMAXRECORD as maxsize.
37477 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37479         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37481         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37482         * csu/init-first.c: ... here.
37483         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37484         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37485         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37486         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37487         * sysdeps/i386/init-first.c: File removed.
37488         * sysdeps/sh/init-first.c: File removed.
37490 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
37492         [BZ #14645]
37493         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37494         if x * y might underflow to zero and z is zero.
37495         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37496         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37497         * math/libm-test.inc (min_subnorm_value): New variable.
37498         (fma_test): Add more tests.
37499         (fma_test_towardzero): Likewise.
37500         (fma_test_downward): Likewise
37501         (fma_test_upward): Likewise.
37502         (initialize): Set min_subnorm_value.
37504 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
37506         [BZ #14638]
37507         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37508         0 + 0.
37509         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37510         mode for addition resulting in exact zero.
37511         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37512         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37513         exact 0 + 0.
37514         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37515         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37516         * math/libm-test.inc (fma_test): Add more tests.
37517         (fma_test_towardzero): New function.
37518         (fma_test_downward): Likewise.
37519         (fma_test_upward): Likewise.
37520         (main): Call the new functions.
37522 2012-09-28  David S. Miller  <davem@davemloft.net>
37524         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37526 2012-09-28  Roland McGrath  <roland@hack.frob.com>
37528         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37529         instead of SIGALRM.
37531         * sysdeps/gnu/_G_config.h: Moved to ...
37532         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37533         * sysdeps/mach/hurd/_G_config.h: Moved to ...
37534         * sysdeps/generic/_G_config.h: ... here.
37536         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
37538         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37540         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37541         Conditionalize target on [libnss_test1.so-version].
37543         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37545         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37546         (elfobjdir): Move out of conditionals.
37548         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37549         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37550         (__nss_lookup_function): Conditionalize label remove_from_tree on
37551         [!DO_STATIC_NSS || SHARED], matching its only use.
37553 2012-09-28  David S. Miller  <davem@davemloft.net>
37555         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37556         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37557         file.
37558         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37559         sysdep_routines.
37560         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37561         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37562         when HWCAP_SPARC_CRYPTO is present.
37564 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37566         * io/tst-mknodat.c: Create a FIFO instead of a socket.
37568 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
37570         [BZ #6530]
37571         * stdio-common/vfprintf.c (process_string_arg): Revert
37572         2000-07-22 change.
37574 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
37576         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37577         for testcase.
37578         * stdio-common/tst-sprintf.c: Include <locale.h>
37579         (main): Test sprintf's handling of incomplete multibyte
37580         characters.
37582 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
37584         * elf/dl-runtime.c (VERSYMIDX): Removed.
37585         * elf/dl-version.c (VERSYMIDX): Likewise.
37586         * elf/do-rel.h (VERSYMIDX): Likewise.
37587         (VALIDX): Likewise.
37588         * elf/dynamic-link.h (VERSYMIDX): Likewise.
37589         * elf/rtld.c (VALIDX): Likewise.
37590         (ADDRIDX): Likewise.
37591         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37592         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37593         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37594         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37595         (VALIDX): Likewise.
37596         (ADDRIDX): Likewise.
37598 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37600         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37602 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
37604         [BZ #11438]
37605         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37606         to global scope.
37607         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37608         addresses are in the same scope as 192.0.2/24.
37609         * posix/gai.conf: Document new scope table defaults.
37611 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37613         [BZ #5298]
37614         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37615         for ftell.  Compute offsets from write pointers instead.
37616         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37618 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37620         [BZ #14543]
37621         * libio/Makefile (tests): New test case tst-fseek.
37622         * libio/tst-fseek.c: New test case to verify that fseek/ftell
37623         combination works in wide mode.
37624         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37625         state when the external buffer state changes.
37627 2012-09-27  David S. Miller  <davem@davemloft.net>
37629         [BZ #14376]
37630         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37631         pass reloc->r_addend in as the 'high' argument to
37632         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37634         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37636 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37638         * rt/tst-aio2.c: Include <pthread.h>.
37639         * rt/tst-aio3.c: Likewise.
37641 2012-09-27  Steve Ellcey  <sellcey@mips.com>
37643         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37645 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
37647         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37648         contents on [SHARED].
37650 2012-09-26  Marek Polacek  <polacek@redhat.com>
37652         [BZ #14530]
37653         [BZ #13741]
37654         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37655         for C++ and GCC <4.3 as well as for non GCC compilers.
37657 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37659         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37661 2012-09-25  Roland McGrath  <roland@hack.frob.com>
37663         * Makefile.in (all, install): Declare with .PHONY.
37664         Reported by Michael Hope <michael.hope@linaro.org>.
37666 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37668         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37669         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37670         system header.
37671         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37672         Likewise.
37673         (sydep_routines): Add the new and the internal functions.
37674         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37675         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37677         (GLIBC_2.17): Add the new function.
37678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37679         (GLIBC_2.17): Likewise.
37680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37681         (GLIBC_2.17): Likewise.
37682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37683         (GLIBC_2.17): Likewise.
37684         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37686 2012-09-25  Alan Modra  <amodra@gmail.com>
37688         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37689         Add release barrier before setting once_control to say
37690         initialisation is done.  Add hints on lwarx.  Use macro in
37691         place of isync.
37692         (clear_once_control): Add release barrier.
37694 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37696         [BZ #13629]
37697         * math/s_clog.c (__clog): Handle more values close to |z| = 1
37698         specially.
37699         * math/s_clog10.c (__clog10): Likewise.
37700         * math/s_clog10f.c (__clog10f): Likewise.
37701         * math/s_clog10l.c (__clog10l): Likewise.
37702         * math/s_clogf.c (__clogf): Likewise.
37703         * math/s_clogl.c (__clogl): Likewise.
37704         * math/Makefile (libm-calls): Add x2y2m1.
37705         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37706         (__x2y2m1): Likewise.
37707         (__x2y2m1l): Likewise.
37708         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37709         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37710         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37711         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37712         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37713         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37714         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37715         * sysdeps/i386/fpu/libm-test-ulps: Update.
37716         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37718         [BZ #14621]
37719         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37720         int as type of variable DEPTH.
37721         (glob): Use size_t instead of int as type of variables NEWCOUNT
37722         and OLD_PATHC.
37724 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37726         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37727         Add s_sincosf-sse2.
37728         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37729         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37730         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37731         macros for using routine as __sincosf_ia32.
37732         Use macro for function declaration and weak_alias.
37733         * sysdeps/i386/fpu/libm-test-ulps: Update.
37735         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37736         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37738         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37739         subnormal argument.
37740         * math/s_cexpf.c (__cexpf): Likewise.
37741         * math/s_csinf.c (__csinf): Likewise.
37742         * math/s_csinhf.c (__csinhf): Likewise.
37743         * math/s_ctanf.c (__ctanf): Likewise.
37744         * math/s_ctanhf.c (__ctanhf): Likewise.
37745         * math/s_ccosh.c (__ccoshf): Likewise.
37746         * math/s_cexp.c (__cexpl): Likewise.
37747         * math/s_csin.c (__csin): Likewise.
37748         * math/s_csinh.c (__csinh): Likewise.
37749         * math/s_ctan.c (__ctan): Likewise.
37750         * math/s_ctanh.c (ctanh): Likewise.
37751         * math/s_ccoshl.c (__ccoshl): Likewise.
37752         * math/s_cexpl.c (__cexpl): Likewise.
37753         * math/s_csinl.c (__csinl): Likewise.
37754         * math/s_csinhl.c (__csinhl): Likewise.
37755         * math/s_ctanl.c (__ctanl): Likewise.
37756         * math/s_ctanhl.c (__ctanhl): Likewise.
37758 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37760         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37761         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37762         (_IO_off_t): Define to __off_t, not _G_off_t.
37763         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37764         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37765         (_IO_wint_t): Define to wint_t, not _G_wint_t.
37766         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37767         type of __dummy and __dummy2 fields.
37768         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37769         (_G_ssize_t): Likewise.
37770         (_G_off_t): Likewise.
37771         (_G_pid_t): Likewise.
37772         (_G_uid_t): Likewise.
37773         (_G_wchar_t): Likewise.
37774         (_G_wint_t): Likewise.
37775         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37776         (_G_ssize_t): Likewise.
37777         (_G_off_t): Likewise.
37778         (_G_pid_t): Likewise.
37779         (_G_uid_t): Likewise.
37780         (_G_wchar_t): Likewise.
37781         (_G_wint_t): Likewise.
37782         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37783         (_G_ssize_t): Likewise.
37784         (_G_off_t): Likewise.
37785         (_G_pid_t): Likewise.
37786         (_G_uid_t): Likewise.
37787         (_G_wchar_t): Likewise.
37788         (_G_wint_t): Likewise.
37790 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37792         * malloc/arena.c: Include malloc-sysdep.h.
37793         (shrink_heap): Use check_may_shrink_heap to decide if madvise
37794         is sufficient to shrink the heap or an unmap is needed.
37795         * sysdeps/generic/malloc-sysdep.h: New file.  Define
37796         new function check_may_shrink_heap.
37797         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
37798         new function check_may_shrink_heap.
37800 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37802         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37803         comments.
37805 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
37807         * catgets/test-gencat.sh: Add "set -e".
37808         * elf/tst-pathopt.sh: Likewise.
37809         * grp/tst_fgetgrent.sh: Likewise.
37810         * iconvdata/run-iconv-test.sh: Likewise.
37811         * intl/tst-gettext.sh: Likewise.
37812         * intl/tst-gettext2.sh: Likewise.
37813         * intl/tst-gettext4.sh: Likewise.
37814         * intl/tst-gettext6.sh: Likewise.
37815         * intl/tst-translit.sh: Likewise.
37816         * io/ftwtest-sh: Likewise.
37817         * libio/test-freopen.sh: Likewise.
37818         * malloc/tst-mtrace.sh: Likewise.
37819         * posix/globtest.sh: Likewise.
37820         * posix/tst-getconf.sh: Likewise.
37821         * posix/wordexp-tst.sh: Likewise.
37822         * stdio-common/tst-printf.sh: Likewise.
37823         * stdio-common/tst-unbputc.sh: Likewise.
37824         * stdlib/tst-fmtmsg.sh: Likewise.
37825         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37826         * catgets/Makefile: Do not specify -e option when running
37827         testsuite shell scripts.
37828         * elf/Makefile: Likewise.
37829         * grp/Makefile: Likewise.
37830         * iconvdata/Makefile: Likewise.
37831         * intl/Makefile: Likewise.
37832         * io/Makefile: Likewise.
37833         * libio/Makefile: Likewise.
37834         * malloc/Makefile: Likewise.
37835         * posix/Makefile: Likewise.
37836         * stdio-common/Makefile: Likewise.
37837         * stdlib/Makefile: Likewise.
37838         * sysdeps/x86_64/Makefile: Likewise.
37840         * io/ftwtest-sh: Add copyright header.
37841         * posix/globtest.sh: Likewise.
37842         * posix/tst-getconf.sh: Likewise.
37843         * posix/wordexp-tst.sh: Likewise.
37844         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37846 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37848         [BZ #13679]
37849         * Makeconfig (+link): Defined as $(+link-static) if
37850         $(build-shared) isn't yes.
37851         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37852         isn't yes.
37853         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37855         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37857         [BZ #14562]
37858         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37859         new chunk size with MALLOC_ALIGN_MASK.
37861 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37863         [BZ #5044]
37864         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37865         <rounding-mode.h>.
37866         (__printf_fphex): Determine rounding using get_rounding_mode and
37867         round_away.
37868         * stdio-common/tst-printf-round.c (struct hex_test): New
37869         structure.
37870         (hex_tests): New variable.
37871         (test_hex_in_one_mode): New function.
37872         (do_test): Also run tests for hex float output.
37874 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37876         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37877         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37878         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37879         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37880         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37881         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37882         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37883         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37885 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37887         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37888         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37889         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37890         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37892 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37894         [BZ #14579]
37895         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37896         mode only.
37897         * elf/tst-rtld-load-self.sh: New test.
37898         * elf/Makefile: Run it.
37900 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37902         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37903         (tst-writev-ENV): Remove.
37904         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37906 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37908         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37910 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37912         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37913         unconditional.
37914         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37915         Likewise.
37916         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37917         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37918         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37919         Likewise.
37921 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37923         [BZ #14587]
37924         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37925         * config.make.in (have-cpp-asm-debuginfo): Removed.
37926         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37927         * configure: Regenerated.
37929 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37931         [BZ #5044]
37932         * stdio-common/printf_fp.c: Include <stdbool.h> and
37933         <rounding-mode.h>.
37934         (___printf_fp): Determine rounding using get_rounding_mode and
37935         round_away.
37936         * stdio-common/tst-printf-round.c: New file.
37937         * stdio-common/Makefile (tests): Add tst-printf-round.
37938         (link-libm): New variable.
37939         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37941 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37943         [BZ #14576]
37944         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37945         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37946         Likewise.
37947         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37948         Likewise.
37950 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37952         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37953         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37954         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37955         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37957 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37959         [BZ #14518]
37960         * include/rounding-mode.h: New file.
37961         * sysdeps/generic/get-rounding-mode.h: Likewise.
37962         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37963         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37964         (MAX_VALUE): New macro.
37965         (MIN_VALUE): Likewise.
37966         (overflow_value): New function.
37967         (underflow_value): Likewise.
37968         (round_and_return): Use overflow_value and underflow_value to
37969         determine return values in overflow and underflow cases.  Use
37970         round_away to determine rounding depending on rounding mode.
37971         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37972         determine return values in overflow and underflow cases.
37973         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37974         (struct test_results): New structure.
37975         (struct test): Use struct test_results to store expected results
37976         for all rounding modes.
37977         (TEST): Include expected results for all rounding modes.
37978         (test_in_one_mode): New function.
37979         (do_test): Use test_in_one_mode to compute and check results.
37980         Check results for all rounding modes.
37981         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37982         $(link-libm).
37984 2012-12-09  Allan McRae  <allan@archlinux.org>
37986         * sysdeps/i386/fpu/libm-test-ulps: Update
37988 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37990         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37991         (_G_int32_t): Likewise.
37992         (_G_uint16_t): Likewise.
37993         (_G_uint32_t): Likewise.
37994         (_G_HAVE_BOOL): Likewise.
37995         (_G_HAVE_ATEXIT): Likewise.
37996         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37997         (_G_HAVE_IO_FILE_OPEN): Likewise.
37998         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37999         (_G_int32_t): Likewise.
38000         (_G_uint16_t): Likewise.
38001         (_G_uint32_t): Likewise.
38002         (_G_HAVE_BOOL): Likewise.
38003         (_G_HAVE_ATEXIT): Likewise.
38004         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38005         (_G_HAVE_IO_FILE_OPEN): Likewise.
38006         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
38007         (_G_int32_t): Likewise.
38008         (_G_uint16_t): Likewise.
38009         (_G_uint32_t): Likewise.
38010         (_G_HAVE_BOOL): Likewise.
38011         (_G_HAVE_ATEXIT): Likewise.
38012         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
38013         (_G_HAVE_IO_FILE_OPEN): Likewise.
38015 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
38017         * csu/libc-tls.c: Update copyright years.
38019 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
38021         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
38022         [!_G_USING_THUNKS]: Remove conditional code.
38023         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
38024         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
38026         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
38027         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
38028         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38029         (_G_VTABLE_LABEL_PREFIX): Likewise.
38030         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38031         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38032         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38033         (_G_VTABLE_LABEL_PREFIX): Likewise.
38034         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38035         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
38036         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
38037         (_G_VTABLE_LABEL_PREFIX): Likewise.
38038         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
38040 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
38042         * libio/Makefile: Include ../Makeconfig before tests.
38043         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
38044         only if $(build-shared) is yes.
38046         * iconv/gconv_db.c: Update copyright years.
38048 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38050         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
38051         unwind info if defined PIC. Fix special cases description.
38052         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
38054         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
38055         DP_HI_MASK entry.
38056         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
38058 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
38060         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
38062         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
38063         is NULL.
38065         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
38066         (LDLIBS-tst-chk4): This.
38067         (LDFLAGS-tst-chk5): Renamed to ...
38068         (LDLIBS-tst-chk5): This.
38069         (LDFLAGS-tst-chk6): Renamed to ...
38070         (LDLIBS-tst-chk6): This.
38071         (LDFLAGS-tst-lfschk4): Renamed to ...
38072         (LDLIBS-tst-lfschk4): This.
38073         (LDFLAGS-tst-lfschk5): Renamed to ...
38074         (LDLIBS-tst-lfschk5): This.
38075         (LDFLAGS-tst-lfschk6): Renamed to ...
38076         (LDLIBS-tst-lfschk6): This.
38078         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
38079         on $(common-objpfx)soversions.mk.
38081 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
38083         [BZ #10014]
38084         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
38085         example host name.
38087 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
38089         * malloc/arena.c (arena_get_retry): New function that gets
38090         another arena for the caller to try its request on.
38091         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
38092         current arena cannot fulfill the request.
38093         (__libc_memalign): Likewise.
38094         (__libc_memalign): Likewise.
38095         (__libc_pvalloc): Likewise.
38096         (__libc_calloc): Likewise.
38098 2012-09-05  John Tobey  <john.tobey@gmail.com>
38100         [BZ #13542]
38101         * manual/arith.texi (Operations on Complex): Fix description
38102         of carg branch cut.
38104 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38106         [BZ #10014]
38107         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
38108         host name.
38110         [BZ #10038]
38111         * manual/memory.texi (Memory): Make order of menu items match
38112         order of sections.
38114 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38116         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
38117         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
38118         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
38120 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38122         * csu/libc-tls.c (static_dtv): Renamed to ...
38123         (_dl_static_dtv): This.  Make it global.
38124         (_dl_initial_dtv): Removed.
38125         (__libc_setup_tls): Updated.
38126         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
38127         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
38128         DL_INITIAL_DTV.
38130 2012-09-06  Petr Machata  <pmachata@redhat.com>
38132         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
38133         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
38134         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
38135         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
38137 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38139         [BZ #14545]
38140         * csu/libc-tls.c (_dl_initial_dtv): New variable.
38141         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
38142         freeing dtv[-1].
38144 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
38146         [BZ #14544]
38147         * Makeconfig (link-static-before-libc): Replace $(+prector)
38148         with $(+prectorT).
38149         (link-static-after-libc): Replace $(+postctor) with
38150         $(+postctorT).
38151         (link-bounded): Replace $(+prector)/$(+postctor) with
38152         $(+prectorT)/$(+postctorT).
38153         (+prectorT): New macro.
38154         (+postctorT): Likewise.
38156 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
38158         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
38159         (round_str): Handle values above the maximum for IBM long double
38160         as inexact.
38161         * stdlib/tst-strtod-round.c (tests): Regenerated.
38163 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38165         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
38166         assembler flag.
38167         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
38168         zarch_nohighgprs around the zarch optimized routines.
38169         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
38170         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
38171         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
38172         for zarch.
38174 2012-09-05  David S. Miller  <davem@davemloft.net>
38176         * sysdeps/sparc/fpu/libm-test-ulps: Update.
38178         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
38179         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
38180         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
38181         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
38182         entries.
38184 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38186         * malloc/arena.c: Fold copyright years.
38187         * malloc/mcheck.c, malloc/memusage.c: Likewise.
38189 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38191         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
38193 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38195         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
38197 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38199         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
38200         change internal state upon failure.
38202 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
38204         * malloc/mcheck.c (mcheck_check_all): Fix typo.
38205         * malloc/memusage.c (mmap): Likewise.
38206         (mmap64, mremap): Likewise.  Adjust name in comment.
38208 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38210         * libio/fileops.c: Fix typos in comments.
38211         * libio/oldfileops.c: Likewise.
38212         * libio/wfileops.c: Likewise.
38214 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
38216         [BZ #1349]
38217         * malloc/Makefile (tests): Add tst-malloc-usable test case.
38218         (tst-malloc-usable-ENV): Set environment for test case.
38219         * malloc/hooks.c (malloc_check_get_size): New function to get
38220         requested size.
38221         * malloc/malloc.c (musable): Use malloc_check_get_size.
38222         * malloc/tst-malloc-usable.c: New test case.
38224 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38226         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
38228 2012-09-05  Allan McRae  <allan@archlinux.org>
38230         [BZ #13966]
38231         * configure.in (CXX_SYSINCLUDES): Use compiler output to
38232         determine header location.
38233         * configure: Regenerated.
38235 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
38237         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
38238         float format.
38239         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
38240         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
38241         format.
38242         (test): Regenerate.
38244 2012-09-04  David S. Miller  <davem@davemloft.net>
38246         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
38247         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
38248         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
38250 2012-09-04  Florian Weimer  <fweimer@redhat.com>
38252         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
38253         failures.
38255         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38257 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
38259         [BZ #9914]
38260         * libio/iogetdelim.c: Include <limits.h>.
38261         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38262         + len + 1 would overflow.
38264 2012-09-03  Andreas Jaeger  <aj@suse.de>
38266         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38267         * sysdeps/i386/fpu/libm-test-ulps: Update.
38269 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38271         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38272         Add s_sinf-sse2, s_conf-sse2.
38274         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38275         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38276         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38277         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38279         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38280         for using routine as __sinf_ia32.
38281         Use macro for function declaration and weak_alias.
38282         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38283         for using routine as __cosf_ia32.
38284         Use macro for function declaration and weak_alias.
38286         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38287         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38289         * sysdeps/x86_64/fpu/s_sinf.S: New file.
38290         * sysdeps/x86_64/fpu/s_cosf.S: New file.
38291         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38293         * math/libm-test.inc (cos_test): Add more test cases.
38294         (sin_test): Likewise.
38295         (sincos_test): Likewise.
38297 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38299         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38300         (IFUNC_RESOLVE): Make pointers to the specialized implementations
38301         hidden.
38302         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38304 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
38306         [BZ #14538]
38307         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38308         first element of the GOT.
38309         (elf_machine_load_address): Return the difference between
38310         the runtime address of _DYNAMIC and elf_machine_dynamic ().
38312 2012-09-01  Allan McRae  <allan@archlinux.org>
38314         [BZ #13412]
38315         * configure.in (AWK): Require gawk version 3.0 or later.
38316         * configure: Regenerated.
38318 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
38320         * sysdeps/unix/sysv/linux/kernel-features.h
38321         (__ASSUME_POSIX_CPU_TIMERS): Remove.
38322         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38323         [__NR_clock_getres]: Make code unconditional.
38324         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38325         (clock_getcpuclockid): Remove code left unreachable by removal of
38326         conditionals.
38327         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38328         code unconditional.
38329         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38330         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38331         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38332         Make code unconditional.
38333         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38334         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38335         * sysdeps/unix/sysv/linux/clock_settime.c
38336         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38337         conditional code.
38338         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38339         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38341 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
38343         [BZ #14476]
38344         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38345         scripts/test-installation.pl.
38347         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38348         and $ld_so_version if it is set.
38350 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38352         [BZ #14516]
38353         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38354         failure if reading from procfs failed.
38355         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38357 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
38359         * sysdeps/unix/sysv/linux/kernel-features.h
38360         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38361         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38362         Remove conditional code.
38363         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38364         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38365         Remove conditional code.
38366         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38367         * sysdeps/unix/sysv/linux/i386/fxstat.c
38368         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38369         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38370         * sysdeps/unix/sysv/linux/i386/fxstatat.c
38371         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38372         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38373         * sysdeps/unix/sysv/linux/i386/lxstat.c
38374         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38375         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38376         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38377         Remove conditional code.
38378         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38379         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38380         Remove conditional code.
38381         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38382         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38383         <kernel-features.h>.
38384         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38385         Remove.
38386         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38387         Remove conditional code.
38388         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38389         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38390         Remove conditional.
38392 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
38394         [BZ #5400]
38395         * NEWS: Add fixed bug number.
38397 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
38399         [BZ #14519]
38400         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38401         underflowing exponent in case of negative sign.
38402         * stdlib/tst-strtod-round-data: Add more tests.
38403         * stdlib/tst-strtod-round.c (tests): Regenerated.
38405         [BZ #3479]
38406         * stdlib/strtod_l.c (NDIG): Remove.
38407         (HEXNDIG): Likewise.
38408         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38409         smallest representable value.
38410         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38411         lie within an exact representation of 1/2 ulp of the result.
38412         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38413         unconditionally.
38414         (TENS_P9_IDX): Define unconditionally.
38415         (TENS_P9_SIZE): Likewise.
38416         (TENS_P10_IDX): Likewise.
38417         (TENS_P10_SIZE): Likewise.
38418         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38419         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38420         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38421         entries for 10^2^13 and 10^2^14.
38422         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38423         (TENS_P13_IDX): Define.
38424         (TENS_P13_SIZE): Likewise.
38425         (TENS_P14_IDX): Likewise.
38426         (TENS_P14_SIZE): Likewise.
38427         (_fpioconst_pow10): Change array size to
38428         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
38429         unconditional.
38430         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38431         1024]: Add entries for 10^2^13 and 10^2^14.
38432         [LAST_POW10 > _LAST_POW10]: Remove #error.
38433         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38434         (_fpioconst_pow10): Change array size to
38435         FPIOCONST_POW10_ARRAY_SIZE.
38436         * stdlib/gen-fpioconst.c: New file.
38437         * stdlib/gen-tst-strtod-round.c: Likewise.
38438         * stdlib/tst-strtod-round-data: Likewise.
38439         * stdlib/tst-strtod-round.c: Likewise.
38440         * stdlib/Makefile (tests): Add tst-strtod-round.
38442         [BZ #14459]
38443         * stdlib/strtod_l.c: Include <stdint.h>.
38444         (NDEBUG): Do not define.
38445         (round_and_return): Change EXPONENT parameter to type intmax_t.
38446         Rearrange calculations to avoid internal overflow possibilities.
38447         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38448         Rearrange calculations to avoid internal overflow possibilities.
38449         Assert that number fits inside MPNSIZE limbs.
38450         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38451         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
38452         calculations and add assertions to avoid internal overflow
38453         possibilities.  Add casts to avoid signed/unsigned operations.
38454         * stdlib/tst-strtod-overflow.c: New file.
38455         * stdlib/Makefile (tests): Add tst-strtod-overflow.
38457 2012-08-25  Marek Polacek  <polacek@redhat.com>
38459         * time/time.h: Fix some typos in comments.
38461 2012-08-23  Roland McGrath  <roland@hack.frob.com>
38463         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38464         * posix/tst-rfc3484-2.c: Likewise.
38465         * posix/tst-rfc3484-3.c: Likewise.
38467 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
38469         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38470         (EF_ARM_ABI_FLOAT_HARD): Likewise.
38472 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
38474         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38475         #include of fxstatat64.c.
38477 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38479         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38480         * shadow/getspent_r.c: Likewise.
38481         * shadow/getspnam.c: Likewise.
38482         * shadow/getspnam_r.c: Likewise.
38483         * gshadow/getsgent.c: Likewise.
38484         * gshadow/getsgent_r.c: Likewise.
38485         * gshadow/getsgnam.c: Likewise.
38486         * gshadow/getsgnam_r.c: Likewise.
38487         * inet/getnetbyad.c: Likewise.
38488         * inet/getnetbyad_r.c: Likewise.
38489         * inet/getnetbynm.c: Likewise.
38490         * inet/getnetbynm_r.c: Likewise.
38491         * inet/getnetent.c: Likewise.
38492         * inet/getnetent_r.c: Likewise.
38493         * inet/getproto.c: Likewise.
38494         * inet/getproto_r.c: Likewise.
38495         * inet/getprtent.c: Likewise.
38496         * inet/getprtent_r.c: Likewise.
38497         * inet/getprtname.c: Likewise.
38498         * inet/getprtname_r.c: Likewise.
38499         * inet/getrpcbyname.c: Likewise.
38500         * inet/getrpcbyname_r.c: Likewise.
38501         * inet/getrpcbynumber.c: Likewise.
38502         * inet/getrpcbynumber_r.c: Likewise.
38503         * inet/getrpcent.c: Likewise.
38504         * inet/getrpcent_r.c: Likewise.
38505         * inet/getaliasent.c: Likewise.
38506         * inet/getaliasent_r.c: Likewise.
38507         * inet/getaliasname.c: Likewise.
38508         * inet/getaliasname_r.c: Likewise.
38509         * nscd/getgrgid_r.c: Likewise.
38510         * nscd/getgrnam_r.c: Likewise.
38511         * nscd/gethstbyad_r.c: Likewise.
38512         * nscd/gethstbynm3_r.c: Likewise.
38513         * nscd/getpwnam_r.c: Likewise.
38514         * nscd/getpwuid_r.c: Likewise.
38515         * nscd/getsrvbynm_r.c: Likewise.
38516         * nscd/getsrvbypt_r.c: Likewise.
38517         * nscd/gai.c: Likewise.
38519         * configure.in (build_nscd): New substituted variable, set
38520         by --disable-build-nscd and defaults to $use_nscd.
38521         * configure: Regenerated.
38522         * config.make.in (build-nscd): New substituted variable.
38523         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38524         Change conditional to require [$(build-nscd) = yes] as well.
38525         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38527         [BZ# 13696]
38528         * configure.in (use_nscd): New substituted variable, set by
38529         --disable-nscd.  If enabled, define USE_NSCD.
38530         * configure: Regenerated.
38531         * config.h.in: Add USE_NSCD.
38532         * config.make.in (use-nscd): New substituted variable.
38533         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38534         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38535         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38536         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38537         (CFLAGS-getgrnam_r.c): Likewise.
38538         (CFLAGS-initgroups.c): Likewise.
38539         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38540         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38541         Variables removed.
38542         * inet/getnetgrent_r.c
38543         (nscd_setnetgrent): New function, broken out of ...
38544         (setnetgrent): ... here.  Call it.
38545         (innetgr): Conditionalize nscd bits on [USE_NSCD].
38546         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38547         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38548         * nscd/Makefile (routines, aux): Move definitions after include of
38549         Makeconfig.  Conditionalize on [$(use-nscd) != no].
38550         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38551         Conditionalize on [USE_NSCD].
38552         (is_nscd, nscd_init_cb): Likewise.
38553         (nss_load_library): Conditionalize init callback on [USE_NSCD].
38554         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38555         * nss/nss_db/db-init.c: Likewise.
38556         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38557         [USE_NSCD].
38558         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38559         (make_request): Use it.
38560         (cache_valid_p): New function.
38561         (__check_pf): Use it.
38562         * NEWS: Add item for --disable-nscd.
38564 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
38566         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38567         to support sed >= 4.2.1-20-ga9bf076.
38568         * configure: Regenerated.
38570 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38572         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38573         Conditionalize whole body on [IREL].
38575 2012-08-22  Jeff Law <law@redhat.com>
38577         [BZ #14505]
38578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38579         if the family is PF_UNSPEC.
38581 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
38583         * Makerules (lib-version): Rename from V.
38584         (install-lib-nosubdir): Change V to lib-version.
38586 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
38588         [BZ #14252]
38589         * powerpc32/power6/wcschr.c: New file.
38590         * powerpc32/power6/wcscpy.c: New file.
38591         * powerpc32/power6/wcsrchr.c: New file.
38592         * powerpc64/power6/wcschr.c: New file.
38593         * powerpc64/power6/wcscpy.c: New file.
38594         * powerpc64/power6/wcsrchr.c: New file.
38596 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38598         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38599         (two_way_short_needle): Use it.
38600         * string/strstr.c (AVAILABLE1_USES_J): Define.
38601         * string/strcasestr.c: Likewise.
38603         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38604         array references.
38605         * string/strcasestr.c (TOLOWER): Make side-effect safe.
38607         [BZ #11607]
38608         * NEWS: Add an entry.
38609         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38610         define their defaults.
38611         (two_way_short_needle): Detect end-of-string on-the-fly.
38612         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38613         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38614         * string/bug-strcasestr1.c: New test.
38615         * string/Makefile: Run it.
38617 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38619         [BZ #11607]
38620         * string/str-two-way.h (two_way_short_needle): Optimize matching of
38621         the first character.
38623 2012-08-21  Roland McGrath  <roland@hack.frob.com>
38625         * csu/elf-init.c (__libc_csu_irel): Function removed.
38626         * csu/libc-start.c (apply_irel): New function.
38627         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38629 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
38631         * sysdeps/unix/sysv/linux/kernel-features.h
38632         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38633         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38634         <kernel-features.h>.
38635         [__NR_fadvise64_64]: Make code unconditional.
38636         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38637         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38638         !__NR_fadvise64_64)]: Likewise.
38639         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38640         !__NR_fadvise64_64))]: Likewise.
38641         [__NR_fadvise64]: Make code unconditional.
38642         [!__NR_fadvise64]: Remove conditional code.
38643         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38644         <kernel-features.h>.
38645         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38646         unconditional.
38647         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38648         conditional code.
38649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38650         not include <kernel-features.h>.
38651         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38652         unconditional.
38653         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38654         conditional code.
38655         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38656         include <kernel-features.h>.
38657         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38658         unconditional.
38659         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38660         conditional code.
38662 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38664         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38665         slight instruction rearrangements per scrollpipe analysis.
38666         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38668 2012-08-20  Roland McGrath  <roland@hack.frob.com>
38670         * manual/syslog.texi (syslog; vsyslog, closelog):
38671         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38672         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38674         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38675         DSOCAPS to match condition on defining it.
38677 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
38679         * sysdeps/unix/sysv/linux/kernel-features.h
38680         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38681         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38682         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38683         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38685         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38686         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38688         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38689         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38691         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38692         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38694         * sysdeps/unix/sysv/linux/kernel-features.h
38695         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38696         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38697         unconditional.
38698         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38699         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38700         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38701         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38702         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38703         Make code unconditional.
38704         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38705         (__mmap64) [!__NR_mmap2]: Likewise.
38706         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38707         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38708         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38709         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38710         [__NR_mmap2]: Make code unconditional.
38711         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38712         (__mmap64) [!__NR_mmap2]: Likewise.
38714 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38716         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38718 2012-08-18  Andreas Jaeger  <aj@suse.de>
38720         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38722 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38724         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38725         * include/unistd.h (__have_sock_cloexec): Likewise.
38726         (__have_pipe2): Likewise.
38727         (__have_dup3): Likewise.
38729 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38731         [BZ #9685]
38732         * include/unistd.h (__have_pipe2): Change define into an extern int.
38733         (__have_dup3): Likewise.
38734         * socket/have_sock_cloexec.c: Include fcntl.h.
38735         (__have_pipe2): New variable.
38736         (__have_dup3): Likewise.
38738 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
38740         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38742 2012-08-17  Marek Polacek  <polacek@redhat.com>
38744         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38745         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38747 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38749         * configure.in: Add AC_SUBST for sysheaders.
38750         * configure: Regenerated.
38751         * config.make.in (sysheaders): New substituted variable.
38753         * sysdeps/unix/mkfifo.c: Moved ...
38754         * sysdeps/posix/mkfifo.c: ... here.
38755         * sysdeps/unix/mkfifoat.c: Moved ...
38756         * sysdeps/posix/mkfifoat.c: ... here.
38758         * sysdeps/unix/utime.c: Moved ...
38759         * sysdeps/posix/utime.c: ... here.
38761         * sysdeps/unix/time.c: Moved ...
38762         * sysdeps/posix/time.c: ... here.
38763         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38764         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38766         * sysdeps/unix/nice.c: Moved ...
38767         * sysdeps/posix/nice.c: ... here.
38769         * sysdeps/unix/alarm.c: Moved ...
38770         * sysdeps/posix/alarm.c: ... here.
38772         * intl/Makefile ($(codeset_mo)): Depend on the input file.
38774 2012-08-17  Jeff Law <law@redhat.com>
38776         * intl/Makefile (codeset_mo): New variable.
38777         ($(codeset_mo)): New target.
38778         (tst-codeset.out): Depend on that.  Remove explicit rule.
38779         (tst-gettext3.out, tst-gettext5.out): Likewise.
38780         (LOCPATH-ENV, tst-codeset-ENV): New variables.
38781         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38782         * intl/tst-codeset.sh: Remove.
38783         * intl/tst-gettext3.sh: Likewise.
38784         * intl/tst-gettext5.sh: Likewise.
38786 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38788         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
38789         * sysdeps/unix/syscalls.list: ... here.
38791         * sysdeps/posix/getaddrinfo.c
38792         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38793         (gaiconf_init, gaiconf_reload): Use them.
38794         [!_STATBUF_ST_NSEC]
38795         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38796         Define using time_t rather than struct timespec.
38798         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38799         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38800         Macros removed.
38801         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38802         [!NO_THREADS].
38803         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38804         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38805         Likewise.
38807         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38808         __libc_cleanup_push argument.
38810         * bits/param.h: New file.
38811         * misc/sys/param.h: New file.
38812         * include/sys/param.h: New file.
38813         * misc/Makefile (headers): Add bits/param.h.
38814         * sysdeps/generic/sys/param.h: File removed.
38815         * sysdeps/unix/sysv/linux/bits/param.h: New file.
38816         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38817         * sysdeps/mach/hurd/bits/param.h: New file.
38818         * sysdeps/mach/hurd/sys/param.h: File removed.
38820         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38821         last change.
38823         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38824         [_IO_MTSAFE_IO].
38825         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38826         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38827         New macros.
38829         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38830         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38831         rather than -D_IO_MTSAFE_IO conditionally.
38832         * stdio-common/Makefile (CPPFLAGS): Likewise.
38833         * wcsmbs/Makefile (CPPFLAGS): Likewise.
38834         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38835         Use $(libio-mtsafe).
38836         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38837         of -D_IO_MTSAFE_IO.
38838         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38839         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38840         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38841         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38842         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38843         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38844         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38845         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38846         (CFLAGS-fread_u_chk.c): Likewise.
38847         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38848         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38849         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38850         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38851         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38852         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38853         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38854         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38855         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38857         * libio/Makefile: Test [$(libc-reentrant) = yes]
38858         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38860         * Makeconfig
38861         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38862         * sysdeps/pthread/configure: File removed.
38863         * sysdeps/pthread/Makeconfig: New file.
38864         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38865         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38867 2012-08-16  Gary Benson  <gbenson@redhat.com>
38869         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38870         unmapping the first object in a namespace.
38872 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38874         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38875         (__internal_setnetgrent): ... this.  Add internal_function to
38876         definition.  Add libc_hidden_def.
38877         (setnetgrent): Update caller.
38878         (internal_endnetgrent): Renamed to ...
38879         (__internal_endnetgrent): ... this.  Add internal_function to
38880         definition.  Add libc_hidden_def.
38881         (endnetgrent): Update caller.
38882         (internal_getnetgrent_r): Renamed to ...
38883         (__internal_getnetgrent_r): ... this.  Add internal_function to
38884         definition.  Add libc_hidden_def.
38885         (__getnetgrent_r): Update caller.
38886         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38888 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38890         * stdlib/longlong.h: Update from GCC.
38892 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38894         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38895         on _QL, which is set by umul_ppmm but never used.
38896         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38897         variables, which are set by GMP macros but never used.
38898         * stdio-common/_itowa.c (_itowa): Likewise.
38899         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38900         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38902 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38904         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38905         struct La_sh_regs is not constant.
38906         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38907         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38908         and struct La_sparc64_regs are not constant.
38910 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38912         * sysdeps/unix/sysv/linux/kernel-features.h
38913         (__ASSUME_POSIX_TIMERS): Remove.
38914         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38915         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38916         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38917         Make code unconditional.
38918         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38919         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38920         Make code unconditional.
38921         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38922         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38923         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38924         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38925         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38926         Make code unconditional.
38927         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38928         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38929         (__libc_missing_posix_timers): Remove.
38931 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38933         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38934         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38936         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38938         * elf/dl-sym.c: Include <stdlib.h>.
38940         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38941         constants, which avoids warnings in 32-bit builds.
38943         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38944         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38946         * misc/lseek.c: File moved to ...
38947         * io/lseek.c: ... here.
38949         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38951         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38952         shifting LEN more than 31 bits at once.
38954 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38956         [BZ #14195]
38957         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38958         segmentation fault for a case of two empty input strings.
38959         * string/test-strncasecmp.c (check1): Renamed to...
38960         (bz12205): ...this.
38961         (bz14195): Add new testcase for two empty input strings and N > 0.
38962         (test_main): Call new testcase, adapt for renamed function.
38964 2012-08-15  Andreas Jaeger  <aj@suse.de>
38966         [BZ #14090]
38967         * crypt/md5test2.c: New test, based on test supplied by Serge
38968         Belyshev <belyshev@depni.sinp.msu.ru>.
38969         * crypt/Makefile (xtests): Add md5test-giant..
38970         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38972 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38974         [BZ #14090]
38975         * crypt/md5.c (md5_process_block): Don't assume the buffer
38976         length is less than 2**32.
38977         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38978         length is less than 2**64.
38980 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38982         * string/str-two-way.h: Include <sys/param.h>.
38983         (MAX): Macro removed.
38985         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38986         Move #define and #undef of memmove to just before and after
38987         including <string.h>.
38989         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38990         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38991         and after including <string.h>.  Move declarations of
38992         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38993         to before #include "string/memmove.c".
38995         * include/dirent.h: Declare __getdirentries.
38997         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38998         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
39000 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
39002         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
39003         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
39004         * sysdeps/i386/configure: Regenerated.
39005         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
39006         STABS_CURRENT_FILE, and STABS_FUN.
39007         (END): Remove call to STABS_FUN_END.
39008         (STABS_CURRENT_FILE1): Delete.
39009         (STABS_CURRENT_FILE): Likewise.
39010         (STABS_FUN): Likewise.
39011         (STABS_FUN_END): Likewise.
39012         (STABS_FUN2): Likewise.
39013         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
39014         * sysdeps/x86_64/configure: Regenerated.
39016 2012-08-14  Roland McGrath  <roland@hack.frob.com>
39018         * elf/dl-open.c: Include <atomic.h>.
39019         * elf/dl-lookup.c: Likewise.
39021 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
39023         * sysdeps/unix/sysv/linux/kernel-features.h
39024         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
39025         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
39026         unconditionally.
39027         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
39028         unconditionally.
39029         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
39030         condition on __ASSUME_CLONE_THREAD_FLAGS.
39032 2012-08-14  Andreas Jaeger  <aj@suse.de>
39034         * sysdeps/i386/fpu/libm-test-ulps: Update.
39036 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
39038         * include/atomic.h (atomic_exchange_and_add): Split into ...
39039         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
39040         New atomic macros.
39042 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
39044         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39046 2012-08-13  Jeff Law <law@redhat.com>
39048         * manual/stdio.texi (snprintf): Clarify handling of the trailing
39049         null byte in the output string.
39051 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
39053         * sysdeps/unix/sysv/linux/kernel-features.h
39054         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
39055         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
39056         (__ASSUME_ARG_MAX_STACK_BASED): Define.
39057         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
39058         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
39059         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
39060         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
39062 2012-08-09  Jeff Law <law@redhat.com>
39064         [BZ #13939]
39065         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
39066         When avoid_arena is set, don't retry in the that arena.  Pick the
39067         next one, whatever it might be.
39068         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
39069         (arena_lock): Pass in new parameter to arena_get2.
39070         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
39071         arena_get2.
39072         (__libc_malloc): Unify retrying after main arena failure with
39073         __libc_memalign version.
39074         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
39076 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
39078         [BZ #14166]
39079         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
39080         to __redirect_strstr.
39081         (__strstr_sse42): Use typeof __redirect_strstr.
39082         (__strstr_ia32): Likewise.
39083         (__libc_strstr): New prototype.
39084         (strstr): Renamed to ...
39085         (__libc_strstr): This.
39086         (strstr): New strong alias of __libc_strstr.
39087         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
39088         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
39089         __redirect_time.
39090         Include <time.h>.
39091         (__libc_time): New prototype.
39092         (time_ifunc): Replace time with __libc_time.
39093         (time): New strong alias and hidden definition of __libc_time.
39094         (__GI_time): Remove strong alias.
39095         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
39096         Include <stddef.h>.
39097         (memmove): Redefined to __redirect_memmove.
39098         (__memmove_sse2): Use typeof __redirect_memmove.
39099         (__memmove_ssse3): Likewise.
39100         (__memmove_ssse3_back): Likewise.
39101         (__libc_memmove): New prototype.
39102         (memmove): Renamed to ...
39103         (__libc_memmove): This.
39104         (memmove): New strong alias of __libc_memmove.
39106 2012-08-08  Mark Salter  <msalter@redhat.com>
39108         * elf/elf.h
39109         (R_MN10300_TLS_GD): Define.
39110         (R_MN10300_TLS_LD): Likewise.
39111         (R_MN10300_TLS_LDO): Likewise.
39112         (R_MN10300_TLS_GOTIE): Likewise.
39113         (R_MN10300_TLS_IE): Likewise.
39114         (R_MN10300_TLS_LE): Likewise.
39115         (R_MN10300_TLS_DTPMOD): Likewise.
39116         (R_MN10300_TLS_DTPOFF): Likewise.
39117         (R_MN10300_TLS_TPOFF): Likewise.
39118         (R_MN10300_SYM_DIFF): Likewise.
39119         (R_MN10300_ALIGN): Likewise.
39120         (R_MN10300_NUM): Update.
39122 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
39124         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
39125         Remove.
39127 2012-08-08  Roland McGrath  <roland@hack.frob.com>
39129         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
39131         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
39132         sysdeps/unix -> sysdeps/posix move.
39133         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
39135 2012-08-07      Allan McRae     <allan@archlinux.org>
39137         [BZ #14303]
39138         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
39139         (SUNOS_CPP): Likewise.
39140         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
39141         not found.
39142         (open_input): Call CPP using execvp.
39144 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39146         * sysdeps/unix/sysv/linux/kernel-features.h
39147         (__ASSUME_PROT_GROWSUPDOWN): Remove.
39148         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39149         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39150         (__ASSUME_WAITID_SYSCALL): Likewise.
39151         * sysdeps/unix/sysv/linux/dl-execstack.c
39152         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
39153         code unconditional.
39154         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
39155         conditional code.
39156         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
39157         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
39158         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
39159         code.
39160         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
39161         unconditional.
39162         [__ASSUME_WAITID_SYSCALL]: Likewise.
39163         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
39165 2012-08-07  Roland McGrath  <roland@hack.frob.com>
39167         * sysdeps/unix/closedir.c: Renamed to ...
39168         * sysdeps/posix/closedir.c: ... here.
39169         * sysdeps/unix/dirfd.c: Renamed to ...
39170         * sysdeps/posix/dirfd.c: ... here.
39171         * sysdeps/unix/dirstream.h: Renamed to ...
39172         * sysdeps/posix/dirstream.h: ... here.
39173         * sysdeps/unix/fdopendir.c: Renamed to ...
39174         * sysdeps/posix/fdopendir.c: ... here.
39175         * sysdeps/unix/opendir.c: Renamed to ...
39176         * sysdeps/posix/opendir.c: ... here.
39177         * sysdeps/unix/readdir.c: Renamed to ...
39178         * sysdeps/posix/readdir.c: ... here.
39179         * sysdeps/unix/readdir_r.c: Renamed to ...
39180         * sysdeps/posix/readdir_r.c: ... here.
39181         * sysdeps/unix/rewinddir.c: Renamed to ...
39182         * sysdeps/posix/rewinddir.c: ... here.
39183         * sysdeps/unix/seekdir.c: Renamed to ...
39184         * sysdeps/posix/seekdir.c: ... here.
39185         * sysdeps/unix/telldir.c: Renamed to ...
39186         * sysdeps/posix/telldir.c: ... here.
39187         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
39188         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
39189         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
39190         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
39192         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
39193         * bits/fcntl.h: ... here.
39195         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
39196         not 0.
39197         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
39198         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
39199         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
39200         (struct flock): Move l_start, l_len to the beginning.
39201         Use __pid_t for l_pid.
39202         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
39203         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
39204         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
39205         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
39206         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
39207         [__USE_LARGEFILE64] (struct flock64): New type.
39208         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
39210         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
39211         * bits/dirent.h: ... here.
39213         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
39214         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
39216 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
39218         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39219         Change from 2.6.0 to 2.6.16.
39220         * sysdeps/unix/sysv/linux/configure: Regenerated.
39221         * sysdeps/unix/sysv/linux/kernel-features.h
39222         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
39223         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
39224         version.
39225         (__ASSUME_UTIMES): Likewise.
39226         (__ASSUME_CLONE_STOPPED): Remove.
39227         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
39228         architectures, not kernel version.
39229         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
39230         (__ASSUME_NO_CLONE_DETACHED): Likewise.
39231         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
39232         (__ASSUME_WAITID_SYSCALL): Likewise.
39233         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
39234         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
39235         * README: State 2.6.16 as minimum Linux kernel version.  Do not
39236         refer to older versions.
39238 2012-08-06  Roland McGrath  <roland@hack.frob.com>
39240         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
39241         Define alphasort64 as an alias.
39242         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
39243         Define versionsort64 as an alias.
39244         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
39245         Define scandir64 as an alias.
39246         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
39247         Define scandirat64 as an alias.
39248         * dirent/alphasort64.c (alphasort64):
39249         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
39250         * dirent/versionsort64.c: Likewise.
39251         * dirent/scandir64.c: Likewise.
39252         * dirent/scandirat64.c: Likewise.
39253         * sysdeps/wordsize-64/alphasort.c: File removed.
39254         * sysdeps/wordsize-64/alphasort64.c: File removed.
39255         * sysdeps/wordsize-64/scandir.c: File removed.
39256         * sysdeps/wordsize-64/scandir64.c: File removed.
39257         * sysdeps/wordsize-64/scandirat.c: File removed.
39258         * sysdeps/wordsize-64/scandirat64.c: File removed.
39259         * sysdeps/wordsize-64/versionsort.c: File removed.
39260         * sysdeps/wordsize-64/versionsort64.c: File removed.
39261         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39262         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39263         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39264         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39265         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39266         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39267         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39268         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39270         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39271         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39272         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39273         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39274         [defined __arch64__ || defined __sparcv9]
39275         (__INO_T_MATCHES_INO64_T): New macro.
39276         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39277         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39278         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39279         * sysdeps/unix/sysv/linux/bits/dirent.h
39280         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39281         (_DIRENT_MATCHES_DIRENT64): New macro.
39283         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39284         Define lockf64 as an alias.
39285         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39286         Define fseeko64 as an alias.
39287         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39288         Define ftello64 as an alias.
39289         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39290         Define _IO_fgetpos64 and fgetpos64 as aliases.
39291         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39292         Define _IO_fsetpos64 and fsetpos64 as aliases.
39293         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39294         Conditionalize body on this.
39295         * libio/fseeko64.c: Likewise.
39296         * libio/ftello64.c: Likewise.
39297         * libio/iofgetpos64.c: Likewise.
39298         * libio/iofsetpos64.c: Likewise.
39299         * sysdeps/wordsize-64/lockf.c: File removed.
39300         * sysdeps/wordsize-64/lockf64.c: File removed.
39301         * sysdeps/wordsize-64/fseeko.c: File removed.
39302         * sysdeps/wordsize-64/fseeko64.c: File removed.
39303         * sysdeps/wordsize-64/ftello.c: File removed.
39304         * sysdeps/wordsize-64/ftello64.c: File removed.
39305         * sysdeps/wordsize-64/iofgetpos.c: File removed.
39306         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39307         * sysdeps/wordsize-64/iofsetpos.c: File removed.
39308         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39309         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39310         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39311         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39312         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39313         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39314         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39315         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39316         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39317         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39318         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39320         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39321         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39322         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39323         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39324         [defined __arch64__ || defined __sparcv9]
39325         (__OFF_T_MATCHES_OFF64_T): New macro.
39326         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39327         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39328         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39329         (__OFF_T_MATCHES_OFF64_T): New macro.
39331 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39333         * stdlib/secure-getenv.c (__secure_getenv): Replace
39334         GLIBC_2_16 with GLIBC_2_17.
39336 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39338         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39339         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39341 2012-08-03  David S. Miller  <davem@davemloft.net>
39343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39345 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
39347         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39348         Remove.
39349         (__ASSUME_CORRECT_SI_PID): Likewise.
39350         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39351         (__ASSUME_TMPFS_NAME): Likewise.
39352         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39353         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39354         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39355         (HAVE_AUX_SECURE): Make definition unconditional.
39356         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39357         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39359 2012-08-03  Roland McGrath  <roland@hack.frob.com>
39361         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39362         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39363         * sysdeps/mach/hurd/eloop-threshold.h: New file.
39364         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39365         __eloop_threshold instead of SYMLOOP_MAX.
39367         * sysdeps/generic/eloop-threshold.h: New file.
39368         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39369         of MAXSYMLINKS.
39370         * elf/chroot_canon.c (chroot_canon): Likewise.
39372 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
39374         [BZ #13717]
39375         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39376         Change to 2.6.0 everywhere.
39377         * sysdeps/unix/sysv/linux/configure: Regenerated.
39378         * sysdeps/unix/sysv/linux/kernel-features.h
39379         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39380         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39381         kernel versions.
39382         (__ASSUME_POSIX_TIMERS): Define unconditionally.
39383         (__ASSUME_FUTEX_REQUEUE): Remove.
39384         (__ASSUME_STATFS64): Define unconditionally.
39385         (__ASSUME_AT_SECURE): Likewise.
39386         (__ASSUME_CORRECT_SI_PID): Likewise.
39387         (__ASSUME_TGKILL): Define without depending on kernel version for
39388         i386.
39389         (__ASSUME_UTIMES): Likewise.
39390         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39391         kernel version.
39392         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39393         (__ASSUME_TMPFS_NAME): Likewise.
39394         * README: Update reference to Linux kernel versions.
39396 2012-08-02  Marek Polacek  <polacek@redhat.com>
39398         [BZ# 14150]
39399         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
39400         libc_cv_asm_type_prefix with %.
39401         * configure: Regenerated.
39402         * include/libc-symbols.h: Remove comment about
39403         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39404         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39405         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39406         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39407         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39408         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39409         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39410         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39411         * elf/tst-unique2mod1.c: Likewise.
39412         * elf/tst-unique1mod2.c: Likewise.
39413         * elf/tst-unique1mod1.c: Likewise.
39414         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39415         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39416         Replace ASM_TYPE_DIRECTIVE with .type.
39417         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39418         * sysdeps/i386/sysdep.h: Likewise.
39419         * sysdeps/x86_64/sysdep.h: Likewise.
39420         * sysdeps/sh/sysdep.h: Likewise.
39421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39422         Do not define ASM_TYPE_DIRECTIVE.
39423         * sysdeps/powerpc/sysdep.h: Likewise.
39424         * sysdeps/powerpc/powerpc32/sysdep.h:
39425         Replace ASM_TYPE_DIRECTIVE with .type.
39426         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39427         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39428         * sysdeps/i386/fpu/e_powf.S: Likewise.
39429         * sysdeps/i386/fpu/e_expl.S: Likewise.
39430         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39431         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39432         * sysdeps/i386/fpu/e_pow.S: Likewise.
39433         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39434         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39435         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39436         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39437         * sysdeps/i386/fpu/e_log2.S: Likewise.
39438         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39439         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39440         * sysdeps/i386/fpu/e_powl.S: Likewise.
39441         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39442         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39443         * sysdeps/i386/fpu/e_logl.S: Likewise.
39444         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39445         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39446         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39447         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39448         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39449         * sysdeps/i386/fpu/e_log.S: Likewise.
39450         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39451         * sysdeps/i386/fpu/e_logf.S: Likewise.
39452         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39453         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39454         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39455         * sysdeps/i386/fpu/e_log10.S: Likewise.
39456         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39457         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39458         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39459         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39460         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39461         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39462         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39463         * sysdeps/i386/i686/strtok.S: Likewise.
39464         * sysdeps/i386/i386-mcount.S: Likewise.
39465         * sysdeps/i386/strtok.S: Likewise.
39466         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39467         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39468         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39469         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39470         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39471         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39472         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39473         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39474         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39475         * sysdeps/x86_64/_mcount.S: Likewise.
39476         * sysdeps/x86_64/strtok.S: Likewise.
39477         * sysdeps/sh/_mcount.S: Likewise.
39479 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39481         * libio/iofopen.c: Include <fcntl.h>.
39482         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39483         (_IO_fopen64, fopen64): Define as aliases.
39484         * libio/iofopen64.c: Include <fcntl.h>.
39485         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39486         Conditionalize body on this.
39487         * sysdeps/wordsize-64/iofopen.c: File removed.
39488         * sysdeps/wordsize-64/iofopen64.c: File removed.
39490 2012-08-01  Marek Polacek  <polacek@redhat.com>
39492         * libc/Makeconfig: Use elf in place of binfmt-subdir.
39493         Use dlfcn directly instead of a variable.
39494         (binfmt-subdir): Do not define.
39495         (dlfcn): Likewise.
39497 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
39499         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39500         Remove all definitions.
39501         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39502         <kernel-features.h>.
39503         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39504         (miss_F_GETOWN_EX): Remove all definitions.
39505         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39506         macro definition.
39507         [!__ASSUME_FCNTL64]: Remove conditional code.
39508         [__ASSUME_FCNTL64]: Make code unconditional.
39509         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39510         <kernel-features.h>.
39511         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39512         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39513         (lockf64) [__NR_fcntl64]: Make code unconditional.
39514         (lockf64) [__ASSUME_FCNTL64]: Likewise.
39516         * sysdeps/unix/sysv/linux/kernel-features.h
39517         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39518         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39519         Make code unconditional.
39520         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39521         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39523         [__NR_vfork]: Make code unconditional.
39524         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39525         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39527         [__NR_vfork]: Make code unconditional.
39528         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39529         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39531 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39533         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39534         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39536         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39537         Define mkstemp64 as an alias.
39538         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39539         Define mkstemps64 as an alias.
39540         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39541         Define mkostemp64 as an alias.
39542         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39543         Define mkostemps64 as an alias.
39544         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39545         Conditionalize body on this.
39546         * misc/mkostemp64.c: Likewise.
39547         * misc/mkostemps64.c: Likewise.
39548         * misc/mkstemps64.c: Likewise.
39549         * sysdeps/wordsize-64/mkstemp64.c: File removed.
39550         * sysdeps/wordsize-64/mkostemp64.c: File removed.
39551         * sysdeps/wordsize-64/mkostemp.c: File removed.
39552         * sysdeps/wordsize-64/mkstemp.c: File removed.
39553         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39554         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39555         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39556         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39558         [BZ #14138]
39559         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39560         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39561         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39562         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39564         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39565         compat_symbol macros from <shlib-compat.h> rather than the underlying
39566         default_symbol_version and symbol_version macros, so that DEFAULT
39567         lines in shlib-versions are respected.
39568         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39570 2012-08-01  Florian Weimer  <fweimer@redhat.com>
39572         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39573         Declare with warn_unused_result.
39574         (setgid, setregid, setegid, setresgid): Likewise.
39575         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39576         Likewise.
39577         * WUR-REPORT: Remove set*id functions.
39579 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
39581         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39583 2012-07-31  Roland McGrath  <roland@hack.frob.com>
39585         [BZ #10191]
39586         * include/sys/socket.h (__libc_accept, __libc_accept4):
39587         Add attribute_hidden.
39588         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39590         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39591         use of PTR_MANGLE.
39592         * inet/getnetgrent_r.c (setup): Likewise.
39594         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39596 2012-07-31  David S. Miller  <davem@davemloft.net>
39598         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39600 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
39602         [BZ #13629]
39603         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39604         value between 1.0 and 2.0 and smaller part has absolute value less
39605         than 1.0.
39606         * math/s_clog10.c (__clog10): Likewise.
39607         * math/s_clog10f.c (__clog10f): Likewise.
39608         * math/s_clog10l.c (__clog10l): Likewise.
39609         * math/s_clogf.c (__clogf): Likewise.
39610         * math/s_clogl.c (__clogl): Likewise.
39611         * math/libm-test.inc (clog_test): Add more tests.
39612         (clog10_test): Likewise.
39613         * sysdeps/i386/fpu/libm-test-ulps: Update.
39614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39616 2012-07-31  Florian Weimer  <fweimer@redhat.com>
39618         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39619         Exit with zero in case no suitable GID is found, and write a
39620         message to standard error.
39622 2012-07-30  Roland McGrath  <roland@hack.frob.com>
39624         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39625         rather than to 1.
39626         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39627         (MAXPATHLEN): Removed.
39628         (NOGROUP, NODEV): New macros.
39629         (setbit, clrbit, isset, isclr): New macros.
39630         (howmany, roundup, powerof2): New macros.
39631         (DEV_BSIZE): New macro.
39633         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39634         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39636         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39637         definition on [!__NO_LONG_DOUBLE_MATH].
39639         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39640         PTR_MANGLE and PTR_DEMANGLE.
39642         * socket/accept4.c (accept4): Rename to __libc_accept4.
39643         Define accept4 as a weak alias.
39645         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39646         on [_DIRENT_HAVE_D_TYPE].
39647         * io/ftw.c (ftw_dir): Likewise.
39649         * io/xmknod.c (__xmknod): Don't check PATH for being null.
39651         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39653         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39654         Use the BSD numbers rather than the arbitrary ones we had.
39655         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39656         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39657         (SIGXCPU, SIGXFSZ): New macros.
39658         (_NSIG): Now 32.
39660         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39661         initializer on [_LIBC_REENTRANT].
39663         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39664         definitions inside [_POSIX_MAPPED_FILES].
39666         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39668         * dirent/opendir.c: Include <fcntl.h>.
39670         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39671         (__libc_getspecific): Likewise.
39672         (__libc_key_create): Likewise.
39674         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39675         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39676         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39677         (tmpfile64): Define as alias.
39678         * sysdeps/wordsize-64/tmpfile.c: File removed.
39679         * sysdeps/wordsize-64/tmpfile64.c: File removed.
39680         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39681         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39683         * stdio-common/vfscanf.c: Include <stdbool.h>.
39684         * nss/makedb.c: Likewise.
39685         * stdio-common/_i18n_number.h: Likewise.
39686         * argp/argp-help.c: Likewise.
39687         * posix/wordexp.c: Likewise.
39688         * sysdeps/posix/spawni.c: Likewise.
39689         * nss/nss_files/files-initgroups.c: Likewise.
39690         * stdio-common/reg-modifier.c: Include <stdlib.h>.
39691         * nss/nss_files/files-initgroups.c: Likewise.
39692         * nss/nss_db/db-netgrp.c: Likewise.
39693         * nss/nss_db/db-initgroups.c: Likewise.
39694         * io/fchmodat.c: Include <sys/stat.h>.
39696         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39697         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39699         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39700         [HAVE_MMAP].
39702         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39703         Add multiple inclusion protection.
39705 2012-07-27  David S. Miller  <davem@davemloft.net>
39707         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39709 2012-07-27  Gary Benson  <gbenson@redhat.com>
39711         [BZ #14298]
39712         * elf/rtld.c: Include <stap-probe.h>.
39713         (dl_main): Added static probes "init_start" and "init_complete".
39714         * elf/dl-load.c: Include <stap-probe.h>.
39715         (lose): Take new parameter "nsid".
39716         Added static probe "map_failed".
39717         (_dl_map_object_from_fd): Pass namespace id to lose.
39718         Added static probe "map_start".
39719         (open_verify): Pass namespace id to lose.
39720         * elf/dl-open.c: Include <stap-probe.h>.
39721         (dl_open_worker) Added static probes "map_complete", "reloc_start"
39722         and "reloc_complete".
39723         * elf/dl-close.c: Include <stap-probe.h>.
39724         (_dl_close_worker): Added static probes "unmap_start" and
39725         "unmap_complete".
39726         * elf/rtld-debugger-interface.txt: New file documenting the above.
39728 2012-07-26  Roland McGrath  <roland@hack.frob.com>
39730         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39731         rather than a string variable.
39732         * sunrpc/rpc_main.c (h_output): Likewise.
39733         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39735 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
39737         * inet/check_native.c: New file.
39739 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
39741         [BZ #13629]
39742         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39743         if larger part has absolute value 1.0.
39744         * math/s_clog10.c (__clog10): Likewise.
39745         * math/s_clog10f.c (__clog10f): Likewise.
39746         * math/s_clog10l.c (__clog10l): Likewise.
39747         * math/s_clogf.c (__clogf): Likewise.
39748         * math/s_clogl.c (__clogl): Likewise.
39749         * math/libm-test.inc (clog_test): Add more tests.
39750         (clog10_test): Likewise.
39751         * sysdeps/i386/fpu/libm-test-ulps: Update.
39752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39754         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39755         (pltexit): Likewise.
39756         (La_regs): Likewise.
39757         (La_retval): Likewise.
39758         (int_retval): Likewise.
39759         Update #error for removed macros to refer only to definitions in
39760         tst-audit.h.
39761         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39762         macro.
39763         (pltexit): Likewise.
39764         (La_regs): Likewise.
39765         (La_retval): Likewise.
39766         (int_retval): Likewise.
39767         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39768         macro.
39769         (pltexit): Likewise.
39770         (La_regs): Likewise.
39771         (La_retval): Likewise.
39772         (int_retval): Likewise.
39773         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39774         macro.
39775         (pltexit): Likewise.
39776         (La_regs): Likewise.
39777         (La_retval): Likewise.
39778         (int_retval): Likewise.
39779         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39780         macro.
39781         (pltexit): Likewise.
39782         (La_regs): Likewise.
39783         (La_retval): Likewise.
39784         (int_retval): Likewise.
39785         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39786         macro.
39787         (pltexit): Likewise.
39788         (La_regs): Likewise.
39789         (La_retval): Likewise.
39790         (int_retval): Likewise.
39791         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39792         macro.
39793         (pltexit): Likewise.
39794         (La_regs): Likewise.
39795         (La_retval): Likewise.
39796         (int_retval): Likewise.
39797         * sysdeps/generic/tst-audit.h: Update comment to refer only to
39798         macro definitions in tst-audit.h.
39799         * sysdeps/i386/tst-audit.h: New file.
39800         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39801         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39802         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39803         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39804         * sysdeps/sh/tst-audit.h: Likewise.
39805         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39806         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39807         * sysdeps/x86_64/tst-audit.h: Likewise.
39809 2012-07-26  Andreas Jaeger  <aj@suse.de>
39811         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39812         ptrace.
39814         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39815         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39816         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39817         PTRACE_O_MASK.
39818         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39819         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39820         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39822         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39823         value.
39825         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39826         _sigsys.
39827         (si_call_addr, si_syscall, si_arch): Define new macro.
39828         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39829         _sigsys.
39830         (si_call_addr, si_syscall, si_arch): Define new marcro.
39831         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39832         _sigsys.
39833         (si_call_addr, si_syscall, si_arch): Define new macro.
39834         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39835         _sigsys.
39836         (si_call_addr, si_syscall, si_arch): Define new macro.
39838 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39840         [BZ #13717]
39841         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39842         Change to 2.4.21 where previously 2.4.1.
39843         * sysdeps/unix/sysv/linux/configure: Regenerated.
39844         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39845         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39846         Linux kernel version.
39847         (__ASSUME_STD_AUXV): Remove.
39848         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39849         kernel version.
39850         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39851         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39852         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39853         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39854         (__ASSUME_NETLINK_SUPPORT): Likewise.
39855         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39856         (__no_netlink_support): Remove conditional definition.
39857         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39858         Remove.
39859         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39860         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39861         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39862         (if_nameindex_ioctl): Remove.
39863         (if_nameindex_netlink): Do not handle __no_netlink_support.
39864         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39865         code.
39866         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39867         Remove conditional code.
39868         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39869         code.
39870         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39871         unconditional.
39872         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39873         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39874         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39875         Remove.
39876         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39877         [!__ASSUME_STD_AUXV]: Remove conditional code.
39878         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39879         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39880         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39882         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39883         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39884         code.
39885         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39887         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39888         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39889         conditional code.
39890         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39892         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39893         code.
39894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39895         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39896         conditional code.
39897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39898         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39899         code unconditional.
39900         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39901         conditional code.
39902         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39903         unconditional.
39904         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39905         conditional code.
39906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39907         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39908         unconditional.
39909         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39910         conditional code.
39911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39912         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39913         code unconditional.
39914         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39915         conditional code.
39916         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39917         unconditional.
39918         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39919         conditional code.
39920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39921         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39922         code unconditional.
39923         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39924         conditional code.
39925         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39926         unconditional.
39927         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39928         conditional code.
39930 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39932         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39933         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39934         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39935         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39936         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39937         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39938         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39939         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39940         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39941         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39942         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39943         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39944         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39945         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39946         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39947         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39948         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39949         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39950         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39951         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39952         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39953         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39954         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39956 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39958         * Versions.def: Add GLIBC_2.17.
39959         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39960         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39961         Introduce __libc_secure_getenv.
39962         * stdlib/Versions (2.17): Add secure_getenv
39963         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39964         * stdlib/secure-getenv.c: Rename __secure_getenv to
39965         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39966         symbol __secure_getenv for GLIBC_2.0.
39967         * stdlib/tst-secure-getenv.c: New.
39968         * stdlib/Makefile (tests): Add testcase.
39969         * manual/startup.texi (Environment Access): Document
39970         secure_getenv.
39971         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39972         __libc_secure_getenv.
39973         * inet/ruserpass.c (ruserpass): Likewise.
39974         * malloc/mtrace.c (mtrace): Likewise.
39975         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39976         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39977         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39978         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39979         HAVE_SECURE_GETENV.
39980         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39981         __secure_getenv to __libc_secure_getenv.
39982         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39983         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39984         Likewise.
39985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39986         Likewise.
39987         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39988         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39989         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39990         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39991         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39995 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39997         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39998         (struct La_i86_retval): Likewise.
39999         (struct La_x86_64_regs): Likewise.
40000         (struct La_x86_64_retval): Likewise.
40001         (struct La_x32_regs): Likewise.
40002         (struct La_x32_retval): Likewise.
40003         (struct La_ppc32_regs): Likewise.
40004         (struct La_ppc32_retval): Likewise.
40005         (struct La_ppc64_regs): Likewise.
40006         (struct La_ppc64_retval): Likewise.
40007         (struct La_sh_regs): Likewise.
40008         (struct La_sh_retval): Likewise.
40009         (struct La_s390_32_regs): Likewise.
40010         (struct La_s390_32_retval): Likewise.
40011         (struct La_s390_64_regs): Likewise.
40012         (struct La_s390_64_retval): Likewise.
40013         (struct La_sparc32_regs): Likewise.
40014         (struct La_sparc32_retval): Likewise.
40015         (struct La_sparc64_regs): Likewise.
40016         (struct La_sparc64_retval): Likewise.
40017         (struct audit_ifaces): Remove architecture-specific pltenter and
40018         pltexit members.
40019         * sysdeps/i386/ldsodefs.h: New file.
40020         * sysdeps/powerpc/ldsodefs.h: Likewise.
40021         * sysdeps/s390/ldsodefs.h: Likewise.
40022         * sysdeps/sh/ldsodefs.h: Likewise.
40023         * sysdeps/sparc/ldsodefs.h: Likewise.
40024         * sysdeps/x86_64/ldsodefs.h: Likewise.
40026 2012-07-25  Marek Polacek  <polacek@redhat.com>
40028         [BZ #6808]
40029         * math/libm-test.inc (yn_test): Add another test.
40030         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
40031         to ERANGE when the result is +-Inf.
40032         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
40033         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
40034         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
40035         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
40037 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
40039         * conform/data/time.h-data (NULL): Use macro-constant.  Require
40040         equal to 0.
40041         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
40042         clock_t.
40043         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
40045 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
40047         * configure.in <sysdeps resolving>: Correct printing
40048         Implies_before.
40049         * configure: Regenerate.
40051 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
40053         * math/w_ilogb.c: Include <limits.h>.
40054         * math/w_ilogbl.c: Likewise.
40056 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40058         * manual/lang.texi (__va_copy): Document primarily as ISO C99
40059         va_copy.  Document allowing for unavailable va_copy only as
40060         pre-C99 compatibility.
40061         * manual/string.texi (Copying and Concatenation): Use va_copy
40062         instead of __va_copy in concat example.
40064 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
40066         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
40067         (__sendto): Use create_address_port.  Initialize APORT and deallocate
40068         it if not null.
40070         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
40071         with O_NOLINK passed to __file_name_lookup.
40073         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
40074         with O_NOLINK passed to __file_name_lookup.
40076         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
40077         negative N or less than NGIDS.
40079         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
40080         type to string_t.  Set ERANGE as errno and return it if NAME is not big
40081         enough.  Use memcpy instead of strncpy.
40083 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
40085         * elf/Makefile (check-data): Remove.
40086         (localplt.data): New vpath directive.
40087         ($(objpfx)check-localplt.out): Use localplt.data from vpath
40088         instead of $(check-data).
40089         * scripts/data/localplt-generic.data: Move to ...
40090         * sysdeps/generic/localplt.data: ... here.
40091         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
40092         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
40093         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
40094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
40095         ... here.
40096         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
40097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
40098         ... here.
40099         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
40100         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
40101         ... here.
40102         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
40103         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
40104         ... here.
40105         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
40106         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
40107         ... here.
40108         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
40109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
40110         ... here.
40112 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40114         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
40115         PPC32 and PPC64 files.
40116         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
40117         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
40119 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40121         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
40122         __makecontext_ret to ...
40123         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
40124         ... here and call exit if uc_link is NULL.  New file.
40125         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
40126         __makecontext_ret.S.
40127         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
40128         __makecontext_ret to ...
40129         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
40130         ... here and call exit if uc_link is NULL.  New file.
40131         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
40132         __makecontext_ret.S.
40134 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40136         * elf/elf.h (R_390_IRELATIVE): New definition.
40137         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
40138         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
40139         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
40140         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
40141         (elf_machine_lazy_rel): Likewise.
40142         * sysdeps/s390/dl-irel.h: New file.
40143         * sysdeps/s390/s390-64/memcpy.S: New asm code.
40144         * sysdeps/s390/s390-64/memset.S: New asm code.
40145         * sysdeps/s390/s390-64/memcmp.S: New asm code.
40146         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
40147         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
40148         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
40149         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
40150         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
40151         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
40152         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
40153         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
40154         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
40155         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
40156         * sysdeps/s390/s390-32/memcpy.S: New asm code.
40157         * sysdeps/s390/s390-32/memset.S: New asm code.
40158         * sysdeps/s390/s390-32/memcmp.S: New asm code.
40160 2012-07-17  Marek Polacek  <polacek@redhat.com>
40162         [BZ #14349]
40163         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
40164         * sysdeps/s390/s390-64/configure.in: Likewise.
40165         * sysdeps/sparc/configure.in: Likewise.
40166         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
40167         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
40168         * sysdeps/i386/configure.in: Likewise.
40169         * sysdeps/x86_64/configure.in: Likewise.
40170         * sysdeps/sh/configure.in: Likewise.
40171         * sysdeps/s390/s390-32/configure: Regenerated.
40172         * sysdeps/s390/s390-64/configure: Likewise.
40173         * sysdeps/x86_64/configure: Likewise.
40174         * sysdeps/sh/configure: Likewise.
40175         * sysdeps/powerpc/powerpc64/configure: Likewise.
40176         * sysdeps/powerpc/powerpc32/configure: Likewise.
40177         * sysdeps/sparc/configure: Likwise.
40178         * sysdeps/i386/configure: Likewise.
40180         * elf/dl-open.c: Comment fixes.
40182 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
40184         * Makefile [CXX] (check-data): Remove.
40185         [CXX] (c++-types.data): New vpath directive.
40186         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
40187         vpath.  Do not allow for C++ type data being missing.
40188         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
40189         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
40190         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
40191         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
40192         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
40193         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
40194         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
40195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
40196         ... here.
40197         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
40198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
40199         ... here.
40200         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
40201         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
40202         ... here.
40203         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
40204         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
40205         ... here.
40206         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
40207         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
40208         ... here.
40209         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
40210         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
40211         ... here.
40212         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
40213         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
40214         ... here.
40215         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
40216         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
40218         * elf/tls-macros.h (TLS_LE): Move architecture-specific
40219         definitions to architecture-specific files.
40220         (TLS_IE): Likewise.
40221         (TLS_LD): Likewise.
40222         (TLS_GD): Likewise.
40223         * sysdeps/i386/tls-macros.h: New file.
40224         * sysdeps/powerpc/tls-macros.h: Likewise.
40225         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
40226         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
40227         * sysdeps/sh/tls-macros.h: Likewise.
40228         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
40229         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
40230         * sysdeps/x86_64/tls-macros.h: Likewise.
40232 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40234         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
40235         zero value for regular exit case.
40237         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
40238         (__start_context): Preserve zero value for regular exit case.
40240 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
40241             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40243         * manual/setjmp.texi (setcontext): Clarify normal process
40244         termination when uc_link is the null pointer.
40245         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
40246         exit call.
40248 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
40250         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
40251         preprocessor.  Test for each exception mask separately.
40253 2012-07-16  Andreas Jaeger  <aj@suse.de>
40255         * po/ru.po: Update from translation team.
40257 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
40259         * conform/data/string.h-data (NULL): Use macro-constant.  Require
40260         equal to 0.
40261         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40262         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40263         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40264         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40265         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40267 2012-07-13  Andreas Jaeger  <aj@suse.de>
40269         * po/fr.po: Update from translation team.
40271 2012-07-12  Marek Polacek  <polacek@redhat.com>
40273         [BZ #14173]
40274         * math/libm-test.inc (yn_test): Add test for BZ #14173.
40275         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40276         loop condition.
40278 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
40280         [BZ #13717]
40281         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40282         Change to 2.4.1 where previously 2.4.0.
40283         * sysdeps/unix/sysv/linux/configure: Regenerated.
40284         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40285         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40286         version.
40287         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40288         (__ASSUME_AT_CLKTCK): Remove.
40289         (__ASSUME_AT_PAGESIZE): Likewise.
40290         (__ASSUME_AT_XID): Likewise.
40291         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40292         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40293         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40294         unconditionally.
40295         (HAVE_AUX_PAGESIZE): Likewise.
40296         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40297         [__ASSUME_AT_CLKTCK]: Make code unconditional.
40298         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40300 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
40302         [BZ #14307]
40303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40304         the temporary buffer used to invoke __gethostbyname2_r,
40305         __gethostbyaddr_r and gethostbyname4_r to make room for struct
40306         host_data / struct gaih_addrtuple.
40307         * resolv/nss_dns/dns-host.c (global scope): Move definition of
40308         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40309         header file nss/nsswitch.h.
40310         * nss/nsswitch.h (global scope): Add definition of implementation
40311         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40312         resolv/nss_dns/dns-host.c).
40314 2012-07-11  Andreas Jaeger  <aj@suse.de>
40316         * po/fr.po: Update from translation team.
40318         * po/sv.po: Update from translation team
40319         * po/fr.po: Another update from translation team.
40321 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40323         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40324         for subnormals or multiply small sinh result by itself.
40325         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40326         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40328 2012-07-11  David S. Miller  <davem@davemloft.net>
40330         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40332 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
40334         [BZ #14347]
40335         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40336         (INTERNAL_MARK): Shift it here.
40338 2012-07-10  Marek Polacek  <polacek@redhat.com>
40340         [BZ #14151]
40341         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
40342         libc_cv_asm_global_directive with .globl.
40343         * configure: Regenerated.
40344         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40345         with .globl.
40346         * sysdeps/i386/configure: Regenerated.
40347         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40348         with .globl.
40349         * sysdeps/x86_64/configure: Regenerated.
40350         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40351         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40352         * elf/tst-unique2mod2.c: Likewise.
40353         * elf/tst-unique2mod1.c: Likewise.
40354         * elf/tst-unique1mod2.c: Likewise.
40355         * elf/tst-unique1mod1.c: Likewise.
40356         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40357         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40358         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40359         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40360         * sysdeps/mach/sysdep.h: Likewise.
40361         * sysdeps/i386/sysdep.h: Likewise.
40362         * sysdeps/i386/i386-mcount.S: Likewise.
40363         * sysdeps/x86_64/_mcount.S: Likewise.
40364         * sysdeps/x86_64/sysdep.h: Likewise.
40365         * sysdeps/sh/_mcount.S: Likewise.
40366         * sysdeps/sh/sysdep.h: Likewise.
40367         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40368         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40369         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40370         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40371         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40372         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40373         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40374         * locale/localeinfo.h: Likewise.
40375         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40376         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40378 2012-07-09  Roland McGrath  <roland@hack.frob.com>
40380         [BZ #14336]
40381         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40382         system".
40383         * manual/message.texi (The Uniforum approach): Likewise.
40384         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40385         (glibc iconv Implementation): Likewise.
40387 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
40389         [BZ #14337]
40390         * math/s_clog.c (__clog): Avoid scaling a value down where that
40391         could result in underflow.
40392         * math/s_clog10.c (__clog10): Likewise.
40393         * math/s_clog10f.c (__clog10f): Likewise.
40394         * math/s_clog10l.c (__clog10l): Likewise.
40395         * math/s_clogf.c (__clogf): Likewise.
40396         * math/s_clogl.c (__clogl): Likewise.
40397         * math/libm-test.inc (clog_test): Add more tests.
40398         (clog10_test): Likewise.
40399         * sysdeps/i386/fpu/libm-test-ulps: Update.
40400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40402 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
40404         [BZ #14283]
40405         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40406         by 7 not 8 to examine high bit of fractional part.
40408         [BZ #14042]
40409         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40410         for call to __mcount_internal.
40411         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40412         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40413         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40415 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
40417         [BZ #14154]
40418         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40419         approximation for values within 0x1p-13f of an odd multiple of
40420         pi/4.
40421         * math/libm-test.inc (tan_test): Do not allow spurious underflow
40422         exception.  Add more tests.
40423         * sysdeps/i386/fpu/libm-test-ulps: Update.
40425         [BZ #6778]
40426         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40427         inputs and return -1 for them.  Do not check for +Inf in case not
40428         reachable for +Inf.
40429         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40430         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40431         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40432         and return -1 for them.  Do not check for +Inf in case not
40433         reachable for +Inf.
40434         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40435         define.
40436         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40437         and return -1 for them.  Do not check for +Inf in case not
40438         reachable for +Inf.
40439         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
40440         spurious underflow.
40441         * sysdeps/i386/fpu/libm-test-ulps: Update.
40442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40444 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
40446         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40448 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
40450         [BZ #14157]
40451         [BZ #14331]
40452         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40453         could result in spurious underflow.  Scale down values above
40454         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40455         * math/s_csqrtf.c (__csqrtf): Likewise.
40456         * math/s_csqrtl.c (__csqrtl): Likewise.
40457         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
40458         spurious underflow.
40459         * sysdeps/i386/fpu/libm-test-ulps: Update.
40460         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40462 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
40464         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40465         xopen-msg.sed.
40466         * catgets/xopen-msg.awk: New file.
40467         * catgets/xopen-msg.sed: Removed.
40469         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40470         po2text.sed.
40471         * intl/po2test.awk: New file.
40472         * intl/po2test.sed: Removed.
40474 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
40476         [BZ #14328]
40477         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40478         or multiply small sinh result by itself.
40479         * math/s_ctanf.c (__ctanf): Likewise.
40480         * math/s_ctanh.c (__ctanh): Likewise.
40481         * math/s_ctanhf.c (__ctanhf): Likewise.
40482         * math/s_ctanhl.c (__ctanhl): Likewise.
40483         * math/s_ctanl.c (__ctanl): Likewise.
40484         * math/libm-test.inc (ctan_test_tonearest): New function.
40485         (ctan_test_towardzero): Likewise.
40486         (ctan_test_downward): Likewise.
40487         (ctan_test_upward): Likewise.
40488         (ctanh_test_tonearest): Likewise.
40489         (ctanh_test_towardzero): Likewise.
40490         (ctanh_test_downward): Likewise.
40491         (ctanh_test_upward): Likewise.
40492         (main): Call these new functions.
40493         * sysdeps/i386/fpu/libm-test-ulps: Update.
40494         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40496 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
40498         * .gitignore: Delete /ports entry.
40500 2012-07-03  Andreas Jaeger  <aj@suse.de>
40502         * po/bg.po: Update from translation team.
40503         * po/cs.po: Likewise.
40504         * po/de.po: Likewise.
40505         * po/hr.po: Likewise.
40506         * po/nl.pl: Likewise.
40507         * po/pl.po: Likewise.
40508         * po/vi.po: Likewise.
40510 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
40512         * Makeconfig [!+link] (+link-before-libc): New variable.
40513         [!+link] (+link-after-libc): Likewise.
40514         [!+link] (+link-tests): Likewise.
40515         [!+link] (+link): Define in terms of $(+link-before-libc) and
40516         $(+link-after-libc).
40517         [!+link-static] (+link-static-before-libc): New variable.
40518         [!+link-static] (+link-static-after-libc): Likewise.
40519         [!+link-static] (+link-static-tests): Likewise.
40520         [!+link-static] (+link-static): Define in terms of
40521         $(+link-static-before-libc) and $(+link-static-after-libc).
40522         [build-shared] (link-libc-before-gnulib): New variable.
40523         [build-shared] (link-libc-tests): Likewise.
40524         [build-shared] (link-libc): Define in terms of
40525         $(link-libc-before-gnulib).
40526         [!build-shared] (link-libc-tests): New variable.
40527         (link-libc-static-tests): New variable.
40528         [!gnulib] (gnulib-arch): New variable.
40529         [!gnulib] (gnulib-tests): Likewise.
40530         [!gnulib] (static-gnulib-arch): Likewise.
40531         [!gnulib] (static-gnulib-tests): Likewise.
40532         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
40533         Define with "=" instead of ":=".
40534         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
40535         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
40536         * Rules (binaries-all-notests): New variable.
40537         (binaries-all-tests): Likewise.
40538         (binaries-static-notests): Likewise.
40539         (binaries-static-tests): Likewise.
40540         (binaries-all): Define using $(binaries-all-notests) and
40541         $(binaries-all-tests).
40542         (binaries-static): Define using $(binaries-static-notests) and
40543         $(binaries-static-tests).
40544         (binaries-shared-tests): New variable.
40545         (binaries-shared-notests): Likewise.
40546         (binaries-shared): Remove variable.
40547         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40548         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40549         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40550         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40551         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40552         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40553         * elf/Makefile (sln-modules): New variable.
40554         (extra-objs): Add $(sln-modules:=.o).
40555         (ldconfig-modules): Add static-stubs.
40556         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40557         * elf/static-stubs.c: New file.
40559         [BZ #14283]
40560         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40561         by 7 not 8 to examine high bit of fractional part.  Use volatile
40562         variables when splitting into final array of floats if
40563         __FLT_EVAL_METHOD__ != 0.
40564         * math/libm-test.inc (cos_test): Add another test.
40565         (sin_test): Likewise.
40566         * sysdeps/i386/fpu/libm-test-ulps: Update.
40568         [BZ #14273]
40569         * math/libm-test.inc (cosh_test): Add more tests.
40571         * version.h (RELEASE): Set to "development".
40572         (VERSION): Set to "2.16.90".
40574 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
40576         * NEWS: Update copyright. Remove last-updated date.
40577         Mention math library bug fixes and timezone data changes.
40578         * README: Mention GNU/Hurd, x32, and HPPA support status.
40580 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
40582         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40584 2012-06-27  Andreas Jaeger  <aj@suse.de>
40586         * manual/contrib.texi (Contributors): Add Samuel Thibault.
40588 2012-06-25  Andreas Jaeger  <aj@suse.de>
40590         * sysdeps/s390/fpu/libm-test-ulps: Update.
40592 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
40593             Thomas Schwinge  <thomas@codesourcery.com>
40595         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40596         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40597         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40598         fanotify_mark.
40600 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
40602         * sysdeps/mach/start.c: Remove file.
40603         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40604         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40605         * sysdeps/sh/init-first.c: Likewise.
40607         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40608         registers for frame unwinding purposes, add CFI directives.
40609         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40610         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40611         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40612         Likewise.
40614         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40615         __fortify_fail returning.
40616         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40618         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40619         sysdeps/sh/____longjmp_chk.S.
40620         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40621         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40622         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40623         (gen-as-const-headers): Append sigaltstack-offsets.sym.
40625         * sysdeps/sh/abort-instr.h: New file.
40626         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40627         process in case exit returns.
40629         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40630         initialize the GOT register before use.
40632         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40633         calculation of ARGC > 4.
40635         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40636         meaningful names to some local labels.
40638 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40639             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40641         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40642         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40643         (__arch_compare_and_exchange_val_16_acq): Likewise.
40644         (__arch_compare_and_exchange_val_32_acq): Likewise.
40645         (atomic_exchange_and_add): Fix gUSA sequence.
40646         (atomic_add): Likewise.
40647         (atomic_add_negative): Likewise.
40648         (atomic_add_zero): Likewise.
40649         (atomic_bit_test_set): Likewise.
40651 2012-06-22  Andreas Schwab  <schwab@redhat.com>
40653         [BZ #13579]
40654         * include/link.h (struct link_map): Add l_free_initfini.
40655         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40656         l_initfini.
40657         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40658         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40659         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40660         set.
40662 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
40664         * configure.in: Use AC_LANG_SOURCE.
40665         * configure: Regenerate.
40667 2012-06-22  Roland McGrath  <roland@hack.frob.com>
40669         * configure.in (libc_cv_localstatedir): New substituted variable.
40670         * configure: Regenerated.
40671         * config.make.in (localstatedir): New variable, substituted from
40672         libc_cv_localstatedir.
40673         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40674         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40675         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40676         * sysdeps/gnu/configure: Regenerated.
40678 2012-06-21  Jeff Law  <law@redhat.com>
40680         [BZ #14277]
40681         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40682         free.  Simplify list management for _LIBC case.
40684 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
40686         [BZ #14273]
40687         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40688         Clear sign bit of 64-bit integer value before comparing against
40689         overflow value.
40691         * sysdeps/mach/configure: Regenerated.
40693 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
40695         [BZ #14278]
40696         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40698 2012-06-21  Jeff Law  <law@redhat.com>
40700         [BZ #13882]
40701         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
40702         uint16_t for elements in the "seen" array to avoid char overflows.
40703         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40704         * elf/dl-open.c (dl_open_worker): Likewise.
40706 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
40708         * scripts/list-sources.sh: Scan PORTS for translations.
40709         * po/libc.pot: Regenerated.
40711 2012-06-21  Andreas Jaeger  <aj@suse.de>
40713         [BZ #12194]
40714         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40715         warning.
40716         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40717         * bits/byteswap-16.h (__bswap_16): Likewise.
40718         * bits/byteswap.h (__bswap_constant_16): Likewise.
40720 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
40722         [BZ #14117]
40723         * sysdeps/i386/fpu_control.h: Removed.
40724         * sysdeps/x86_64/fpu_control.h: Moved to ...
40725         * sysdeps/x86/fpu_control.h: Here.
40727         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40728         (_FPU_SETCW): Likewise.
40730 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
40732         [BZ #14117]
40733         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40734         * sysdeps/x86/fpu/bits/mathinline.h: This.
40735         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40737         [BZ #14050]
40738         [BZ #14117]
40739         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40740         functions if __x86_64__ is defined.
40742 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
40744         * string/endian.h: Add !__ASSEMBLER__ condition for including
40745         conversion interfaces.
40747 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
40749         [BZ #14241]
40750         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40751         of ABS(x) in calculating zero to negative powers other than odd
40752         integers.
40753         * math/libm-test.inc (pow_test): Add more tests.
40755 2012-06-15  Andreas Jaeger  <aj@suse.de>
40757         * manual/contrib.texi (Contributors): Update entry of Liubov
40758         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40759         Machado Filho.
40761 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
40763         * string/string.h: Add __wur to GNU version of strerror_r.
40765 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
40767         [BZ #14229]
40768         * string/Makefile (tests): Add tst-strtok_r.
40769         * string/tst-strtok_r.c: New file.
40770         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40771         RAX_LP/RDX_LP on SAVE_PTR.
40773 2012-06-14  Roland McGrath  <roland@hack.frob.com>
40775         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40777 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
40779         * libm_test.inc (csqrt_test): Allow more spurious underflow
40780         exceptions.
40781         (j0_test): Likewise.
40782         (j1_test): Likewise.
40783         (y0_test): Likewise.
40784         (y1_test): Likewise.
40786 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
40788         * po/Makefile (libc.pot): Use UTF-8 charset.
40790 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
40792         [BZ #14210]
40793         Suppress sign-conversion warning from FD_SET.
40794         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40795         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40796         not unsigned long int.
40797         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40799 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
40801         [BZ #14050]
40802         [BZ #14117]
40803         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40804         __extern_always_inline instead of __extern_inline.
40805         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40806         (__signbit): Likewise.
40807         (__signbitl): Support C++ namespace.
40808         (lrintf): New inline function.
40809         (lrint): Likewise.
40810         (llrintf): Likewise.
40811         (llrint): Likewise.
40812         (fmaxf): Likewise.
40813         (fmax): Likewise.
40814         (fminf): Likewise.
40815         (fmin): Likewise.
40816         (rint): Likewise.
40817         (rintf): Likewise.
40818         (ceil): Likewise.
40819         (ceilf): Likewise.
40820         (floor): Likewise.
40821         (floorf): Likewise.
40822         (nearbyint): Likewise.
40823         (nearbyintf): Likewise.
40825 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
40827         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40828         non-default versions.
40830 2012-06-11  Roland McGrath  <roland@hack.frob.com>
40832         [BZ #14218]
40833         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40835 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40837         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40838         (FE_UPWARD, FE_DOWNWARD): Don't define.
40839         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40840         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40842         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40843         reading it.
40844         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40845         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40847 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40849         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40850         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40851         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40852         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40854 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40856         [BZ #14117]
40857         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40858         * sysdeps/i386/fpu/Implies: New file.
40859         * sysdeps/x86_64/fpu/Implies: Likewise.
40860         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40861         * sysdeps/x86/fpu/bits/fenv.h: This.
40863         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40864         __SSE_MATH__.
40866 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40868         [BZ #14134]
40869         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40870         character 0xffff that matches the last element of the
40871         conversion table.
40873 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40875         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40876         fmodl commit.
40878 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40880         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40881         values higher than 25.6283.
40883 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40885         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40886         subnormal exponent extraction and add some __builtin_expect.
40887         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40888         Fix for subnormal mantissa calculation.
40890 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40892         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40893         cpu2 is -1 and errno is not ENOSYS.
40895 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40897         [BZ #14117]
40898         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40899         * sysdeps/x86/bits/string.h: This.
40900         * sysdeps/x86_64/bits/string.h: Removed.
40902         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40903         if not compiling for x86-64, but compiling for >= i486.
40905         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40906         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40908         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40909         New macro from Linux kernel 3.4.0.
40910         (FP_XSTATE_MAGIC2): Likewise.
40911         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40912         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40913         (struct _fpx_sw_bytes): New struct.
40914         (struct _xsave_hdr): Likewise.
40915         (struct _ymmh_state): Likewise.
40916         (struct _xstate): Likewise.
40918         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40919         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40920         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40921         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40922         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40923         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40925         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40926         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40927         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40928         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40929         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40930         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40932 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40934         [BZ #13743]
40935         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40936         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40937         (sysdep_headers): Include sys/platform/ppc.h.
40938         * sysdeps/powerpc/test-gettimebase.c: Test for
40939         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40940         * manual/Makefile (appendices): Include platform.texi.
40941         * manual/contrib.texi (Contributors): Update @node pointers.
40942         * manual/maint.texi (Maintenance): Likewise.
40943         (Platform): New node.
40944         * manual/platform.texi: New file.  Document the new features.
40946 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40947             Jakub Jelinek  <jakub@redhat.com>
40949         [BZ #14188]
40950         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40951         where __builtin_expect is unavailable.
40953 2012-06-03  David S. Miller  <davem@davemloft.net>
40955         * stdlib/longlong.h: Updated from GCC.
40957 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40959         [BZ #14042]
40960         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40961         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40962         __mcount_internal.
40963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40964         (GLIBC_2.16): Likewise.
40966 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40968         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40970 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40973         (default-abi): New variable.
40974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40975         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40976         variable.
40977         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40978         Likewise.
40979         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40980         Likewise.
40981         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40982         Likewise.
40984         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40985         definition.  Document in comment.
40987 2012-06-01  David S. Miller  <davem@davemloft.net>
40989         * stdlib/longlong.h: Updated from GCC.
40991 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40993         [BZ #14117]
40994         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40995         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40996         sys/debugreg.h sys/io.h here.
40997         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40998         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40999         sys/io.h.
41000         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
41001         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
41002         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
41003         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
41004         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
41005         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
41007         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
41008         Define only if __x86_64__ is defined.
41010 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
41012         [BZ #14048]
41013         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
41014         Use int64_t for variable i.
41015         * math/libm-test.inc (fmod_test): Add more tests.
41017         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
41018         z computation is not scheduled after fetestexcept.
41019         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
41020         Use math_force_eval instead of asm to ensure calculation scheduled
41021         before exception test.
41022         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
41023         Ensure a1 + u.d computation is not scheduled after fetestexcept.
41025 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
41027         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
41028         computation is not scheduled after fetestexcept.
41030 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
41032         [BZ #14117]
41033         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
41034         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
41036 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41038         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
41039         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
41041 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41043         [BZ #14117]
41044         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
41045         <bits/wordsize.h>.
41046         (__WCHAR_MIN): Support __WORDSIZE == 64.
41047         (__WCHAR_MAX): Likewise.
41049         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
41050         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
41052         [BZ #14183]
41053         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
41054         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
41056         [BZ #14117]
41057         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
41058         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
41060         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
41061         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
41063         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
41064         Defined to 1 if __x86_64__ isn't defined.
41065         (_STAT_VER_LINUX_OLD): New.
41066         (st_atime): Remove duplicate.
41067         (st_mtime): Likewise.
41068         (st_ctime): Likewise.
41070 2012-05-31  David S. Miller  <davem@davemloft.net>
41072         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
41073         entries.
41075 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
41077         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
41078         gen-libm-test.pl.
41080         [BZ #14132]
41081         * elf/dl-reloc.c: Include <_itoa.h>.
41082         (_dl_reloc_bad_type): Remove use of INTUSE.
41083         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
41084         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
41085         * stdio-common/psiginfo.c (psiginfo): Likewise.
41086         * stdio-common/psignal.c (psignal): Likewise.
41087         * string/strsignal.c (strsignal): Likewise.
41088         * include/signal.h (_sys_siglist): Declare hidden proto.
41089         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
41090         INTVARDEF with libc_hidden_data_def.
41091         * stdio-common/itoa-udigits.c: Likewise.
41092         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
41093         (_itoa_lower_digits_internal): Remove declaration.
41094         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
41095         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
41096         (_sys_sigabbrev_internal): Remove aliases.
41097         (_sys_siglist): Define hidden alias.
41099 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
41101         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
41102         bits/sysctl.h.
41104 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
41106         [BZ #14117]
41107         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
41108         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
41110         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
41111         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
41112         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
41113         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
41114         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
41115         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
41117         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
41118         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
41119         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
41121         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
41122         with __addr.
41123         (insw): Likewise.
41124         (insl): Likewise.
41125         (outsb): Likewise.
41126         (outsw): Likewise.
41127         (outsl): Likewise.
41129         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
41130         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
41131         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
41133         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
41134         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
41135         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
41136         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
41137         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
41138         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
41140         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
41141         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
41143         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
41144         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
41146         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
41147         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
41148         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
41150         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
41151         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
41152         to ...
41153         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
41155         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
41156         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
41157         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
41159         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
41160         for x86-64.
41161         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
41163 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
41165         * math/math.h (M_El): Use two more decimal places.
41166         (M_LOG2El): Likewise.
41167         (M_LOG10El): Likewise.
41168         (M_LN2l): Likewise.
41169         (M_LN10l): Likewise.
41170         (M_PIl): Likewise.
41171         (M_PI_2l): Likewise.
41172         (M_PI_4l): Likewise.
41173         (M_1_PIl): Likewise.
41174         (M_2_PIl): Likewise.
41175         (M_2_SQRTPIl): Likewise.
41176         (M_SQRT2l): Likewise.
41177         (M_SQRT1_2l): Likewise.
41179 2012-05-31  David S. Miller  <davem@davemloft.net>
41181         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
41182         values between float registers.
41183         * sysdeps/sparc/sparc64/memset.S: Likewise.
41184         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
41186 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
41188         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
41189         -D_FORTIFY_SOURCE=1.
41190         (CPPFLAGS-tst-longjmp_chk.c): Define.
41191         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
41192         (CPPFLAGS-tst-longjmp_chk2.c): Define.
41193         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
41194         CFLAGS-tst-wchar-h.c.
41196 2012-05-31  Marek Polacek  <polacek@redhat.com>
41198         [BZ #14132]
41199         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
41200         __endmntent_internal): Remove declaration.
41201         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
41202         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
41203         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
41205 2012-05-30  David S. Miller  <davem@davemloft.net>
41207         * sysdeps/sparc/sparc32/soft-fp/q_util.c
41208         (___Q_simulate_exceptions): Use real FP ops rather than writing
41209         into the %fsr.
41210         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
41211         Likewise.
41213 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41215         [BZ #14117]
41216         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
41217         * sysdeps/x86/bits/xtitypes.h: This.
41219         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
41220         * sysdeps/x86/bits/wordsize.h: This.
41222         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
41223         * sysdeps/x86/bits/huge_vall.h: This.
41225         * sysdeps/i386/bits/select.h: Removed.
41226         * sysdeps/x86_64/bits/select.h: Renamed to ...
41227         * sysdeps/x86/bits/select.h: This.
41229         * sysdeps/i386/bits/setjmp.h: Removed.
41230         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
41231         * sysdeps/x86/bits/setjmp.h: This.
41233         * sysdeps/i386/bits/mathdef.h: Removed.
41234         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
41235         * sysdeps/x86/bits/mathdef.h: This.
41237 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
41239         [BZ #14132]
41240         * include/sys/socket.h (__connect_internal)
41241         (__libc_sa_len_internal): Remove declaration.
41242         (__connect, __libc_sa_len): Declare hidden_proto.
41243         (SA_LEN): Remove use of INTUSE.
41244         * socket/connect.c: Add libc_hidden_def.
41245         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
41246         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
41247         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
41248         alias.
41249         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
41250         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
41251         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
41252         of adding _internal alias.
41254 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41256         [BZ #14117]
41257         * sysdeps/i386/bits/link.h: Removed.
41258         * sysdeps/i386/bits/linkmap.h: Likewise.
41259         * sysdeps/x86_64/bits/link.h: Renamed to ...
41260         * sysdeps/x86/bits/link.h: This.
41261         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41262         * sysdeps/x86/bits/linkmap.h: This.
41264         * sysdeps/i386/bits/endian.h: Removed.
41265         * sysdeps/x86_64/bits/endian.h: Renamed to ...
41266         * sysdeps/x86/bits/endian.h: This.
41268         * sysdeps/i386/bits/byteswap.h: Removed.
41269         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41270         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41271         * sysdeps/x86/bits/byteswap.h: This.
41272         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41273         * sysdeps/x86/bits/byteswap-16.h: This.
41274         * sysdeps/i386/Implies: Add x86.
41275         * sysdeps/x86_64/Implies: Likewise.
41277 2012-05-30  David S. Miller  <davem@davemloft.net>
41279         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41280         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41281         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41282         (FP_TRAPPING_EXCEPTIONS): Define.
41283         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41284         (FP_TRAPPING_EXCEPTIONS): Define.
41285         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41286         subnormals only when inexact has been signalled or underflow
41287         exceptions are enabled.
41288         (_FP_PACK_CANONICAL): Likewise.
41290 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41292         [BZ #14183]
41293         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41294         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41296 2012-05-30  Richard Henderson  <rth@twiddle.net>
41298         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41299         with #ifndef NOT_IN_libc.
41301         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
41302         marked to avoid plt entry.
41304 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41306         [BZ #14112]
41307         * Makeconfig (default-abi): New macro.
41308         (abi-includes): Likewise.
41309         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
41310         $(abi-$(default-abi)-lib-soname) for soname if defined.
41311         ($(common-objpfx)gnu/lib-names.stmp): Generate from
41312         abi-variants.
41313         * Makefile (installed-stubs): Likewise.
41314         * include/stubs-biarch.h: Removed.
41315         * scripts/lib-names.awk: Only handle one library at a time.
41316         * scripts/soversions.awk: Remove WORDSIZE support.
41317         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41318         entries.
41319         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41320         Removed.
41321         (syscall-list-default-condition): Likewise.
41322         (syscall-list-default-condition): Likewise.
41323         (syscall-list-includes): Likewise.
41324         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41325         syscall-list-* with abi-*.  Handle undefined abi-variants.
41326         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41327         * sysdeps/unix/sysv/linux/i386/Implies: New file.
41328         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41329         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41330         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41331         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41332         Removed.
41333         (syscall-list-32-options): Likewise.
41334         (syscall-list-32-condition): Likewise.
41335         (syscall-list-64-options): Likewise.
41336         (syscall-list-64-condition): Likewise.
41337         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41338         macro.
41339         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41340         Renamed to ...
41341         (abi-*): This.
41342         (abi-64-ld-soname): New macro.
41343         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41344         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41345         Renamed to ...
41346         (abi-*): This.
41347         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41348         * sysdeps/x86_64/x32/shlib-versions: Likewise.
41350 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
41352         * sysdeps/unix/sysv/linux/kernel-features.h
41353         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41354         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41355         include <kernel-features.h>.
41356         [!__NR_ftruncate64]: Remove conditional code.
41357         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41358         [__NR_ftruncate64]: Make code unconditional.
41359         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41360         * sysdeps/unix/sysv/linux/truncate64.c: Do not
41361         include <kernel-features.h>.
41362         [!__NR_ftruncate64]: Remove conditional code.
41363         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41364         [__NR_ftruncate64]: Make code unconditional.
41365         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41367         include <kernel-features.h>.
41368         [!__NR_ftruncate64]: Remove conditional code.
41369         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41370         [__NR_ftruncate64]: Make code unconditional.
41371         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41373         include <kernel-features.h>.
41374         [!__NR_ftruncate64]: Remove conditional code.
41375         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41376         [__NR_ftruncate64]: Make code unconditional.
41377         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41379         * configure.in (libc_cv_fpie): Weaken to a compile test using
41380         LIBC_TRY_CC_OPTION.
41381         * configure: Regenerated.
41383 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41385         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41386         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41387         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41389         Refreshed.
41390         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41391         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41392         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41393         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41394         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41395         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41396         Refreshed.
41398 2012-05-27  David S. Miller  <davem@davemloft.net>
41400         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41401         (___Q_zero): New.
41402         (__Q_simulate_exceptions): Return void.  Change to simulate
41403         exceptions by writing into the %fsr.
41404         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41405         (__Qp_handle_exceptions): Likewise.
41406         (numbers): Delete.
41407         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41408         __Qp_handle_exceptions.
41409         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41410         __Qp_handle_exceptions.
41411         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41412         as unused and give dummy FP_RND_NEAREST initializer.
41413         (FP_INHIBIT_RESULTS): Define.
41414         (___Q_simulate_exceptions): Update declaration.
41415         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41416         formatting.
41417         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41418         as unused and give dummy FP_RND_NEAREST initializer.
41419         (__Qp_handle_exceptions): Update declaration.
41420         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41421         formatting.
41423 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
41425         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41426         the temporary FPU control word.
41427         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41428         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41429         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41430         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41431         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41432         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41433         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41434         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41435         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41436         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41437         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41439 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41441         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41442         fields.
41444 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
41446         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41447         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41448         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41449         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41450         Likewise.
41451         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41452         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41453         Likewise.
41455 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
41457         * po/h.po: Update from translation team.
41459 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
41461         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41463         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41464         handling of denormals.
41465         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41466         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41467         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41468         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41469         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41470         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41471         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41472         Likewise.
41474 2012-05-26  Marek Polacek  <polacek@redhat.com>
41476         [BZ #14152]
41477         * math/libm-test.inc (fma_test): Don't always expect underflow
41478         exception.
41480 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41482         [BZ #12416]
41483         * elf/tst-execstack.c: Include stackinfo.h.
41484         (do_test): Adjust test case to ensure that pthread_getattr_np
41485         behaviour remains the same after marking stack executable.
41487 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41489         * sysdeps/unix/sysv/linux/kernel-features.h
41490         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41491         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41492         kernel-features.h.
41493         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41494         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41495         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41496         kernel-features.h.
41497         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41498         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41500 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
41502         * configure.in: Define the default includes to being none.
41503         * configure: Regenerated.
41505 2012-05-25  Roland McGrath  <roland@hack.frob.com>
41507         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41508         * sysdeps/x86_64/setjmp.S: Likewise.
41509         * sysdeps/i386/bsd-setjmp.S: Likewise.
41510         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41511         * sysdeps/i386/setjmp.S: Likewise.
41512         * sysdeps/i386/__longjmp.S: Likewise.
41513         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41514         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41516         * include/stap-probe.h: New file.
41517         * configure.in: Handle --enable-systemtap.
41518         * configure: Regenerated.
41519         * config.h.in (USE_STAP_PROBE): New #undef.
41520         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41521         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41522         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41524 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41526         [BZ #13717]
41527         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41528         to 2.4.0 where earlier.
41529         * sysdeps/unix/sysv/linux/configure: Regenerated.
41530         * sysdeps/unix/sysv/linux/i386/chown.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/fchown.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/fchownat.c (fchownat)
41539         [__ASSUME_32BITUIDS]: Make code unconditional.
41540         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41541         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41542         <kernel-features.h>.
41543         [__ASSUME_32BITUIDS]: Make code unconditional.
41544         [!__ASSUME_32BITUIDS]: Remove conditional code.
41545         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41546         <kernel-features.h>.
41547         [__ASSUME_32BITUIDS]: Make code unconditional.
41548         [!__ASSUME_32BITUIDS]: Remove conditional code.
41549         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41550         <kernel-features.h>.
41551         [__ASSUME_32BITUIDS]: Make code unconditional.
41552         [!__ASSUME_32BITUIDS]: Remove conditional code.
41553         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41554         <kernel-features.h>.
41555         [__ASSUME_32BITUIDS]: Make code unconditional.
41556         [!__ASSUME_32BITUIDS]: Remove conditional code.
41557         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41558         <kernel-features.h>.
41559         [__ASSUME_32BITUIDS]: Make code unconditional.
41560         [!__ASSUME_32BITUIDS]: Remove conditional code.
41561         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41562         <kernel-features.h>.
41563         [__ASSUME_32BITUIDS]: Make code unconditional.
41564         [!__ASSUME_32BITUIDS]: Remove conditional code.
41565         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41566         <kernel-features.h>.
41567         [__ASSUME_32BITUIDS]: Make code unconditional.
41568         [!__ASSUME_32BITUIDS]: Remove conditional code.
41569         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41570         <kernel-features.h>.
41571         [__ASSUME_32BITUIDS]: Make code unconditional.
41572         [!__ASSUME_32BITUIDS]: Remove conditional code.
41573         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41574         <kernel-features.h>.
41575         [__ASSUME_32BITUIDS]: Make code unconditional.
41576         [!__ASSUME_32BITUIDS]: Remove conditional code.
41577         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41578         <kernel-features.h>.
41579         [__ASSUME_32BITUIDS]: Make code unconditional.
41580         [!__ASSUME_32BITUIDS]: Remove conditional code.
41581         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41582         <kernel-features.h>.
41583         [__NR_setresgid] (__setresgid): Do not declare.
41584         [__ASSUME_32BITUIDS]: Make code unconditional.
41585         [!__ASSUME_32BITUIDS]: Remove conditional code.
41586         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41587         <kernel-features.h>.
41588         [__NR_setresuid] (__setresuid): Do not declare.
41589         [__ASSUME_32BITUIDS]: Make code unconditional.
41590         [!__ASSUME_32BITUIDS]: Remove conditional code.
41591         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41592         <kernel-features.h>.
41593         [__ASSUME_32BITUIDS]: Make code unconditional.
41594         [!__ASSUME_32BITUIDS]: Remove conditional code.
41595         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41596         <kernel-features.h>.
41597         [__ASSUME_32BITUIDS]: Make code unconditional.
41598         [!__ASSUME_32BITUIDS]: Remove conditional code.
41599         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41600         <kernel-features.h>.
41601         [__ASSUME_32BITUIDS]: Make code unconditional.
41602         [!__ASSUME_32BITUIDS]: Remove conditional code.
41603         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41604         <kernel-features.h>.
41605         [__ASSUME_32BITUIDS]: Make code unconditional.
41606         [!__ASSUME_32BITUIDS]: Remove conditional code.
41607         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41608         <kernel-features.h>.
41609         [__ASSUME_32BITUIDS]: Make code unconditional.
41610         [!__ASSUME_32BITUIDS]: Remove conditional code.
41611         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41612         <kernel-features.h>.
41613         [__ASSUME_32BITUIDS]: Make code unconditional.
41614         [!__ASSUME_32BITUIDS]: Remove conditional code.
41615         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41616         <kernel-features.h>.
41617         [__ASSUME_32BITUIDS]: Make code unconditional.
41618         [!__ASSUME_32BITUIDS]: Remove conditional code.
41619         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41620         <kernel-features.h>.
41621         [__ASSUME_32BITUIDS]: Make code unconditional.
41622         [!__ASSUME_32BITUIDS]: Remove conditional code.
41623         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41624         <kernel-features.h>.
41625         [__ASSUME_32BITUIDS]: Make code unconditional.
41626         [!__ASSUME_32BITUIDS]: Remove conditional code.
41627         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41628         <kernel-features.h>.
41629         [__ASSUME_32BITUIDS]: Make code unconditional.
41630         [!__ASSUME_32BITUIDS]: Remove conditional code.
41631         * sysdeps/unix/sysv/linux/kernel-features.h
41632         (__ASSUME_SETRESUID_SYSCALL): Remove.
41633         (__ASSUME_SETRESGID_SYSCALL): Likewise.
41634         (__ASSUME_32BITUIDS): Likewise.
41635         (__ASSUME_LDT_WORKS): Likewise.
41636         (__ASSUME_O_DIRECTORY): Likewise.
41637         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41638         architecture but not kernel version.
41639         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41640         (__ASSUME_MMAP2_SYSCALL): Likewise.
41641         (__ASSUME_STAT64_SYSCALL): Likewise.
41642         (__ASSUME_IPC64): Likewise.
41643         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41644         <kernel-features.h>.
41645         [__ASSUME_32BITUIDS]: Make code unconditional.
41646         [!__ASSUME_32BITUIDS]: Remove conditional code.
41647         * sysdeps/unix/sysv/linux/opendir.c: Do not include
41648         <kernel-features.h>.
41649         [__ASSUME_O_DIRECTORY]: Make code unconditional.
41650         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41651         132096]: Remove conditional code.
41652         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41653         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41654         <kernel-features.h>.
41655         [__ASSUME_32BITUIDS]: Make code unconditional.
41656         [!__ASSUME_32BITUIDS]: Remove conditional code.
41657         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41658         <kernel-features.h>.
41659         [__ASSUME_32BITUIDS]: Make code unconditional.
41660         [!__ASSUME_32BITUIDS]: Remove conditional code.
41661         * sysdeps/unix/sysv/linux/setegid.c: Do not include
41662         <kernel-features.h>.
41663         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41664         unconditional.
41665         (__setresgid): Do not declare.
41666         [__ASSUME_32BITUIDS]: Make code unconditional.
41667         [!__ASSUME_32BITUIDS]: Remove conditional code.
41668         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41669         <kernel-features.h>.
41670         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41671         unconditional.
41672         (__setresuid): Do not declare.
41673         [__ASSUME_32BITUIDS]: Make code unconditional.
41674         [!__ASSUME_32BITUIDS]: Remove conditional code.
41675         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41676         <kernel-features.h>.
41677         [__ASSUME_32BITUIDS]: Make code unconditional.
41678         [!__ASSUME_32BITUIDS]: Remove conditional code.
41679         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41680         <kernel-features.h>.
41681         [__ASSUME_32BITUIDS]: Make code unconditional.
41682         [!__ASSUME_32BITUIDS]: Remove conditional code.
41684 2012-05-25  Richard Henderson  <rth@twiddle.net>
41686         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41687         dl_hwcap to ifunc resolver.
41688         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41689         elf_ifunc_invoke.
41690         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41691         dl_hwcap to ifunc resolver.
41692         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41694 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41696         [BZ #14153]
41697         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41698         for |x| <= 2**-26, not 2**-57.
41699         * math/libm-test.inc (acos_test): Do not allow spurious underflow
41700         exception.
41702 2012-05-24  Jeff Law  <law@redhat.com>
41704         * stdio-common/Makefile (tests): Add bug25.
41705         * stdio-common/bug25.c: New test.
41707 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41709         [BZ #13576]
41710         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41711         multiple of MALLOC_ALIGNMENT in size.
41712         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41714 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41716         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41717         Require >= 256.
41718         (FILENAME_MAX): Use macro-int-constant.
41719         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
41720         (_IOFBF): Use macro-int-constant.
41721         (_IOLBF): Likewise.
41722         (_IONBF): Likewise.
41723         (SEEK_CUR): Likewise.
41724         (SEEK_END): Likewise.
41725         (SEEK_SET): Likewise.
41726         (TMP_MAX): Likewise.
41727         (EOF): Use macro-int-constant.  Require < 0.
41728         (NULL): Use macro-constant.  Require == 0.
41729         (stdin): Require type to be FILE *.
41730         (stdout): Likewise.
41731         (stderr): Likewise.
41732         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41733         macro-int-constant.
41734         (EXIT_SUCCESS): Likewise.
41735         (NULL): Use macro-constant.  Require == 0.
41736         (RAND_MAX): Use macro-int-constant.
41737         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41738         [C99-based standards] (strtof): Require function.
41739         [C99-based standards] (strtold): Likewise.
41740         [C99-based standards] (strtoll): Likewise.
41741         [C99-based standards] (strtoull): Likewise.
41742         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41743         [ISO || ISO99 || ISO11] (limits.h): Likewise.
41744         [ISO || ISO99 || ISO11] (math.h): Likewise.
41745         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41746         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41747         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41749 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
41751         [BZ #14132]
41752         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41753         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41754         * intl/dgettext.c (DCGETTEXT): Likewise.
41755         * intl/gettext.c (DCGETTEXT): Likewise.
41756         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41757         * posix/regex_internal.h (gettext): Likewise.
41758         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41759         Remove declaration.
41760         * include/argz.h (__argz_count_internal)
41761         (__argz_stringify_internal): Remove declaration.
41762         (__argz_count, __argz_stringify): Declare hidden proto.
41763         * intl/dcgettext.c: Remove use of INTDEF.
41764         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41765         * string/argz-stringify.c: Likewise.
41766         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41767         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41768         Declare hidden proto.
41769         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41770         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41771         Declare hidden proto.
41772         * include/stdio.h (__asprintf_internal): Don't declare.
41773         (__asprintf): Don't define as macro.  Declare hidden proto.
41774         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41775         (__fsetlocking): Declare hidden proto.
41776         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41777         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41778         hidden proto.
41779         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41780         (_IO_setlinebuf): Remove use of INTUSE.
41781         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41782         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41783         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41784         Remove declaration.
41785         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41786         (_IO_do_flush): Remove use of INTUSE.
41787         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41788         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41789         (_IO_adjust_column, _IO_least_wmarker)
41790         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41791         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41792         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41793         (_IO_default_doallocate, _IO_wdefault_doallocate)
41794         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41795         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41796         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41797         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41798         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41799         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41800         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41801         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41802         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41803         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41804         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41805         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41806         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41807         proto.
41808         (_IO_flush_all_internal, _IO_adjust_column_internal)
41809         (_IO_default_uflow_internal, _IO_default_finish_internal)
41810         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41811         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41812         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41813         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41814         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41815         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41816         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41817         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41818         (_IO_file_close_internal, _IO_file_close_it_internal)
41819         (_IO_file_underflow_internal, _IO_file_overflow_internal)
41820         (_IO_file_init_internal, _IO_file_attach_internal)
41821         (_IO_file_fopen_internal, _IO_file_read_internal)
41822         (_IO_file_sync_internal, _IO_file_seek_internal)
41823         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41824         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41825         (_IO_str_underflow_internal, _IO_str_overflow_internal)
41826         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41827         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41828         (_IO_list_all_internal, _IO_link_in_internal)
41829         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41830         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41831         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41832         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41833         (_IO_do_write_internal, _IO_padn_internal)
41834         (_IO_getline_info_internal, _IO_getline_internal)
41835         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41836         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41837         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41838         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41839         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41840         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41841         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41842         with libc_hidden_ver, remove use of INTUSE.
41843         * libio/genops.c: Likewise.
41844         * libio/freopen.c: Likewise.
41845         * libio/freopen64.c: Likewise.
41846         * libio/iofclose.c: Likewise.
41847         * libio/iofdopen.c: Likewise.
41848         * libio/iofflush.c: Likewise.
41849         * libio/iofflush_u.c: Likewise.
41850         * libio/iofgets.c: Likewise.
41851         * libio/iofgets_u.c: Likewise.
41852         * libio/iofopen.c: Likewise.
41853         * libio/iofopncook.c: Likewise.
41854         * libio/iofread.c: Likewise.
41855         * libio/iofread_u.c: Likewise.
41856         * libio/ioftell.c: Likewise.
41857         * libio/iofwrite.c: Likewise.
41858         * libio/iogetline.c: Likewise.
41859         * libio/iogets.c: Likewise.
41860         * libio/iogetwline.c: Likewise.
41861         * libio/iopadn.c: Likewise.
41862         * libio/iopopen.c: Likewise.
41863         * libio/ioseekoff.c: Likewise.
41864         * libio/ioseekpos.c: Likewise.
41865         * libio/iosetbuffer.c: Likewise.
41866         * libio/iosetvbuf.c: Likewise.
41867         * libio/ioungetc.c: Likewise.
41868         * libio/ioungetwc.c: Likewise.
41869         * libio/iovdprintf.c: Likewise.
41870         * libio/iovsprintf.c: Likewise.
41871         * libio/iovsscanf.c: Likewise.
41872         * libio/memstream.c: Likewise.
41873         * libio/obprintf.c: Likewise.
41874         * libio/oldfileops.c: Likewise.
41875         * libio/oldiofclose.c: Likewise.
41876         * libio/oldiofdopen.c: Likewise.
41877         * libio/oldiofopen.c: Likewise.
41878         * libio/oldiopopen.c: Likewise.
41879         * libio/oldstdfiles.c: Likewise.
41880         * libio/putc.c: Likewise.
41881         * libio/setbuf.c: Likewise.
41882         * libio/setlinebuf.c: Likewise.
41883         * libio/stdfiles.c: Likewise.
41884         * libio/strops.c: Likewise.
41885         * libio/vasprintf.c: Likewise.
41886         * libio/vscanf.c: Likewise.
41887         * libio/vsnprintf.c: Likewise.
41888         * libio/vswprintf.c: Likewise.
41889         * libio/wfiledoalloc.c: Likewise.
41890         * libio/wfileops.c: Likewise.
41891         * libio/wgenops.c: Likewise.
41892         * libio/wmemstream.c: Likewise.
41893         * libio/wstrops.c: Likewise.
41894         * libio/__fpurge.c: Likewise.
41895         * libio/__fsetlocking.c: Likewise.
41896         * assert/assert.c: Likewise.
41897         * debug/fgets_chk.c: Likewise.
41898         * debug/fgets_u_chk.c: Likewise.
41899         * debug/fread_chk.c: Likewise.
41900         * debug/fread_u_chk.c: Likewise.
41901         * debug/gets_chk.c: Likewise.
41902         * debug/obprintf_chk.c: Likewise.
41903         * debug/vasprintf_chk.c: Likewise.
41904         * debug/vdprintf_chk.c: Likewise.
41905         * debug/vsnprintf_chk.c: Likewise.
41906         * debug/vsprintf_chk.c: Likewise.
41907         * malloc/mtrace.c: Likewise.
41908         * misc/error.c: Likewise.
41909         * misc/syslog.c: Likewise.
41910         * stdio-common/asprintf.c: Likewise.
41911         * stdio-common/fxprintf.c: Likewise.
41912         * stdio-common/getw.c: Likewise.
41913         * stdio-common/isoc99_fscanf.c: Likewise.
41914         * stdio-common/isoc99_scanf.c: Likewise.
41915         * stdio-common/isoc99_vfscanf.c: Likewise.
41916         * stdio-common/isoc99_vscanf.c: Likewise.
41917         * stdio-common/isoc99_vsscanf.c: Likewise.
41918         * stdio-common/printf-prs.c: Likewise.
41919         * stdio-common/printf_fp.c: Likewise.
41920         * stdio-common/printf_fphex.c: Likewise.
41921         * stdio-common/printf_size.c: Likewise.
41922         * stdio-common/putw.c: Likewise.
41923         * stdio-common/scanf.c: Likewise.
41924         * stdio-common/sprintf.c: Likewise.
41925         * stdio-common/tmpfile.c: Likewise.
41926         * stdio-common/vfprintf.c: Likewise.
41927         * stdio-common/vfscanf.c: Likewise.
41928         * stdlib/strfmon_l.c: Likewise.
41929         * sunrpc/openchild.c: Likewise.
41930         * sunrpc/xdr_stdio.c: Likewise.
41931         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41932         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41934 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41936         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41938         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41939         in the third column, to generate for the shared library an IFUNC
41940         that uses _dl_vdso_vsym.
41941         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41942         * Makeconfig (object-suffixes-noshared): New variable.
41944         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41945         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41946         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41947         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41949         [BZ #14132]
41950         * include/sys/time.h (__gettimeofday): Remove macro.
41951         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41952         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41953         Remove INTDEF.
41954         (__gettimeofday): Add libc_hidden_def.
41955         (gettimeofday): Add libc_hidden_weak.
41956         * sysdeps/mach/gettimeofday.c: Likewise.
41957         * sysdeps/posix/gettimeofday.c: Likewise.
41958         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41959         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41960         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41961         (__gettimeofday_internal): Remove strong_alias.
41962         (__gettimeofday): Add libc_hidden_def.
41963         (gettimeofday): Add libc_hidden_weak.
41964         * sysdeps/unix/syscalls.list (gettimeofday):
41965         Remove __gettimeofday_internal alias.
41967 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41968             H.J. Lu  <hongjiu.lu@intel.com>
41970         [BZ #12495]
41971         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41972         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41973         (largebin_index_32_big): New.
41974         (largebin_index): Use it for 16-byte alignment.
41975         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41976         correction with front_misalign.
41978 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41980         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41982         Likewise.
41983         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41984         Likewise.
41985         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41986         Likewise.
41987         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41988         Likewise.
41989         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41990         Likewise.
41991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41992         Likewise.
41993         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41994         Likewise.
41995         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41996         Likewise.
41997         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41998         Likewise.
41999         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
42000         Likewise.
42001         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
42002         Likewise.
42003         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
42004         Likewise.
42006         * scripts/data/c++-types-x32-linux-gnu.data: New file.
42007         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
42009 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
42011         [BZ #10846]
42012         [BZ #14036]
42013         * math/libm-test.inc (exp_test): Add test from bug 14036.
42014         (pow_test): Add test from bug 10846.
42016         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
42017         and other flags.
42018         (special_function): Do not include flags in test name.
42019         (parse_args): Likewise.
42020         * sysdeps/i386/fpu/libm-test-ulps: Update.
42021         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
42022         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
42023         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
42024         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42026         * math/gen-libm-test.pl (%beautify): Add entries for underflow
42027         exceptions.
42028         * math/libm-test.inc ("Philosophy"): Update comment about
42029         exception testing.
42030         (UNDERFLOW_EXCEPTION): New macro.
42031         (UNDERFLOW_EXCEPTION_OK): Likewise.
42032         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
42033         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
42034         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
42035         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
42036         (INVALID_EXCEPTION_OK): Update value.
42037         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
42038         (OVERFLOW_EXCEPTION_OK): Likewise.
42039         (IGNORE_ZERO_INF_SIGN): Likewise.
42040         (test_exceptions): Handle underflow exceptions.
42041         (acos_test): Update for underflow exception expectations.
42042         (cexp_test): Likewise.
42043         (clog_test): Likewise.
42044         (clog10_test): Likewise.
42045         (csqrt_test): Likewise.
42046         (ctan_test): Likewise.
42047         (ctanh_test): Likewise.
42048         (exp_test): Likewise.
42049         (exp10_test): Likewise.
42050         (exp2_test): Likewise.
42051         (expm1_test): Likewise.
42052         (fma_test): Likewise.
42053         (j0_test): Likewise.
42054         (jn_test): Likewise.
42055         (nexttoward_test): Likewise.
42056         (pow_test): Likewise.
42057         (scalbn_test): Likewise.
42058         (scalbln_test): Likewise.
42059         (tan_test): Likewise.
42060         (y1_test): Likewise.
42061         * sysdeps/i386/fpu/libm-test-ulps: Update.
42062         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42064 2012-05-23  David S. Miller  <davem@davemloft.net>
42066         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
42067         (__libc_sigaction): Remove unused local variables.
42069 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42071         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
42073 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
42075         mktime: avoid signed integer overflow
42076         * time/mktime.c (__mktime_internal): Do not mishandle the case
42077         where diff == INT_MIN.
42079         mktime: simplify computation of average
42080         * time/mktime.c (ranged_convert): Use new time_t_avg function
42081         instead of rolling our own (probably-slower) code.
42083         mktime: do not assume signed right shift propagates sign bit
42084         * time/mktime.c (isdst_differ): New static function.
42085         (__mktime_internal): No need to normalize tm_isdst now.
42086         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
42087         tm_isdst values.
42089         mktime: merge another wrapv change from gnulib
42090         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
42091         from some compilers.
42093         mktime: remove incorrect attempt at unusual arithmetics
42094         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
42095         The code didn't really work on such machines anyway.
42096         (TYPE_MINIMUM): Assume two's complement.
42097         (twos_complement_arithmetic): Verify that long_int and time_t
42098         are two's complement (or unsigned, in the latter case).
42100         mktime: check signed shifts on long_int and time_t, too
42101         * time/mktime.c (SHR): Check that shifts work as desired
42102         on the types long_int and time_t too, as SHR is used on
42103         such types.
42105         mktime: do not assume 'long' is wide enough
42106         * time/mktime.c (verify): Move decl up.
42107         (long_int): New type.
42108         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
42109         to remove assumption in the code that 'long' is wide enough to
42110         store year values.  This assumption is not true on x32 and on
42111         some non-glibc platforms.
42113         mktime: merge wrapv change from gnulib
42114         * time/mktime.c (WRAPV): New macro.
42115         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
42116         (guess_time_tm, __mktime_internal): Do not assume that signed
42117         integer overflow wraps around; modern compilers generate code
42118         where this assumption is no longer valid.
42120 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42122         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42123         Replace "jmp L(pseudo_end)" with "ret".
42124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
42125         Likewise.
42127 2012-05-23  Andreas Jaeger  <aj@suse.de>
42129         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
42130         * sysdeps/unix/sysv/linux/poll.c: Remove file.
42132 2012-05-23  Andreas Jaeger  <aj@suse.de>
42133             Maximilian Attems  <max@stro.at>
42135         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
42136         New macros.
42138 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
42140         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
42141         code so that pseudo_end is just ret and the stack pointer is
42142         correct also for static library in error case.
42144 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
42146         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
42147         move to syscalls.list.
42148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
42149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
42150         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
42151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
42153         * manual/install.texi (Running make install): Do not mention Linux
42154         kernel version for which pt_chown is not needed.
42155         (Linux): Do not mention problems with nscd with 2.0 kernels.
42156         * INSTALL: Regenerated.
42158 2012-05-23  Andreas Jaeger  <aj@suse.de>
42160         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
42161         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
42162         macro.
42163         * sysdeps/unix/sysv/linux/s390/bits/mman.h
42164         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42165         * sysdeps/unix/sysv/linux/sh/bits/mman.h
42166         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42167         * sysdeps/unix/sysv/linux/i386/bits/mman.h
42168         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42169         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
42170         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42171         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
42172         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
42173         * sysdeps/unix/sysv/linux/bits/in.h
42174         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
42176 2012-05-22  Roland McGrath  <roland@hack.frob.com>
42178         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
42179         (PREPARE_VERSION): Just use assert instead, it will be elided
42180         under [NDEBUG] anyway.
42182 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42184         * sysdeps/unix/sysv/linux/Makefile: Include
42185         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
42186         (sysdep_routines): Remove sysctl.
42187         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
42188         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
42189         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
42190         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
42191         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
42193 2012-05-22  Andreas Jaeger  <aj@suse.de>
42195         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
42196         that pseudo_end is just ret and the stack pointer is correct also
42197         for static library in error case.
42199 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
42201         [BZ #14122]
42202         * nss/nsswitch.c (defconfig_entries): New variable.
42203         (__nss_database_lookup): Don't leak defconfig entries.
42204         (nss_parse_service_list): Don't leak on error paths.
42205         (free_database_entries): New function.
42206         (free_defconfig): New function.
42207         (free_mem): Move common code to free_database_entries.
42209 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42211         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
42212         Add arch_prctl.
42213         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
42215         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
42216         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
42217         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
42218         New macro.
42219         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
42220         (INTERNAL_SYSCALL_TYPES): Likewise.
42221         (LOAD_ARGS_TYPES_[1-6]): Likewise.
42222         (LOAD_REGS_TYPES_[1-6]): Likewise.
42223         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
42224         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
42226 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42228         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
42229         copysignl for GLIBC_2_0.
42230         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
42231         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
42232         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
42233         logbl for GLIBC_2_0.
42234         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
42235         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
42237 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42239         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
42240         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42242         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
42243         Use "neg %eax".
42245         * time/mktime.c: Update copyright years.
42247 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
42249         mktime: merge comment-quoting-style change from gnulib
42250         * time/mktime.c: Quote 'like this' in comments.
42251         The GNU coding standards suggest that we no longer quote `like this',
42252         as "`" and "'" are typically rendered asymmetrically nowadays.
42253         The typical gnulib style is to quote 'like this' when quoting
42254         code, and "like this" when quoting English.
42256         * time/mktime.c (compile-command): Add "-I.".
42258         mktime: merge mktime-internal.h change from gnulib
42259         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42261         mktime: merge time_r change from gnulib
42262         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42264         mktime: merge DEBUG change from gnulib
42265         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42266         case system <time.h> has a #define.
42268         mktime: merge <sys/types.h> change from gnulib
42269         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42270         since <time.t> is now guaranteed to define time_t.
42272         mktime: merge HAVE_CONFIG_H change from gnulib
42273         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42275 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42277         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42278         Use "neg %eax".
42280         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42281         __rlim_t cast.
42282         (struct rusage): Use anonymous union to pad each field to
42283         __syscall_slong_t.
42285 2012-05-21  David S. Miller  <davem@davemloft.net>
42287         * Makefules (o-iterator): Remove .s cases.
42288         (compile-command.s): Delete.
42289         (COMPILE.s): Delete.
42290         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42292 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
42294         * configure.in (libc_cv_predef_stack_protector): Only consider
42295         "foobar" and "__stack_chk_fail" lines in libc_undefs.
42296         * configure: Regenerated.
42298 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42300         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42301         New macro.  Use R*LP on int and pointer.
42302         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42303         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42304         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42305         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42307         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42308         [__WORDSIZE_TIME64_COMPAT32] instead of
42309         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42310         (struct utmp): Likewise.
42311         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42312         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42313         Renamed to ...
42314         (__WORDSIZE_TIME64_COMPAT32): This.
42315         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42316         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42317         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42318         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42319         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42320         (__WORDSIZE_TIME64_COMPAT32): New macro.
42322 2012-05-21  Andreas Jaeger  <aj@suse.de>
42324         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42325         only if [SHARED]. Add prototype for __wcschr_ia32.
42327 2012-05-21  Roland McGrath  <roland@hack.frob.com>
42329         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42330         of %rbp unmolested in the jmp_buf while mangling the low bits.
42331         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42332         unmolested high bits of %rbp while demangling the low bits.
42333         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42335 2012-05-21  Andreas Jaeger  <aj@suse.de>
42337         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42338         * sunrpc/svc_simple.c: Use it for registerrpc.
42339         * sunrpc/xcrypt.c: Use it for passwd2des.
42341         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42343 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42345         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42346         Don't define if [__SYSCALL_WORDSIZE != 32].
42347         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42348         New macro.
42350 2012-05-21  Bruno Haible  <bruno@clisp.org>
42351             Andreas Jaeger  <aj@suse.de>
42353         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42354         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42355         inptr and inend for must_buffer_ch.
42356         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42357         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42358         * stdio-common/Makefile (tests): Remove bug15.
42359         (bug15-ENV): Remove macro.
42360         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42361         anymore.
42363 2012-05-19  Andreas Jaeger  <aj@suse.de>
42364             Roland McGrath  <roland@hack.frob.com>
42366         * manual/contrib.texi: Completely rewritten. It contains now an
42367         alphabetical list of contributors and their contributions.
42369 2012-05-21  Richard Henderson  <rth@twiddle.net>
42371         * misc/getauxval.c (__getauxval): Use unsigned long int.
42372         * misc/sys/auxv.h: Include <sys/cdefs.h>.
42373         (getauxval): Use unsigned long int.
42375 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42377         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42379 2012-05-21  Roland McGrath  <roland@hack.frob.com>
42381         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42382         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42383         __alignof__ (long double).
42385 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42387         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42389 2012-05-20  Richard Henderson  <rth@twiddle.net>
42391         * misc/getauxval.c: New file.
42392         * misc/sys/auxv.h: New file.
42393         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42394         (routines): Add getauxval.
42395         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42396         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42397         * elf/dl-sysdep.c (_dl_auxv): Remove.
42398         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42399         * elf/dl-support.c (_dl_auxv): New variable.
42400         (_dl_aux_init): Initialize it.
42401         * manual/startup.texi (Auxiliary Vector): New node.
42402         * sysdeps/generic/bits/hwcap.h: New file.
42403         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42404         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
42405         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42406         * sysdeps/sparc/sysdep.h: ... here.  Include it.
42407         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42408         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42410         Update.
42411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42412         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42413         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42414         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42415         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42416         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42417         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42418         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42420 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42422         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42424 2012-05-19  David S. Miller  <davem@davemloft.net>
42426         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42428 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42430         [BZ #14123]
42431         * math/s_ccosh.c: Include <float.h>
42432         (__ccosh): Avoid internal overflow calculating sinh and cosh
42433         values before multiplying by sin and cos values.
42434         * math/s_ccoshf.c: Likewise.
42435         * math/s_ccoshl.c: Likewise.
42436         * math/s_csin.c: Likewise.
42437         * math/s_csinf.c: Likewise.
42438         * math/s_csinl.c: Likewise.
42439         * math/s_csinh.c: Likewise.
42440         * math/s_csinhf.c: Likewise.
42441         * math/s_csinhl.c: Likewise.
42442         * math/libm-test.inc (ccos_test): Add more tests.
42443         (ccosh_test): Likewise.
42444         (csin_test): Likewise.
42445         (csinh_test): Likewise.
42446         * sysdeps/i386/fpu/libm-test-ulps: Update.
42447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42449 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
42451         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42452         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42454         * sysdeps/x86_64/x32/_itoa.h: Add comment.
42456 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42458         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42459         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42460         * sysdeps/powerpc/soft-fp/Versions: Likewise.
42461         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42462         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42463         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42464         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42465         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42466         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42467         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42468         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42469         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42470         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42471         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42472         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42473         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42474         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42475         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42476         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42477         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42478         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42479         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42480         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42481         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42482         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42483         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42484         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42485         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42486         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42487         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42488         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42490 2012-05-18  Andreas Jaeger  <aj@suse.de>
42492         * csu/.gitignore: Delete.
42494 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42496         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42497         (timex): Use __syscall_slong_t.
42499 2012-05-18  Andreas Jaeger  <aj@suse.de>
42500             Carlos O'Donell  <carlos_odonell@mentor.com>
42502         * manual/install.texi (Configuring and compiling): Update
42503         description about files modified in the source directory.
42504         * INSTALL: Regenerated.
42506 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42508         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42509         value.  Use "or" to set return value to -1.
42510         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42511         negate return value.
42513 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42515         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42516         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42517         failure if the compiler has Graphite support disabled.
42518         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42519         Likewise.
42520         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42521         (CFLAGS-memmove.c): Likewise.
42522         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42523         Likewise.
42525 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42527         * sysdeps/x86_64/x32/_itoa.h: New file.
42529         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42530         getdents system call only if kernel and user dirents have the
42531         same d_ino and d_off.
42533         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42534         LLONG_MAX != LONG_MAX.
42535         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42536         (_fitoa_word): Likewise.
42538         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42539         years.
42540         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42541         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42542         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42544         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42545         include <bits/wordsize.h>.  Check __x86_64__ instead of
42546         __WORDSIZE.
42547         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42548         if __x86_64__ is defined.  Use anonymous union on fpstate.
42550         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42551         anonymous union.
42553 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
42555         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42556         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42557         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42558         Refer to _rtld_local_ro instead of _rtld_global_ro.
42559         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42560         Likewise.
42561         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42562         Likewise.
42563         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42564         Likewise.
42565         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42566         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42567         of _rtld_global, and rtld_progname instead of _dl_argv[0].
42569         * sysdeps/powerpc/powerpc32/dl-machine.c
42570         (__elf_machine_runtime_setup) [PROF]: Don't reference
42571         _dl_prof_resolve.
42573 2012-05-18  Andreas Jaeger  <aj@suse.de>
42575         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42576         function only available for GCCs before 3.4 since GCC 3.4
42577         introduced a builtin.
42578         (lrint): Likewise.
42579         (llrintf): Likewise.
42580         (llrint): Likewise.
42581         (fmaxf): Likewise.
42582         (fmax): Likewise.
42583         (fminf): Likewise.
42584         (fmin): Likewise.
42585         (rint): Likewise.
42586         (rintf): Likewise.
42587         (nearbyint): Likewise.
42588         (nearbyintf): Likewise.
42589         (ceil): Likewise.
42590         (ceilf): Likewise.
42591         (floor): Likewise.
42592         (floorf): Likewise.
42594 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42596         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42597         on both fields and cast pointer to __syscall_ulong_t.
42599         * bits/types.h (__fsword_t): New type.
42600         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42601         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42602         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42603         (__FSWORD_T_TYPE): Likewise.
42604         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42605         (__FSWORD_T_TYPE): Likewise.
42606         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42607         (__FSWORD_T_TYPE): Likewise.
42608         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42609         (__FSWORD_T_TYPE): Likewise.
42610         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42611         __SWORD_TYPE with __fsword_t.
42612         (statfs64): Likewise.
42614 2012-05-17  David S. Miller  <davem@davemloft.net>
42616         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42618 2012-05-17  Andreas Jaeger  <aj@suse.de>
42620         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42621         warning.
42623 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42625         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42627 2012-05-17  Andreas Jaeger  <aj@suse.de>
42629         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42630         when it is used.
42632 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42634         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42636 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42638         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42639         * sysdeps/x86_64/tst-mallocalign1.c: New file.
42641 2012-05-17  Andreas Jaeger  <aj@suse.de>
42642             Carlos O'Donell  <carlos_odonell@mentor.com>
42644         [BZ #14059]
42645         * sysdeps/x86_64/multiarch/init-arch.h
42646         (bit_YMM_Usable): Rename to...
42647         (bit_AVX_Usable): ... this.
42648         (bit_FMA4_Usable): New macro.
42649         (bit_XMM_state): New macro.
42650         (bit_YMM_state): New macro.
42651         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42652         [__ASSEMBLER__] (index_AVX_Usable): ... this.
42653         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42654         (CPUID_OSXSAVE): New macro.
42655         (CPUID_AVX): New macro.
42656         (CPUID_FMA4): New macro.
42657         (index_YMM_Usable): Rename to...
42658         (index_AVX_Usable): ... this.
42659         (HAS_AVX): Use HAS_ARCH_FEATURE.
42660         (HAS_FMA4): Likewise.
42661         (HAS_YMM_USABLE): Remove.
42662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42663         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42664         are present.
42665         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42666         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42667         * sysdeps/x86_64/multiarch/Makefile: Likewise.
42668         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42669         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42671 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42673         * math/libm-test.c: Support platforms without multiple rounding modes.
42674         * math/bug-nextafter.c: Support platforms without FP exceptions.
42675         * math/bug-nexttoward.c: Likewise.
42676         * math/test-fenv.c: Likewise.
42677         * math/test-misc.c: Likewise.
42678         * stdlib/bug-getcontext.c: Likewise.
42680 2012-05-17  Andreas Jaeger  <aj@suse.de>
42682         * manual/examples/search.c (critter_cmp): Change signature to
42683         avoid warnings.
42684         * manual/string.texi (Collation Functions): Likewise.
42686 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42688         * bits/types.h: Fold copyright years.
42689         * bits/typesizes.h: Likewise.
42690         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42691         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42692         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42693         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42694         * time/time.h: Likewise.
42696 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
42698         [BZ #208]
42699         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42700         in instead of returning them.  Return void.
42701         (__libc_mallinfo): Accumulate over all arenas.
42702         (__malloc_stats): Adjust for change in int_mallinfo interface.
42704 2012-05-16  Roland McGrath  <roland@hack.frob.com>
42706         [BZ #10375]
42707         * configure.in (NM): Add AC_CHECK_TOOL for it.
42708         (libc_extra_cflags): New substituted variable.
42709         Check for -fstack-protector being used implicitly.
42710         * configure: Regenerated.
42711         * config.make.in (config-extra-cflags): New variable,
42712         gets @libc_extra_cflags@.
42713         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42715         [BZ #10375]
42716         * configure.in: Check for _FORTIFY_SOURCE being predefined.
42717         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42718         * configure: Regenerated.
42719         * config.make.in (CPPUNDEFS): New substituted variable.
42720         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42721         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42722         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42724 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42726         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42727         (mq_attr): Use __syscall_slong_t.
42729 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42731         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42732         Check __x86_64__ instead of __WORDSIZE.
42733         (_STAT_VER_LINUX): Likewise.
42734         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
42735         __syscall_ulong_t and __syscall_slong_t.
42736         (stat64): Likewise.
42738 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42740         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42742 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42744         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42746 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42748         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42749         __syscall_ulong_t.
42751         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42752         include <bits/wordsize.h>.  Check __x86_64__ instead of
42753         __WORDSIZE.
42754         (greg_t): Use "__extension__ long long int" if __x86_64__ is
42755         defined.
42756         (mcontext_t): Replace "unsigned long" with "unsigned long long".
42758         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42759         include <bits/wordsize.h>.  Check __x86_64__ instead of
42760         __WORDSIZE.
42761         (user_regs_struct): Use "__extension__ unsigned long long"
42762         instead of "unsigned long" if __x86_64__ is defined.
42763         (user): Likewise.  Pad after pointer field if __ILP32__ is
42764         defined.
42766 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
42768         * configure.in (makeinfo): Require version 4.5 or later.  Allow
42769         versions 5 to 9.
42770         * configure: Regenerated.
42771         * manual/install.texi (texinfo): Increase version requirement to
42772         4.5 or later.
42773         * INSTALL: Regenerated.
42775         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42777 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42779         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42781         * sysdeps/x86_64/x32/ffs.c: New file.
42783         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42784         __syscall_ulong_t.
42785         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42786         defined.  Use __syscall_ulong_t.
42787         (shminfo): Use __syscall_ulong_t.
42788         (shm_info): Likewise.
42790         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42791         __syscall_ulong_t.
42793         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42794         <bits/wordsize.h>.
42795         (msgqnum_t): Use __syscall_ulong_t.
42796         (msglen_t): Likewise.
42797         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
42798         __syscall_ulong_t.
42800         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42801         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42803         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42805         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42806         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42808         * sysvipc/sys/msg.h (msgbuf): Replace long int with
42809         __syscall_slong_t.
42811         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42812         include <bits/wordsize.h>.  Check __x86_64__ instead of
42813         __WORDSIZE.
42815         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42816         "unsigned long long int" if __x86_64__ is defined.
42817         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42819         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42820         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42821         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42823         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42824         <stdint.h>.
42825         (GET_PC): Cast to uintptr_t first.
42826         (GET_FRAME): Likewise.
42827         (GET_STACK): Likewise.
42829         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42830         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42831         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42832         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42833         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42834         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42835         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42836         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42837         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42838         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42839         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42840         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42841         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42842         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42843         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42844         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42845         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42846         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42847         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42848         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42849         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42850         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42851         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42852         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42853         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42854         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42855         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42856         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42857         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42859 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42861         * Makerules (+depfiles): Also collect depfiles from .oS in
42862         $(extra-objs).
42863         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42864         .oS, $(libnldbl-routines)).
42866         * Makerules (native-compile-mkdep-flags): Define.
42867         * sunrpc/Makefile (extra-objs): Add $(addprefix
42868         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42869         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42870         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42871         calling $(make-target-directory).
42873 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42875         * bits/types.h (__snseconds_t): Removed.
42876         * time/time.h (struct timespec): Replace __snseconds_t with
42877         __syscall_slong_t.
42878         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42879         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42880         Likewise.
42881         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42882         (__SNSECONDS_T_TYPE): Likewise.
42883         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42884         (__SNSECONDS_T_TYPE): Likewise.
42885         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42886         (__SNSECONDS_T_TYPE): Likewise.
42888 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42890         * sysdeps/mach/hurd/bits/typesizes.h
42891         (__SYSCALL_SLONG_TYPE): New macro.
42892         (__SYSCALL_ULONG_TYPE): Likewise.
42894 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42896         * bits/types.h (__syscall_slong_t): New type.
42897         (__syscall_ulong_t): Likewise.
42899         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42900         (__SYSCALL_ULONG_TYPE): Likewise.
42901         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42902         (__SYSCALL_SLONG_TYPE): Likewise.
42903         (__SYSCALL_ULONG_TYPE): Likewise.
42904         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42905         (__SYSCALL_SLONG_TYPE): Likewise.
42906         (__SYSCALL_ULONG_TYPE): Likewise.
42907         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42908         (__SYSCALL_SLONG_TYPE): Likewise.
42909         (__SYSCALL_ULONG_TYPE): Likewise.
42911 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42913         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42914         Add sigaltstack-offsets.sym.
42915         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42916         <sigaltstack-offsets.h>.
42917         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42918         longjmp_msg pointer.
42919         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42920         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42921         signal stack.
42922         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42924 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42926         * elf/stackguard-macros.h: Remove file.
42927         * sysdeps/generic/stackguard-macros.h: New file.
42928         * sysdeps/i386/stackguard-macros.h: Likewise.
42929         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42930         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42931         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42932         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42933         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42934         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42935         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42936         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42937         <elf/stackguard-macros.h>.
42939         [BZ #14109]
42940         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42941         __aligned__ in attribute.
42942         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42943         (gregset_t): Likewise.
42945 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42947         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42948         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42949         * sysdeps/x86_64/x32/Implies-after: New file.
42951 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42953         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42954         and access return value for _dl_profile_fixup.  Use R10_LP to
42955         load frame size.
42957 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42959         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42961 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42963         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42964         * sysdeps/x86_64/x32/sysdep.h: New file.
42966 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42968         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42969         * sysdeps/x86_64/setjmp.S: Likewise.
42971 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42973         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42974         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42975         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42976         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42977         remove unused global constant.
42979 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42981         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42982         include of <not-cancel.h>.
42984 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42986         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42988 2012-05-15  Jeff Law  <law@redhat.com>
42989             Andreas Jaeger  <aj@suse.de>
42991         [BZ #13594]
42992         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42993         out from...
42994         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42995         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42996         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42997         code changing __hst_map_handle.map.
42999 2012-05-15  Roland McGrath  <roland@hack.frob.com>
43001         * configure.in (sysnames): Look for Implies-before and Implies-after
43002         files.
43003         * configure: Regenerated.
43005 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43007         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
43008         8-byte data alignment with LP_SIZE alignment.
43010 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43012         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
43013         into R10_LP.
43015 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43017         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
43019 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43021         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
43022         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
43023         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
43024         Likewise.
43025         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
43027 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43029         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
43030         (stackinfo_sub_sp): Likewise.
43032 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43034         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
43035         RAX_LP.
43037 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43039         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
43040         into R*_LP.
43042 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43044         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
43045         sizes into R*_LP.
43047 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43049         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
43051 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43053         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
43054         into R11_LP and load __x86_64_shared_cache_size_half into
43055         R8_LP.
43057 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
43059         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
43060         R8_LP.
43062 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43064         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
43065         logb for POWER7.
43066         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
43067         logbf for POWER7.
43068         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
43069         logbl for POWER7.
43070         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
43071         powerpc32/power7/fpu/s_logb.c via #include.
43072         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
43073         powerpc32/power7/fpu/s_logbf.c via #include.
43074         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
43075         powerpc32/power7/fpu/s_logbl.c via #include.
43077 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
43079         * README.libm: Remove file.
43081 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43083         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
43084         count for x32.  Use R*_LP and omit operand-size suffix.
43086 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43088         * shlib-versions: Move x86_64-.*-linux.* entries to ...
43089         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
43090         * sysdeps/x86_64/x32/shlib-versions: New file.
43092 2012-05-14  Roland McGrath  <roland@hack.frob.com>
43094         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
43095         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
43096         Use _dl_fatal_printf instead.
43098 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43100         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
43101         set if not set by the user.  Do not allow for being unset.
43102         * sysdeps/unix/sysv/linux/configure: Regenerated.
43104 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43106         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
43107         the `q' suffix from lea and replace .quad with ASM_ADDR.
43109 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43111         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
43112         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
43113         instead of $17.
43114         (PTR_DEMANGLE): Likewise.
43116 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43118         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
43119         (LP_OP): Likewise.
43120         (ASM_ADDR): Likewise.
43121         (RAX_LP): Likewise.
43122         (RBP_LP): Likewise.
43123         (RBX_LP): Likewise.
43124         (RCX_LP): Likewise.
43125         (RDI_LP): Likewise.
43126         (RSI_LP): Likewise.
43127         (RSP_LP): Likewise.
43128         (R8_LP): Likewise.
43129         (R9_LP): Likewise.
43130         (R10_LP): Likewise.
43131         (R10_LP): Likewise.
43132         (R11_LP): Likewise.
43133         (R12_LP): Likewise.
43134         (R13_LP): Likewise.
43135         (R14_LP): Likewise.
43136         (R15_LP): Likewise.
43138 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43140         * sysdeps/x86_64/x32/dl-machine.h: New file.
43142 2012-05-14  Andreas Jaeger  <aj@suse.de>
43144         * manual/Makefile (subdir): Remove export of subdir.
43145         (all): Remove target.
43146         (.PHONY): Remove all from list.
43147         (mkinstalldirs): Remove.
43148         (.PHONY): Remove installdirs from list.
43149         ($(inst_infodir)/libc.info): Use make-target-directory.
43150         (installdirs): Remove.
43151         (subdir_%): Remove.
43152         (glibc-targets): Remove.
43153         (lib): Remove.
43154         (stubs): Remove.
43155         ($(objpfx)stubs ../po/manual.pot): Remove.
43156         ($(objpfx)stamp%): Remove.
43157         (make-target-directory): Remove.
43158         (subdir_install): Remove.
43159         (routines): Remove.
43160         (aux): Remove.
43161         (sources): Remove.
43162         (objects): Remove.
43163         (headers): Remove.
43165         [BZ #13750]
43166         * manual/.gitignore: Remove, it's not needed anymore.
43167         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
43168         all files in it.
43169         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
43170         directory.
43171         (texis): Renamed to $(objpfx)texis.
43172         (texis-path): New, contains path to generated files.
43173         (chapters.%): Use texis-path for complete path, add extra argument
43174         libc-texinfo.sh.
43175         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
43176         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
43177         (summary,texi, stamp-summary): Use complete path of
43178         files. Generate files in build dir.
43179         (dir-add.texi): Build in build dir.
43180         (libm-err.texi,stamp-libm-err): Likewise.
43181         (version.texi, stamp-version): Likewise.
43182         (.%c.texi): Likewise.
43183         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
43184         (mostlyclean): Remove target.
43185         (realclean): Remove target.
43186         (generated): Add new variable with contents from mostlyclean and
43187         realclean, remove entries duplicated in common-mostlyclean, add
43188         stamp-libm-err and stamp-version.
43189         (generated-dirs): Add libc directory.
43190         ($(inst_infodir)/libc.info): Install files from build dir.
43192         * manual/install.texi (Configuring and compiling): Adjust since
43193         the info files are not part of the tar ball anymore.
43195 2012-05-14  Andreas Jaeger  <aj@suse.de>
43197         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
43198         variable.
43200 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
43202         [BZ #13717]
43203         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
43204         to 2.2.0 where earlier.
43205         * sysdeps/unix/sysv/linux/configure: Regenerated.
43206         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
43207         Remove conditional code.
43208         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
43209         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
43210         Remove conditional code.
43211         [!__NR_lchown]: Likewise.
43212         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43213         [__NR_lchown]: Likewise.
43214         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
43215         comment referencing __ASSUME_LCHOWN_SYSCALL.
43216         * sysdeps/unix/sysv/linux/i386/sigaction.c
43217         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43218         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43219         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
43220         Remove conditional code.
43221         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
43222         (__protocol_available): Remove #if 0 code.
43223         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
43224         conditional code.
43225         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
43226         * sysdeps/unix/sysv/linux/kernel-features.h
43227         (__ASSUME_GETCWD_SYSCALL): Don't define.
43228         (__ASSUME_REALTIME_SIGNALS): Likewise.
43229         (__ASSUME_PREAD_SYSCALL): Likewise.
43230         (__ASSUME_PWRITE_SYSCALL): Likewise.
43231         (__ASSUME_POLL_SYSCALL): Likewise.
43232         (__ASSUME_LCHOWN_SYSCALL): Likewise.
43233         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
43234         non-SPARC.
43235         (__ASSUME_SIOCGIFNAME): Don't define.
43236         (__ASSUME_MSG_NOSIGNAL): Likewise.
43237         (__ASSUME_SENDFILE): Define unconditionally.
43238         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
43239         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
43240         conditional code.
43241         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
43242         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
43243         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43244         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43245         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
43246         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
43247         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
43248         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
43249         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43250         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43251         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
43252         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43253         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43254         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43255         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43256         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43257         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43258         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43259         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43261         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43262         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43264         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43265         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43267         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43268         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43270         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43271         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43272         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43273         Remove conditional code.
43274         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43275         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43276         Remove conditional code.
43277         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43278         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43279         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43280         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43281         Remove conditional code.
43282         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43283         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43284         Remove conditional code.
43285         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43286         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43287         Remove conditional code.
43288         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43289         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43290         Remove conditional code.
43291         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43292         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43293         Remove conditional code.
43294         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43295         * sysdeps/unix/sysv/linux/sh/pwrite64.c
43296         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43297         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43298         * sysdeps/unix/sysv/linux/sigaction.c
43299         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43300         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43301         * sysdeps/unix/sysv/linux/sigpending.c
43302         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43303         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43304         * sysdeps/unix/sysv/linux/sigprocmask.c
43305         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43306         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43307         * sysdeps/unix/sysv/linux/sigsuspend.c
43308         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43309         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43310         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43311         (__libc_missing_rt_sigs): Remove.
43312         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43313         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43314         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43315         Remove conditional code.
43316         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43317         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43318         return 1.
43319         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43320         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43321         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43322         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43324 2012-05-14  Andreas Jaeger  <aj@suse.de>
43326         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43327         it's not used in glibc.
43328         (__coshm1): Likewise.
43329         (__acosh1p): Likewise.
43330         (__sgn): Likewise.
43332         * manual/string.texi (Copying and Concatenation): Add missing
43333         variable in concat example.
43334         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43336 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43338         [BZ #14103]
43339         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43340         __builtin_clzl with __builtin_clzll.
43342 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43344         [BZ #14104]
43345         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43346         libc_freeres_ptr.
43348 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43350         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43351         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43352         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43353         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43355 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
43357         * NEWS: Update ia64 info.
43359 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
43361         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43362         used as bcopy.
43364 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
43366         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43367         * sysdeps/unix/syscalls.list (dup3): Likewise.
43368         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43369         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43371 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
43373         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43374         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43376 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
43378         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43379         thread pointer.
43380         (TLS_IE): Use mov/add instead of movq/addq to load thread
43381         pointer.
43382         (TLS_GD_PREFIX): New.
43383         (TLS_GD): Use it.
43385 2012-05-11  David S. Miller  <davem@davemloft.net>
43387         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43388         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43389         (_FPU_SETCW): Likewise.
43391 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43393         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43394         is 32-byte aligned.
43396 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
43398         [BZ #11837]
43399         * iconvdata/gb18030.c: Update tables.
43400         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
43401         characters specially.
43402         (BODY for TO_LOOP): Add encoding of missing ranges.
43404 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
43406         [BZ #13673]
43407         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43408         * sysdeps/mach/hurd/dup3.c: Likewise.
43409         * sysdeps/mach/hurd/readlinkat.c: Likewise.
43410         * sysdeps/powerpc/memmove.c:: Likewise.
43412 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43414         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43415         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43417 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43419         * elf/elf.h (R_X86_64_RELATIVE64): New.
43420         (R_X86_64_NUM): Updated.
43421         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43422         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
43423         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43424         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43425         tst-quad1pie tst-quad2pie
43426         (modules-names): Add tst-quadmod1 tst-quadmod2.
43427         ($(objpfx)tst-quad1): New dependency.
43428         ($(objpfx)tst-quad2): Likewise.
43429         ($(objpfx)tst-quad1pie): Likewise.
43430         ($(objpfx)tst-quad2pie): Likewise.
43431         * sysdeps/x86_64/tst-quad1.c: New file.
43432         * sysdeps/x86_64/tst-quad1pie.c: New file.
43433         * sysdeps/x86_64/tst-quad2.c: Likewise.
43434         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43435         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43436         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43437         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43438         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43440 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43442         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43443         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43444         * streams/stropts.h (t_scalar_t): Define type.
43446         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43447         (_PATH_PRESERVE): Set to "/var/lib".
43448         (_PATH_RWHODIR): Set to "/var/spool/rwho".
43450         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43451         instead of int.
43453         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43454         if __dir_mkfile succeeded.
43456         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43457         checking for _hurd_dtablesize.  Unlock it right after having
43458         finished _hurd_dtable allocation.
43460 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43462         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43463         * sysdeps/mach/hurd/configure: Regenerated.
43464         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43465         special-casing to...
43466         * sysdeps/gnu/configure.in: ... this new file.
43467         * sysdeps/unix/sysv/linux/configure: Regenerated.
43468         * sysdeps/gnu/configure: New generated file.
43470         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43471         for Linux: use nsec instead of usec, as well as:
43472         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43473         members of type struct timespec.
43474         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43475         New macros.
43476         (struct stat64): Likewise.
43477         (_STATBUF_ST_NSEC): New macro.
43478         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43480         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43481         __strtoul_internal rather than strtoul.
43483 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43485         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43486         and reject them.
43488 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43490         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43491         which preserves existing values.
43492         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43494 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43496         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43497         TIMEOUT values.  Return EINVAL for NFDS values either negative or
43498         greater than FD_SETSIZE.
43500 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43502         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43503         allocated, call __vm_protect to finish enabling the existing space, and
43504         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43505         allocate the remainder.
43507 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43509         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43510         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
43512 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43514         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43515         sysdeps/mach/hurd/readlink.c.
43517         * posix/tst-sysconf.c (posix_options): Only use
43518         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43519         _POSIX_SYNCHRONIZED_IO when they are defined
43520         * sysdeps/mach/hurd/bits/posix_opt.h:
43521         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43522         (_XOPEN_REALTIME): Undefine macro.
43523         (_XOPEN_REALTIME_THREADS): Undefine macro.
43524         (_XOPEN_SHM): Undefine macro.
43525         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43526         macro to -1.
43527         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43528         macro to -1.
43529         (_POSIX_ASYNC_IO): Undefine macro.
43530         (_POSIX_PRIORITIZED_IO): Undefine macro.
43531         (_POSIX_SPIN_LOCKS): Define macro to -1.
43533         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43534         SA_NODEFER, SA_RESETHAND.
43535         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43536         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43537         F_DUPFD_CLOEXEC.
43539 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43541         * elf/Makefile (pldd-modules): Define unconditionally.
43543 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43545         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43547 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43549         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43550         Return ENOENT when name is empty.
43551         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43553 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43555         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43557         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43559 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43561         Fix mlock in all cases except non-readable pages.
43562         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43563         instead of VM_PROT_ALL as parameter to __vm_wire function.
43565         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43566         (__mkdir): When path is `/', just fail with EEXIST.
43567         * sysdeps/mach/hurd/mkdirat.c: Likewise.
43569 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43571         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43572         <sys/uio.h> (for writev).
43573         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43574         and <sys/param.h> (for MIN).
43576 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43578         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43579         REQUESTED_TIME.  Properly set the remaining time and return EINTR
43580         if interrupted.
43582 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43584         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43585         Depend on against $(link-rpcuserlibs).
43587 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43589         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43590         (__libc_stack_end): Do not use attribute_relro.
43591         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43592         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43593         to libthread-provided value.
43594         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43595         attribute_relro.
43597 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43599         [BZ #3748]
43600         * bits/libc-lock.h (__libc_once_get): New macro.
43601         * sysdeps/mach/bits/libc-lock.h: Likewise.
43602         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43603         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43604         instead of using implementation details.
43606         * libio/fileops.c: Unconditionally include <kernel-features.h>.
43607         * libio/freopen.c: Likewise.
43608         * libio/freopen64.c: Likewise.
43609         * misc/syslog.c: Likewise.
43610         * nscd/connections.c: Likewise.
43611         * nscd/netgroupcache.c: Likewise.
43612         * sysdeps/posix/getcwd.c: Likewise.
43614 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43616         * math/w_ilogbf.c: Add #include <limits.h>.
43618 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43620         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43621         path instead of returning without unlocking.
43623         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43624         immediate-write ioctls.
43625         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43627 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43629         * sysdeps/mach/hurd/i386/init-first.c (init): Use
43630         __builtin_frame_address instead of making assumptions about the
43631         location of the return address relative to DATA.  Force early load of
43632         the return address.
43633         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43634         __builtin_frame_address.
43636         dup3 for GNU Hurd.
43637         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43638         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
43639         implement dup3 and do some further code clean-ups.
43640         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43641         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43643 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43645         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43647         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43648         HURD_CRITICAL_END around holding _hurd_dtable_lock.
43649         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43650         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43651         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43652         d->port.lock.
43654         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43655         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
43656         when handler == SIG_ERR, not when handler != SIG_ERR.
43658 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43660         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43661         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43662         definitions.
43664         accept4 for GNU Hurd.
43665         * include/sys/socket.h (__libc_accept4): New prototype.
43666         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
43667         to implement __libc_accept4.
43668         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43669         __libc_accept4.
43670         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43672         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43673         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43674         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43675         signal-defines.sym.
43677 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43679         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43681 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43683         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43684         assertion on O_CLOEXEC flag.
43685         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43686         * hurd/intern-fd.c: Likewise.
43687         * hurd/port2fd.c: Likewise.
43689 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43691         [BZ #3906]
43692         * bits/in.h (IPV6_PKTINFO): Define new macro.
43693         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43695 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43697         [BZ #13954]
43698         [BZ #13955]
43699         [BZ #13956]
43700         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43701         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43702         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43703         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43704         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43705         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43706         * math/libm-test.inc (logb_test) : Additional logb tests.
43708 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
43709             Andreas Jaeger  <aj@suse.de>
43711         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43712         * configure: Regenerated.
43713         * config.h.in (LINK_OBSOLETE_RPC): New macro.
43714         * config.make.in (link-obsolete-rpc): New substituted variable.
43715         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43716         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43717         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43718         (shared-only-routines): Don't set it under [link-obsolete-rpc],
43719         so that libc.a contains the symbols.
43720         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43721         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43722         * sunrpc/auth_none.c: Likewise.
43723         * sunrpc/auth_unix.c: Likewise.
43724         * sunrpc/authdes_prot.c: Likewise.
43725         * sunrpc/authuxprot.c: Likewise.
43726         * sunrpc/clnt_gen.c: Likewise.
43727         * sunrpc/clnt_perr.c: Likewise.
43728         * sunrpc/clnt_raw.c: Likewise.
43729         * sunrpc/clnt_simp.c: Likewise.
43730         * sunrpc/clnt_tcp.c: Likewise.
43731         * sunrpc/clnt_udp.c: Likewise.
43732         * sunrpc/clnt_unix.c: Likewise.
43733         * sunrpc/des_crypt.c: Likewise.
43734         * sunrpc/des_soft.c: Likewise.
43735         * sunrpc/get_myaddr.c: Likewise.
43736         * sunrpc/key_call.c: Likewise.
43737         * sunrpc/key_prot.c: Likewise.
43738         * sunrpc/netname.c: Likewise.
43739         * sunrpc/pm_getmaps.c: Likewise.
43740         * sunrpc/pm_getport.c: Likewise.
43741         * sunrpc/pmap_clnt.c: Likewise.
43742         * sunrpc/pmap_prot.c: Likewise.
43743         * sunrpc/pmap_prot2.c: Likewise.
43744         * sunrpc/pmap_rmt.c: Likewise.
43745         * sunrpc/publickey.c: Likewise.
43746         * sunrpc/rpc_cmsg.c: Likewise.
43747         * sunrpc/rpc_common.c: Likewise.
43748         * sunrpc/rpc_dtable.c: Likewise.
43749         * sunrpc/rpc_prot.c: Likewise.
43750         * sunrpc/rpc_thread.c: Likewise.
43751         * sunrpc/rtime.c: Likewise.
43752         * sunrpc/svc.c: Likewise.
43753         * sunrpc/svc_auth.c: Likewise.
43754         * sunrpc/svc_raw.c: Likewise.
43755         * sunrpc/svc_run.c: Likewise.
43756         * sunrpc/svc_tcp.c: Likewise.
43757         * sunrpc/svc_udp.c: Likewise.
43758         * sunrpc/svc_unix.c: Likewise.
43759         * sunrpc/svcauth_des.c: Likewise.
43760         * sunrpc/xcrypt.c: Likewise.
43761         * sunrpc/xdr.c: Likewise.
43762         * sunrpc/xdr_array.c: Likewise.
43763         * sunrpc/xdr_float.c: Likewise.
43764         * sunrpc/xdr_intXX_t.c: Likewise.
43765         * sunrpc/xdr_mem.c: Likewise.
43766         * sunrpc/xdr_rec.c: Likewise.
43767         * sunrpc/xdr_ref.c: Likewise.
43768         * sunrpc/xdr_sizeof.c: Likewise.
43769         * sunrpc/xdr_stdio.c: Likewise.
43771 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43773         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43774         change.  Update copyright years.
43776 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43778         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43780 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
43781             Joseph Myers  <joseph@codesourcery.com>
43782             Paul Pluzhnikov  <ppluzhnikov@google.com>
43784         [BZ #14012]
43785         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43786         requiring rpcgen.
43787         [cross-compiling] (extra-libs): Likewise.
43788         [cross-compiling] (extra-libs-others): Likewise.
43789         [cross-compiling] (librpcsvc-routines): Likewise.
43790         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43791         [cross-compiling] (omit-deps): Likewise.
43792         (sunrpc-CPPFLAGS): New variable.
43793         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43794         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43795         (cross-rpcgen-objs): New variable.
43796         (extra-objs): Append $(cross-rpcgen-objs).
43797         ($(cross-rpcgen-objs)): New rule.
43798         ($(objpfx)cross-rpcgen): Likewise.
43799         (rpcgen-cmd): Define to use $(built-program-file).  Expand
43800         comment.
43801         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43802         ($(objpfx)x%.stmp): Likewise.
43803         * sunrpc/proto.h [IS_IN_build] (_): Define.
43804         [IS_IN_build] (_libc_intl_domainname): Likewise.
43806 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43808         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43809         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43810         and R_X86_64_TPOFF64.
43812 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43814         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43815         sysdeps/unix/sysv/syscalls.list.
43816         (stime): Likewise.
43817         (utime): Likewise.
43818         * sysdeps/unix/sysv/syscalls.list: Remove file.
43820 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
43822         [BZ #3440]
43823         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43824         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43825         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43826         (__LC_IDENTIFICATION): Make these macros useful in #if
43827         expressions, as required by C99.
43829 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
43831         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43832         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
43833         after this.
43835 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43837         * stdlib/longlong.h: Updated from GCC.
43839 2012-05-09  Andreas Jaeger  <aj@suse.de>
43841         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43842         default is first entry.
43843         (run_mode): Set type.
43844         (main): Remove informal message about syslog.
43845         (options): Fix typo.
43847         [BZ #14053]
43848         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43849         to asm.
43850         (lrint): Likewise.
43851         (llrintf): Likewise.
43852         (llrint): Likewise.
43853         (rint): Likewise.
43854         (rintf): Likewise.
43855         (nearbyint): Likewise.
43856         (nearbyintf): Likewise.
43858 2012-05-09  Andreas Jaeger  <aj@suse.de>
43859             Pedro Alves  <palves@redhat.com>
43861         * nscd/nscd.c (run_mode): Use enum.
43862         (main): Cleanup coding style issue.
43864 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43865             Andreas Jaeger  <aj@suse.de>
43867         * nscd/nscd.c (go_background): Replaced with...
43868         (run_mode): ... this.
43869         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43870         (options): Add -F --foreground.
43871         (main): Implement it.
43872         (parse_opt): Parse it.
43874 2012-05-09  Andreas Jaeger  <aj@suse.de>
43876         [BZ #14083]
43877         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43878         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43879         -Wconversion warning.
43880         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43881         Likewise.
43883 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43885         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43886         == 0.
43887         (LC_ALL): Use macro-int-constant.
43888         (LC_COLLATE): Likewise.
43889         (LC_CTYPE): Likewise.
43890         (LC_MESSAGES): Likewise.
43891         (LC_MONETARY): Likewise.
43892         (LC_NUMERIC): Likewise.
43893         (LC_TIME): Likewise.
43894         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43895         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43896         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43897         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43898         Specify type.
43899         [C99-based standards] (float_t): Expect type.
43900         [C99-based standards] (double_t): Expect type.
43901         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43902         type.
43903         [C99-based standards] (HUGE_VALL): Likewise.
43904         [C99-based standards] (INFINITY): Likewise.
43905         [C99-based standards] (NAN): Likewise.
43906         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43907         [C99-based standards] (FP_NAN): Likewise.
43908         [C99-based standards] (FP_NORMAL): Likewise.
43909         [C99-based standards] (FP_SUBNORMAL): Likewise.
43910         [C99-based standards] (FP_ZERO): Likewise.
43911         [C99-based standards] (FP_FAST_FMA): Use
43912         optional-macro-int-constant.  Specify type.  Require == 1.
43913         [C99-based standards] (FP_FAST_FMAF): Likewise.
43914         [C99-based standards] (FP_FAST_FMAL): Likewise.
43915         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43916         [C99-based standards] (FP_ILOGBNAN): Likewise.
43917         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43918         Specify type.
43919         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43920         [C99-based standards] (math_errhandling): Specify type.
43921         [ISO99 || ISO11] (signgam): Do not allow.
43922         [non-C99-based standards] (copysignf): Do not allow.
43923         [non-C99-based standards] (exp2f): Likewise.
43924         [non-C99-based standards] (log2f): Likewise.
43925         [non-C99-based standards] (modff): Allow.
43926         [non-C99-based standards] (erff): Do not allow.
43927         [non-C99-based standards] (erfcf): Likewise.
43928         [non-C99-based standards] (gammaf): Likewise.
43929         [non-C99-based standards] (hypotf): Likewise.
43930         [non-C99-based standards] (j0f): Likewise.
43931         [non-C99-based standards] (j1f): Likewise.
43932         [non-C99-based standards] (jnf): Likewise.
43933         [non-C99-based standards] (lgammaf): Likewise.
43934         [non-C99-based standards] (tgammaf): Likewise.
43935         [non-C99-based standards] (y0f): Likewise.
43936         [non-C99-based standards] (y1f): Likewise.
43937         [non-C99-based standards] (ynf): Likewise.
43938         [non-C99-based standards] (isnanf): Likewise.
43939         [non-C99-based standards] (acoshf): Likewise.
43940         [non-C99-based standards] (asinhf): Likewise.
43941         [non-C99-based standards] (atanhf): Likewise.
43942         [non-C99-based standards] (cbrtf): Likewise.
43943         [non-C99-based standards] (expm1f): Likewise.
43944         [non-C99-based standards] (ilogbf): Likewise.
43945         [non-C99-based standards] (log1pf): Likewise.
43946         [non-C99-based standards] (logbf): Likewise.
43947         [non-C99-based standards] (nextafterf): Likewise.
43948         [non-C99-based standards] (remainderf): Likewise.
43949         [non-C99-based standards] (rintf): Likewise.
43950         [non-C99-based standards] (scalbf): Likewise.
43951         [non-C99-based standards] (copysignl): Likewise.
43952         [non-C99-based standards] (exp2l): Likewise.
43953         [non-C99-based standards] (log2l): Likewise.
43954         [non-C99-based standards] (modfl): Allow.
43955         [non-C99-based standards] (erfl): Do not allow.
43956         [non-C99-based standards] (erfcl): Likewise.
43957         [non-C99-based standards] (gammal): Likewise.
43958         [non-C99-based standards] (hypotl): Likewise.
43959         [non-C99-based standards] (j0l): Likewise.
43960         [non-C99-based standards] (j1l): Likewise.
43961         [non-C99-based standards] (jnl): Likewise.
43962         [non-C99-based standards] (lgammal): Likewise.
43963         [non-C99-based standards] (tgammal): Likewise.
43964         [non-C99-based standards] (y0l): Likewise.
43965         [non-C99-based standards] (y1l): Likewise.
43966         [non-C99-based standards] (ynl): Likewise.
43967         [non-C99-based standards] (isnanl): Likewise.
43968         [non-C99-based standards] (acoshl): Likewise.
43969         [non-C99-based standards] (asinhl): Likewise.
43970         [non-C99-based standards] (atanhl): Likewise.
43971         [non-C99-based standards] (cbrtl): Likewise.
43972         [non-C99-based standards] (expm1l): Likewise.
43973         [non-C99-based standards] (ilogbl): Likewise.
43974         [non-C99-based standards] (log1pl): Likewise.
43975         [non-C99-based standards] (logbl): Likewise.
43976         [non-C99-based standards] (nextafterl): Likewise.
43977         [non-C99-based standards] (remainderl): Likewise.
43978         [non-C99-based standards] (rintl): Likewise.
43979         [non-C99-based standards] (scalbl): Likewise.
43980         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43981         [non-C99-based standards] (FP_*): Do not allow.
43982         [C99-based standards] (FP_*): Change to
43983         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43984         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43985         allow.
43986         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43987         (SIG_ERR): Likewise.
43988         [X/Open-based standards] (SIG_HOLD): Likewise.
43989         (SIG_IGN): Likewise.
43990         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43991         positive value.
43992         (SIGFPE): Likewise.
43993         (SIGILL): Likewise.
43994         (SIGINT): Likewise.
43995         (SIGSEGV): Likewise.
43996         (SIGTER): Likewise.
43997         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43998         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43999         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
44000         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
44001         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
44002         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
44003         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
44004         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
44005         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
44006         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
44007         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
44008         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
44009         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
44010         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
44011         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
44012         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
44013         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
44014         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
44015         [X/Open-based standards] (SIGTRAP): Likewise.
44016         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
44017         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
44018         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
44019         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
44020         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44021         allow.
44023 2012-05-08  Ian Wienand  <ianw@vmware.com>
44025         [BZ #14080]
44026         * time/tzset.c (__tzset_parse_tz): Update default rules for
44027         daylight time changes in the Energy Policy Act of 2005.
44029 2012-05-09  Andreas Jaeger  <aj@suse.de>
44031         [BZ #13983]
44032         * elf/ldconfig.c (parse_conf): Change string to make clear that
44033         ldconfig only issued a warning if ld.so.conf does not exist.
44035 2012-05-08  David S. Miller  <davem@davemloft.net>
44037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
44038         movxtod instead of popping the value on the stack.
44040         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44042 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
44044         * config.h.in: Add HAVE_ARM_PCS_VFP.
44046 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
44048         [BZ #13979]
44049         * include/features.h: Warn if user requests __FORTIFY_SOURCE
44050         checking but the checks are disabled for any reason.
44052 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
44054         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
44055         and ELF64_R_TYPE with ELFW(R_TYPE).
44057 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
44059         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
44060         (ulimit): Likewise.
44062         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
44063         (settimeofday): Likewise.
44065 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
44067         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
44068         a struct th_u2 inside the union, and move tu_block/tu_code into
44069         a new th_u3 union of tu_block/tu_code inside of that.  Move
44070         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
44071         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
44072         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
44073         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
44074         (th_stuff): Change to th_u1.tu_stuff.
44075         (th_data): Define.
44076         (th_msg): Change to th_u1.th_u2.tu_data.
44078 2012-05-07  David S. Miller  <davem@davemloft.net>
44080         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44082         [BZ #14074]
44083         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
44084         (SETUP_PIC_REG): Use it.
44085         (SETUP_PIC_REG_LEAF): Use it.
44087 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
44089         [BZ #13885]
44090         [BZ #13923]
44091         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44092         USE_AS_EXPM1L.
44093         (EXPL_FINITE): Likewise.
44094         (FLDLOG): Likewise.
44095         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44096         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44097         e_expl.S.
44098         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44099         USE_AS_EXPM1L.
44100         (EXPL_FINITE): Likewise.
44101         (FLDLOG): Likewise.
44102         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
44103         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
44104         e_expl.S.
44105         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
44106         test of -max_value argument for long double.
44107         * sysdeps/i386/fpu/libm-test-ulps: Update.
44108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44110 2012-05-06  David S. Miller  <davem@davemloft.net>
44112         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
44113         quad soft-float symbols whose references which are compiler
44114         generated.
44115         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
44117 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
44119         [BZ #13884]
44120         [BZ #13914]
44121         * sysdeps/i386/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         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
44131         e_expl.S.
44132         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
44133         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
44134         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
44135         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
44136         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
44137         USE_AS_EXP10L.
44138         (EXPL_FINITE): Likewise.
44139         (FLDLOG): Likewise.
44140         (c0): Likewise.
44141         (c1): Likewise.
44142         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
44143         Adjust comments for base varying.
44144         (__expl_finite): Change alias to EXPL_FINITE.
44145         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
44146         tests for bugs.
44147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44149         [BZ #14064]
44150         * math/libm-test.inc (check_float_internal): Correct ulp
44151         calculation for subnormal expected results.
44153 2012-05-06  Andreas Jaeger  <aj@suse.de>
44155         * Makeconfig (+math-flags): New, set to -frounding-math.
44156         (+cflags): Add +math-flags so that all of glibc gets compiled with
44157         it.
44159         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
44161 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
44163         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
44164         Disable one test.
44166         [BZ #13787]
44167         [BZ #13922]
44168         [BZ #14036]
44169         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
44170         (__ieee754_expl): Allow for and saturate large arguments.
44171         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
44172         (u_threshold): Likewise.
44173         (__exp): Call __ieee754_exp before checking for overflow and
44174         underflow.
44175         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
44176         (u_threshold): Likewise.
44177         (__expf): Call __ieee754_expf before checking for overflow and
44178         underflow.
44179         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
44180         (u_threshold): Likewise.
44181         (__expl): Call __ieee754_expl before checking for overflow and
44182         underflow.
44183         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
44184         (__ieee754_expl): Allow for and saturate large arguments.
44185         * math/libm-test.inc (exp_test): Add another test.  Do not allow
44186         missing overflow exception on overflow.
44187         (expm1_test): Do not allow missing overflow exception on overflow.
44189         * sysdeps/i386/fpu/e_expl.c: Move to ...
44190         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
44191         rather than using inline asm.
44192         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
44193         * sysdeps/x86_64/fpu/e_expl.S: Copy from
44194         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
44196         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
44197         (nice): Likewise.
44198         (poll): Likewise.
44199         (signal): Likewise.
44200         (time): Likewise.
44201         (times): Likewise.
44203 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44205         * sysdeps/unix/syscalls.list (adjtime): Add entry from
44206         sysdeps/unix/common/syscalls.list.
44207         (fchmod): Likewise.
44208         (fchown): Likewise.
44209         (ftruncate): Likewise.
44210         (getrusage): Likewise.
44211         (gettimeofday): Likewise.
44212         (setpgid): Likewise.
44213         (setregid): Likewise.
44214         (setreuid): Likewise.
44215         (sigaction): Likewise.
44216         (truncate): Likewise.
44217         (vhangup): Likewise.
44218         * sysdeps/unix/common/syscalls.list: Remove file.
44219         * sysdeps/unix/bsd/Implies: Don't include unix/common.
44220         * sysdeps/unix/sysv/linux/Implies: Likewise.
44222 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
44224         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
44225         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
44226         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
44227         Moved to ...
44228         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
44229         Here.
44230         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
44231         to ...
44232         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
44233         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
44234         to ...
44235         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
44236         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
44237         to ...
44238         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
44239         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
44240         to ...
44241         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
44242         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
44243         to ...
44244         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
44245         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
44246         to ...
44247         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
44248         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
44249         to ...
44250         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
44251         Here.
44252         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
44253         to ...
44254         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44255         Here.
44256         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44257         to ...
44258         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44259         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44260         Moved to ...
44261         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44262         Here.
44263         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44264         to ...
44265         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44267 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44269         * sysdeps/unix/common/bits/dirent.h: Remove file.
44270         * sysdeps/unix/common/bits/fcntl.h: Likewise.
44272         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44273         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44274         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44275         * sysdeps/unix/bsd/isatty.c: Likewise.
44276         * sysdeps/unix/bsd/tcdrain.c: Likewise.
44277         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44278         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44280 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44282         [BZ #13563]
44283         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44284         long double comparison inaccuracies.
44285         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44286         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44288 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
44290         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44291         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44293 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44295         [BZ #14049]
44296         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44297         nonzero digits before rounding a hex value.
44298         * stdlib/tst-strtod.c (tests): Add another test.
44300 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44302         * sysdeps/s390/fpu/libm-test-ulps: Update.
44304 2012-05-03  Andreas Jaeger  <aj@suse.de>
44306         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44307         does not get optimized out.
44308         (malloc_opt_barrier): New.
44310 2012-05-03  Andreas Jaeger  <aj@suse.de>
44311             Roland McGrath  <roland@hack.frob.com>
44313         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44314         intermediate file deletion.
44315         (generated): Add .symlist files.
44317 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
44319         [BZ #13775]
44320         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44321         Redirect under this condition.
44322         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44323         [__USE_GNU] (__dprintf_chk): Not under this condition.
44324         [__USE_GNU] (__vdprintf_chk): Likewise.
44325         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44326         under this condition.
44327         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44328         [__USE_XOPEN2K8] (dprintf): Define under this condition.
44329         [__USE_XOPEN2K8] (vdprintf): Likewise.
44330         [__USE_GNU] (__dprintf_chk): Not under this condition.
44331         [__USE_GNU] (__vdprintf_chk): Likewise.
44332         [__USE_GNU] (dprintf): Likewise.
44333         [__USE_GNU] (vdprintf): Likewise.
44335 2012-05-03  Roland McGrath  <roland@hack.frob.com>
44337         * elf/Makefile (common-generated): Set this instead of generated for
44338         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
44339         $(all-built-dso)-derived lists.
44341 2012-05-03  Andreas Jaeger  <aj@suse.de>
44343         * sysdeps/i386/fpu/libm-test-ulps: Update.
44345         * FAQ: Removed.
44346         * FAQ.in: Likewise.
44347         * scripts/gen-FAQ.pl: Likewise.
44348         * manual/install.texi (Installation): Point to online location of
44349         FAQ.
44350         * Makefile (files-for-dist): Remove FAQ.
44351         (FAQ): Remove.
44353 2012-05-02  Allan McRae  <allan@archlinux.org>
44355         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44356         (LDFLAGS-reldepmod5.so): Likewise.
44357         (LDFLAGS-reldep6mod1.so): Likewise.
44358         (LDFLAGS-reldep6mod4.so): Likewise.
44359         (LDFLAGS-reldep8mod3.so): Likewise.
44360         (LDFLAGS-unload4mod1.so): Likewise.
44361         (LDFLAGS-unload4mod2.so): Likewise.
44362         (LDFLAGS-tst-initorder): Likewise.
44363         (LDFLAGS-tst-initordera2.so): Likewise.
44364         (LDFLAGS-tst-initordera3.so): Likewise.
44365         (LDFLAGS-tst-initordera4.so): Likewise.
44366         (LDFLAGS-tst-initorderb2.so): Likewise.
44367         (LDFLAGS-noload): Likewise.
44368         (LDFLAGS-next): Likewise.
44369         (LDFLAGS-order2mod1.so): Likewise.
44370         (LDFLAGS-order2mod2.so): Likewise.
44371         (LDFLAGS-tst-initorder2): Likewise.
44372         (LDFLAGS-tst-initorder2a.so): Likewise.
44373         (LDFLAGS-tst-initorder2b.so): Likewise.
44374         (LDFLAGS-tst-initorder2c.so): Likewise.
44375         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44377 2012-05-02  David S. Miller  <davem@davemloft.net>
44379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44381 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
44383         [BZ #14055]
44384         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44386 2012-05-02  Andreas Jaeger  <aj@suse.de>
44388         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44389         since we manipulate rounding mode.
44390         (CPPFLAGS-test-idouble.c): Likewise.
44391         (CPPFLAGS-test-ifloat.c): Likewise.
44392         (CFLAGS-test-ldouble.c): Likewise.
44393         (CFLAGS-test-double.c): Likewise.
44394         (CFLAGS-test-float.c): Likewise.
44395         (CFLAGS-test-misc.c): Likewise.
44396         (CFLAGS-test-test-fenv.c): Likewise.
44398 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44400         [BZ #2550]
44401         [BZ #2570]
44402         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44403         comparisons to determine direction to adjust input.
44405 2012-05-01  Roland McGrath  <roland@hack.frob.com>
44407         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44408         output to the target.
44410         * scripts/localplt.awk: New file.
44411         * elf/Makefile ($(objpfx)check-localplt): Target removed.
44412         (check-localplt-CFLAGS): Variable removed.
44413         ($(all-built-dso:=.jmprel)): New static pattern rule.
44414         (generated): Add those targets.
44415         (localplt-built-dso): New variable.
44416         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44418         * elf/check-localplt.c: File removed.
44420         * scripts/check-execstack.awk: New file.
44421         * elf/Makefile ($(objpfx)check-execstack): Target removed.
44422         (check-execstack-CFLAGS): Variable removed.
44423         ($(objpfx)check-execstack.h): Target removed.
44424         ($(objpfx)execstack-default): New target.
44425         (generated): Add that instead of check-execstack.h.
44426         ($(all-built-dso:=.phdr)): New static pattern rule.
44427         (generated): Add those targets.
44428         * elf/check-execstack.c: File removed.
44430         * scripts/check-textrel.awk: New file.
44431         * elf/Makefile ($(objpfx)check-textrel): Target removed.
44432         (check-textrel-CFLAGS): Variable removed.
44433         (all-built-dso): Use := to define.o
44434         ($(all-built-dso:=.dyn)): New static pattern rule.
44435         (generated): Add those targets.
44436         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44437         * config.make.in (READELF): New substituted variable.
44438         * elf/check-textrel.c: File removed.
44440 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44442         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44443         allow.
44444         * conform/data/ctype.h-data [C99-based standards] (isblank):
44445         Expect function.
44446         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44447         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44448         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44449         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44450         Specify type.  Require positive value.
44451         (EILSEQ): Likewise.
44452         (ERANGE): Likewise.
44453         [ISO || POSIX] (EILSEQ): Do not expect.
44454         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44455         Specify type.  Require positive value.
44456         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44457         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44458         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44459         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44460         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44461         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44462         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44463         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44464         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44465         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44466         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44467         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44468         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44469         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44470         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44471         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44472         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44473         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44474         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44475         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44476         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44477         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44478         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44479         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44480         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44481         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44482         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44483         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44484         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44485         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44486         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44487         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44488         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44489         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44490         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44491         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44492         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44493         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44494         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44495         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44496         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44497         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44498         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44499         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44500         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44501         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44502         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44503         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44504         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44505         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44506         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44507         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44508         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44509         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44510         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44511         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44512         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44513         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44514         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44515         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44516         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44517         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44518         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44519         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44520         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44521         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44522         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44523         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44524         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44525         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44526         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44527         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44528         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44529         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44530         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44531         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44532         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44533         Require >= 2.
44534         (FLT_ROUNDS): Expect as macro, not constant.
44535         (FLT_MANT_DIG): Use macro-int-constant.
44536         (DBL_MANT_DIG): Likewise.
44537         (LDBL_MANT_DIG): Likewise.
44538         (FLT_DIG): Likewise.
44539         (DBL_DIG): Likewise.
44540         (LDBL_DIG): Likewise.
44541         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
44542         (DBL_MIN_EXP): Likewise.
44543         (LDBL_MIN_EXP): Likewise.
44544         (FLT_MAX_EXP): Use macro-int-constant.
44545         (DBL_MAX_EXP): Likewise.
44546         (LDBL_MAX_EXP): Likewise.
44547         (FLT_MAX_10_EXP): Likewise.
44548         (DBL_MAX_10_EXP): Likewise.
44549         (LDBL_MAX_10_EXP): Likewise.
44550         (FLT_MAX): Use macro-constant.
44551         (DBL_MAX): Likewise.
44552         (LDBL_MAX): Likewise.
44553         (FLT_EPSILON): Use macro-constant.  Give upper bound.
44554         (DBL_EPSILON): Likewise.
44555         (LDBL_EPSILON): Likewise.
44556         (FLT_MIN): Likewise.
44557         (DBL_MIN): Likewise.
44558         (LDBL_MIN): Likewise.
44559         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44560         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44561         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44562         [ISO11] (FLT_HAS_SUBNORM): Likewise.
44563         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44564         [ISO11] (DBL_DECIMAL_DIG): Likewise.
44565         [ISO11] (FLT_DECIMAL_DIG): Likewise.
44566         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44567         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44568         [ISO11] (FLT_TRUE_MIN): Likewise.
44569         [ISO11] (LDBL_TRUE_MIN): Likewise.
44570         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44571         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44572         (SCHAR_MIN): Use macro-int-constant.  Specify type.
44573         (SCHAR_MAX): Likewise.
44574         (UCHAR_MAX): Likewise.
44575         (CHAR_MIN): Likewise.
44576         (CHAR_MAX): Likewise.
44577         (MB_LEN_MAX): Use macro-int-constant.
44578         (SHRT_MIN): Use macro-int-constant.  Specify type.
44579         (SHRT_MAX): Likewise.
44580         (USHRT_MAX): Likewise.
44581         (INT_MAX): Likewise.
44582         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
44583         bound negative.
44584         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44585         bound with "U".
44586         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44587         bound with "L".
44588         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
44589         bound negative.  Suffix upper bound with "L".
44590         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44591         bound with "UL".
44592         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44593         Specify type.
44594         [C99-based standards] (LLONG_MAX): Likewise.
44595         [C99-based standards] (ULLONG_MAX): Likewise.
44596         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
44597         == 0.
44598         [ISO11] (max_align_t): Require type.
44599         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44601         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44602         from $CFLAGS, without defining away __attribute__ calls.
44603         (checknamespace): Use $CFLAGS_namespace.
44605         * conform/conformtest.pl (@keywords): Only include C99 keywords
44606         for standards based on C99 or C11.
44608         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44609         Disable tests.
44610         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44611         UNIX98]: Likewise.
44613         * conform/conformtest.pl: Handle "macro-int-constant" and test for
44614         usability of symbols in #if.
44616         * conform/conformtest.pl: If macro or constant types start
44617         "promoted:", expect the symbol to be of the following type
44618         promoted by the integer promotions.
44620         * conform/conformtest.pl: Parse all "constant" and "macro" lines
44621         in one place.  Also handle "macro-constant".
44623         * conform/conformtest.pl: Only accept expected macro values with
44624         "==".  Parse all "macro" lines in one place.
44625         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44627         * conform/conformtest.pl: Handle braced types on "constant" lines
44628         instead of handling "typed-constant".
44629         * conform/data/signal.h-data: Use "constant" instead of
44630         "typed-constant".
44632         * conform/conformtest.pl: Handle "optional-" at start of lines in
44633         one place rather than duplicating several cases.  Handle each
44634         format of "macro" line with initial "optional-".
44636         * conform/conformtest.pl: Only accept expected constant or
44637         optional-constant values with "==".  Parse all "constant" lines in
44638         one place.  Parse all "optional-constant" lines in one place.
44639         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44640         * conform/data/fmtmsg.h-data: Likewise.
44641         * conform/data/netinet/in.h-data: Likewise.
44642         * conform/data/tar.h-data: Likewise.
44643         * conform/data/limits.h-data: Use "==" form on "constant" and
44644         "optional-constant" lines.
44646         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44647         Use -std=c99 for XOPEN2K.
44648         (@knownproblems): Remove.
44649         (newtoken): Don't check %isknown.
44651         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44652         Do not expect macro.
44653         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44654         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44655         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44656         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44657         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44658         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44659         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44660         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44661         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44662         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44663         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44664         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44665         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44666         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44667         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44668         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44669         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44670         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44671         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44672         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44673         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44674         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44675         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44676         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44677         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44678         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44679         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44680         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44681         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44682         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44683         [XPG3] (acosh): Likewise.
44684         [XPG3] (asinh): Likewise.
44685         [XPG3] (atanh): Likewise.
44686         [XPG3] (cbrt): Likewise.
44687         [XPG3] (expm1): Likewise.
44688         [XPG3] (ilogb): Likewise.
44689         [XPG3] (log1p): Likewise.
44690         [XPG3] (logb): Likewise.
44691         [XPG3] (nextafter): Likewise.
44692         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44693         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44694         [XPG3] (remainder): Likewise.
44695         [XPG3] (rint): Likewise.
44696         [XPG3 || XPG4 || UNIX98] (round): Likewise.
44697         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44698         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44699         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44700         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44701         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44702         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44703         [UNIX98 || XOPEN2K] (scalb): Expect.
44704         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44705         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44706         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44707         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44708         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44709         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44710         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44711         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44712         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44713         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44714         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44715         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44716         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44717         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44718         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44719         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44720         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44721         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44722         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44723         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44724         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44725         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44726         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44727         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44728         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44729         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44730         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44731         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44732         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44733         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44734         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44735         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44736         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44737         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44738         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44739         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44740         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44741         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44742         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44743         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44744         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44745         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44746         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44747         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44748         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44749         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44750         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44751         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44752         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44753         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44754         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44755         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44756         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44757         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44758         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44759         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44760         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44761         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44762         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44763         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44764         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44765         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44766         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44767         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44768         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44769         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44770         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44771         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44772         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44773         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44774         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44775         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44776         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44777         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44778         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44779         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44780         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44781         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44782         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44783         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44784         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44785         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44786         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44787         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44788         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44789         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44790         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44791         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44792         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44793         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44794         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44795         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44796         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44797         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44798         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44799         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44800         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44801         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44802         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44803         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44804         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44805         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44806         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44807         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44808         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44809         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44810         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44811         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44812         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44813         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44814         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44815         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44816         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44817         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44818         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44819         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44820         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44821         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44822         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44823         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44824         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44825         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44826         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44827         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44828         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44829         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44830         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44831         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44832         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44833         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44834         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44835         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44836         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44837         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44838         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44839         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44840         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44842         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44843         _XOPEN_SOURCE_EXTENDED for XPG4.
44845         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44847         * Makeconfig (localtime): Remove variable.
44848         (inst_localtime-file): Likewise.
44850 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44852         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44853         Update.
44854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44855         Update.
44856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44857         Update.
44858         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44859         Update.
44860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44861         Update.
44862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44863         Update.
44864         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44865         Update.
44866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44867         Update.
44868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44869         Update.
44871 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44873         [BZ #2550]
44874         [BZ #2570]
44875         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44876         comparisons to determine direction to adjust input.
44877         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44878         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44879         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44880         Likewise.
44881         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44882         Likewise.
44883         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44884         Likewise.
44885         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44886         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44887         Likewise.
44888         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44889         Likewise.
44890         * math/libm-test.inc (nexttoward_test): Add more tests.
44892 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44894         [BZ #14040]
44895         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44896         in version GLIBC_2.1, not GLIBC_2.0.
44897         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44898         Likewise.
44900 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44902         [BZ #13942]
44903         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44904         (1 - x) * (1 + x).
44905         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44906         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44907         * math/libm-test.inc (acos_test): Add more tests.
44908         (asin_test): Likewise.
44909         * sysdeps/i386/fpu/libm-test-ulps: Update.
44910         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44912         [BZ #14034]
44913         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44914         of square root.
44915         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44916         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44917         * math/libm-test.inc (acos_test_tonearest): New function.
44918         (acos_test_towardzero): Likewise.
44919         (acos_test_downward): Likewise.
44920         (acos_test_upward): Likewise.
44921         (asin_test_tonearest): Likewise.
44922         (asin_test_towardzero): Likewise.
44923         (asin_test_downward): Likewise.
44924         (asin_test_upward): Likewise.
44925         (main): Call the new functions.
44926         * sysdeps/i386/fpu/libm-test-ulps: Update.
44927         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44929         [BZ #13884]
44930         [BZ #13924]
44931         * math/e_exp10.c: Include <float.h>.
44932         (__ieee754_exp10): Handle underflow here rather than multiplying
44933         large negative argument by M_LN10.
44934         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44935         of __ieee754_expf.
44936         * math/e_exp10l.c: Include <float.h>.
44937         (__ieee754_exp10l): Handle underflow here rather than multiplying
44938         large negative argument by M_LN10l.
44939         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44940         spurious overflow exception on underflow.
44942 2012-04-29  Marek Polacek  <polacek@redhat.com>
44944         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44945         (__fortify_function): New macro.
44946         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44947         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44948         __extern_always_inline.
44949         * libio/bits/stdio2.h: Likewise.
44950         * libio/bits/stdio.h: Likewise.
44951         * string/string.h: Likewise.
44952         * string/bits/string3.h: Likewise.
44953         * include/stdio.h: Likewise.
44954         * stdlib/bits/stdlib.h: Likewise.
44955         * stdlib/stdlib.h: Likewise.
44956         * rt/bits/mqueue2.h: Likewise.
44957         * rt/mqueue.h: Likewise.
44958         * posix/bits/unistd.h: Likewise.
44959         * posix/unistd.h: Likewise.
44960         * io/bits/poll2.h: Likewise.
44961         * io/bits/fcntl2.h: Likewise.
44962         * io/fcntl.h: Likewise.
44963         * io/sys/poll.h: Likewise.
44964         * misc/bits/syslog.h: Likewise.
44965         * misc/bits/syslog-ldbl.h: Likewise.
44966         * misc/sys/syslog.h: Likewise.
44967         * socket/bits/socket2.h: Likewise.
44968         * socket/sys/socket.h: Likewise.
44969         * debug/tst-chk1.c: Likewise.
44970         * wcsmbs/bits/wchar2.h: Likewise.
44971         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44972         * wcsmbs/wchar.h: Likewise.
44974 2012-04-29  Andreas Jaeger  <aj@suse.de>
44976         * Makerules (tests): Remove enable-check-abi protection.
44977         (check-abi-warn): Remove.
44978         (check-abi-%): Remove check-abi-warn usage.
44980         * configure.in: Remove check-abi configure option.
44981         * configure: Regenerated.
44982         * config.make.in (enable-check-abi): Remove.
44984 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44986         [BZ #14033]
44987         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44988         double functions to double *_finite functions.
44990         [BZ #13941]
44991         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44992         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44993         LDBL_MIN_EXP.
44994         * stdio-common/Makefile (tests): Add tst-sprintf3.
44995         * stdio-common/tst-sprintf3.c: New file.
44997         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44998         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
45000 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45002         * conform/conformtest.pl: Remove duplicate typed-constant
45003         handling.
45005 2012-04-28  David S. Miller  <davem@davemloft.net>
45007         * Makerules (%.abilist): Add vpath on sysdep_dirs.
45008         (check-abi-%): Remove AWK script prerequisite and explicit
45009         abilist directory.
45010         (check-abi): Rewrite to just diff the symlist with the abilist.
45011         (config-tls, config-abi-config): Delete, no longer used.
45012         (update-abi-%): Remove AWK script and explicit abilist directory.
45013         (update-abi): Rewrite to simply compare and conditionally copy the
45014         symlist and the sysdep abilist file.  Remove update-abi-config
45015         checks.
45016         * abilist/ld.abilist: Remove.
45017         * abilist/libBrokenLocale.abilist: Remove.
45018         * abilist/libanl.abilist: Remove.
45019         * abilist/libcrypt.abilist: Remove.
45020         * abilist/libdl.abilist: Remove.
45021         * abilist/librt.abilist: Remove.
45022         * abilist/libthread_db.abilist: Remove.
45023         * abilist/libutil.abilist: Remove.
45024         * scripts/extract-abilist.awk: Remove.
45025         * scripts/merge-abilist.awk: Remove.
45026         * sysdeps/generic/libcidn.abilist: New file.
45027         * sysdeps/generic/libnss_compat.abilist: New file.
45028         * sysdeps/generic/libnss_db.abilist: New file.
45029         * sysdeps/generic/libnss_dns.abilist: New file.
45030         * sysdeps/generic/libnss_files.abilist: New file.
45031         * sysdeps/generic/libnss_hesiod.abilist: New file.
45032         * sysdeps/generic/libnss_nis.abilist: New file.
45033         * sysdeps/generic/libnss_nisplus.abilist: New file.
45034         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
45035         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
45036         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
45037         file.
45038         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
45039         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
45040         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
45041         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
45042         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
45043         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
45044         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
45045         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
45046         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
45047         file.
45048         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
45049         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
45050         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
45051         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
45052         file.
45053         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
45054         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
45055         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
45056         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
45057         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
45058         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
45059         file.
45060         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
45061         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
45062         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
45063         file.
45064         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
45065         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
45066         New file.
45067         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
45068         New file.
45069         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
45070         New file.
45071         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
45072         New file.
45073         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
45074         New file.
45075         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
45076         New file.
45077         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
45078         New file.
45079         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
45080         New file.
45081         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
45082         New file.
45083         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
45084         New file.
45085         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
45086         New file.
45087         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
45088         New file.
45089         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
45090         New file.
45091         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
45092         file.
45093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
45094         New file.
45095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
45096         New file.
45097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
45098         file.
45099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
45100         New file.
45101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
45102         New file.
45103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
45104         file.
45105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
45106         New file.
45107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
45108         New file.
45109         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
45110         New file.
45111         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
45112         New file.
45113         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
45114         New file.
45115         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
45116         New file.
45117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
45118         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
45119         file.
45120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45121         New file.
45122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
45123         file.
45124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
45125         file.
45126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
45127         file.
45128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
45129         file.
45130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
45131         file.
45132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45133         New file.
45134         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
45135         file.
45136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
45137         file.
45138         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45139         New file.
45140         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
45141         file.
45142         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
45143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
45144         file.
45145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45146         New file.
45147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
45148         file.
45149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
45150         file.
45151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
45152         file.
45153         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
45154         file.
45155         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
45156         file.
45157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45158         New file.
45159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
45160         file.
45161         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
45162         file.
45163         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45164         New file.
45165         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
45166         file.
45167         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
45168         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
45169         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
45170         file.
45171         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
45172         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
45173         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
45174         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
45175         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
45176         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
45177         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
45178         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
45179         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
45180         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
45181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
45182         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
45183         file.
45184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45185         New file.
45186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
45187         file.
45188         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
45189         file.
45190         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
45191         file.
45192         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
45193         file.
45194         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
45195         file.
45196         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45197         New file.
45198         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45199         New file.
45200         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
45201         file.
45202         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45203         New file.
45204         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
45205         file.
45206         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
45207         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
45208         file.
45209         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
45210         New file.
45211         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
45212         file.
45213         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
45214         file.
45215         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
45216         file.
45217         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
45218         file.
45219         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
45220         file.
45221         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
45222         New file.
45223         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
45224         New file.
45225         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
45226         file.
45227         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
45228         New file.
45229         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
45230         file.
45232 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
45234         * conform/conformtest.pl: Fix typo in handling typed-constant from
45235         allow-header.
45237 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45239         * README: Cut down references to pre-2.6 Linux kernels and
45240         Linuxthreads.  Update lists of configurations in libc and ports
45241         and sort alphabetically.  Say "or newer" with Linux kernel version
45242         requirements.
45244         * config.h.in [IS_IN_build]: Allow compiling without optimization.
45246 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
45248         [BZ #887]
45249         * math/libm-test.inc (logb_test_downward): New test to expose
45250         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
45251         rounding mode.
45253 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45255         [BZ #14027]
45256         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45257         to be done.
45258         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45259         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45261 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
45263         * sysdeps/unix/i386/brk.S: Remove file.
45264         * sysdeps/unix/i386/dl-brk.S: Likewise.
45265         * sysdeps/unix/i386/pipe.S: Likewise.
45266         * sysdeps/unix/i386/sigreturn.S: Likewise.
45267         * sysdeps/unix/i386/syscall.S: Likewise.
45268         * sysdeps/unix/i386/vfork.S: Likewise.
45269         * sysdeps/unix/i386/wait.S: Likewise.
45271         * sysdeps/unix/common/tcsendbrk.c: Move to ...
45272         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45274         * configure.in (arm*-none*): Do not allow without
45275         --enable-hacker-mode.
45276         (netbsd*): Remove case setting base_os.
45277         (386bsd*): Likewise.
45278         (freebsd*): Likewise.
45279         (bsdi*): Likewise.
45280         (osf*): Likewise.
45281         (sunos*): Likewise.
45282         (ultrix*): Likewise.
45283         (newsos*): Likewise.
45284         (dynix*): Likewise.
45285         (*bsd*): Likewise.
45286         (sysv*): Likewise.
45287         (isc*): Likewise.
45288         (esix*): Likewise.
45289         (sco*): Likewise.
45290         (minix*): Likewise.
45291         (irix4*): Likewise.
45292         (irix6*): Likewise.
45293         (solaris[2-9]*): Likewise.
45294         (none): Likewise.
45295         * configure: Regenerated.
45297 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45299         [BZ #11521]
45300         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45301         overflow or cancellation in calculating denominator.
45302         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45303         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45304         down expression to avoid unexpected rounding in newer GCCs.
45305         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45307 2012-04-26  David S. Miller  <davem@davemloft.net>
45309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45310         long-double compat symbols.
45311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45312         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45314         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45318         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45319         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45320         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45322         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45325 2012-04-25  David S. Miller  <davem@davemloft.net>
45327         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45328         HWCAP_* values only after the memory barriers have been defined.
45329         (atomic_full_barrier): Define.
45330         (atomic_read_barrier): Define.
45331         (atomic_write_barrier): Define.
45333 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45335         * shlib-versions: Add libgcc_s version information.
45336         * sysdeps/generic/libgcc_s.h: Remove.
45337         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45338         libgcc_s.h.
45339         * sysdeps/gnu/unwind-resume.c: Likewise.
45340         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45342 2012-04-25  David S. Miller  <davem@davemloft.net>
45344         * sysdeps/unix/sparc/brk.S: Delete.
45345         * sysdeps/unix/sparc/dl-brk.S: Delete.
45346         * sysdeps/unix/sparc/pipe.S: Delete.
45347         * sysdeps/unix/sparc/sysdep.S: Delete.
45348         * sysdeps/unix/sparc/sysdep.h: Delete.
45349         * sysdeps/unix/sparc/vfork.S: Delete.
45350         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45351         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45352         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45353         (ret_ERRVAL, r0, r1, MOVE): Define.
45354         (JUMPTARGET): Remove.
45355         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45356         sysdeps/unix/sparc/sysdep.h
45357         (ENTRY, END): Remove.
45358         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45360 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
45362         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45363         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45364         -DIS_IN_build.
45366         * timezone/README: Update upstream location and email address for
45367         tzcode and tzdata.
45368         * timezone/zdump.c: Update from tzcode 2012b.
45369         * timezone/zic.c: Likewise.
45371         * configure.in (libc_cv_as_needed): Remove test.
45372         * configure: Regenerated.
45373         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45374         conditional definition.
45375         [$(have-as-needed) != yes] (no-as-needed): Likewise.
45376         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45377         * config.make.in (have-as-needed): Remove variable.
45379 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45380             Paul Pluzhnikov  <ppluzhnikov@google.com>
45382         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45383         strings correctly.
45385 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
45387         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45388         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45389         * sysdeps/sh/strlen.S: Likewise.
45391 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45393         * sysdeps/unix/fork.S: Remove file.
45394         * sysdeps/unix/i386/fork.S: Likewise.
45395         * sysdeps/unix/sparc/fork.S: Likewise.
45397         * sysdeps/unix/system.c: Remove file.
45398         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45400         * sysdeps/unix/getegid.S: Remove file.
45401         * sysdeps/unix/geteuid.S: Likewise.
45403 2012-04-24  Roland McGrath  <roland@hack.frob.com>
45405         * scripts/check-localplt.awk: New file.
45406         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45407         of diff.
45408         * scripts/data/localplt-generic.data: Add a comment.
45410         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45411         NODE when __dir_mkfile failed.
45412         * sysdeps/mach/hurd/symlinkat.c: Likewise.
45413         Reported by Ludovic Courtès <ludo@gnu.org>.
45415 2012-04-24  Andreas Jaeger  <aj@suse.de>
45417         * Makerules (common-clean): Also remove gen-as-const-headers
45418         files.
45420 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45422         * Makerules (native-compile): Do not change working directory for
45423         build.  Use $(OUTPUT_OPTION) in command.
45424         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45426 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45428         [BZ #13886]
45429         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45430         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45431         * math/libm-test.inc (floor_test): Add more tests.
45432         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45434 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45436         * sysdeps/unix/getdents.c: Remove file.
45437         * sysdeps/unix/sysv/getdents.c: Likewise.
45438         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45440         * sysdeps/unix/syscalls.list (madvise): Add syscall from
45441         sysdeps/unix/mman/syscalls.list.
45442         (mmap): Likewise.
45443         (mprotect): Likewise.
45444         (msync): Likewise.
45445         (munmap): Likewise.
45446         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45447         * sysdeps/unix/mman/syscalls.list: Remove.
45448         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45450         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45451         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45452         * configure: Regenerated.
45453         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45454         $(libgcc_s_suffix).
45455         * config.make.in (libgcc_s_suffix): Remove variable.
45457 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
45459         * sysdeps/unix/sysv/gethostname.c: Move to ...
45460         * sysdeps/posix/gethostname.c: ... here.
45462         * sysdeps/unix/execve.S: Remove file.
45464         * sysdeps/unix/_exit.S: Remove file.
45466 2012-04-23  Andreas Jaeger  <aj@suse.de>
45468         [BZ #13739]
45469         * manual/Makefile: Remove make dist support, there's no
45470         need for a stand-alone documentation tar ball.
45471         (TEXI2DVI): Define always, it's not in Makeconfig.
45472         (dist): Removed.
45473         (tar-it): Removed.
45474         (edition): Removed.
45475         (glibc-doc-$(edition).tar): Removed
45476         (%.Z): Removed.
45477         (%.gz): Removed.
45478         (%.uu): Removed.
45479         (ETAGS): Remove, it's in Makeconfig.
45480         (move-if-change): Remove, it's in Makeconfig.
45482 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
45484         [BZ #13970]
45485         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45486         (strtod, strtof, strtold, strtol, strtoul, strtoq)
45487         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45488         (strtod_l, strtof_l, strtold_l): Remove __wur.
45489         It is not necessarily an error to ignore strtol's return value.
45490         One can reliably look at the stored endptr to decide whether
45491         the number had valid syntax.
45493 2012-04-21  Andreas Jaeger  <aj@suse.de>
45495         [BZ #13739]
45496         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45498 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
45500         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45501         * sysdeps/unix/sysv/Versions: Remove file.
45503 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
45505         [BZ #13927]
45506         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45508 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
45510         [BZ #7064]
45511         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45512         version from __vm86.
45514 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
45516         * sysdeps/unix/common/lxstat.c: Remove file.
45517         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45519         * sysdeps/unix/sysv/Makefile: Remove file.
45521         * sysdeps/unix/sysv/direct.h: Remove file.
45523         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45524         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45525         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45526         * sysdeps/unix/sysv/bits/signum.h: Likewise.
45527         * sysdeps/unix/sysv/bits/stat.h: Likewise.
45528         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45529         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45531         * sysdeps/unix/sysv/setrlimit.c: Remove file.
45533         * sysdeps/unix/xmknod.c: Remove file.
45534         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45536         * sysdeps/unix/sysv/settimeofday.c: Remove file.
45538         * sysdeps/unix/sysv/i386/time.S: Remove file.
45540         * sysdeps/unix/fxstat.c: Remove file.
45541         * sysdeps/unix/xstat.c: Likewise.
45542         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45544         * sysdeps/unix/sysv/sigaction.c: Remove file.
45546         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45547         (sysdep_headers): Remove variable.
45548         [termio.h not in sysdep_headers] (generated): Likewise.
45549         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45550         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45551         * sysdeps/unix/sysv/tcdrain.c: Likewise.
45552         * sysdeps/unix/sysv/tcflow.c: Likewise.
45553         * sysdeps/unix/sysv/tcflush.c: Likewise.
45554         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45555         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45556         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45557         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45558         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45560         * sysdeps/unix/siglist.c: Remove file.
45562         * sysdeps/unix/getppid.S: Remove file.
45564         * sysdeps/unix/mkdir.c: Remove file.
45565         * sysdeps/unix/rmdir.c: Likewise.
45567 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
45569         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45570         ERR_MAX value.
45571         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45572         errlist-compat value.
45574 2012-04-18  David S. Miller  <davem@davemloft.net>
45576         * sysdeps/generic/memcopy.h (reg_char): Delete.
45577         * debug/strcat_chk.c: Use char, not reg_char.
45578         * debug/strcpy_chk.c: Likewise.
45579         * debug/strncat_chk.c: Likewise.
45580         * debug/strncpy_chk.c: Likewise.
45581         * string/memchr.c: Likewise.
45582         * string/memrchr.c: Likewise.
45583         * string/rawmemchr.c: Likewise.
45584         * string/strcat.c: Likewise.
45585         * string/strchr.c: Likewise.
45586         * string/strchrnul.c: Likewise.
45587         * string/strcmp.c: Likewise.
45588         * string/strcpy.c: Likewise.
45589         * string/strncat.c: Likewise.
45590         * string/strncmp.c: Likewise.
45591         * string/strncpy.c: Likewise.
45593 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45595         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45596         __builtin_memcopy is called when src and dest ranges are known to not
45597         overlap.
45599 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45601         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45602         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45603         fwd_align_merge macro call.
45604         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45605         bwd_align_merge macro call.
45606         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45608 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45610         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45611         bwd_align_merge macros.
45612         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45613         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45614         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45616 2012-04-18  David S. Miller  <davem@davemloft.net>
45618         * sysdeps/sparc/sparc64/memcopy.h: Delete.
45620 2012-04-18  Andreas Jaeger  <aj@suse.de>
45622         [BZ# 6794]
45623         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45624         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45625         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45627         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45628         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45629         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45631         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45632         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45633         Adjust for changed ldbl-128 files.
45635         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45636         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45637         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45639 2012-04-17  David S. Miller  <davem@davemloft.net>
45641         * sysdeps/sparc/sparc32/memcopy.h: Delete.
45643 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
45645         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45646         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45647         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45648         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45649         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45650         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45652 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45654         [BZ #6794]
45655         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45656         * math/libm-test.inc: Add ilogb errno and exception tests.
45657         * math/w_ilogb.c: New file: ilogb wrapper.
45658         * math/w_ilogbf.c: New file: ilogbf wrapper.
45659         * math/w_ilogbl.c: New file: ilogbl wrapper.
45660         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45661         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45662         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45663         exception being thrown with 0.0 as argument.
45664         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45665         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45666         exception being thrown with 0.0 as argument.
45667         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45668         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45669         exception being thrown with 0.0 as argument.
45670         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45671         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45672         exception being thrown with 0.0 as argument.
45673         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45674         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45675         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45676         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45677         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45678         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45679         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45680         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45681         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45683 2012-04-17  Petr Baudis  <pasky@ucw.cz>
45685         * include/sys/uio.h: Change __vector to __iovec to avoid clash
45686         with altivec.
45688 2012-04-16  Marek Polacek  <polacek@redhat.com>
45690         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45692 2012-04-16  Marek Polacek  <polacek@redhat.com>
45694         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45695         operands of fdivp instruction.
45697 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45699         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45700         * elf/tst-auditmod3b.c: Likewise.
45701         * elf/tst-auditmod4b.c: Likewise.
45702         * elf/tst-auditmod5b.c: Likewise.
45703         * elf/tst-auditmod6b.c: Likewise.
45704         * elf/tst-auditmod6c.c: Likewise.
45705         * elf/tst-auditmod7b.c: Likewise.
45706         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45707         * sysdeps/x86_64/preconfigure.in: Likewise.
45708         * sysdeps/x86_64/preconfigure: Regenerated.
45710 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45712         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45713         __ILP32__.
45715 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
45717         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45718         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45720 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
45722         [BZ #13973]
45723         * locale/iso-639.def: Fix gl language name. Spotted by
45724         Yaron Shahrabani.
45726 2012-04-12  Roland McGrath  <roland@hack.frob.com>
45728         [BZ #2074]
45729         * libio/libio.h (__io_write_fn): Update comment.
45731 2012-04-12  Petr Baudis  <pasky@ucw.cz>
45733         [BZ #2074]
45734         * stdio.texi (Hook Functions): The user provided writer function
45735         is not allowed to return -1.
45737 2012-04-11  David S. Miller  <davem@davemloft.net>
45739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45741 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
45743         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45744         Add a leading slash to rtkaio.
45746 2012-04-11  Jim Meyering  <meyering@redhat.com>
45748         [BZ #11959]
45749         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45750         It is not necessarily an error to ignore fwrite's return
45751         value.  One can reliably use ferror to test for errors after
45752         the fact.
45754 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45756         * bits/types.h (__snseconds_t): New type.
45757         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45759         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45760         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45761         (__SNSECONDS_T_TYPE): Likewise.
45762         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45763         (__SNSECONDS_T_TYPE): Likewise.
45764         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45765         (__SNSECONDS_T_TYPE): Likewise.
45767 2012-04-10  Andreas Jaeger  <aj@suse.de>
45769         [BZ #2636]
45770         * manual/time.texi (Processor Time): Return type of times is
45771         elapsed real time since an arbitrary point in the past.
45772         (CPU Time): Move CLK_TCK from here...
45773         (Processor Time): ...to here.  Correct description.
45774         * manual/conf.texi (Constants for Sysconf): Correct description of
45775         _SC_CLK_TCK.
45777 2012-04-10  David S. Miller  <davem@davemloft.net>
45779         [BZ #13967]
45780         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45781         where the is a gap between DT_REL(A) and DT_JMPREL.
45783 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45785         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45786         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45787         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45789 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45791         * elf/dl-support.c (_dl_inhibit_cache): New variable.
45792         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45793         (dl_main): Handle --inhibit-cache.
45794         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45795         _dl_inhibit_cache.
45796         * elf/dl-load.c (_dl_map_object): Use it.
45797         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45799 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45801         [BZ #13872]
45802         * sysdeps/i386/fpu/e_powl.S (p78): New object.
45803         (__ieee754_powl): Saturate large exponents rather than testing for
45804         overflow of y*log2(x).
45805         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45806         * math/libm-test.inc (pow_test): Do not permit spurious overflow
45807         exceptions.
45809         [BZ #11521]
45810         * math/s_ctan.c: Include <float.h>.
45811         (__ctan): Avoid internal overflow or cancellation in calculating
45812         denominator.
45813         * math/s_ctanf.c: Likewise.
45814         * math/s_ctanl.c: Likewise.
45815         * math/s_ctanh.c: Likewise.
45816         * math/s_ctanhf.c: Likewise.
45817         * math/s_ctanhl.c: Likewise.
45818         * math/libm-test.inc (ctan_test): Add more tests.
45819         (ctanh_test): Likewise.
45820         * sysdeps/i386/fpu/libm-test-ulps: Update.
45821         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45823 2012-04-09  Andreas Jaeger  <aj@suse.de>
45825         [BZ #6894]
45826         * manual/filesys.texi (Directory Entries): Mention that d_namlen
45827         is an optional BSD extension.
45829         [BZ #10254]
45830         * manual/stdio.texi (Opening Streams): Document additional fopen
45831         parameters.
45833 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45835         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45836         %eax without telling the compiler.
45838 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45840         [BZ # 13963]
45841         * manual/install.texi: Use sourceware.org.
45843 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45845         [BZ #13873]
45846         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45847         (__ieee754_pow): Generate overflow and underflow using huge*huge
45848         and tiny*tiny rather than just returning constant infinity or zero
45849         for large exponents.
45850         * math/libm-test.inc (pow_test): Require overflow exceptions for
45851         applicable cases of large exponents.
45853         [BZ #706]
45854         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45855         (__ieee754_pow): Use iterative multiplication algorithm only for
45856         integer exponents with absolute value below 1024.  Check for odd
45857         integer exponents when using algorithm for real exponents.
45858         * math/libm-test.inc (pow_test): Add more tests.
45859         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45861 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45863         [BZ #13705]
45864         * math/libm-test.inc (exp_test): Do not allow overflow exception
45865         on underflow test.
45867 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45869         [BZ #13705]
45870         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45871         instead of __kernel_standard_f.
45873 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45875         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45876         * sysdeps/x86_64/memset_chk.S: Likewise.
45878 2012-04-08  Andreas Jaeger  <aj@suse.de>
45880         [BZ #10153]
45881         * manual/startup.texi (Environment Access): Describe return value
45882         for putenv and setenv.
45884         [BZ #6895]
45885         * manual/filesys.texi (Directory Entries): Add description for
45886         DT_LNK.
45888         [BZ #6890]
45889         * manual/filesys.texi (Directory Entries): Clarify that it's file
45890         system not operating system in the description of DT_UNKNOWN.
45892         [BZ #6578]
45893         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45895 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45897         [BZ #6649]
45898         * manual/llio.texi (Opening and Closing Files): Add cross
45899         reference to explain mode argument.
45901 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45903         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45904         * sysdeps/x86_64/memset_chk.S: Likewise.
45906 2012-04-07  David S. Miller  <davem@davemloft.net>
45908         * elf/elf.h (R_SPARC_WDISP10): Define.
45909         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45910         R_SPARC_SIZE32.
45911         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45912         R_SPARC_SIZE64 and R_SPARC_H34.
45914 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45916         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45917         conditions and remove no longer applicable assertion.
45919 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45921         * bits/byteswap.h: Include <features.h>.
45922         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45923         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45925 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45927         * bits/byteswap.h (__bswap_16): Removed.
45928         Include <bits/byteswap-16.h> to get __bswap_16.
45929         * sysdeps/i386/bits/byteswap.h: Likewise.
45930         * sysdeps/s390/bits/byteswap.h: Likewise.
45931         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45932         * bits/byteswap-16.h: New file.
45933         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45934         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45935         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45936         * string/Makefile (headers): Add bits/byteswap-16.h.
45938 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45940         [BZ #13895]
45941         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45942         extra indirection.
45943         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45944         * nss/tst-nss-static.c: New.
45946 2012-04-06  Robert Millan  <rmh@gnu.org>
45948         [BZ #6486]
45949         * manual/llio.texi (File Position Primitive): lseek
45950         refers to WHENCE when it really means OFFSET.
45952 2012-04-06  Andreas Jaeger  <aj@suse.de>
45954         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45955         strncmp declarations.
45957         * abilist/libc.abilist: Add __poll and __ppoll.
45959 2012-04-05  David S. Miller  <davem@davemloft.net>
45961         * scripts/check-local-headers.sh: Accept a host triplet in the
45962         path matched by the exclude regexp.
45964         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45965         definition.
45966         * sysdeps/powerpc/powerpc32/dl-machine.h
45967         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45968         * sysdeps/s390/s390-32/dl-machine.h
45969         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45970         * sysdeps/sparc/sparc32/dl-machine.h
45971         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45972         * sysdeps/sparc/sparc64/dl-machine.h
45973         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45975         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45976         lazy binding.
45977         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45978         undefined symbol errors.
45980         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45981         DT_NEEDED entries.
45983 2012-04-05  Michael Matz  <matz@suse.de>
45985         [BZ #13592]
45986         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45988 2012-04-05  Andreas Jaeger  <aj@suse.de>
45990         [BZ #13908]
45991         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45992         comment.
45994 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45996         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45997         which ROUND is no valid rounding mode.
45999 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46001         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
46002         read again.
46003         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
46005 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46007         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
46008         an exception using FPU order intentionally.
46010 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
46012         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
46013         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
46014         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
46015         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
46017 2012-04-05  Simon Josefsson  <simon@josefsson.org>
46019         [BZ #12340]
46020         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
46021         EINVAL when BUFLEN is too smal.
46023 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
46025         [BZ #13553]
46026         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
46027         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
46029 2012-04-03  Andreas Jaeger  <aj@suse.de>
46031         [BZ #13938]
46032         * manual/setjmp.texi (System V contexts): Fix sentence.
46034         [BZ #13926]
46035         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
46036         New macro for this case.
46037         [!__GNUC__] (__bswap_64): New inline function for this case.
46038         * sysdeps/x86_64/bits/byteswap.h: Likewise.
46039         * bits/byteswap.h: Likewise.
46040         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
46041         ull, guard with __GLIBC_HAVE_LONG_LONG.
46043         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
46044         __GLIBC_HAVE_LONG_LONG.
46046         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
46047         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
46049 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
46051         [BZ #13691]
46052         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
46053         inptr and inend, rather than using last_ch.
46055 2012-04-02  David S. Miller  <davem@davemloft.net>
46057         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
46058         * stdio-common/printf-parse.h (read_int): Change return type to
46059         'int', return -1 on INT_MAX overflow.
46060         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
46061         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
46062         overflows INT_MAX.  Check for overflow of in-format-string precision
46063         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
46064         SIZE_MAX not INT_MAX for integer overflow test.
46065         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
46066         skip the construct in the format string but do not record anything.
46067         * stdio-common/bug22.c: Adjust to test both width/prevision
46068         INT_MAX overflow as well as total length INT_MAX overflow.  Check
46069         explicitly for proper errno values.
46071 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
46073         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
46074         CHAR_MAX.
46075         * string/test-strcmp.c [! WIDE]: Likewise.
46076         * time/tst-mktime2.c: Likewise for INT_MAX.
46077         * string/test-string.h: #include <sys/param.h> for MIN.
46079         * csu/init-first.c (__libc_init_first): Call __ctype_init.
46080         * sysdeps/i386/init-first.c (init): Likewise.
46081         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
46082         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
46083         * sysdeps/sh/init-first.c (init): Likewise.
46085 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
46087         * po/ru.po: Update from translation team.
46088         * po/vi.po: Likewise.
46090 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
46092         * resolv/nss_dns/dns-host.c: Merge copyright years.
46094 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
46096         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
46097         Optimize memcpy with prefetch if
46098         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
46099         src, dst pointers have unequal 16 byte alignments.
46101 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
46103         [BZ #13928]
46104         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
46105         from a CNAME entry and return the minimum ttl for the query.
46106         (gaih_getanswer_slice): Likewise.
46108 2012-03-30  Jeff Law  <law@redhat.com>
46110         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
46111         due to long keys.
46112         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
46113         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
46115         * resolv/nss_dns/dns-host.c: Update copyright year.
46117 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
46119         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
46120         requests to save a system call.  Fix check that all bytes are sent.
46122         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
46123         comments for sendmmsg.
46125 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
46127         [BZ #13691]
46128         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
46129         with only 1 character between 0x0041 and 0x01b0.
46130         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
46131         * wcsmbs/tst-mbsnrtowcs.c: New file.
46133 2012-03-29  David S. Miller  <davem@davemloft.net>
46135         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
46136         small copies by hand.
46138 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
46140         [BZ #13761]
46141         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
46142         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
46143         group memberships.
46145 2012-03-28  David S. Miller  <davem@davemloft.net>
46147         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
46148         that branches into memcpy.
46149         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
46150         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
46151         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
46152         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
46153         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
46154         bits.
46155         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
46156         implementation too.
46157         * sysdeps/sparc/mempcpy.S: New file.
46159         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
46160         the IFUNC routine in the libc case.
46161         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46163         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
46164         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
46165         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
46166         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
46167         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
46168         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
46169         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
46170         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
46172         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
46173         loop to 256 bytes instead of 64 bytes and fix test signedness.
46175         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
46176         * sysdeps/sparc/sparc32/Makefile: rather than here...
46177         * sysdeps/sparc/sparc64/Makefile: and here.
46179 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
46181         * malloc/mallocbug.c: Avoid warnings about unused variables.
46183 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
46185         [BZ #13760]
46186         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
46187         in the right place. Discard and retry query if response is
46188         larger than input buffer size.
46190 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
46192         [BZ #369]
46193         [BZ #2678]
46194         [BZ #3866]
46195         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
46196         x for large integer exponent.
46197         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46198         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
46199         sign of result as needed afterwards.
46200         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
46201         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
46202         result for underflowing pow the same as for overflow.
46203         (__kernel_standard_l): Handle powl overflow and underflow here
46204         rather than calling __kernel_standard.
46205         * math/libm-test.inc (pow_test): Add more tests.
46207         [BZ #3868]
46208         [BZ #13879]
46209         [BZ #13910]
46210         [BZ #13911]
46211         [BZ #13912]
46212         [BZ #13913]
46213         [BZ #13915]
46214         [BZ #13916]
46215         [BZ #13917]
46216         [BZ #13918]
46217         [BZ #13919]
46218         [BZ #13920]
46219         [BZ #13921]
46220         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
46221         * sysdeps/ieee754/k_standard.c: Include <float.h>.
46222         (__kernel_standard_l): New function.
46223         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
46224         __kernel_standard.
46225         * math/w_acosl.c (__acosl): Likewise.
46226         * math/w_asinl.c (__asinl): Likewise.
46227         * math/w_atan2l.c (__atan2l): Likewise.
46228         * math/w_atanhl.c (__atanhl): Likewise.
46229         * math/w_coshl.c (__coshl): Likewise.
46230         * math/w_exp10l.c (__exp10l): Likewise.
46231         * math/w_exp2l.c (__exp2l): Likewise.
46232         * math/w_fmodl.c (__fmodl): Likewise.
46233         * math/w_hypotl.c (__hypotl): Likewise.
46234         * math/w_j0l.c (__j0l, __y0l): Likewise.
46235         * math/w_j1l.c (__j1l, __y1l): Likewise.
46236         * math/w_jnl.c (__jnl, __ynl): Likewise.
46237         * math/w_lgammal.c (__lgammal): Likewise.
46238         * math/w_log10l.c (__log10l): Likewise.
46239         * math/w_log2l.c (__log2l): Likewise.
46240         * math/w_logl.c (__logl): Likewise.
46241         * math/w_powl.c (__powl): Likewise.
46242         * math/w_remainderl.c (__remainderl): Likewise.
46243         * math/w_scalbl.c (sysv_scalbl): Likewise.
46244         * math/w_sinhl.c (__sinhl): Likewise.
46245         * math/w_sqrtl.c (__sqrtl): Likewise.
46246         * math/w_tgammal.c (__tgammal): Likewise.
46247         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
46248         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
46249         * math/libm-test.inc (acos_test): Add more tests.
46250         (acosh_test): Likewise.
46251         (asin_test): Likewise.
46252         (atanh_test): Likewise.
46253         (exp_test): Likewise.
46254         (exp10_test): Likewise.
46255         (exp2_test): Likewise.
46256         (expm1_test): Likewise.
46257         (lgamma_test): Likewise.
46258         (log_test): Likewise.
46259         (log10_test): Likewise.
46260         (log1p_test): Likewise.
46261         (log2_test): Likewise.
46262         (pow_test): Do not allow some spurious overflow exceptions.
46263         (sqrt_test): Add more tests.
46264         (tgamma_test): Likewise.
46265         (y0_test): Likewise.
46266         (y1_test): Likewise.
46267         (yn_test): Likewise.
46269 2012-03-27  Anton Blanchard  <anton@samba.org>
46271         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46272         MAP_HUGETLB.
46273         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46274         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46275         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46277 2012-03-27  David S. Miller  <davem@davemloft.net>
46279         * conform/Makefile: Run run-conformtest.sh using $(BASH).
46281         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46282         have-as-vis3 check.
46284 2012-03-27  Andreas Jaeger  <aj@suse.de>
46286         * sysdeps/x86_64/elf/configure.in: Moved to ...
46287         * sysdeps/x86_64/configure.in: ... here.
46288         * sysdeps/x86_64/elf/start.S: Moved to ...
46289         * sysdeps/x86_64/start.S: ... here.
46290         * sysdeps/x86_64/elf/configure: Delete.
46292         * sysdeps/x86_64/configure.in: Merge contents from
46293         sysdeps/i386/configure.in (without i686 check).
46295         * sysdeps/i386/elf/Versions: Merge into ...
46296         * sysdeps/i386/Versions: ... this.
46297         * sysdeps/i386/elf/Versions: Delete file.
46298         * sysdeps/i386/elf/start.S: Moved to ...
46299         * sysdeps/i386/start.S: ...here.
46300         * sysdeps/i386/elf/configure.in: Merge into...
46301         * sysdeps/i386/configure.in: ...here.
46302         * sysdeps/i386/elf/configure.in: Delete file.
46303         * sysdeps/i386/elf/configure: Delete file.
46305         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46306         * debug/backtracesyms.c: ... here.
46307         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46308         * debug/backtracesymsfd.c: ... here.
46309         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46310         * sysdeps/generic/ifunc-sel.h: ... here.
46312         * sysdeps/unix/i386/start.c: Delete file.
46313         * sysdeps/unix/sparc/start.c: Delete file.
46314         * sysdeps/unix/start.c: Delete file.
46316         * sysdeps/sh/elf/configure.in: Moved to ...
46317         * sysdeps/sh/configure.in: ... here.
46318         * sysdeps/sh/elf/start.S: Moved to ...
46319         * sysdeps/sh/start.S: ... here.
46320         * sysdeps/sh/elf/configure: Delete file.
46322         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46323         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46324         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46325         * sysdeps/powerpc/powerpc64/entry.h: ... here.
46326         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46327         * sysdeps/powerpc/powerpc64/start.S: here.
46328         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46329         * sysdeps/powerpc/powerpc64/Makefile: ... this.
46330         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46331         * sysdeps/powerpc/powerpc64/configure.in: ... this.
46332         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46334         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46335         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46336         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46337         * sysdeps/powerpc/powerpc32/start.S: ... here.
46338         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46339         * sysdeps/powerpc/powerpc32/configure.in: ... this.
46340         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46342         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46343         * sysdeps/powerpc/ifunc-sel.h: ... here.
46344         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46345         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46347         * sysdeps/sparc/elf/configure.in: Moved to ...
46348         * sysdeps/sparc/configure.in: ... here.
46349         * sysdeps/sparc/elf/configure: Delete file.
46350         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46351         * sysdeps/sparc/sparc32/start.S: ... here.
46352         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46353         * sysdeps/sparc/sparc64/start.S: ... here.
46354         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46355         * sysdeps/sparc/sparc32/Makefile: ... this.
46356         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46357         * sysdeps/sparc/sparc64/Makefile: ... this.
46359         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46360         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46361         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46362         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46363         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46364         * sysdeps/s390/s390-32/setjmp.S: ... here.
46365         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46366         * sysdeps/s390/s390-32/configure.in: ... here.
46367         * sysdeps/s390/s390-32/elf/configure: Delete file.
46368         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46369         * sysdeps/s390/s390-32/start.S: ... here.
46371         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46372         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46373         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46374         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46375         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46376         * sysdeps/s390/s390-64/setjmp.S: ... here.
46377         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46378         * sysdeps/s390/s390-64/configure.in: ... here
46379         * sysdeps/s390/s390-64/elf/configure: Delete file.
46380         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46381         * sysdeps/s390/s390-64/start.S: ... here.
46382         * sysdeps/s390/s390-64/elf/configure: Delete.
46384         * configure.in: Remove support for elf directories in sysdeps.
46386         * configure: Regenerated.
46387         * sysdeps/i386/configure: Regenerated.
46388         * sysdeps/powerpc/powerpc32/configure: Regenerated.
46389         * sysdeps/powerpc/powerpc64/configure: Regenerated.
46390         * sysdeps/s390/s390-32/configure: Regenerated.
46391         * sysdeps/s390/s390-64/configure: Regenerated.
46392         * sysdeps/sh/configure: Regenerated.
46393         * sysdeps/sparc/configure: Regenerated.
46394         * sysdeps/x86_64/configure: Regenerated.
46396 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
46398         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46400         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46401         denormal result into account.
46403 2012-03-25  Roland McGrath  <roland@hack.frob.com>
46405         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46406         Reported by Allan McRae <allan@archlinux.org>.
46408 2012-03-23  Jeff Law  <law@redhat.com>
46410         * nss/getnssent.c (__nss_getent): Fix typo.
46412 2012-03-23  David S. Miller  <davem@davemloft.net>
46414         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46416 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
46418         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46419         to pad to uint64_t for each field.
46420         (dl_tls_index): Replace unsigned long with uint64_t.
46422 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
46423         Paul Pluzhnikov  <ppluzhnikov@google.com>
46425         [BZ #6528]
46426         * grp/Makefile (otherlibs): Don't set it.
46427         * inet/Makefile (otherlibs): Likewise.
46428         * login/Makefile (otherlibs): Likewise.
46429         * nscd/Makefile (otherlibs): Likewise.
46430         * posix/Makefile (otherlibs): Likewise.
46431         * pwd/Makefile (otherlibs): Likewise.
46432         * rt/Makefile (otherlibs): Likewise.
46433         * sunrpc/Makefile (otherlibs): Likewise.
46434         * nss/Makefile (otherlibs): Likewise.
46435         Add libnss_files to routines and static-only-routines.
46436         ($(objpfx)getent): Remove rule.
46437         * resolv/Makefile: Add libnss_dns and libresolv to routines and
46438         static-only-routines.
46440 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46442         [BZ #13892]
46443         * math/s_cexp.c: Include <float.h>.
46444         (__cexp): Handle exp result overflowing not necessarily
46445         overflowing both real and imaginary parts of result.
46446         * math/s_cexpf.c: Likewise.
46447         * math/s_cexpl.c: Likewise.
46448         * math/libm-test.inc (cexp_test): Add more tests.
46449         * sysdeps/i386/fpu/libm-test-ulps: Update.
46450         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46452 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46454         * include/link.h (ELFW): New macro.
46455         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46456         Replace ELF64_R_TYPE with ELFW(R_TYPE).
46458 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46460         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46461         with uint64_t.
46463 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46465         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46466         declaration.
46467         (struct La_x32_retval): Likewise.
46469 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46471         * sysdeps/x86_64/preconfigure.in: New file.
46472         * sysdeps/x86_64/preconfigure: New generated file.
46474 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46476         [BZ #13824]
46477         * math/e_exp2l.c: Include <float.h>.
46478         (__ieee754_exp2l): Handle overflow and underflow cases
46479         separately.  Only pass fractional part of argument to
46480         __ieee754_expl.
46481         * math/libm-test.inc (exp2_test): Add more tests.
46483         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46484         negating x to take absolute value.
46485         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46486         Likewise.
46487         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46488         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46489         Likewise.
46490         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46491         computing low part if x was negated.
46492         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46494 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46496         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46497         la_x32_gnu_pltexit.
46498         (pltexit): Cast int_retval to ptrdiff_t.
46499         * elf/tst-auditmod3b.c: Likewise.
46500         * elf/tst-auditmod4b.c: Likewise.
46501         * elf/tst-auditmod5b.c: Likewise.
46502         * elf/tst-auditmod6b.c: Likewise.
46503         * elf/tst-auditmod6c.c: Likewise.
46504         * elf/tst-auditmod7b.c: Likewise.
46506         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46507         and x32_gnu_pltexit.
46509         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46510         __ELF_NATIVE_CLASS.
46511         (La_x32_regs): New macro.
46512         (La_x32_retval): Likewise.
46513         (la_x32_gnu_pltenter): New function prototype.
46514         (la_x32_gnu_pltexit): Likewise.
46516 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
46518         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46519         exponent.
46521         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46523         * configure.in (libc_cv_cc_nofma): Check for option to disable
46524         generation of FMA instructions.
46525         * configure: Regenerate.
46526         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46527         * sysdeps/ieee754/dbl-64/Makefile: New file.
46528         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46529         Remove brandred-fma4.
46530         (CFLAGS-brandred-fma4.c): Remove.
46531         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46532         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46533         define.
46534         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46535         define.
46537 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46539         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46540         LLONG_MAX != LONG_MAX.
46541         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46542         (_fitoa_word): Likewise.
46543         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46544         LLONG_MAX != LONG_MAX.
46545         * stdio-common/_itowa.h: Include <_itoa.h>.
46546         (_itowa_word): Use _ITOA_WORD_TYPE on value.
46547         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
46548         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
46549         only if not defined.
46550         (_ITOA_WORD_TYPE): Likewise.
46551         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46552         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46554 2012-03-21  David S. Miller  <davem@davemloft.net>
46556         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46558 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46560         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46561         of x86_64 when setting libc_cv_slibdir, libdir and
46562         libc_cv_localedir.
46563         * sysdeps/unix/sysv/linux/configure: Regenerated.
46565 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46567         * manual/lang.texi (Old Varargs): Remove section.
46568         (How Variadic): Update menu.
46569         (va_start): Do not mention varargs.h.
46571 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46572             Joseph Myers  <joseph@codesourcery.com>
46574         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46575         link test.
46576         * configure: Regenerated.
46578 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46580         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46581         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46582         conformtest.pl
46584 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46586         * NOTES: Remove.
46587         * Makefile (files-for-dist): Remove NOTES.
46588         (NOTES): Remove rule.
46589         * README: Don't refer to NOTES.
46590         * manual/creature.texi: Don't include macros.texi.
46591         * manual/intro.texi (creature.texi): Remove comment referring to
46592         NOTES.
46594         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46595         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46596         * configure: Regenerated.
46597         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46598         LIBC_TRY_CC_OPTION.
46599         (libc_cv_as_i686): Likewise.
46600         (libc_cv_cc_avx): Likewise.
46601         (libc_cv_cc_sse2avx): Likewise.
46602         (libc_cv_cc_fma4): Likewise.
46603         (libc_cv_cc_novzeroupper): Likewise.
46604         * sysdeps/i386/configure: Regenerated.
46606         [BZ #13883]
46607         * sysdeps/i386/fpu/s_cexp.S: Remove.
46608         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46609         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46610         * math/libm-test.inc (cexp_test): Add more tests.
46611         * sysdeps/i386/fpu/libm-test-ulps: Update.
46612         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46614 2012-03-21  Allan McRae  <allan@archlinux.org>
46616         * timezone/Makefile: Do not install iso3166.tab and zone.tab
46618 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46620         [BZ #13871]
46621         * math/w_exp2.c: Do not include <float.h>.
46622         (o_threshold, u_threshold): Remove.
46623         (__exp2): Calculate result before checking finiteness and calling
46624         __kernel_standard.
46625         * math/w_exp2f.c: Likewise.
46626         * math/w_exp2l.c: Likewise.
46627         * math/libm-test.inc (exp2_test): Require overflow exception for
46628         1e6 input.
46630         [BZ #3866]
46631         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46632         range of signed 64-bit integers before using fistpll.  Remove
46633         checks for whether integers fit in mantissa bits.
46634         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46635         the range of signed 32-bit integers before using fistpl.  Remove
46636         checks for whether integers fit in mantissa bits.
46637         * sysdeps/i386/fpu/e_powl.S (p64): New object.
46638         (__ieee754_powl): Test for y outside the range of signed 64-bit
46639         integers before using fistpll.  Reduce 64-bit values to 63-bit
46640         ones as needed.
46641         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46642         divide-by-zero is raised for zero to large negative powers.
46643         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46644         (__ieee754_powl): Test for y outside the range of signed 64-bit
46645         integers before using fistpll.  Reduce 64-bit values to 63-bit
46646         ones as needed.
46647         * math/libm-test.inc (pow_test): Add more tests.
46649 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46651         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46652         <stdio-common/_itoa.h>.
46653         * debug/segfault.c: Likewise.
46654         * elf/dl-cache.c: Likewise.
46655         * elf/dl-minimal.c: Likewise.
46656         * elf/dl-misc.c: Likewise.
46657         * elf/dl-sysdep.c: Likewise.
46658         * elf/dl-version.c: Likewise.
46659         * elf/rtld.c: Likewise.
46660         * hurd/hurdsock.c: Likewise.
46661         * hurd/lookup-retry.c: Likewise.
46662         * malloc/malloc.c: Likewise.
46663         * malloc/mtrace.c: Likewise.
46664         * nscd/nscd_getgr_r.c: Likewise.
46665         * nscd/nscd_getpw_r.c: Likewise.
46666         * nscd/nscd_getserv_r.c: Likewise.
46667         * posix/getopt_init.c: Likewise.
46668         * posix/wordexp.c: Likewise.
46669         * stdio-common/_itoa.c: Likewise.
46670         * stdio-common/printf_fphex.c: Likewise.
46671         * stdio-common/vfprintf.c: Likewise.
46672         * string/_strerror.c: Likewise.
46673         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46674         * sysdeps/i386/i686/hp-timing.h: Likewise.
46675         * sysdeps/mach/_strerror.c: Likewise.
46676         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46677         * sysdeps/mach/hurd/sethostid.c: Likewise.
46678         * sysdeps/mach/hurd/xmknodat.c: Likewise.
46679         * sysdeps/mach/xpg-strerror.c: Likewise.
46680         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46681         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46682         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46683         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46684         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46685         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46686         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46687         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46688         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46689         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46690         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46691         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46692         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46693         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46694         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46695         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46696         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46697         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46698         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46699         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46700         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46702         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46704         * stdio-common/_itoa.h: Moved to ...
46705         * sysdeps/generic/_itoa.h: Here.
46707         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46709         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46710         instead of "_itoa.h" and "_itowa.h".
46711         * stdio-common/vfprintf.: Likewise.
46713 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46715         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46716         <bits/wordsize.h>.
46717         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46718         (__signbit): Likwise.
46719         (llrintf): Likwise.
46720         (llrint): Likwise.
46722 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46724         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46725         __WORDSIZE != 64.
46727 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
46729         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46730         OVERFLOW_EXCEPTION_OK.
46731         * math/libm-test.inc ("Philosophy"): Update comment about
46732         exception testing.
46733         (OVERFLOW_EXCEPTION): Define.
46734         (OVERFLOW_EXCEPTION_OK): Likewise.
46735         (INVALID_EXCEPTION_OK): Renumber.
46736         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46737         (IGNORE_ZERO_INF_SIGN): Likewise.
46738         (test_exceptions): Handle FE_OVERFLOW.
46739         (exp10_test): Expect overflow exceptions.
46740         (exp2_test): Likewise.
46741         (expm1_test): Likewise.
46742         (nextafter_test): Likewise.
46743         (pow_test): Likewise.
46744         (scalbn_test): Likewise.
46745         (scalbln_test): Likewise.
46747 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46749         * sysdeps/x86_64/bits/atomic.h
46750         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46751         64bit integer.
46752         (atomic_exchange_acq): Likewise.
46753         (__arch_exchange_and_add_body): Likewise.
46754         (__arch_add_body): Likewise.
46755         (atomic_add_negative): Likewise.
46756         (atomic_add_zero): Likewise.
46758 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46760         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46761         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46763 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46765         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46766         Check __x86_64__ instead of __WORDSIZE.
46768 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46770         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46772 2012-03-19  David S. Miller  <davem@davemloft.net>
46774         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46776         * sysdeps/sparc/fpu/fenv_private.h: New file.
46777         * sysdeps/sparc/fpu/math_private.h: Use it.
46778         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46779         Remove.
46780         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46781         (libc_feholdexcept_setroundl): Remove.
46782         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46783         Remove.
46784         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46785         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46787 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46789         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46790         int64_t instead of long int.
46791         (INSERT_WORDS64): Likwise.
46793 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46795         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46796         _Unwind_GetCFA return to _Unwind_Ptr first.
46798 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
46800         [BZ #13629]
46801         * math/s_clog.c: Include <float.h>.
46802         (__clog): Scale large or subnormal inputs.
46803         * math/s_clogf.c: Likewise.
46804         * math/s_clogl.c: Likewise.
46805         * math/s_clog10.c: Include <float.h>.
46806         (M_LOG10_2): Define.
46807         (__clog10): Scale large or subnormal inputs.
46808         * math/s_clog10f.c: Likewise.
46809         * math/s_clog10l.c: Likewise.
46810         * math/libm-test.inc (clog_test): Add more tests.
46811         (clog10_test): Likewise.
46812         * sysdeps/i386/fpu/libm-test-ulps: Update.
46813         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46815         [BZ #11451]
46816         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46817         x and y.
46818         * math/libm-test.inc (atan2_test): Add another test.
46820         * Makerules (common-objdir-compile): Remove.
46821         * sysdeps/unix/Makefile (config-generated): Do not add
46822         $(unix-generated) to variable.
46823         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46824         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46825         Remove rule.
46826         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46827         Likewise.
46828         [generic bits/local_lim.h] (before-compile): Do not append to
46829         variable.
46830         [generic bits/local_lim.h] (common-generated): Likewise.
46831         [generic sys/param.h] (before-compile): Do not append to variable.
46832         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46833         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46834         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46835         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46836         include.
46837         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46838         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46839         [generic sys/param.h] ($(addprefix
46840         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46841         [generic sys/param.h] (common-generated): Do not append to
46842         variable.
46843         [generic sys/param.h] (sysdep_headers): Likewise.
46844         [generic bits/errno.h] (before-compile): Do not append to
46845         variable.
46846         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46847         rule.
46848         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46849         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46850         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46851         [generic bits/errno.h] (common-generated): Do not append to
46852         variable.
46853         [generic bits/ioctls.h] (before-compile): Do not append to
46854         variable.
46855         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46856         rule.
46857         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46858         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46859         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46860         rule.
46861         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46862         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46863         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46864         [generic bits/ioctls.h] (common-generated): Do not append to
46865         variable.
46866         [generic sys/syscall.h] (syscall.h): Remove variable.
46867         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46868         rule.
46869         [generic sys/syscall.h] (before-compile): Do not append to
46870         variable.
46871         [generic sys/syscall.h] (common-generated): Likewise.
46872         * sysdeps/unix/errnos-tmpl.c: Remove file.
46873         * sysdeps/unix/errnos.awk: Likewise.
46874         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46875         * sysdeps/unix/ioctls.awk: Likewise.
46876         * sysdeps/unix/mk-local_lim.c: Likewise.
46877         * sysdeps/unix/snarf-ioctls: Likewise.
46879 2012-03-19  Richard Henderson  <rth@twiddle.net>
46881         * sysdeps/i386/fpu/fenv_private.h: New file.
46882         * sysdeps/i386/fpu/math_private.h: Use it.
46883         (math_opt_barrier, math_force_eval): Remove.
46884         (libc_feholdexcept_setround_53bit): Remove.
46885         (libc_feupdateenv_53bit): Remove.
46886         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46887         (math_opt_barrier, math_force_eval): Remove.
46888         (libc_feholdexcept): Remove.
46889         (libc_feholdexcept_setround): Remove.
46890         (libc_fetestexcept, libc_fesetenv): Remove.
46891         (libc_feupdateenv_test): Remove.
46892         (libc_feupdateenv, libc_feholdsetround): Remove.
46893         (libc_feresetround): Remove.
46895         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46896         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46898         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46899         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46900         (libc_feupdateenv_testl): New.
46901         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46902         (libc_feupdateenv_testf): New.
46903         (libc_feupdateenv): Use libc_feupdateenv_test.
46904         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46905         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46907         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46908         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46909         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46910         (libc_feresetround_noex): New.
46911         (libc_feresetround_noexf): New.
46912         (libc_feresetround_noexl): New.
46913         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46914         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46915         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46916         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46917         SET_RESTORE_ROUND.
46918         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46919         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46920         (__cos): Likewise.
46921         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46922         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46923         SET_RESTORE_ROUND_NOEX.
46924         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46925         SET_RESTORE_ROUND_NOEXF.
46926         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46927         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46928         (libc_feholdsetroundf): New.
46929         (libc_feresetround, libc_feresetroundf): New.
46931         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46932         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46933         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46935         * sysdeps/generic/math_private.h: Include <fenv.h>.
46936         (default_libc_feholdexcept): New.
46937         (default_libc_feholdexcept_setround): New.
46938         (default_libc_fesetenv, default_libc_feupdateenv): New.
46939         (libc_feholdexcept): Only define if undefined.
46940         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46941         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46942         (libc_feholdexcept_setroundl): Likewise.
46943         (libc_feholdexcept_setround_53bit): Likewise.
46944         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46945         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46946         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46947         (libc_feupdateenv_53bit): Likewise.
46948         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46949         (libc_feholdexcept): Convert from macro to inline function.
46950         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46951         (libc_fesetenv, libc_feupdateenv): Likewise.
46953         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46954         not previously defined.
46955         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46956         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46957         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46958         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46959         * sysdeps/ieee754/flt-32/math_private.h: New file.
46960         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46961         math_private.h below SET_FLOAT_WORD.
46962         (__isnan, __isinf_ns, __finite): Remove.
46963         (__isnanf, __isinf_nsf, __finitef): Remove.
46965 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46969 2012-03-17  David S. Miller  <davem@davemloft.net>
46971         [BZ #6471]
46972         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46973         for 2.16.
46975 2012-03-16  David S. Miller  <davem@davemloft.net>
46977         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46978         warnings.
46980         [BZ #6471]
46981         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46982         properly.
46983         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46984         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46985         sysdep_routines when subdir is sysvipc.
46986         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46987         __getshmlba helper.
46989         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46991 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46993         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46994         [__LP64__].
46996 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46998         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46999         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
47000         (__lround): Renamed to ...
47001         (__llround): This.  Replace long int with long long int.
47002         Define lround functions as aliases of llround functions.
47003         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
47005 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47007         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
47008         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
47009         adresses to uintptr_t.  Replace "long int" and "unsigned long
47010         int" with "greg_t" on va_arg.
47012 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47014         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
47015         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
47017         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
47018         Move e_machine check before EI_CLASS check.  Handle x32
47019         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
47020         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
47021         SKIP_EM_IA_64 and include
47022         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
47024         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
47025         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
47026         (add_system_dir): New macro.
47028         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
47029         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
47031 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47033         [BZ #2551]
47034         [BZ #2552]
47035         [BZ #2553]
47036         [BZ #2554]
47037         [BZ #2562]
47038         [BZ #2563]
47039         [BZ #2565]
47040         [BZ #2566]
47041         [BZ #2576]
47042         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
47043         (y0): Likewise.
47044         * math/w_j0f.c (j0f): Likewise.
47045         (y0f): Likewise.
47046         * math/w_j0l.c (__j0l): Likewise.
47047         (__y0l): Likewise.
47048         * math/w_j1.c (j1): Likewise.
47049         (y1): Likewise.
47050         * math/w_j1f.c (j1f): Likewise.
47051         (y1f): Likewise.
47052         * math/w_j1l.c (__j1l): Likewise.
47053         (__y1l): Likewise.
47054         * math/w_jn.c (jn): Likewise.
47055         (yn): Likewise.
47056         * math/w_jnf.c (jnf): Likewise.
47057         (ynf): Likewise.
47058         * math/w_jnl.c (__jnl): Likewise.
47059         (__ynl): Likewise.
47060         * math/libm-test.inc (j0_test): Add more tests.
47061         (j1_test): Likewise.
47062         (jn_test): Likewise.  Add trailing semicolon to existing test.
47063         (y0_test): Likewise.
47064         (y1_test): Likewise.
47065         * sysdeps/i386/fpu/libm-test-ulps: Update.
47066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47068         [BZ #13851]
47069         [BZ #13854]
47070         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
47071         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
47072         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
47073         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
47074         (__tanl): Set errno for infinite argument.
47075         * sysdeps/i386/fpu/mptan.c: Remove.
47076         * sysdeps/i386/fpu/s_tan.S: Likewise.
47077         * sysdeps/i386/fpu/s_tanl.S: Likewise.
47078         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
47079         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
47080         * math/libm-test.inc (tan_test): Add more tests and enable more
47081         tests for double and long double.
47082         * sysdeps/i386/fpu/libm-test-ulps: Update.
47083         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47085 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
47087         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
47088         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
47090 2012-03-16  Roland McGrath  <roland@hack.frob.com>
47092         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
47093         * configure.in: Use it for both main tree and add-ons.
47094         * configure: Regenerated.
47096 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
47098         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
47100 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
47102         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
47103         in comment.
47105         [BZ #13851]
47106         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
47107         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
47108         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
47109         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
47110         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
47111         infinite argument.
47112         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
47113         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
47114         != 0 for prec == 2.
47115         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
47116         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
47117         * sysdeps/i386/fpu/s_cosl.S: Likewise.
47118         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
47119         * sysdeps/i386/fpu/s_sinl.S: Likewise.
47120         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
47121         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
47122         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
47123         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
47124         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
47125         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
47126         * math/libm-test.inc (cos_test): Add more tests and enable more
47127         tests for long double.
47128         (sin_test): Likewise.
47129         (sincos_test): Likewise.
47130         * sysdeps/i386/fpu/libm-test-ulps: Update.
47131         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47133 2012-03-16  David S. Miller  <davem@davemloft.net>
47135         * sysdeps/sparc/fpu/math_private.h: New file.
47137 2012-03-15  David S. Miller  <davem@davemloft.net>
47139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
47140         file.
47141         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
47142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
47143         file.
47144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
47145         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
47146         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
47147         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
47148         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
47149         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
47150         sysdep routines.
47151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47153         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
47154         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
47156         * sysdeps/sparc/sparc-ifunc.h: New file.
47157         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
47158         sparc-ifunc.h
47159         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
47160         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
47161         Likewise.
47162         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
47163         Likewise.
47164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
47165         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
47166         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
47167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
47168         Likewise.
47169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
47170         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
47171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
47172         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
47173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
47174         Likewise.
47175         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
47176         Likewise.
47177         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
47178         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
47179         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
47180         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
47181         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
47182         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
47183         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
47184         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
47185         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
47186         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
47187         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
47188         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
47189         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
47190         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
47191         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
47192         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
47193         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
47194         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
47195         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
47196         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
47197         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
47198         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
47199         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
47200         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
47202 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47204         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
47205         scaling.
47206         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47208 2012-03-15  Andreas Jaeger  <aj@suse.de>
47210         [BZ #13852]
47211         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
47212         ieee754/flt-32 implementation for sin, cos and sincos.
47213         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
47214         * sysdeps/i386/fpu/s_cosf.S: Likewise.
47215         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
47216         * sysdeps/i386/fpu/s_sinf.S: Likewise.
47217         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
47218         ieee754/flt-32 implementation for tan.
47220         * math/libm-test.inc (cos_test): Enable some large input tests for
47221         float as well
47222         (sin_test): Likewise.
47223         (sincos_test): Likewise.
47224         (tan_test): Add tests for large input.
47226         * sysdeps/i386/fpu/libm-test-ulps: Update.
47228 2012-03-15  Andreas Jaeger  <aj@suse.de>
47230         [BZ #13658]
47231         * math/libm-test.inc (cos_test): Add more test cases.
47232         (sin_test): Likewise.
47233         (sincos_test): Likewise.
47235 2012-03-15  Andreas Jaeger  <aj@suse.de>
47237         [BZ #13837]
47238         * math/libm-test.inc (cos_test): Add a test case for large input
47239         value.
47240         (sin_test): Likewise.
47241         (sincos_test): Likewise.
47243 2012-03-15  Andreas Jaeger  <aj@suse.de>
47244             Joseph Myers  <joseph@codesourcery.com>
47246         [BZ #13658]
47247         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
47248         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
47249         * sysdeps/i386/fpu/branred.c: Likewise.
47250         * sysdeps/i386/fpu/dosincos.c: Likewise.
47251         * sysdeps/i386/fpu/mpa.c: Likewise.
47252         * sysdeps/i386/fpu/s_cos.S: Likewise.
47253         * sysdeps/i386/fpu/s_sin.S: Likewise.
47254         * sysdeps/i386/fpu/s_sincos.S: Likewise.
47255         * sysdeps/i386/fpu/sincos32.c: Likewise.
47257         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47258         Define.
47259         (libc_feupdateenv_53bit): Define.
47260         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47261         Define.
47262         (libc_feupdateenv_53bit): Define.
47264         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47265         53 bit (without extend i386 double precision).
47267         * math/libm-test.inc (sincos_test): Add tests for large input.
47268         (sin): Likewise.
47269         (cos): Likewise.
47271         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47273 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47275         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47277 2012-03-15  David S. Miller  <davem@davemloft.net>
47279         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47280         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47281         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47282         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47283         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47284         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47285         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47286         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47287         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47288         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47289         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47290         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47291         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47292         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47293         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47294         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47295         file.
47296         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47298         file.
47299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47300         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47301         file.
47302         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47304         file.
47305         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47306         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47307         fmin/fmax sysdep routines.
47308         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47310 2012-03-14  David S. Miller  <davem@davemloft.net>
47312         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47313         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47314         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47315         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47316         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47317         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47318         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47319         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47321         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47322         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47323         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47324         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47325         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47326         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47327         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47328         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47329         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47330         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47331         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47332         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47333         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47334         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47335         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47336         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47337         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47338         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47339         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47340         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47341         routines.
47342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47343         file.
47344         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47345         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47346         file.
47347         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47349         file.
47350         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47351         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47352         file.
47353         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47355         file.
47356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47358         file.
47359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47360         file.
47361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47362         file.
47363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47364         file.
47365         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47366         New file.
47367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47368         file.
47369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47370         file.
47371         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47373         file.
47374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47376         file.
47377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47378         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47379         file.
47380         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47381         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47382         VIS3 routines.
47384         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47385         New file.
47387         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47389         * sysdeps/sparc/configure.in: New file.
47390         * sysdeps/sparc/configure: Generate.
47391         * configure.in (libc_cv_sparc_as_vis3): Substitute.
47392         * configure: Regenerate.
47393         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47394         * config.make.in (have-as-vis3): New.
47395         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47396         available use -Av9d instead of -Av9a.
47397         * sysdeps/sparc/sparc64/Makefile: Likewise.
47398         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47399         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47400         New file.
47401         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47402         file.
47403         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47404         New file.
47405         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47406         file.
47407         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47408         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47409         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47410         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47411         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47413         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47414         fzeros/fnegs to load 0x80000000 into a float register instead of
47415         using the stack.
47416         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47418 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
47420         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47421         bits/syscall.h.
47422         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47423         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47424         ($(inst_includedir)/bits/syscall.h): Remove rule.
47425         ($(objpfx)bits/syscall.d): Include instead of
47426         $(objpfx)syscall-list.d.
47427         (generated): Change syscall-list.h and syscall-list.d to
47428         bits/syscall.h and bits/syscall.d.
47430 2012-03-14  Roland McGrath  <roland@hack.frob.com>
47432         [BZ #13846]
47433         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47435 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
47437         [BZ #13841]
47438         * math/s_csqrt.c: Include <float.h>.
47439         (__csqrt): Scale large or subnormal inputs.
47440         * math/s_csqrtf.c: Likewise.
47441         * math/s_csqrtl.c: Likewise.
47442         * math/libm-test.inc (csqrt_test): Add more tests.
47443         * sysdeps/i386/fpu/libm-test-ulps: Update.
47444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47446         [BZ #13840]
47447         * math/libm-test.inc (hypot_test): Add more tests.
47449 2012-03-13  David S. Miller  <davem@davemloft.net>
47451         [BZ #13840]
47452         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47453         double-precision for the calculation instead of scaling.
47455 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
47457         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47458         manipulate bits before adding and subtracting TWO52[sx].
47459         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47460         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47461         Likewise.
47462         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47464 2012-03-13  David S. Miller  <davem@davemloft.net>
47466         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47467         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47468         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47469         rtld-global-offsets.h
47470         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47472         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47473         large parameters.
47475         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47477         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47478         'err' in the ifdef scope in which it is actually used.
47480         * nss/nss_db/db-init.c: Include string.h
47482 2012-03-12  David S. Miller  <davem@davemloft.net>
47484         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47485         masking out of the most significant byte of random value used.
47486         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47487         Fix coding style in previous change.
47489         * sysdeps/unix/sysv/linux/kernel-features.h
47490         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47491         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47492         expression.
47493         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47494         later.
47496 2012-03-11  David S. Miller  <davem@davemloft.net>
47498         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47499         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47500         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47501         for 'resultvar' otherwise things get truncated on 64-bit.
47503         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47504         Fix masking out of the most significant byte of random value used.
47506         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47508 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
47510         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47512 2012-03-09  David S. Miller  <davem@davemloft.net>
47514         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47515         variables with appropriate CPP guards.
47516         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47517         from the frame pointer, not the stack pointer.  Correct layout
47518         comments.  Fix test on resulting framesize and the management of
47519         the outregs buffer for pltexit.  Preserve floating point return
47520         values across _dl_call_pltexit call.
47521         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47522         framesize and the management of the outregs buffer for pltexit.
47523         Preserve floating point return values across _dl_call_pltexit
47524         call.
47525         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47526         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47527         (la_sparc64_gnu_pltexit): New functions.
47528         (print_exit): Fix format string for return register value.
47530 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
47532         * sunrpc/Makefile (others): Add rpcgen.
47533         ($(objpfx)rpcgen): Remove special build rule and dependency on
47534         libc.
47535         * sunrpc/rpcgen.c: New file.
47537 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
47539         [BZ #13673]
47540         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47541         * stdio-common/bug-vfprintf-nargs.c: Likewise.
47542         * sysdeps/i386/crti.S: Likewise.
47543         * sysdeps/i386/crtn.S: Likewise.
47544         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47545         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47546         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47547         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47548         * sysdeps/sh/crti.S: Likewise.
47549         * sysdeps/sh/crtn.S: Likewise.
47550         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47552         [BZ #13673]
47553         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47554         with URL.
47555         * locale/programs/locfile-kw.gperf: Likewise.
47556         * locale/programs/charmap-kw.h: Regenerated.
47557         * locale/programs/locfile-kw.h: Likewise.
47559         [BZ #13673]
47560         * intl/plural.y: Replace FSF snail mail address with URL.
47561         * intl/plural.c: Regenerated.
47563 2012-03-09  Richard Henderson  <rth@twiddle.net>
47565         * include/math_private.h: Remove file.
47566         * math/math_private.h: Move file ...
47567         * sysdeps/generic/math_private.h: ... here.
47569         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47570         * sysdeps/powerpc/fpu/math_private.h: Likewise.
47571         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47573         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47574         and <math_private.h>.
47575         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47576         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47577         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47578         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47579         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47580         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47581         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47582         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47583         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47584         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47585         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47586         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47587         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47588         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47589         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47590         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47591         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47592         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47593         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47594         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47595         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47596         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47597         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47598         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47599         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47600         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47601         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47602         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47603         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47604         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47605         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47606         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47607         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47608         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47609         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47610         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47611         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47612         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47613         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47614         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47615         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47616         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47617         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47618         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47619         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47620         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47621         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47622         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47623         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47624         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47625         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47626         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47627         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47628         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47629         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47630         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47631         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47632         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47633         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47634         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47635         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47636         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47637         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47638         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47639         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47640         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47641         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47642         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47643         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47644         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47645         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47646         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47647         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47648         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47649         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47650         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47651         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47652         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47653         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47654         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47655         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47656         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47657         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47658         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47659         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47660         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47661         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47662         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47663         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47664         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47665         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47666         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47667         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47668         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47669         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47670         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47671         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47672         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47673         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47674         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47675         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47676         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47677         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47678         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47679         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47680         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47681         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47682         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47683         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47684         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47685         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47686         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47687         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47688         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47689         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47690         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47691         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47692         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47693         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47694         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47695         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47696         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47697         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47698         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47699         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47700         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47701         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47702         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47703         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47704         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47705         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47706         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47707         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47708         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47709         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47710         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47711         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47712         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47713         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47714         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47715         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47716         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47717         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47718         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47719         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47720         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47721         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47722         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47723         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47724         * sysdeps/ieee754/k_standard.c: Likewise.
47725         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47726         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47727         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47728         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47729         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47730         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47731         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47732         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47733         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47734         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47735         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47736         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47737         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47738         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47739         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47740         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47741         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47742         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47743         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47744         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47745         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47746         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47747         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47748         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47749         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47750         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47751         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47752         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47753         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47754         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47755         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47756         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47757         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47758         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47759         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47760         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47761         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47762         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47763         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47764         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47765         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47766         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47767         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47768         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47769         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47770         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47771         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47772         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47773         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47774         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47775         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47776         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47777         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47778         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47779         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47780         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47781         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47782         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47783         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47784         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47785         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47786         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47787         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47788         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47789         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47790         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47791         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47792         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47793         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47794         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47795         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47796         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47797         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47798         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47799         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47800         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47801         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47802         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47803         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47804         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47805         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47806         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47807         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47808         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47809         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47810         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47811         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47812         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47813         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47814         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47815         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47816         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47817         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47818         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47819         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47820         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47821         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47822         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47823         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47824         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47825         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47826         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47827         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47828         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47829         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47830         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47831         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47832         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47833         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47834         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47835         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47836         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47837         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47838         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47839         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47840         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47841         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47842         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47843         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47844         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47845         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47846         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47847         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47848         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47849         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47850         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47851         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47852         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47853         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47854         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47855         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47856         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47857         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47858         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47859         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47860         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47861         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47862         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47863         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47864         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47865         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47866         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47867         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47868         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47869         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47870         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47871         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47872         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47873         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47874         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47875         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47876         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47877         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47878         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47879         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47880         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47881         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47882         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47883         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47884         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47885         * sysdeps/ieee754/s_lib_version.c: Likewise.
47886         * sysdeps/ieee754/s_matherr.c: Likewise.
47887         * sysdeps/ieee754/s_signgam.c: Likewise.
47888         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47889         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47890         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47891         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47892         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47893         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47894         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47895         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47896         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47897         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47898         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47899         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47900         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47901         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47902         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47903         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47904         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47905         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47906         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47907         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47908         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47910 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47912         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47913         * sunrpc/rpc_main.c: Likewise.
47914         * sunrpc/rpc_svcout.c: Likewise.
47916 2012-03-09  David S. Miller  <davem@davemloft.net>
47918         * include/math_private.h: New file.
47920 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47922         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47923         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47924         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47925         from <bits/socket_type.h>.
47926         (enum __socket_type): Don't define here.
47927         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47928         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47929         bits/socket_type.h.
47931         [BZ #13566]
47932         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47933         checking __USE_GNU.
47935         * Makerules ($(inst_includedir)/%.h): New rule.
47936         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47937         (install-others): Remove variable setting.
47938         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47940 2012-03-08  Richard Henderson  <rth@twiddle.net>
47942         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47943         from macro to inline function; merge with the
47944         !__LIBC_INTERNAL_MATH_INLINES version.
47945         (__ieee754_sqrtf): Likewise.
47947         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47948         to inline function.
47949         (__rintf, __floor, __floorf): Likewise.
47951         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47952         macro to inline function.
47953         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47955         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47956         not <math/math_private.h>.
47958 2012-03-08  David S. Miller  <davem@davemloft.net>
47960         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47961         copyright year.
47962         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47964 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47966         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47967         normalization.
47968         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47969         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47971 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47973         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47974         be defined individually, they must be defined as a block.  Define
47975         S for printing a string instead of hidint the different by using a
47976         macro for adding the 'l'.
47977         * stdio-common/tst-fphex-wide.c: Adjust.
47979 2012-03-07  Marek Polacek  <polacek@redhat.com>
47981         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47983 2012-03-08  Marek Polacek  <polacek@redhat.com>
47985         [BZ #13806]
47986         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47987         * stdio-common/tst-fphex.c: Define a few macros to make the
47988         test reusable.  Use them.
47989         * stdio-common/tst-fphex-wide.c: New file.
47991 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47993         [BZ #6911]
47994         * manual/macros.texi (gnusystems): New macro.
47995         (nongnusystems): Likewise.
47996         (gnulinuxhurdsystems): Likewise.
47997         (gnuhurdsystems): Likewise..
47998         (gnulinuxsystems): Likewise.
47999         * manual/charset.texi: Use new macros or @theglibc{} to refer to
48000         variants of the GNU system, not "GNU system".
48001         * manual/conf.texi: Likewise.
48002         * manual/errno.texi: Likewise.  Update example of errno macro
48003         expansion.
48004         * manual/filesys.texi: Likewise.
48005         (getumask): Document as specific to GNU/Hurd.
48006         * manual/install.texi: Likewise.  Reword some references to
48007         GNU/Linux.
48008         * manual/intro.texi: Likewise.
48009         * manual/io.texi: Likewise.
48010         (File Name Portability): Detail which constraints are inapplicable
48011         to all GNU systems and which are only inapplicable to GNU/Hurd.
48012         * manual/job.texi: Likewise.
48013         * manual/llio.texi: Likewise.
48014         (O_NOCTTY): Document as present on GNU/Linux.
48015         * manual/maint.texi: Likewise.
48016         * manual/memory.texi: Likewise.
48017         * manual/pattern.texi: Likewise.
48018         * manual/pipe.texi: Likewise.
48019         * manual/process.texi: Likewise.
48020         * manual/resource.texi: Likewise.
48021         (RUSAGE_CHILDREN): Remove statement about specifying a particular
48022         child on GNU/Hurd.
48023         * manual/setjmp.texi: Likewise.
48024         * manual/signal.texi: Likewise.
48025         * manual/startup.texi: Likewise.
48026         * manual/stdio.texi: Likewise.
48027         * manual/terminal.texi: Likewise.
48028         (ONLCR): Document as POSIX.
48029         (OXTABS): Document availability on GNU/Linux as XTABS.
48030         (ONOEOT): Document availability separately from other bits.
48031         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
48032         * manual/time.texi: Likewise.
48033         * manual/users.texi: Likewise.
48034         * INSTALL: Regenerated.
48035         * sysdeps/gnu/errlist.c: Regenerated.
48037         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
48038         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
48039         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
48040         puts.
48041         * configure: Regenerated.
48043 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
48045         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
48046         default includes instead of AC_HEADER_CHECK.
48047         * sysdeps/i386/configure: Regenerated.
48049         [BZ #10716]
48050         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
48051         * math/s_cacoshf.c (__cacoshf): Likewise.
48052         * math/s_cacoshl.c (__cacoshl): Likewise.
48053         * math/s_casinh.c (__casinh): Set signs of result from argument.
48054         * math/s_casinhf.c (__casinhf): Likewise.
48055         * math/s_casinhl.c (__casinhl): Likewise.
48056         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
48057         (casinh_test): Add more tests.
48058         * sysdeps/i386/fpu/libm-test-ulps: Update.
48059         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48061 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
48063         * po/zh_TW.po: Update from translation team.
48065         * login/Makefile (distribute): Remove variable.
48066         * catgets/Makefile: Likewise.
48067         * mach/Makefile: Likewise.
48068         * malloc/Makefile: Likewise.
48069         * misc/Makefile: Likewise.
48070         * iconv/Makefile: Likewise.
48071         * nscd/Makefile: Likewise.
48072         * hurd/Makefile: Likewise.
48073         * manual/Makefile: Likewise.
48074         * locale/Makefile: Likewise.
48075         * intl/Makefile: Likewise.
48076         * conform/Makefile: Likewise.
48077         * nss/Makefile: Likewise.
48078         * time/Makefile: Likewise.
48079         * soft-fp/Makefile: Likewise.
48080         * dirent/Makefile: Likewise.
48081         * gmon/Makefile: Likewise.
48082         * po/Makefile: Likewise.
48083         * rt/Makefile: Likewise.
48084         * socket/Makefile: Likewise.
48085         * math/Makefile: Likewise.
48086         * signal/Makefile: Likewise.
48087         * debug/Makefile: Likewise.
48088         * elf/Makefile: Likewise.
48089         * timezone/Makefile: Likewise.
48090         * stdlib/Makefile: Likewise.
48091         * iconvdata/Makefile: Likewise.
48092         * sunrpc/Makefile: Likewise.
48093         * io/Makefile: Likewise.
48094         * argp/Makefile: Likewise.
48095         * inet/Makefile: Likewise.
48096         * hesiod/Makefile: Likewise.
48097         * grp/Makefile: Likewise.
48098         * csu/Makefile: Likewise.
48099         * wctype/Makefile: Likewise.
48100         * crypt/Makefile: Likewise.
48101         * libio/Makefile: Likewise.
48102         * string/Makefile: Likewise.
48103         * nis/Makefile: Likewise.
48104         * resolv/Makefile: Likewise.
48105         * stdio-common/Makefile: Likewise.
48106         * wcsmbs/Makefile: Likewise.
48107         * dlfcn/Makefile: Likewise.
48108         * posix/Makefile: Likewise.
48110         [BZ #6959]
48111         * timezone/Makefile: Don't install timezone files, just the programs
48112         and scripts.
48114 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
48116         * nss/databases.def: Add missing gshadow entry.
48118         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
48120 2012-03-06  Marek Polacek  <polacek@redhat.com>
48122         [BZ #13726]
48123         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
48124         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
48125         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
48126         * stdio-common/tst-long-dbl-fphex.c: New file.
48128 2012-03-06  David S. Miller  <davem@davemloft.net>
48130         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
48131         (set_obp_int): New function.
48132         (get_obp_int): New function.
48133         (__get_clockfreq_via_dev_openprom): Likewise.
48134         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
48135         Avoid unused variable warnings on 'val' and use builtin_expect.
48136         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
48137         __builtin_expect.
48138         (INLINE_CLONE_SYSCALL): Likewise.
48140 2012-03-05  David S. Miller  <davem@davemloft.net>
48142         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48144 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
48146         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48148         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
48149         only for |x| >= 40.
48150         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
48152 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
48154         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
48155         Replace gettimeofday with __vdso_gettimeofday.
48157         * sysdeps/unix/sysv/linux/x86_64/init-first.c
48158         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
48159         __vdso_clock_gettime and __vdso_getcpu.
48161         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
48162         time with __vdso_time.
48164 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48166         * manual/lang.texi (size_t): Note types to which size_t may be
48167         equivalent with the GNU C Library, but do not describe when
48168         differences between them are significant.
48170 2012-03-05  Andreas Jaeger  <aj@suse.de>
48172         * sysdeps/i386/fpu/libm-test-ulps: Update.
48174 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
48176         [BZ #3976]
48177         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
48178         (__ieee754_pow): Save and restore rounding mode and use
48179         round-to-nearest for main computations.
48180         * math/libm-test.inc (pow_test_tonearest): New function.
48181         (pow_test_towardzero): Likewise.
48182         (pow_test_downward): Likewise.
48183         (pow_test_upward): Likewise.
48184         (main): Call the new functions.
48185         * sysdeps/i386/fpu/libm-test-ulps: Update.
48186         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48188         [BZ #3976]
48189         * math/libm-test.inc (cosh_test_tonearest): New function.
48190         (cosh_test_towardzero): Likewise.
48191         (cosh_test_downward): Likewise.
48192         (cosh_test_upward): Likewise.
48193         (sinh_test_tonearest): Likewise.
48194         (sinh_test_towardzero): Likewise.
48195         (sinh_test_downward): Likewise.
48196         (sinh_test_upward): Likewise.
48197         (main): Call the new functions.
48198         * sysdeps/i386/fpu/libm-test-ulps: Update.
48199         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48201 2012-03-05  Tom de Vries  <tom@codesourcery.com>
48203         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
48204         default stack guard is set in last bytes.
48205         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
48207 2012-03-05  Kees Cook  <keescook@chromium.org>
48209         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
48211         [BZ #13656]
48212         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
48213         possibly allocate from heap instead of stack.
48214         * stdio-common/bug-vfprintf-nargs.c: New file.
48215         * stdio-common/Makefile (tests): Add nargs overflow test.
48217 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
48219         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48221 2012-03-03  Marek Polacek  <polacek@redhat.com>
48223         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
48224         * math/math_private.h: Likewise.
48225         * stdlib/tst-strtod.c: Likewise.
48226         * sysdeps/i386/i486/bits/atomic.h: Likewise.
48227         * sysdeps/x86_64/bits/atomic.h: Likewise.
48229 2012-03-02  David S. Miller  <davem@davemloft.net>
48231         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
48232         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
48233         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
48234         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
48235         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
48236         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
48237         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
48238         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
48240 2012-03-02  Roland McGrath  <roland@hack.frob.com>
48242         [BZ #13792]
48243         * manual/examples/README: New file, says the example source files
48244         can be used under GPL>=2.
48245         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
48246         line containing just "*/".
48247         * manual/examples/add.c: Add copyright header (GPL>=2).
48248         * manual/examples/argp-ex1.c: Likewise.
48249         * manual/examples/argp-ex2.c: Likewise.
48250         * manual/examples/argp-ex3.c: Likewise.
48251         * manual/examples/argp-ex4.c: Likewise.
48252         * manual/examples/atexit.c: Likewise.
48253         * manual/examples/db.c: Likewise.
48254         * manual/examples/dir.c: Likewise.
48255         * manual/examples/dir2.c: Likewise.
48256         * manual/examples/execinfo.c: Likewise.
48257         * manual/examples/filecli.c: Likewise.
48258         * manual/examples/filesrv.c: Likewise.
48259         * manual/examples/fmtmsgexpl.c: Likewise.
48260         * manual/examples/genpass.c: Likewise.
48261         * manual/examples/inetcli.c: Likewise.
48262         * manual/examples/inetsrv.c: Likewise.
48263         * manual/examples/isockad.c: Likewise.
48264         * manual/examples/longopt.c: Likewise.
48265         * manual/examples/memopen.c: Likewise.
48266         * manual/examples/memstrm.c: Likewise.
48267         * manual/examples/mkfsock.c: Likewise.
48268         * manual/examples/mkisock.c: Likewise.
48269         * manual/examples/mygetpass.c: Likewise.
48270         * manual/examples/pipe.c: Likewise.
48271         * manual/examples/popen.c: Likewise.
48272         * manual/examples/rprintf.c: Likewise.
48273         * manual/examples/search.c: Likewise.
48274         * manual/examples/select.c: Likewise.
48275         * manual/examples/setjmp.c: Likewise.
48276         * manual/examples/sigh1.c: Likewise.
48277         * manual/examples/sigusr.c: Likewise.
48278         * manual/examples/stpcpy.c: Likewise.
48279         * manual/examples/strdupa.c: Likewise.
48280         * manual/examples/strftim.c: Likewise.
48281         * manual/examples/strncat.c: Likewise.
48282         * manual/examples/subopt.c: Likewise.
48283         * manual/examples/swapcontext.c: Likewise.
48284         * manual/examples/termios.c: Likewise.
48285         * manual/examples/testopt.c: Likewise.
48286         * manual/examples/testpass.c: Likewise.
48287         * manual/examples/timeval_subtract.c: Likewise.
48289         [BZ #13792]
48290         * manual/time.texi (Elapsed Time): Move timeval_subtract example
48291         function to ...
48292         * manual/timeval_subtract.c.texi: ... here, new file.
48294 2012-03-02  David S. Miller  <davem@davemloft.net>
48296         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48298 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
48300         [BZ #3976]
48301         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48302         (__sin): Save and restore rounding mode and use round-to-nearest
48303         for all computations.
48304         (__cos): Save and restore rounding mode and use round-to-nearest
48305         for all computations.
48306         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48307         <fenv.h>.
48308         (tan): Save and restore rounding mode and use round-to-nearest for
48309         all computations.
48310         * math/libm-test.inc (cos_test_tonearest): New function.
48311         (cos_test_towardzero): Likewise.
48312         (cos_test_downward): Likewise.
48313         (cos_test_upward): Likewise.
48314         (sin_test_tonearest): Likewise.
48315         (sin_test_towardzero): Likewise.
48316         (sin_test_downward): Likewise.
48317         (sin_test_upward): Likewise.
48318         (tan_test_tonearest): Likewise.
48319         (tan_test_towardzero): Likewise.
48320         (tan_test_downward): Likewise.
48321         (tan_test_upward): Likewise.
48322         (main): Call the new functions.
48323         * sysdeps/i386/fpu/libm-test-ulps: Update.
48324         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48326         [BZ #10135]
48327         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48328         small n, then large n, before computing and testing k+n.
48329         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48330         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48331         Likewise.
48332         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48333         Likewise.
48334         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48335         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48336         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48337         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48338         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48339         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48340         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48341         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48342         * math/libm-test.inc (scalbn_test): Add more tests.
48343         (scalbln_test): Likewise.
48345         * manual/filesys.texi (mode_t): Describe constraints on size and
48346         signedness, not exact equivalence to a particular type.
48347         (ino_t): Likewise.
48348         (ino64_t): Likewise.
48349         (dev_t): Likewise.
48350         (nlink_t): Likewise.
48351         (blkcnt_t): Likewise.
48352         (blkcnt64_t): Likewise.
48353         * manual/llio.texi (off_t): Likewise.
48355         [BZ #3976]
48356         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48357         (__ieee754_exp): Save and restore rounding mode and use
48358         round-to-nearest for all computations.
48359         * math/libm-test.inc (exp_test_tonearest): New function.
48360         (exp_test_towardzero): Likewise.
48361         (exp_test_downward): Likewise.
48362         (exp_test_upward): Likewise.
48363         (main): Call the new functions.
48364         * sysdeps/i386/fpu/libm-test-ulps: Update.
48365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48367 2012-03-01  Chris Demetriou  <cgd@google.com>
48369         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48370         have predictable order.
48372 2012-03-01  David S. Miller  <davem@davemloft.net>
48374         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48376         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48377         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48378         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48379         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48381         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48382         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48383         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48384         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48385         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48386         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48387         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48388         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48389         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48391         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48393         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48394         * sysdeps/sparc/fpu/libm-test-ulps: to here.
48395         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48397         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48398         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48399         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48400         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48401         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48402         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48403         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48404         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48405         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48406         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48407         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48408         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48409         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48410         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48411         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48412         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48413         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48414         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48415         * sysdeps/sparc/elf/configure: Regenerated.
48417 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
48419         * configure.in (AS, LD): Require binutils 2.20 or later.
48420         * configure: Regenerated.
48421         * manual/install.texi (Tools for Compilation): Give binutils 2.20
48422         as required minimum version.
48423         * INSTALL: Regenerated.
48425         [BZ #2541]
48426         [BZ #4108]
48427         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48428         before squaring exponent.
48429         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48430         bottom long double and 27 bits of top long double before squaring
48431         exponent.
48432         * math/libm-test.inc (erfc_test): Add more tests.
48433         * sysdeps/i386/fpu/libm-test-ulps: Update.
48434         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48435         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48437 2012-03-01  Kai Tietz  <ktietz@redhat.com>
48439         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48440         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48441         containing bit-fields.
48442         * soft-fp/extended.h (_FP_UNION_E): Likewise.
48443         * soft-fp/single.h (_FP_UNION_S): Likewise.
48444         * soft-fp/double.h (_FP_UNION_D): Likewise.
48446 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48448         [BZ #13786]
48449         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48450         not include ../strcmp.S.
48451         [USE_AS_STRNCASECMP_L]: Likewise.
48452         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48453         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48454         * sysdeps/i386/i686/multiarch/strncase_l-c.c
48455         (__strncasecmp_l_ia32): Define as alias to
48456         __strncasecmp_l_nonascii.
48458         [BZ #5794]
48459         * math/libm-test.inc (expm1_test): Add test for bug 5794.
48460         * sysdeps/i386/fpu/libm-test-ulps: Update.
48461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48463         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48464         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48466 2012-02-29  Jeff Law  <law@redhat.com>
48468         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48469         out of bounds read.
48471 2012-02-29  Marek Polacek  <polacek@redhat.com>
48473         [BZ #13706]
48474         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48475         * elf/Makefile: Add rules to run tst-unused-dep.out.
48477 2012-02-28  David S. Miller  <davem@davemloft.net>
48479         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48480         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48481         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48482         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48483         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48484         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48486 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48488         * math/libm-test.inc (llround_test): Move one test from
48489         lround_test.  Use TEST_f_L in moved test.
48490         (lround_test): Move misplaced test to llround_test.  Add testcase
48491         from bug 2561.
48493 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
48495         * sysdeps/x86_64/fpu/e_expf.S: New file.
48496         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48498 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
48500         [BZ #13637]
48501         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48502         of remain_len that may cause incomplete multi-byte character and
48503         false match.
48504         * posix/bug-regex33.c: New file.
48505         * posix/Makefile (tests): Add bug-regex33.
48507 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
48509         * manual/macros.texi: New file.
48510         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48511         * manual/libc.texinfo: Include macros.texi.
48512         * manual/creatute.texi: Likewise.
48513         * manual/install.texi: Likewise.
48514         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48515         @glibcadj{} in references to the GNU C Library.
48516         * manual/charset.texi: Likewise.
48517         * manual/conf.texi: Likewise.
48518         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
48519         when not using those macros.
48520         * manual/creature.texi: Likewise.
48521         * manual/crypt.texi: Likewise.
48522         * manual/errno.texi: Likewise.
48523         * manual/filesys.texi: Likewise.
48524         * manual/header.texi: Likewise.
48525         * manual/install.texi: Likewise.
48526         * manual/intro.texi: Likewise.
48527         * manual/io.texi: Likewise.
48528         * manual/job.texi: Likewise.
48529         * manual/lang.texi: Likewise.
48530         * manual/libc.texiinfo: Likewise.
48531         * manual/llio.texi: Likewise.
48532         * manual/locale.texi: Likewise.
48533         * manual/maint.texi: Likewise.
48534         * manual/math.texi: Likewise.
48535         * manual/memory.texi: Likewise.
48536         * manual/message.texi: Likewise.
48537         * manual/nss.texi: Likewise.
48538         * manual/pattern.texi: Likewise.
48539         * manual/process.texi: Likewise.
48540         * manual/resource.texi: Likewise.
48541         * manual/search.texi: Likewise.
48542         * manual/setjmp.texi: Likewise.
48543         * manual/signal.texi: Likewise.
48544         * manual/socket.texi: Likewise.
48545         * manual/startup.texi: Likewise.
48546         * manual/stdio.texi: Likewise.
48547         * manual/string.texi: Likewise.
48548         * manual/sysinfo.texi: Likewise.
48549         * manual/syslog.texi: Likewise.
48550         * manual/terminal.texi: Likewise.
48551         * manual/time.texi: Likewise.
48552         * manual/users.texi: Likewise.
48553         * INSTALL: Regenerated.
48554         * NOTES: Regenerated.
48555         * sysdeps/gnu/errlist.c: Regenerated.
48557 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
48559         * include/dirent.h: Include <dirstream.h> before
48560         <dirent/dirent.h>.
48562 2012-02-28  David S. Miller  <davem@davemloft.net>
48564         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48565         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48566         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48567         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48569 2012-02-27  David S. Miller  <davem@davemloft.net>
48571         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48572         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48573         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48574         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48576         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48577         frame pointer instead of stack pointer relative arg slot.
48578         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48579         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48580         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48582 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
48584         [BZ #3992]
48585         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48587 2012-02-27  David S. Miller  <davem@davemloft.net>
48589         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48590         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48591         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48592         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48593         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48594         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48595         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48596         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48598 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48600         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48601         later.  Allow versions 5-9.
48602         * configure: Regenerated.
48603         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48604         required minimum version and 4.6 as recommended version.  Do not
48605         mention bugs in GCC 2.7 and 2.8.
48606         * INSTALL: Regenerated.
48608 2012-02-27  David S. Miller  <davem@davemloft.net>
48610         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48611         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48614         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48615         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48616         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48617         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48619         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48620         manipulate bits before adding and subtracting TWO112[sx].
48621         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48623 2012-02-27  Roland McGrath  <roland@hack.frob.com>
48625         [BZ #13775]
48626         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48627         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48628         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48629         being in POSIX, because they are in 1003.1-2008.
48631         * rt/tst-aio.c: Include <fcntl.h>.
48632         * rt/tst-aio7.c: Likewise.
48633         * rt/tst-aio64.c: Likewise.
48635         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48637 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48639         * manual/install.texi (--with-headers): Describe headers as
48640         interface headers, not private headers.
48641         (Specific advice for GNU/Linux systems): Describe use of headers
48642         from "make headers_install", not private headers from older
48643         kernels.
48644         * INSTALL: Regenerated.
48645         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48646         Change to 2.6.19.
48647         * sysdeps/unix/sysv/linux/configure: Regenerated.
48649         * manual/llio.texi (fclean): Remove documentation.
48651         * manual/Makefile (libc-texi-generated): New variable.  Include
48652         version.texi.
48653         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48654         $(libc-texi-generated), not duplicated list of files.
48655         (version.texi, stamp-version): New rules.
48656         (realclean): Remove $(libc-texi-generated), not individual files
48657         from that list.  Do not remove dir-add.texinfo.
48658         * manual/libc.texinfo: Comment out uses of edition numbers and
48659         references to printed manual.  Remove last-updated dates.
48660         (EDITION): Comment out.
48661         (ISBN): Likewise.
48662         (VERSION, UPDATED): Remove.
48663         (version.texi): Include.
48665 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
48667         * sysdeps/posix/spawni.c: Include <signal.h>.
48668         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48669         * sysdeps/pthread/aio_fsync.c: Likewise.
48671 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
48673         * conform/Makefile (tests): Run only when not cross-compiling and
48674         when fast-check is not defined.
48676         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48677         * conform/data/limits.h-data: Fixes for POSIX2008.
48678         * conform/run-conformtest.sh: Run all tests.
48679         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48680         headers.
48681         * include/bits/dlfcn.h: Likewise.
48682         * include/langinfo.h: Likewise.
48683         * include/monetary.h: Likewise.
48684         * include/sys/poll.h: Likewise.
48686         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48687         for __USE_GNU.
48688         * posix/spawn.h: Define __need_sigset_t.
48689         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48690         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48691         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
48692         to get sigevent_t only.
48693         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48694         only for __USE_GNU.
48695         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48696         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48697         process_vm_writev only for __USE_GNU.
48698         * termios/termios.h: Declare tcgetsid also for POSIX2008.
48700         * conform/Makefile: For now ignore errors from run-conformtest.
48701         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
48702         POSIX to avoid namespace pollution.  Don't prepend headers.
48703         * conform/data/aio.h-data: Fixes for POSIX testing.
48704         * conform/data/fcntl.h-data: Likewise.
48705         * conform/data/glob.h-data: Likewise.
48706         * conform/data/grp.h-data: Likewise.
48707         * conform/data/pthread.h-data: Likewise.
48708         * conform/data/pwd.h-data: Likewise.
48709         * conform/data/signal.h-data: Likewise.
48710         * conform/data/spawn.h-data: Likewise.
48711         * conform/data/stdio.h-data: Likewise.
48712         * conform/data/stdlib.h-data: Likewise.
48713         * conform/data/stropts.h-data: Likewise.
48714         * conform/data/sys/mman.h-data: Likewise.
48715         * conform/data/sys/stat.h-data: Likewise.
48716         * conform/data/sys/types.h-data: Likewise.
48717         * conform/data/sys/wait.h-data: Likewise.
48718         * conform/data/time.h-data: Likewise.
48719         * conform/data/unistd.h-data: Likewise.
48720         * conform/data/utime.h-data: Likewise.
48722         * io/sys/stat.h: fchmod was always in POSIX.
48723         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48724         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48725         * rt/aio.h: Define __need_timespec before including <time.h>.
48726         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48727         struct.  Add forward declaration of pthread_attr_t and use it in
48728         sigevent.
48729         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48730         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48731         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48732         always remove CLK_TCK definition.
48734 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
48736         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48738 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
48740         * conform/run-conformtest.sh: New file.
48741         * conform/Makefile: Run run-conformtest for tests.
48742         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
48743         support.
48745         * conform/data/uchar.h-data: New file.
48746         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48747         * conform/data/arpa/inet.h-data: Likewise.
48748         * conform/data/assert.h-data: Likewise.
48749         * conform/data/complex.h-data: Likewise.
48750         * conform/data/cpio.h-data: Likewise.
48751         * conform/data/ctype.h-data: Likewise.
48752         * conform/data/dirent.h-data: Likewise.
48753         * conform/data/dlfcn.h-data: Likewise.
48754         * conform/data/errno.h-data: Likewise.
48755         * conform/data/fcntl.h-data: Likewise.
48756         * conform/data/float.h-data: Likewise.
48757         * conform/data/fmtmsg.h-data: Likewise.
48758         * conform/data/fnmatch.h-data: Likewise.
48759         * conform/data/ftw.h-data: Likewise.
48760         * conform/data/glob.h-data: Likewise.
48761         * conform/data/grp.h-data: Likewise.
48762         * conform/data/iconv.h-data: Likewise.
48763         * conform/data/inttypes.h-data: Likewise.
48764         * conform/data/langinfo.h-data: Likewise.
48765         * conform/data/libgen.h-data: Likewise.
48766         * conform/data/limits.h-data: Likewise.
48767         * conform/data/locale.h-data: Likewise.
48768         * conform/data/math.h-data: Likewise.
48769         * conform/data/monetary.h-data: Likewise.
48770         * conform/data/mqueue.h-data: Likewise.
48771         * conform/data/ndbm.h-data: Likewise.
48772         * conform/data/net/if.h-data: Likewise.
48773         * conform/data/netdb.h-data: Likewise.
48774         * conform/data/netinet/in.h-data: Likewise.
48775         * conform/data/nl_types.h-data: Likewise.
48776         * conform/data/poll.h-data: Likewise.
48777         * conform/data/pthread.h-data: Likewise.
48778         * conform/data/pwd.h-data: Likewise.
48779         * conform/data/regex.h-data: Likewise.
48780         * conform/data/sched.h-data: Likewise.
48781         * conform/data/search.h-data: Likewise.
48782         * conform/data/semaphore.h-data: Likewise.
48783         * conform/data/setjmp.h-data: Likewise.
48784         * conform/data/signal.h-data: Likewise.
48785         * conform/data/spawn.h-data: Likewise.
48786         * conform/data/stdarg.h-data: Likewise.
48787         * conform/data/stdio.h-data: Likewise.
48788         * conform/data/stdlib.h-data: Likewise.
48789         * conform/data/string.h-data: Likewise.
48790         * conform/data/strings.h-data: Likewise.
48791         * conform/data/stropts.h-data: Likewise.
48792         * conform/data/sys/ipc.h-data: Likewise.
48793         * conform/data/sys/mman.h-data: Likewise.
48794         * conform/data/sys/msg.h-data: Likewise.
48795         * conform/data/sys/resource.h-data: Likewise.
48796         * conform/data/sys/select.h-data: Likewise.
48797         * conform/data/sys/sem.h-data: Likewise.
48798         * conform/data/sys/shm.h-data: Likewise.
48799         * conform/data/sys/socket.h-data: Likewise.
48800         * conform/data/sys/stat.h-data: Likewise.
48801         * conform/data/sys/statvfs.h-data: Likewise.
48802         * conform/data/sys/time.h-data: Likewise.
48803         * conform/data/sys/timeb.h-data: Likewise.
48804         * conform/data/sys/times.h-data: Likewise.
48805         * conform/data/sys/types.h-data: Likewise.
48806         * conform/data/sys/uio.h-data: Likewise.
48807         * conform/data/sys/un.h-data: Likewise.
48808         * conform/data/sys/utsname.h-data: Likewise.
48809         * conform/data/sys/wait.h-data: Likewise.
48810         * conform/data/syslog.h-data: Likewise.
48811         * conform/data/tar.h-data: Likewise.
48812         * conform/data/termios.h-data: Likewise.
48813         * conform/data/utime.h-data: Likewise.
48814         * conform/data/utmpx.h-data: Likewise.
48815         * conform/data/varargs.h-data: Likewise.
48816         * conform/data/wchar.h-data: Likewise.
48817         * conform/data/wctype.h-data: Likewise.
48818         * conform/data/wordexp.h-data: Likewise.
48820         * include/stropts.h: New file.
48821         * include/uchar.h: New file.
48822         * include/aio.h: Changes to allow conformtest.pl to use the headers.
48823         * include/assert.h: Likewise.
48824         * include/ctype.h: Likewise.
48825         * include/dirent.h: Likewise.
48826         * include/dlfcn.h: Likewise.
48827         * include/fcntl.h: Likewise.
48828         * include/fnmatch.h: Likewise.
48829         * include/glob.h: Likewise.
48830         * include/grp.h: Likewise.
48831         * include/libio.h: Likewise.
48832         * include/locale.h: Likewise.
48833         * include/math.h: Likewise.
48834         * include/net/if.h: Likewise.
48835         * include/netdb.h: Likewise.
48836         * include/netinet/in.h: Likewise.
48837         * include/pthread.h: Likewise.
48838         * include/pwd.h: Likewise.
48839         * include/regex.h: Likewise.
48840         * include/sched.h: Likewise.
48841         * include/search.h: Likewise.
48842         * include/setjmp.h: Likewise.
48843         * include/signal.h: Likewise.
48844         * include/stdio.h: Likewise.
48845         * include/stdlib.h: Likewise.
48846         * include/string.h: Likewise.
48847         * include/sys/cdefs.h: Likewise.
48848         * include/sys/mman.h: Likewise.
48849         * include/sys/msg.h: Likewise.
48850         * include/sys/resource.h: Likewise.
48851         * include/sys/select.h: Likewise.
48852         * include/sys/socket.h: Likewise.
48853         * include/sys/stat.h: Likewise.
48854         * include/sys/statvfs.h: Likewise.
48855         * include/sys/time.h: Likewise.
48856         * include/sys/times.h: Likewise.
48857         * include/sys/uio.h: Likewise.
48858         * include/sys/utsname.h: Likewise.
48859         * include/sys/wait.h: Likewise.
48860         * include/termios.h: Likewise.
48861         * include/time.h: Likewise.
48862         * include/ulimit.h: Likewise.
48863         * include/unistd.h: Likewise.
48864         * include/utime.h: Likewise.
48865         * include/wchar.h: Likewise.
48866         * include/wctype.h: Likewise.
48867         * include/wordexp.h: Likewise.
48869         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48871         * time/time.h: TIME_UTC must be a macro.
48872         Make timespec_get available for ISO C11 only as well.
48874 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48876         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48877         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48879 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48881         * configure.in: Use -o not -a in test for unsupported multi-arch.
48883 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48885         * manual/texinfo.tex: Update to version 2012-01-19.16.
48887 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48889         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48891 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48893         [BZ #13738]
48894         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48895         * manual/fdl-1.3.texi: New file.
48896         * manual/fdl-1.1.texi: File removed.
48898         [BZ #13738]
48899         * manual/libc.texinfo (FDL_VERSION): New @set.
48900         Use it for mention of FDL in cover text.
48901         (Documentation License): Use it in @include file name.
48903 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48904             Roland McGrath  <roland@hack.frob.com>
48906         [BZ #5461]
48907         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48908         (not LONG_LONG_MAX and LONG_LONG_MIN.
48909         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48910         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48911         name.
48912         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48914 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48916         [BZ #2547]
48917         [BZ #11365]
48918         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48919         manipulate bits before adding and subtracting TWO23[sx].
48920         * math/libm-test.inc (nearbyint_test): Add more tests.
48922 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48924         [BZ #2548]
48925         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48926         bits before adding and subtracting TWO23[sx].
48927         * math/libm-test.inc (rint_test): Add more tests.
48928         (rint_test_tonearest): Likewise.
48929         (rint_test_towardzero): Likewise.
48930         (rint_test_downward): Likewise.
48931         (rint_test_upward: Likewise.
48933 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48935         [BZ #10110]
48936         * include/stdc-predef.h: New file.  Extracted from features.h.
48937         * include/features.h: Include stdc-predef.h.
48938         * Makefile (headers): Add stdc-predef.h.
48939         * CONFORMANCE (Compiler limitations): Update.
48941 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48943         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48945 2012-02-21  David S. Miller  <davem@davemloft.net>
48947         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48948         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48950 2012-02-20  David S. Miller  <davem@davemloft.net>
48952         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48953         using a normal save/restore sequence, rather than allocating a
48954         dummy stack frame just to store a frame pointer and restore.
48955         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48957 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48959         * manual/install.texi: Fix stray word in line-wrapped comment.
48961 2012-02-20  David S. Miller  <davem@davemloft.net>
48963         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48964         both binutils and gcc support GOTDATA.
48966         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48967         "rd %pc" in the PIC register setup sequences.
48969         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48970         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48971         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48972         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48973         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48974         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48975         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48976         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48977         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48978         (SYSCALL_ERROR_HANDLER): Likewise.
48979         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48980         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48981         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48982         (SYSCALL_ERROR_HANDLER): Likewise.
48984         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48985         (HAVE_GCC_GOTDATA): New.
48986         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48987         relocation support in both binutils and gcc.
48988         * sysdeps/sparc/elf/configure: Regenerate.
48990         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48991         * sysdeps/sparc/sparc32/elf/configure: Delete.
48992         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48993         * sysdeps/sparc/sparc64/elf/configure: Delete.
48994         * sysdeps/sparc/elf/configure.in: New file.
48995         * sysdeps/sparc/elf/configure: Generate.
48997         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48998         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48999         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
49000         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
49001         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
49003 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49005         * manual/install.texi: Do not mention specific glibc version
49006         numbers.
49007         * manual/libc.texinfo (VERSION, UPDATED): Update.
49008         (@copying): Use @copyright{} and range of years.
49010 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
49012         [BZ #13695]
49013         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
49014         [crti.S not in sysdirs] (generated): Do not append.
49015         [crti.S not in sysdirs] (omit-deps): Likewise.
49016         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
49017         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
49018         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
49019         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
49020         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
49021         Likewise.
49022         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
49023         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
49024         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
49025         * csu/defs.awk: Remove file.
49026         * sysdeps/generic/initfini.c: Likewise.
49027         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
49028         variable.
49029         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
49030         Likewise.
49032 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49034         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
49035         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
49036         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
49037         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
49038         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
49039         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
49040         <bits/epoll.h>.
49041         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
49042         (__EPOLL_PACKED): Define to empty if not defined by
49043         <bits/epoll.h>.
49044         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
49045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49046         bits/epoll.h.
49048 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49050         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
49051         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
49052         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
49053         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
49054         <bits/timerfd.h>.
49055         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
49056         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49057         bits/timerfd.h.
49059 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
49061         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
49062         in C locale.
49063         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49064         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49065         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
49066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49068 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
49070         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49071         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
49073 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
49075         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
49076         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
49077         defined.
49078         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
49079         Likewise.
49080         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
49081         entry for 2.16.
49083 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
49085         * math/w_acos.c: Use non-signaling floating-point comparisons.
49086         * math/w_acosf.c: Likewise.
49087         * math/w_acosh.c: Likewise.
49088         * math/w_acoshf.c: Likewise.
49089         * math/w_acoshl.c: Likewise.
49090         * math/w_acosl.c: Likewise.
49091         * math/w_asin.c: Likewise.
49092         * math/w_asinf.c: Likewise.
49093         * math/w_asinl.c: Likewise.
49094         * math/w_atanh.c: Likewise.
49095         * math/w_atanhf.c: Likewise.
49096         * math/w_atanhl.c: Likewise.
49097         * math/w_exp2.c: Likewise.
49098         * math/w_exp2f.c: Likewise.
49099         * math/w_exp2l.c: Likewise.
49100         * math/w_j0.c: Likewise.
49101         * math/w_j0f.c: Likewise.
49102         * math/w_j0l.c: Likewise.
49103         * math/w_j1.c: Likewise.
49104         * math/w_j1f.c: Likewise.
49105         * math/w_j1l.c: Likewise.
49106         * math/w_jn.c: Likewise.
49107         * math/w_jnf.c: Likewise.
49108         * math/w_log.c: Likewise.
49109         * math/w_log10.c: Likewise.
49110         * math/w_log10f.c: Likewise.
49111         * math/w_log10l.c: Likewise.
49112         * math/w_log2.c: Likewise.
49113         * math/w_log2f.c: Likewise.
49114         * math/w_log2l.c: Likewise.
49115         * math/w_logf.c: Likewise.
49116         * math/w_logl.c: Likewise.
49117         * math/w_sqrt.c: Likewise.
49118         * math/w_sqrtf.c: Likewise.
49119         * math/w_sqrtl.c: Likewise.
49120         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49121         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
49122         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49123         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49124         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49126 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49128         [BZ #9739]
49129         * manual/string.texi (strnlen): Use correct parameter name in
49130         equivalent expression.
49132 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49134         [BZ #11174]
49135         * manual/users.texi (seteuid): Consistently use neweuid for
49136         argument name.
49138 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
49140         [BZ #13704]
49141         * manual/nss.texi (Services in the NSS configuration): Correct
49142         list of services in example configuration file.
49144 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
49146         [BZ #11322]
49147         * manual/arith.texi: Remove statements about negative zero
49148         behaving identically to zero.
49150 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49152         [BZ #5993]
49153         * manual/install.texi: Do not document upgrading from libc5.
49155 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
49157         [BZ #4596]
49158         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
49160 2012-02-18  David S. Miller  <davem@davemloft.net>
49162         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
49163         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
49164         %o7 across the call.
49165         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
49166         instead.
49167         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
49168         SETUP_PIC_REG_LEAF.
49169         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
49170         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
49171         * sysdeps/sparc/crtn.S: Likewise.
49173 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
49175         * aout/Makefile: Remove.
49177 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
49179         [BZ #13058]
49180         * manual/examples/argp-ex1.c (main): Format definition in GNU
49181         style.
49182         * manual/examples/argp-ex2.c (main): Likewise.
49183         * manual/examples/argp-ex3.c (main): Likewise.
49184         * manual/examples/argp-ex4.c (main): Likewise.
49185         * manual/examples/longopt.c (main): Use new-style prototype
49186         definition.
49187         * manual/examples/strncat.c (main): Specify return type and use
49188         (void) for arguments.
49189         * manual/examples/subopt.c (main): Use char **argv argument.
49191 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49193         [BZ #5077]
49194         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
49195         rounding modes.
49197 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
49199         [BZ #6907]
49200         * manual/string.texi (strchr): Change when strchrnul is
49201         recommended.
49203 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
49205         [BZ #174]
49206         * manual/locale.texi (setlocale): Document LOCPATH.
49208 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49210         [BZ #10210]
49211         * manual/process.texi (execle): Move @dots{} before last argument.
49213 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
49215         [BZ #12047]
49216         * manual/charset.texi (Generic Charset Conversion): Fix typo
49217         (LC_TYPE -> LC_CTYPE).
49219 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
49221         [BZ #5805]
49222         * manual/arith.texi (scalbn): Use @var{} on parameter names.
49223         (scalbnf): Likewise.
49224         (scalbnl): Likewise.
49225         (scalbln): Likewise.
49226         (scalblnf): Likewise.
49227         (scalblnl): Likewise.
49228         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
49229         (vwarnx): Likewise.
49230         (verr): Likewise.
49231         (verrx): Likewise.
49232         * manual/filesys.texi (telldir): Use braces around return type.
49233         * manual/llio.texi (mmap): Add space after comma.
49234         (mmap64): Likewise.
49235         * manual/math.texi (jn): Use @var{} on parameter names.
49236         (jnf): Likewise.
49237         (jnl): Likewise.
49238         (yn): Likewise.
49239         (ynf): Likewise.
49240         (ynl): Likewise.
49241         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
49242         line.
49243         * manual/resource.texi (ulimit): Use @dots{} instead of literal
49244         "...".
49245         (sched_get_priority_min): Remove semicolon on @deftypefun line.
49246         (sched_get_priority_max): Likewise.
49247         * manual/signal.texi (sigvec): Add space after comma.
49248         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
49249         names.
49250         (if_indextoname): Likewise.
49251         (if_freenameindex): Likewise.
49252         (sendto): Use ',' instead of '.' in prototype.
49253         * manual/startup.texi (syscall): Use @dots{} instead of literal
49254         "...".
49255         * manual/stdio.texi (__fpending): Separate initial words of
49256         paragraph from @deftypefun line.
49257         * manual/syslog.texi (syslog): Use @dots{} instead of literal
49258         "...".
49259         (vsyslog): Use @var{} on parameter names.
49260         * manual/terminal.texi (stty): Use @var{} on parameter names.
49261         * manual/users.texi (getutmp): Use @var{} on parameter names.
49262         (getutmpx): Likewise.
49264 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49266         [BZ #6884]
49267         * manual/stdio.texi (fopen): Fix typos in description of
49268         ",ccs=STRING".
49270 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
49272         [BZ #4026]
49273         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49274         get clock_id definition.
49276 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
49278         [BZ #4822]
49279         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49280         (madvise): Cast every argument to void on its own.
49282 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49284         [BZ #9902]
49285         * manual/startup.texi (Exit Status): Fix typo.
49287 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49289         [BZ #10140]
49290         * manual/examples/argp-ex1.c: Include <stdlib.h>.
49291         * manual/examples/argp-ex2.c: Likewise.
49292         * manual/examples/argp-ex3.c: Likewise.
49294 2012-02-16  Richard Henderson  <rth@redhat.com>
49296         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49297         * sysdeps/s390/s390-32/initfini.c: Remove.
49298         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49299         * sysdeps/s390/s390-64/initfini.c: Remove.
49301 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49303         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49304         compiler output for sysdeps/generic/initfini.c.
49305         * sysdeps/sh/elf/initfini.c: Remove file.
49307 2012-02-16  David S. Miller  <davem@davemloft.net>
49309         [BZ #11494]
49310         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49312         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49313         * sysdeps/sparc/crti.S: New file.
49314         * sysdeps/sparc/crtn.S: New file.
49315         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49316         * sysdeps/sparc/sparc64/Makefile: Likewise.
49318 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
49320         [BZ #3335]
49321         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49323 2012-02-15  Roland McGrath  <roland@hack.frob.com>
49325         [BZ #4822]
49326         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49328         * mach/devstream.c (cookie_io_functions_t): Macro removed.
49329         (write, read, close): Likewise.
49330         Patch by Aurelien Jarno <aurelien@aurel32.net>.
49332 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
49334         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49335         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49336         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49337         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49338         <bits/signalfd.h>.
49339         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49340         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49341         bits/signalfd.h.
49343 2012-02-14  Marek Polacek  <polacek@redhat.com>
49345         * sysdeps/x86_64/crti.S: New file.
49346         * sysdeps/x86_64/crtn.S: New file.
49347         * sysdeps/x86_64/elf/initfini.c: Remove file.
49349 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
49351         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49352         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49353         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49354         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49355         <bits/inotify.h>.
49356         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49357         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49358         bits/inotify.h.
49360 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
49362         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49363         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49364         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49365         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49366         <bits/eventfd.h>.
49367         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49368         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49369         bits/eventfd.h.
49371 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
49373         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49374         __feraiseexcept instead of feraiseexcept.
49376         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49377         nanosleep invocations.
49378         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49379         strings, and add error checking for a nanosleep invocations.
49381 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
49383         Replace FSF snail mail address with URLs, as per GNU coding standards.
49384         Most of the snail mail addresses were wrong anyway, and omitting
49385         them makes the source code easier to maintain.  Almost all of the
49386         changes are to license notices and to locale LC_IDENTIFICATION
49387         addresses, except for this one:
49388         * manual/libc.texinfo: In "Published by", give the FSF's URL,
49389         not its snail mail address.
49391 2012-02-09  Richard Henderson  <rth@twiddle.net>
49393         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49394         of kernel-features.h.
49396         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49398 2012-02-08  Marek Polacek  <polacek@redhat.com>
49400         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49401         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49402         * sysdeps/gnu/_G_config.h: Likewise.
49403         * sysdeps/generic/_G_config.h: Likewise.
49405 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
49407         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49408         tests.
49409         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49411         * sysdeps/powerpc/powerpc32/crti.S: New file.
49412         * sysdeps/powerpc/powerpc32/crtn.S: New file.
49413         * sysdeps/powerpc/powerpc64/crti.S: New file.
49414         * sysdeps/powerpc/powerpc64/crtn.S: New file.
49416         * Makeconfig (have-initfini): Don't set.
49417         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49418         * configure.in (nopic_initfini): Don't substitute.
49419         * config.h.in (HAVE_INITFINI): Don't #undef.
49420         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49421         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49423 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
49425         Support crti.S and crtn.S provided directly by architectures.
49426         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49427         [crti.S in sysdirs] (omit-deps): Likewise.
49428         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49429         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49430         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49431         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49432         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49433         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49434         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49435         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49436         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49437         compiler output for sysdeps/generic/initfini.c.
49438         * sysdeps/i386/elf/Makefile: Remove file.
49439         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49441 2012-02-07  Marek Polacek  <polacek@redhat.com>
49443         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49444         * sysdeps/gnu/_G_config.h: Likewise.
49445         * sysdeps/mach/hurd/_G_config.h: Likewise.
49447 2012-02-07  Marek Polacek  <polacek@redhat.com>
49449         * math/Makefile (tests): Add tst-CMPLX2.
49450         * math/tst-CMPLX2.c: New file.
49452 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
49454         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49456         * math/libm-test.inc (jn_test): Add missing L suffix.
49458 2012-02-06  Marek Polacek  <polacek@redhat.com>
49460         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49461         * sysdeps/i386/fpu/e_powf.S: Likewise.
49462         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49463         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49464         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49465         * sysdeps/i386/fpu/e_pow.S: Likewise.
49466         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49467         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49468         * sysdeps/i386/fpu/s_expm1.S: Likewise.
49469         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49470         * sysdeps/i386/fpu/e_log2.S: Likewise.
49471         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49472         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49473         * sysdeps/i386/fpu/e_powl.S: Likewise.
49474         * sysdeps/i386/fpu/s_log1p.S: Likewise.
49475         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49476         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49477         * sysdeps/i386/fpu/e_logl.S: Likewise.
49478         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49479         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49480         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49481         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49482         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49483         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49484         * sysdeps/i386/fpu/e_log.S: Likewise.
49485         * sysdeps/i386/fpu/s_cexp.S: Likewise.
49486         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49487         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49488         * sysdeps/i386/fpu/e_logf.S: Likewise.
49489         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49490         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49491         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49492         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49493         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49494         * sysdeps/i386/fpu/e_log10.S: Likewise.
49495         * sysdeps/i386/fpu/s_frexp.S: Likewise.
49496         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49497         * sysdeps/i386/fpu/s_asinh.S: Likewise.
49498         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49499         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49500         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49501         * sysdeps/i386/asm-syntax.h: Likewise.
49502         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49503         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49504         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49505         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49506         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49507         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49508         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49509         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49510         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49511         * sysdeps/powerpc/sysdep.h: Likewise.
49512         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49513         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49515 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49517         [BZ #411]
49518         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49520 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49522         * sysdeps/i386/sysdep.h: Include <features.h>.
49523         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49524         version.
49526 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
49528         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49529         Define.
49530         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49531         LOAD_PIC_REG_STR.
49533 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49535         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49536         (SETUP_PIC_REG): Use GET_PC_THUNK.
49537         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49538         macro.
49540 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49542         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49543         for non-PIC compilation.
49544         (SETUP_PIC_REG): Add .p2align directive.
49545         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49546         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49547         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49548         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49549         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49550         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49551         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49552         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49553         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49554         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49555         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49556         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49557         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49558         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49559         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49560         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49561         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49562         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49563         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49564         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49565         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49566         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49567         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49568         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49569         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49570         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49571         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49572         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49573         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49574         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49575         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49576         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49577         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49578         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49579         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49580         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49581         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49582         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49583         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49584         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49585         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49587 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49589         * math/tst-CMPLX.c: Include <stdio.h>.
49591 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
49593         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49594         float.
49595         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49596         * sysdeps/sparc/bits/mathdef.h: Likewise.
49598 2012-01-31  Marek Polacek  <polacek@redhat.com>
49600         * libio/libio.h: Don't define _PARAMS.
49601         * locale/programs/config.h: Don't define PARAMS.
49602         * stdlib/strtol_l.c: Likewise.
49603         (__strtol_l): Remove PARAMS from the prototype.
49605 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
49607         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
49608         names.  Just use the correct names.  Remove unnecessary wrapper
49609         functions.
49610         * malloc/arena.c: Likewise.
49611         * malloc/hooks.c: Likewise.
49613         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49614         ARENA_TEST says not to.  Simplify test for creation of a new arena.
49615         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49617 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
49619         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49620         into tail calls.
49621         (update_get_addr): New function.
49622         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49623         GET_ADDR_MODULE parameter.
49625 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49627         * crypt/cert.c: Remove __STDC__ conditionals.
49628         * crypt/crypt-entry.c: Likewise.
49629         * crypt/crypt_util.c: Likewise.
49630         * libio/filedoalloc.c: Likewise.
49631         * libio/fileops.c: Likewise.
49632         * libio/genops.c: Likewise.
49633         * libio/iofclose.c: Likewise.
49634         * libio/iofdopen.c: Likewise.
49635         * libio/iofopen.c: Likewise.
49636         * libio/iofopen64.c: Likewise.
49637         * libio/iogetdelim.c: Likewise.
49638         * libio/iopopen.c: Likewise.
49639         * libio/obprintf.c: Likewise.
49640         * libio/oldfileops.c: Likewise.
49641         * libio/oldiofclose.c: Likewise.
49642         * libio/oldiofdopen.c: Likewise.
49643         * libio/oldiofopen.c: Likewise.
49644         * libio/oldiopopen.c: Likewise.
49645         * libio/wfiledoalloc.c: Likewise.
49646         * libio/wgenops.c: Likewise.
49647         * locale/programs/xmalloc.c: Likewise.
49648         * misc/syslog.c: Likewise.
49649         * stdio-common/xbug.c: Likewise.
49650         * string/memchr.c: Likewise.
49651         * string/memcmp.c: Likewise.
49652         * string/memrchr.c: Likewise.
49653         * string/rawmemchr.c: Likewise.
49654         * sysdeps/posix/getcwd.c: Likewise.
49655         * time/strftime_l.c: Likewise.
49657 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49659         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49660         * config.make.in (config-cflags-sse2avx): Define.
49661         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49662         Fix typo.
49664 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
49666         * scripts/config.guess: Update from upstream config git repository.
49667         * scripts/config.sub: Likewise.
49669 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
49671         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49672         (EM_NUM): Update.
49673         (R_TILEPRO_*, R_TILEGX_*): New macros.
49675         * scripts/firstversions.awk: Fix bug in version range handling.
49677         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49679         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49681         * include/sys/epoll.h: New file.
49682         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49683         libc_hidden_def.
49685 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
49687         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49688         Avoid unnecessary __WORDSIZE == 64 test.
49689         (fmaxf): Use VEX format if possible.
49690         (fmax): Likewise.
49691         (fminf): Likewise.
49692         (fmin): Likewise.
49694         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49695         * math/math_private.h: Remove libc_fegetround* and
49696         libc_fesetround*.
49697         * sysdeps/i386/configure.in: Check for -msse2avx.
49698         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49699         also if SSE2AVX is defined.
49700         Remove libc_fegetround* and libc_fesetround*.
49701         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49702         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
49703         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49704         of HAS_YMM_USABLE.
49705         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49706         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49707         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49708         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49709         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49711         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49713 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49715         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49716         size is not set.
49717         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49719 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
49721         [BZ #13618]
49722         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49723         relocation.
49724         * Makeconfig (libm): Define.
49725         * elf/Makefile: Add rules to build and run tst-relsort1.
49726         * elf/tst-relsort1.c: New file.
49727         * elf/tst-relsort1mod1.c: New file.
49728         * elf/tst-relsort1mod2.c: New file.
49730 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
49732         * math/s_ldexp.c: Remove __STDC__ conditionals.
49733         * math/s_ldexpf.c: Likewise.
49734         * math/s_ldexpl.c: Likewise.
49735         * math/s_nextafter.c: Likewise.
49736         * math/s_nexttowardf.c: Likewise.
49737         * math/s_significand.c: Likewise.
49738         * math/s_significandf.c: Likewise.
49739         * math/s_significandl.c: Likewise.
49740         * math/w_jnl.c: Likewise.
49741         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49742         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49743         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49744         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49745         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49746         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49747         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49748         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49749         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49750         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49751         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49752         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49753         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49754         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49755         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49756         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49757         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49758         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49759         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49760         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49761         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49762         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49763         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49764         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49765         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49766         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49767         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49768         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49769         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49770         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49771         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49772         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49773         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49774         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49775         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49776         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49777         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49778         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49779         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49780         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49781         * sysdeps/ieee754/k_standard.c: Likewise.
49782         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49783         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49784         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49785         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49786         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49787         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49788         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49789         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49790         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49791         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49792         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49793         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49794         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49795         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49796         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49797         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49798         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49799         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49800         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49801         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49802         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49803         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49804         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49805         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49806         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49807         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49808         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49809         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49810         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49811         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49812         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49813         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49814         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49815         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49816         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49817         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49818         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49819         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49820         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49821         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49822         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49823         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49824         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49825         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49826         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49827         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49828         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49829         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49830         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49831         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49832         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49833         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49834         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49835         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49836         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49837         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49838         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49839         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49840         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49841         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49842         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49843         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49844         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49845         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49846         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49847         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49848         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49849         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49850         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49851         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49852         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49853         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49854         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49855         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49856         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49857         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49858         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49859         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49860         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49861         * sysdeps/ieee754/s_matherr.c: Likewise.
49862         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49863         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49864         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49865         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49867 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49869         * crypt/md5.h: Remove __STDC__ conditionals.
49870         * libio/libioP.h: Likewise.
49871         * locale/programs/config.h: Likewise.
49872         * sysdeps/generic/sysdep.h: Likewise.
49873         * sysdeps/i386/asm-syntax.h: Likewise.
49874         * sysdeps/s390/asm-syntax.h: Likewise.
49875         * sysdeps/unix/sysdep.h: Likewise.
49876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49879 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49881         * libio/libio.h: Remove __STDC__ conditionals.
49882         * malloc/obstack.h: Likewise.
49883         * math/complex.h: Likewise.
49884         * math/math.h: Likewise.
49885         * sysdeps/generic/_G_config.h: Likewise.
49886         * sysdeps/gnu/_G_config.h: Likewise.
49887         * sysdeps/mach/hurd/_G_config.h: Likewise.
49888         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49889         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49890         * sysdeps/sparc/bits/mathdef.h: Likewise.
49892 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49894         [BZ #13583]
49895         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49896         Clean up HAS_* macros.
49897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49898         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49899         possible.
49900         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49901         HAS_AVX.
49902         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49903         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49904         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49905         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49906         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49908 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49910         * elf/tst-unique3.cc (gets): Remove declaration.
49911         * elf/tst-unique3lib.cc (gets): Likewise.
49912         * elf/tst-unique3lib2.cc (gets): Likewise.
49913         * elf/tst-unique4.cc (gets): Likewise.
49915 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49917         * include/stdio.h: Add C++ protection.  Add gets declarations and
49918         definitions.
49919         * debug/tst-chk1.c: Don't declare gets here.
49920         * stdio-common/tst-gets.c: Likewise.
49922 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49924         * posix/glob: Remove directory.
49926 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49928         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49930 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49932         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49933         of the non-standard EPFNOSUPPORT.
49935 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49937         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49938         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49939         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49941 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49943         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49945 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49947         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49948         transient errors.
49949         * nscd/grpcache.c (cache_addgr): Likewise.
49950         * nscd/hstcache.c (cache_addhst): Likewise.
49951         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49952         * nscd/pwdcache.c (cache_addpw): Likewise.
49953         * nscd/servicescache.c (cache_addserv): Likewise.
49955 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49957         * malloc/malloc.c: Various cleanups.
49958         * malloc/hooks.c: Likewise.
49960         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49961         * stdlib/bug-fmtmsg1.c: New file.
49963         * stdlib/fmtmsg.c (init): Add missing unlock.
49964         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49966 2012-01-12  Marek Polacek  <polacek@redhat.com>
49968         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49969         and _GNU_SOURCE.
49971 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49973         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49974         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49975         macro to ensure uniqueness of label name.
49976         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49977         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49979 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49981         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49983         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49984         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49985         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49986         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49988 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49990         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49992         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49993         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49994         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49996         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49998         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49999         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
50000         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50001         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
50003         * math/bits/math-finite.h: Add ldexp support.
50005 2012-01-10  Marek Polacek  <polacek@redhat.com>
50007         * locale/programs/localedef.h (show_archive_content): Add noreturn
50008         attribute.
50010 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
50012         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
50014 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50016         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
50018         * io/Makefile (headers): Add bits/poll2.h.
50020 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
50022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
50023         typo #include statement.
50025 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50027         * include/sys/cdefs.h: Define __attribute_alloc_size.
50028         * catgets/gencat.c: Add alloc_size attribute and apply consistently
50029         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
50030         * elf/pldd.c: Likewise.
50031         * iconv/iconv_charmap.c: Likewise.
50032         * iconv/iconvconfig.c: Likewise.
50033         * iconv/strtab.c: Likewise.
50034         * locale/programs/locale.c: Likewise.
50035         * locale/programs/localedef.h: Likewise.
50036         * locale/programs/simple-hash.c: Likewise.
50037         * nscd/nscd.h: Likewise.
50038         * nss/makedb.c: Likewise.
50039         * sysdeps/generic/ldconfig.h: Likewise.
50040         * locale/programs/localedef.c: Remove xmalloc prototype.
50041         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
50043 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
50045         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
50046         appropriate.
50048 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
50050         * math/Makefile (tests): Add tst-CMPLX.
50051         * math/tst-CMPLX.c: New file.
50053         * math/complex.h (CMPLXL): Fix typo.
50055         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
50056         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
50057         GLIBC_2.16.
50058         * debug/tst-chk1.c: Add poll and ppoll tests.
50059         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
50060         * include/sys/poll.h: Add hidden proto for ppoll.
50061         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
50062         * sysdeps/mach/hurd/ppoll.c: Likewise.
50063         * io/ppoll.c: Likewise.
50064         * debug/poll_chk.c: New file.
50065         * debug/ppoll_chk.c: New file.
50066         * include/bits/poll2.h: New file.
50067         * io/bits/poll2.h: New file.
50069         [BZ #1350]
50070         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
50072         * configure.in: static is always set to yes.  Remove.
50073         * config.make.in: Don't set build-static.
50074         * Makeconfig: Remove use of build-static.
50075         * dlfcn/Makefile: Likewise.
50076         * elf/Makefile: Likewise.
50077         * math/Makefile: Likewise.
50078         * misc/Makefile: Likewise.
50079         * nptl/Makefile: Likewise.
50080         * sysdeps/mach/hurd/Makefile: Likewise.
50082         * configure.in: PWD_P is not used anymore.
50083         * config.make.in: Remove PWD_P entry.
50085         * configure.in: Remove last remnants of RANLIB.
50086         No need to check for signed size_t anymore.
50087         Don't set libc_commonpagesize and libc_relro_required here for Alpha
50088         and IA-64.
50089         Remove __builtin_expect test because we require at least gcc 3.4.
50090         * aclocal.m4: Likewise.
50092         * wcsmbs/mbrtoc16.c: Implement using towc function.
50093         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
50094         * wcsmbs/wcsmbsload.c: Likewise.
50095         * iconv/gconv_simple.c: Likewise.
50096         * iconv/gconv_int.h: Likewise.
50097         * iconv/gconv_builtin.h: Likewise.
50098         * iconv/iconv_prog.c: Remove CHAR16 handling.
50100         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
50102         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
50104         * configure.in: Remove --with-elf and --enable-bounded options.
50105         Dont set base_machine for ia64.  More non-ELF conditions removed.
50106         Remove testing and setting of leading underscore information.
50107         * config.make.in (build-bounded): Set to no.
50108         * config.h.in: Remove NO_UNDERSCORES entry.
50109         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
50110         them.
50111         * csu/start.c: Remove !NO_UNDERSCORE code.
50112         * locale/localeinfo.h: Likewise.
50113         * sysdeps/generic/machine-gmon.h: Likewise.
50114         * sysdeps/generic/sysdep.h: Likewise.
50115         * sysdeps/i386/sysdep.h: Likewise.
50116         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50117         * sysdeps/mach/sysdep.h: Likewise.
50118         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50119         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50120         * sysdeps/sh/sysdep.h: Likewise.
50121         * sysdeps/sparc/sparc32/alloca.S: Likewise.
50122         * sysdeps/unix/i386/sysdep.S: Likewise.
50123         * sysdeps/unix/sparc/start.c: Likewise.
50124         * sysdeps/unix/sparc/sysdep.S: Likewise.
50125         * sysdeps/unix/sparc/sysdep.h: Likewise.
50126         * sysdeps/unix/start.c: Likewise.
50127         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50128         * sysdeps/x86_64/sysdep.h: Likewise.
50130 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
50132         [BZ #13553]
50133         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
50134         for non-gcc.
50135         * argp/argp-fmtstream.h: Use const instead __const.
50136         * argp/argp.h: Likewise.
50137         * assert/assert.h: Likewise.
50138         * bits/fenv.h: Likewise.
50139         * bits/sched.h: Likewise.
50140         * bits/sigset.h: Likewise.
50141         * bits/sigthread.h: Likewise.
50142         * catgets/nl_types.h: Likewise.
50143         * conform/data/pthread.h-data: Likewise.
50144         * crypt/crypt-private.h: Likewise.
50145         * crypt/crypt.h: Likewise.
50146         * crypt/crypt_util.c: Likewise.
50147         * ctype/ctype.h: Likewise.
50148         * debug/execinfo.h: Likewise.
50149         * debug/mbsnrtowcs_chk.c: Likewise.
50150         * debug/mbsrtowcs_chk.c: Likewise.
50151         * debug/wcsnrtombs_chk.c: Likewise.
50152         * debug/wcsrtombs_chk.c: Likewise.
50153         * debug/wcstombs_chk.c: Likewise.
50154         * dirent/dirent.h: Likewise.
50155         * dlfcn/dlfcn.h: Likewise.
50156         * elf/neededtest4.c: Likewise.
50157         * grp/grp.h: Likewise.
50158         * gshadow/gshadow.h: Likewise.
50159         * iconv/gconv.h: Likewise.
50160         * iconv/gconv_int.h: Likewise.
50161         * iconv/gconv_simple.c: Likewise.
50162         * iconv/iconv.h: Likewise.
50163         * iconv/loop.c: Likewise.
50164         * iconv/skeleton.c: Likewise.
50165         * include/aio.h: Likewise.
50166         * include/aliases.h: Likewise.
50167         * include/argz.h: Likewise.
50168         * include/arpa/inet.h: Likewise.
50169         * include/assert.h: Likewise.
50170         * include/dirent.h: Likewise.
50171         * include/dlfcn.h: Likewise.
50172         * include/execinfo.h: Likewise.
50173         * include/fcntl.h: Likewise.
50174         * include/fenv.h: Likewise.
50175         * include/glob.h: Likewise.
50176         * include/grp.h: Likewise.
50177         * include/libintl.h: Likewise.
50178         * include/mntent.h: Likewise.
50179         * include/netdb.h: Likewise.
50180         * include/pwd.h: Likewise.
50181         * include/rpc/netdb.h: Likewise.
50182         * include/sched.h: Likewise.
50183         * include/search.h: Likewise.
50184         * include/shadow.h: Likewise.
50185         * include/signal.h: Likewise.
50186         * include/stdio.h: Likewise.
50187         * include/stdlib.h: Likewise.
50188         * include/string.h: Likewise.
50189         * include/sys/socket.h: Likewise.
50190         * include/sys/stat.h: Likewise.
50191         * include/sys/statfs.h: Likewise.
50192         * include/sys/statvfs.h: Likewise.
50193         * include/sys/syslog.h: Likewise.
50194         * include/sys/time.h: Likewise.
50195         * include/sys/uio.h: Likewise.
50196         * include/time.h: Likewise.
50197         * include/unistd.h: Likewise.
50198         * include/utmp.h: Likewise.
50199         * include/wchar.h: Likewise.
50200         * include/wctype.h: Likewise.
50201         * inet/aliases.h: Likewise.
50202         * inet/arpa/inet.h: Likewise.
50203         * inet/netinet/ether.h: Likewise.
50204         * inet/netinet/in.h: Likewise.
50205         * intl/libintl.h: Likewise.
50206         * io/bits/fcntl2.h: Likewise.
50207         * io/fcntl.h: Likewise.
50208         * io/ftw.h: Likewise.
50209         * io/sys/poll.h: Likewise.
50210         * io/sys/stat.h: Likewise.
50211         * io/sys/statfs.h: Likewise.
50212         * io/sys/statvfs.h: Likewise.
50213         * io/utime.h: Likewise.
50214         * libio/bits/stdio.h: Likewise.
50215         * libio/bits/stdio2.h: Likewise.
50216         * libio/libio.h: Likewise.
50217         * libio/libioP.h: Likewise.
50218         * libio/stdio.h: Likewise.
50219         * locale/lc-ctype.c: Likewise.
50220         * locale/locale.h: Likewise.
50221         * login/utmp.h: Likewise.
50222         * malloc/arena.c: Likewise.
50223         * malloc/malloc.c: Likewise.
50224         * malloc/malloc.h: Likewise.
50225         * malloc/mcheck.c: Likewise.
50226         * malloc/mtrace.c: Likewise.
50227         * math/bits/mathcalls.h: Likewise.
50228         * math/fenv.h: Likewise.
50229         * math/math_private.h: Likewise.
50230         * misc/bits/error.h: Likewise.
50231         * misc/bits/syslog.h: Likewise.
50232         * misc/err.h: Likewise.
50233         * misc/error.h: Likewise.
50234         * misc/fstab.h: Likewise.
50235         * misc/mntent.h: Likewise.
50236         * misc/regexp.h: Likewise.
50237         * misc/search.h: Likewise.
50238         * misc/sgtty.h: Likewise.
50239         * misc/sys/mman.h: Likewise.
50240         * misc/sys/syslog.h: Likewise.
50241         * misc/sys/uio.h: Likewise.
50242         * misc/sys/xattr.h: Likewise.
50243         * misc/ttyent.h: Likewise.
50244         * nis/rpcsvc/ypclnt.h: Likewise.
50245         * nss/nss.h: Likewise.
50246         * posix/bits/unistd.h: Likewise.
50247         * posix/fnmatch.h: Likewise.
50248         * posix/glob.h: Likewise.
50249         * posix/sched.h: Likewise.
50250         * posix/spawn.h: Likewise.
50251         * posix/sys/wait.h: Likewise.
50252         * posix/unistd.h: Likewise.
50253         * posix/wordexp.h: Likewise.
50254         * pwd/pwd.h: Likewise.
50255         * resolv/netdb.h: Likewise.
50256         * resource/sys/resource.h: Likewise.
50257         * rt/aio.h: Likewise.
50258         * rt/bits/mqueue2.h: Likewise.
50259         * rt/mqueue.h: Likewise.
50260         * shadow/shadow.h: Likewise.
50261         * signal/signal.h: Likewise.
50262         * socket/send.c: Likewise.
50263         * socket/sendto.c: Likewise.
50264         * socket/sys/socket.h: Likewise.
50265         * stdio-common/printf.h: Likewise.
50266         * stdlib/bits/stdlib.h: Likewise.
50267         * stdlib/fmtmsg.h: Likewise.
50268         * stdlib/monetary.h: Likewise.
50269         * stdlib/stdlib.h: Likewise.
50270         * stdlib/ucontext.h: Likewise.
50271         * streams/stropts.h: Likewise.
50272         * string/argz.h: Likewise.
50273         * string/bits/string2.h: Likewise.
50274         * string/string.h: Likewise.
50275         * string/strings.h: Likewise.
50276         * sunrpc/rpc/auth.h: Likewise.
50277         * sunrpc/rpc/auth_des.h: Likewise.
50278         * sunrpc/rpc/clnt.h: Likewise.
50279         * sunrpc/rpc/netdb.h: Likewise.
50280         * sunrpc/rpc/pmap_clnt.h: Likewise.
50281         * sunrpc/rpc/xdr.h: Likewise.
50282         * sysdeps/generic/inttypes.h: Likewise.
50283         * sysdeps/generic/net/if.h: Likewise.
50284         * sysdeps/generic/sys/swap.h: Likewise.
50285         * sysdeps/gnu/net/if.h: Likewise.
50286         * sysdeps/gnu/utmpx.h: Likewise.
50287         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50288         * sysdeps/i386/i486/bits/string.h: Likewise.
50289         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50290         * sysdeps/s390/bits/string.h: Likewise.
50291         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50292         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50293         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50294         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50295         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50296         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50297         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50298         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50299         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50300         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50301         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50302         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50303         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50304         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50305         * sysdeps/unix/sysv/linux/readv.c: Likewise.
50306         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50307         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50308         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50309         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50310         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50311         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50312         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50313         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50314         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50315         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50316         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50317         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50318         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50319         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50320         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50321         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50322         * sysvipc/sys/ipc.h: Likewise.
50323         * sysvipc/sys/msg.h: Likewise.
50324         * sysvipc/sys/sem.h: Likewise.
50325         * sysvipc/sys/shm.h: Likewise.
50326         * termios/termios.h: Likewise.
50327         * time/sys/time.h: Likewise.
50328         * time/time.h: Likewise.
50329         * wcsmbs/bits/wchar2.h: Likewise.
50330         * wcsmbs/uchar.h: Likewise.
50331         * wcsmbs/wchar.h: Likewise.
50332         * wctype/wctype.h: Likewise.
50334         [BZ #13551]
50335         * Makeconfig: Remove all but ELF support including AIX support.
50336         * Makerules: Likewise.
50337         * config.h.in: Likewise.
50338         * config.make.in: Likewise.
50339         * configure: Likewise.
50340         * configure.in: Likewise.
50341         * csu/Makefile: Likewise.
50342         * csu/version.c: Likewise.
50343         * debug/Makefile: Likewise.
50344         * dlfcn/Makefile: Likewise.
50345         * elf/Makefile: Likewise.
50346         * extra-lib.mk: Likewise.
50347         * iconv/Makefile: Likewise.
50348         * include/libc-symbols.h: Likewise.
50349         * include/shlib-compat.h: Likewise.
50350         * resolv/Makefile: Likewise.
50351         * resolv/res_libc.c: Likewise.
50352         * rt/Makefile: Likewise.
50353         * sysdeps/i386/asm-syntax.h: Likewise.
50354         * sysdeps/i386/sysdep.h: Likewise.
50355         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50356         * sysdeps/mach/sysdep.h: Likewise.
50357         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50358         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50359         * sysdeps/s390/asm-syntax.h: Likewise.
50360         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50361         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50362         * sysdeps/sh/sysdep.h: Likewise.
50363         * sysdeps/unix/sparc/sysdep.h: Likewise.
50364         * sysdeps/wordsize-32/divdi3.c: Likewise.
50365         * sysdeps/x86_64/sysdep.h: Likewise.
50367         * argp/Versions: Remove _argp_unlock_xxx.
50369         [BZ #13559]
50370         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
50371         * abilist/libBrokenLocale.abilist: Likewise.
50372         * abilist/libanl.abilist: Likewise.
50373         * abilist/libc.abilist: Likewise.
50374         * abilist/libcrypt.abilist: Likewise.
50375         * abilist/libdl.abilist: Likewise.
50376         * abilist/libm.abilist: Likewise.
50377         * abilist/libnsl.abilist: Likewise.
50378         * abilist/libpthread.abilist: Likewise.
50379         * abilist/libresolv.abilist: Likewise.
50380         * abilist/librt.abilist: Likewise.
50381         * abilist/libthread_db.abilist: Likewise.
50382         * abilist/libutil.abilist: Likewise.
50383         * abilist/libnss_db.abilist: New file.
50385         * scripts/abilist.awk: Add support for indirect functions.
50387         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50389         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50391         * shlib-versions: Remove entries for ports architectures.
50393         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
50394         files in ports.
50395         * elf/stackguard-macros.h: Remove support for IA-64.
50396         * elf/tst-auditmod1.c: Likewise.
50397         * sysdeps/generic/ldsodefs.h: Likewise.
50399         * sysdeps/unix/sysv/linux/configure.in: Ports should define
50400         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50401         configure files.
50403         [BZ #13552]
50404         * configure.in: Remove --enable-omitfp support.
50405         * FAQ.in: Adjust.
50406         * config.make.in: Likewise.
50407         * Makeconfig: Likewise.
50408         * manual/install.texi: Likewise.
50410         In case anyone cares, the IA-64 architecture could move to ports.
50411         * sysdeps/ia64/*: Removed.
50412         * sysdeps/unix/sysv/linux/ia64/*: Removed.
50413         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50415         [BZ #13555]
50416         * configure.in: Remove entries for unsupported architectures.
50418         [BZ #13533]
50419         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50420         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
50421         routines.
50422         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50423         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50424         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
50425         fall back to using wcrtomb.
50426         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50427         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
50428         renaming.
50429         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50430         * wcsmbs/tst-c16c32-1.c: New file.
50432         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50433         local variable.
50435         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50437         * elf/tst-unique3.cc: Add explicit declaration of gets.
50438         * elf/tst-unique3lib.cc: Likewise.
50439         * elf/tst-unique3lib2.cc: Likewise.
50440         * elf/tst-unique4.cc: Likewise.
50442         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50444 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
50446         [BZ #13566]
50447         * assert/assert.h (static_assert): Don't define for C++.
50448         * libio/stdio.h (gets): Do declare for C++ <= C++11.
50449         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50451 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
50453         * iconv/loop.c (single loop): Fix assertion in storing of
50454         remaining bytes.
50456         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50458 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
50460         * posix/getconf.c: Update copyright year.
50461         * nss/getent.c: Likewise.
50462         * nss/makedb.c: Likewise.
50463         * iconv/iconvconfig.c: Likewise.
50464         * iconv/iconv_prog.c: Likewise.
50465         * elf/ldconfig.c: Likewise.
50466         * elf/pldd.c: Likewise.
50467         * elf/sotruss.ksh: Likewise.
50468         * catgets/gencat.c: Likewise.
50469         * csu/version.c: Likewise.
50470         * elf/ldd.bash.in: Likewise.
50471         * elf/sprof.c (print_version): Likewise.
50472         * locale/programs/locale.c: Likewise.
50473         * locale/programs/localedef.c: Likewise.
50474         * login/programs/pt_chown.c: Likewise.
50475         * nscd/nscd.c (print_version): Likewise.
50476         * debug/xtrace.sh: Likewise.
50477         * malloc/memusage.sh: Likewise.
50478         * malloc/mtrace.pl: Likewise.
50479         * debug/catchsegv.sh: Likewise.
50481 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
50483         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50484         pure attribute.
50486 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
50488         [BZ #13533]
50489         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50490         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50491         transformations.
50492         * iconv/gconv_int.h: Likewise.
50493         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50494         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50495         from libc for GLIBC_2.16.
50496         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50497         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50498         * wcsmbs/uchar.h: Really define mbstate_t.
50499         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50500         * wcsmbs/c16rtomb.c: New file.
50501         * wcsmbs/mbrtoc16.c: New file.
50502         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50503         for C/POSIX locale.
50504         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50505         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50507         * wcsmbs/wchar.h: Add missing __restrict.
50509 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50511         [BZ #13532]
50512         * time/Makefile (routines): Add timespec_get.
50513         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50514         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
50515         timespec for ISO C11.
50516         * time/timespec_get.c: New file.
50517         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50518         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50520         [BZ #13531]
50521         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50522         * stdlib/stdlib.h: Declare aligned_alloc.
50523         * Versions.def: Add GLIBC_2.16 for libc.
50524         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50526         [BZ 13527]
50527         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50528         ISO C11.
50530         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50531         code.
50533         [BZ #13528]
50534         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50536         [BZ #13529]
50537         * assert/assert.h (static_assert): Define.
50539         * version.h: Update for 2.16 development version.
50541         [BZ #13526]
50542         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50543         _ISOC11_SOURCE.
50545         * version.h (RELEASE): Bump for 2.15 release.
50546         * include/features.h (__GLIBC_MINOR__): Bump to 15.
50548         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50549         Patch by Marek Polacek <mpolacek@redhat.com>.
50551         * bits/byteswap.h: Protect long long constants with __extension__.
50552         * sysdeps/i386/bits/byteswap.h: Likewise.
50553         * sysdeps/ia64/bits/byteswap.h: Likewise.
50554         * sysdeps/s390/bits/byteswap.h: Likewise.
50555         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50557 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50559         [BZ #13540]
50560         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50561         destination buffer.
50562         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50564 2011-12-23  Marek Polacek  <polacek@redhat.com>
50566         * elf/dl-addr.c (determine_info): Add inline keyword.
50567         * elf/tst-auditmod4b.c (check_avx): Likewise.
50568         * elf/tst-auditmod6b.c (check_avx): Likewise.
50569         * elf/tst-auditmod6c.c (check_avx): Likewise.
50570         * elf/tst-auditmod7b.c (check_avx): Likewise.
50572 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50574         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50575         !__SSE_MATH__.
50577 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50579         [BZ #13540]
50580         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50581         processing for last bytes.
50583 2011-08-06  Bruno Haible  <bruno@clisp.org>
50585         [BZ #13061]
50586         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50587         U+0385, not to U+1FEE.
50589         [BZ #13062]
50590         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50591         entry for U+00A5 U+0301.
50593 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50595         [BZ #13166]
50596         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50597         buffer for the output is too small.
50599         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50600         optimization.
50602         [BZ #13185]
50603         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50604         SSE flags if possible.
50606 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50608         [BZ #13540]
50609         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50610         processing for last bytes.
50612 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
50614         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50615         (syscall-list-default-options, syscall-list-default-condition)
50616         (syscall-list-includes): Define.
50617         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50618         list of ABIs and options and #if conditions for each ABI.  Do not
50619         handle common syscalls between ABIs specially.
50620         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50621         Remove.
50622         (syscall-list-variants, syscall-list-32bit-options)
50623         (syscall-list-32bit-condition, syscall-list-64bit-options)
50624         (syscall-list-64bit-condition): Define.
50625         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50626         (syscall-list-variants, syscall-list-32bit-options)
50627         (syscall-list-32bit-condition, syscall-list-64bit-options)
50628         (syscall-list-64bit-condition): Define.
50629         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50630         Remove.
50631         (syscall-list-variants, syscall-list-32bit-options)
50632         (syscall-list-32bit-condition, syscall-list-64bit-options)
50633         (syscall-list-64bit-condition): Define.
50634         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50635         Remove.
50636         (syscall-list-variants, syscall-list-32bit-options)
50637         (syscall-list-32bit-condition, syscall-list-64bit-options)
50638         (syscall-list-64bit-condition): Define.
50640 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50642         * locale/iso-639.def: Add brx entry.
50644         [BZ #13328]
50645         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50646         Proposed by Mariusz_Cukr <marcukr@op.pl>.
50648         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50649         __feraiseexcept_renamed.
50651 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50653         [BZ #13538]
50654         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50655         EPOLLET with unsigned values.
50656         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50657         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50659         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50660         to large cancellation.
50661         * math/s_cacoshf.c: Likewise.
50662         * math/s_cacoshl.c: Likewise.
50664 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
50666         [BZ #13305]
50667         [BZ #12786]
50668         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50669         * math/s_cacoshf.c: Likewise.
50670         * math/s_cacoshl.c: Likewise.
50672 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50674         [BZ #13439]
50675         * iconv/gconv.h: Define __GCONV_SWAP.
50676         * iconvdata/unicode.c: The swap bit must be stored in __flags.
50677         * iconvdata/utf-16.c: Likewise.
50678         * iconvdata/utf-32.c: Likewise.
50680 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
50682         [BZ #13524]
50683         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50684         numerator after shifting it by one limb.
50686 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
50688         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50689         under [__USE_EXTERN_INLINES].
50691 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50693         [BZ #13446]
50694         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50696 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50698         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50699         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50700         optimized code.
50701         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50702         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50703         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50704         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50705         for strncasecmp/strncasecmp_l compilation.
50706         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50707         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50709 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
50711         [BZ #13484]
50712         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50713         of __asm__.
50715 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50717         [BZ #13506]
50718         * time/tzfile.c (__tzfile_read): Check values from file header.
50720 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50722         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50723         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50724         * powerpc/powerpc32/dl-start.S: Likewise.
50725         * powerpc/powerpc32/elf/start.S: Likewise.
50726         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50727         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50728         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50729         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50730         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50731         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50732         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50733         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50734         * powerpc/powerpc32/fpu/s_round.S: Likewise.
50735         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50736         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50737         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50738         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50739         * powerpc/powerpc32/memset.S: Likewise.
50740         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50741         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50742         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50743         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50744         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50745         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50746         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50747         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50748         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50749         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50750         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50751         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50752         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50754 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50756         * math/libm-test.inc: Added more nearbyint tests.
50757         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50758         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50759         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50760         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50762 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
50764         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50765         FD_CLOEXEC.
50767 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50769         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50770         Add wcscpy-ssse3 wcscpy-c.
50771         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50772         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50773         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50774         * sysdeps/x86_64/wcschr.S: New file.
50775         * sysdeps/x86_64/wcsrchr.S: New file.
50776         * string/test-strcmp.c: Remove checking of wcscmp function for
50777         wrong alignments.
50778         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50779         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50780         wcsrchr-sse2 wcsrchr-c.
50781         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50782         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50783         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50784         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50785         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50786         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50787         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50788         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50789         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50790         * wcsmbc/wcschr.c (WCSCHR): New macro.
50792 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50794         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50795         * wcsmbs/test-wcsrchr.c: New file.
50796         * string/test-strrchr.c: Add wcsrchr support.
50797         (WIDE): New macro.
50798         * wcsmbs/test-wcscpy.c: New file.
50799         * string/test-strcpy.c: Add wcscpy support.
50800         (WIDE): New macro.
50802 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
50804         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50805         the inner loop.
50807 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
50809         [BZ #13472]
50810         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50812 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
50814         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50815         Minor optimizations.
50817         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50818         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50819         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50821 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
50823         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50824         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50825         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50826         for gcc to avoid warnings.
50827         * inet/Makefile (tests): Add tst-checks.
50828         * inet/tst-checks.c: New file.
50830         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50831         warning.
50833         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50834         __wmemcmp_sse2.
50836         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50837         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50839         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50841 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50843         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50844         problem.
50846         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50848 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50850         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50851         conditional on GCC version.
50852         (__arch_compare_and_exchange_val_8_acq)
50853         (__arch_compare_and_exchange_val_16_acq)
50854         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50855         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50856         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50858 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50860         * sysdeps/sh/backtrace.c: New file.
50862 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50864         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50865         parenthesis.
50867 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50869         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50870         falling back to utime.
50872 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50874         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50875         expectations for float.
50877 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50879         * locale/weight.h (findidx): Add parameter len.
50880         * locale/weightwc.h (findidx): Likewise.
50881         * posix/fnmatch_loop.c (FCT): Adjust caller.
50882         * posix/regcomp.c (build_equiv_class): Likewise.
50883         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50884         * posix/regexec.c (check_node_accept_bytes): Likewise.
50885         * string/strcoll_l.c (STRCOLL): Likewise.
50886         * string/strxfrm_l.c (STRXFRM): Likewise.
50888 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50890         * Makefile.in: Remove CVSOPT handling.
50891         * configure.in: Remove use of AC_REVISION.
50892         * iconvdata/Makefile (distribute): No need to filter out CVS.
50893         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50894         handling.
50896 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50898         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50899         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50900         [USE_AS_STRNCASECMP_L]: Likewise.
50901         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50902         NO_TLS_DIRECT_SEG_REFS.
50903         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50904         Fix argument offsets for non-PIC.
50905         [USE_AS_STRNCASECMP_L]: Likewise.
50906         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50907         NO_TLS_DIRECT_SEG_REFS.
50909 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50911         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50912         O_CLOEXEC.
50913         * locale/loadlocale.c (_nl_load_locale): Likewise.
50915 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50917         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50918         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50919         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50920         (SYSCALL_GETTIME): Set errno on error.
50922         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50923         count references to noai6ai_cached.
50925 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50927         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50929         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50930         FD_CLOEXEC for /proc/self/maps.
50932         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50933         FD_CLOEXEC for /proc/meminfo.
50935         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50936         gai.conf.
50938         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50939         FD_CLOEXEC for given file.
50941         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50943         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50944         FD_CLOEXEC for /etc/hosts.
50945         (_gethtent): Likewise.
50947         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50949         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50950         cancellation and set FD_CLOEXEC for /etc/netgroup.
50952         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50953         reading /etc/publickey.
50955         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50956         allow cancellation when reading /etc/group.
50958         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50959         cancellation.
50960         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50962         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50963         when using data file.
50965         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50967         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50968         (write_nis_obj): Use "c" and "e" in fopen.
50970         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50972         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50974         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50976         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50978         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50979         locale.alias.
50981         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50983         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50985         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50987         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50988         file parsing and set FD_CLOEXEC.
50990 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50992         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50994 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50996         * malloc/arena.c (arena_get2): Don't call reused_arena when
50997         _int_new_arena failed.
50999 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
51001         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
51002         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
51003         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
51004         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
51005         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
51006         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
51007         to compile strcasecmp and strncasecmp.
51008         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
51009         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
51011         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
51013 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
51015         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
51016         locale-defines.sym to gen-as-const-headers.
51017         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
51018         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
51019         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
51020         to compile strcasecmp and strncasecmp.
51021         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
51022         strcasecmp_l and strncasecmp_l.
51023         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
51024         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
51025         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
51026         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
51027         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
51028         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
51029         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
51030         * sysdeps/i386/i686/multiarch/strncase.S: New file.
51031         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
51032         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
51033         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
51035 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
51037         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
51038         result of SYSDEP_GETTIME_CPU to retval.
51039         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
51040         parameter list to macro.  Remove trailing semicolon.  Adjust users.
51042         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
51043         variable.
51045         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
51046         mantissa words.
51047         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
51049         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
51050         from unused variable.
51052         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
51053         DWARF definitions.
51054         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
51055         for assembling.
51057         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
51058         over namespaces.
51060         * sunrpc/rpc_prot.c (rejected): Fix case value.
51062         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
51063         unsigned long long int to avoid warnings in shift.
51065         * posix/regex_internal.c (re_string_reconstruct): Actually use result
51066         of use of trans.
51067         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
51068         variable tmp.
51070         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
51071         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
51072         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
51074         * nis/nis_table.c (nis_list): Use variable of correct type for
51075         result of __follow_path call.
51077 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51079         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
51080         of math functions ceil, trunc, floor, round, and sqrt, when
51081         avaliable on the platform.
51082         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
51083         name clash.
51084         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
51085         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
51086         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
51088 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
51090         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
51091         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
51093 2011-11-11  Roland McGrath  <roland@hack.frob.com>
51095         * include/unistd.h: Fix __readlink return type.
51096         Reported by Chris Metcalf <cmetcalf@tilera.com>.
51098 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
51100         * stdlib/ucontext.h: Undo last change for makecontext.
51102 2011-11-11  Andreas Schwab  <schwab@redhat.com>
51104         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
51106         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
51107         * setjmp/setjmp.h: Mark functions as non-leaf.
51108         * setjmp/bits/setjmp2.h: Likewise.
51109         * stdlib/ucontext.h: Likewise.
51111 2011-11-10  Andreas Schwab  <schwab@redhat.com>
51113         * malloc/arena.c (_int_new_arena): Don't increment narenas.
51114         (reused_arena): Don't check arena limit.
51115         (arena_get2): Atomically check arena limit.
51117 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
51119         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
51120         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
51122         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
51123         instructions.
51125 2011-11-07  Andreas Schwab  <schwab@redhat.com>
51127         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
51128         handler when locking.
51130         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
51131         Fix size of allocated buffer.
51133 2011-11-04  Andreas Schwab  <schwab@redhat.com>
51135         [BZ #10103]
51136         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
51137         declarations for long double functions.
51138         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
51140         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
51142 2011-11-03  Andreas Schwab  <schwab@redhat.com>
51144         * nscd/nscd.c (main): Don't start AVC thread until credentials are
51145         installed.
51147         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
51148         is disabled.
51150 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
51152         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
51154 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
51156         * include/alloca.h (stackinfo_alloca_round): Define.
51157         (extend_alloca): Use it.
51158         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
51159         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
51160         here.
51162         * scripts/check-local-headers.sh: Ignore libaudit.h.
51164         * nscd/Makefile (extra-objs): Make recursively expanded.
51166 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
51168         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
51169         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
51171         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
51172         * posix/tst-rfc3484-2.c: Likewise.
51173         * posix/tst-rfc3484-3.c: Likewise.
51175         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
51176         process_vm_writev.
51177         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
51178         process_vm_writev.
51179         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
51180         process_vm_writev from libc using GLIBC_2.15 version.
51182         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
51184 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
51186         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
51187         stack usage.
51189 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
51191         [BZ #13367]
51192         * nss/getent.c (initgroups_keys): Show error message in case no group
51193         names are given.
51195         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
51196         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
51197         __bump_nl_timestamp.
51198         * nscd/connections (nscd_init): When host database is served open
51199         netlink socket and request notification about configuration changes.
51200         (main_loop_poll): Track netlink file descriptor and bump timestamp
51201         in case data becomes available.
51202         (main_loop_epoll): Likewise.
51203         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
51204         (database_pers_head): Add extra_data fileds.
51205         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
51206         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
51207         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
51208         Adjust caller.
51209         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
51210         in6ai data, call __free_in6ai.
51211         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
51212         Add -DHAVE_NETLINK.
51213         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
51214         interface information.  Reuse previous data if netlink timestamp
51215         is not changed.
51216         (__bump_nl_timestamp): New function.
51217         (__free_in6ai): New function.
51219 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
51221         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
51222         close_not_cancel_no_status here.
51223         (__check_pf): Reorganize code a bit to not call close twice if OOM.
51225 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51227         [BZ #13276]
51228         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
51229         return value.
51231         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
51232         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
51233         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
51235 2011-07-03  Andreas Jaeger  <aj@suse.de>
51237         [BZ #10709]
51238         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
51239         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
51240         * math/libm-test.inc (sin_test): Add test case.
51242 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
51244         [BZ #13337]
51245         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
51246         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51248         * elf/chroot_canon.c (chroot_canon): Cleanups.
51250         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
51252         [BZ #13335]
51253         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
51254         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51256         * string/test-strchr.c: Make usable for strchrnul testing.
51257         * string/test-strchrnul.c: New file.
51258         * string/Makefile (strop-tests): Add strchrnul.
51260         * po/it.po: Update from translation team.
51261         * po/es.po: Likewise.
51263 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
51265         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51266         the three constants needed as parameters.  Drop the others.
51267         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51268         __m128i_strloadu_tolower.
51269         Create and initialize variable zero and use it in all the places
51270         where _mm_setzero_si128 was used.
51272         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51273         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51274         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51275         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51276         anymore.
51277         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51278         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51279         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51280         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51281         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51282         __mpranred, __mptan.
51283         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51284         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51285         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51286         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51287         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51288         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51289         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51290         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51291         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51293 2011-10-28  Andreas Schwab  <schwab@redhat.com>
51295         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51296         redefine if SHARED.
51297         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51299         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51300         wide char related routines to wcsmbs subdir.
51302 2011-10-27  Andreas Schwab  <schwab@redhat.com>
51304         [BZ #13344]
51305         * misc/sys/cdefs.h (__THROWNL): Define.
51306         * posix/unistd.h: Use __THREADNL instead of __THREAD
51307         for memory synchronization functions.
51309 2011-10-26  Roland McGrath  <roland@hack.frob.com>
51311         [BZ #13349]
51312         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51313         doesn't exist.
51314         * manual/stdio.texi (Obstack Streams): Node removed.
51316 2011-10-26  Andreas Schwab  <schwab@redhat.com>
51318         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51319         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51320         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51322         * math/math_private.h (math_force_eval): Allow non-addressable
51323         arguments.
51324         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51326 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51328         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51329         file is not needed.
51331         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51332         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51333         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51334         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51335         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51336         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51337         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51338         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51339         Add AVX variants.
51340         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51341         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51342         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51343         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51344         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51345         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51346         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51347         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51348         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51349         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51350         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51351         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51352         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51353         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51354         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51355         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51356         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51357         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51358         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51360         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51361         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
51363         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51364         place.  Use VEX encoding when compiling for AVX.
51366 2011-10-25  Andreas Schwab  <schwab@redhat.com>
51368         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51369         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51371         * string/test-strchr.c (do_test): Don't generate NUL bytes.
51373 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51375         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51376         useless if() expression.
51377         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51378         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51379         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51380         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51381         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51382         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51383         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51384         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51385         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51386         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51387         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51388         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51389         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51390         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51391         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51392         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51393         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51394         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51395         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51397         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51399 2011-10-25  Andreas Schwab  <schwab@redhat.com>
51401         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51402         condition.
51403         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51405 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51407         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51408         .text section.  Avoid duplicate constants.
51409         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51410         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51411         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51412         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51413         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51414         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51415         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51416         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51417         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51418         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51419         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51420         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51421         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51422         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51423         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51424         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51425         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51426         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51427         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51428         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51429         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51430         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51431         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51432         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51433         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51434         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51435         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51436         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51437         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51438         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51439         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51440         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51441         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51442         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51443         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51444         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51445         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51446         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51447         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51448         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51449         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51450         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51451         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51452         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51453         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51455 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
51457         * sysdeps/x86_64/dla.h: Move to ...
51458         * sysdeps/x86_64/fpu/dla.h: ...here.
51459         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51460         situations.  Use __builtin_fma only for gcc 4.6 and up.
51462         * config.make.in: Add have-mfma4 entry.
51463         * configure.in: Substitute libc_cv_cc_fma4.
51464         * math/Makefile (dbl-only-routines): Add sincostab.
51465         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51466         Use __sincostab not sincos.
51467         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51468         name is a macro.
51469         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51470         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51471         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51472         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
51473         using __copysign.
51474         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
51475         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
51476         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51477         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51478         and __inv.
51479         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51480         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51481         __copysign.
51482         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
51483         define aliases when function name is a macro.
51484         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51485         sysdeps/ieee754/dbl-64/sincos.tbl.
51486         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51487         fma4-enabled routines.
51488         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51489         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51490         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51491         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51492         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51493         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51494         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51495         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51496         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51497         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51498         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51499         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51500         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51501         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51502         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51503         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51504         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51505         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51506         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51507         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51508         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51509         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51510         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51511         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51512         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51513         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51514         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51515         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51516         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51517         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51519         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51520         rename.
51521         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51522         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51523         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51524         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51525         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51526         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51527         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51528         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51530 2011-10-24  Andreas Schwab  <schwab@redhat.com>
51532         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51534 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51536         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51538         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51539         prediction.
51540         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51542         * string/strnlen.c: Don't define STRNLEN, reverse logic.
51543         Remove unused variable magic_bits.
51544         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51546         * string/strnlen.c: Define and use STRNLEN macro.
51547         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51548         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51549         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51550         * wcsmbs/wcslen.c: Define and use WCSLEN.
51551         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51552         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51553         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51554         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51555         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51556         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51557         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51559 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51561         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51562         strnlen-sse2-no-bsf.
51563         Rename strlen-no-bsf to strlen-sse2-no-bsf.
51564         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51565         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51566         Add strnlen support.
51567         (USE_AS_STRNLEN): New macro.
51568         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51569         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51570         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51571         * sysdeps/x86_64/wcslen.S: New file.
51573 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
51575         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51576         XMM-moves are used for copying on small sizes.
51578 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51580         * wcsmbs/Makefile (strop-tests): Add wcschr.
51581         * wcsmbs/test-wcschr.c: New file.
51582         * string/test-strchr.c: Update.
51583         Add wcschr support.
51584         (WIDE): New macro.
51586 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51588         * wcsmbs/Makefile (strop-tests): Add wcslen.
51589         * wcsmbs/test-wcslen.c: New file.
51590         * string/test-strlen.c: Update.
51591         Add wcslen support.
51592         (WIDE): New macro.
51594 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51596         * po/it.po: Update from translation team.
51598 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51600         * sysdeps/x86_64/wcscmp.S: Update.
51601         Fix wrong comparison semantics.
51602         wcscmp shall use signed comparison not unsigned.
51603         Don't use substraction to avoid overflow bug.
51604         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51605         * wcsmbc/wcscmp.c: Likewise.
51606         * string/test-strcmp.c: Likewise.
51607         Add new tests to check cases with negative values.
51609 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51611         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51612         * sysdeps/x86_64/dla.h: ...here.  New file.
51613         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51614         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51615         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51616         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51617         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51618         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51619         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51620         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51621         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51623 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
51625         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51626         __ynl_finite aliases.
51628 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51630         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51632         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51633         define DLA_FMA.
51634         [DLA_FMA] (EMULV): Use DLA_FMA.
51635         [DLA_FMA] (MUL12): Use EMULV.
51636         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51637         that are not needed.
51638         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51639         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51640         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51641         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51642         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51643         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51644         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51646 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
51648         * math/s_nan.c: Undef __nan.
51649         * math/s_nanf.c: Undef __nanf.
51650         * math/s_nanl.c: Undef __nanl.
51651         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51652         "math_private.h".
51654 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51656         * math/s_catan.c: Add branch predictions.
51657         * math/s_catanf.c: Likewise.
51658         * math/s_catanh.c: Likewise.
51659         * math/s_catanhf.c: Likewise.
51660         * math/s_catanhl.c: Likewise.
51661         * math/s_catanl.c: Likewise.
51662         * math/s_cexp.c: Likewise.
51663         * math/s_cexpf.c: Likewise.
51664         * math/s_cexpl.c: Likewise.
51665         * math/s_clog.c: Likewise.
51666         * math/s_clog10.c: Likewise.
51667         * math/s_clog10f.c: Likewise.
51668         * math/s_clog10l.c: Likewise.
51669         * math/s_clogf.c: Likewise.
51670         * math/s_clogl.c: Likewise.
51671         * math/s_csqrt.c: Likewise.
51672         * math/s_csqrtf.c: Likewise.
51673         * math/s_csqrtl.c: Likewise.
51674         * math/s_ctanf.c: Likewise.
51675         * math/s_ctanh.c: Likewise.
51676         * math/s_ctanhf.c: Likewise.
51677         * math/s_ctanhl.c: Likewise.
51678         * math/s_ctanl.c: Likewise.
51680         * math/math_private.h: Define __nan, __nanf, __nanl.
51681         * math/s_cacosh.c: Include <math_private.h>.
51682         * math/s_cacoshl.c: Likewise.
51683         * math/s_casinh.c: Likewise.
51684         * math/s_casinhf.c: Likewise.
51685         * math/s_casinhl.c: Likewise.
51686         * math/s_ccos.c: Rely entire on ccosh.
51687         * math/s_ccosf.c: Rely entire on ccoshf.
51688         * math/s_ccosl.c: Rely entirely on ccoshl.
51689         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
51690         Remove tests for FE_INVALID.
51691         * math/s_ccoshf.c: Likewise.
51692         * math/s_ccoshl.c: Likewise.
51693         * math/s_csin.c: Likewise.
51694         * math/s_csinf.c: Likewise.
51695         * math/s_csinh.c Likewise.
51696         * math/s_csinhf.c: Likewise.
51697         * math/s_csinhl.c: Likewise.
51698         * math/s_csinl.c: Likewise.
51699         * math/s_ctan.c: Likewise.
51700         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51701         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51702         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51704 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
51706         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51707         compilation problems.
51709         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51710         __builtin_expect.
51712 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
51714         * sysdeps/i386/configure.in: Test for -mfma4 option.
51715         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51716         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51717         COMMON_CPUID_INDEX_80000001.
51718         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51719         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51720         use it if FMA3 is not supported.
51721         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51723         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51724         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51726 2011-10-20  Andreas Schwab  <schwab@redhat.com>
51728         [BZ #12892]
51729         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51730         it would create a cycle with a link time dependency.
51732 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
51734         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51735         instruction.
51736         * string/Makefile (strop-tests): Add rawmemchr.
51737         * string/test-rawmemchr.c: New file.
51739         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51740         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
51741         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
51742         when compiling str{,n}casecmp and when AVX is available.  Hook up
51743         new optimized code in initializers.
51745 2011-10-19  Andreas Schwab  <schwab@redhat.com>
51747         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51748         __feraiseexcept instead of feraiseexcept.
51750 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
51752         * math/math_private.h: Define defaults for libc_fetestexcept and
51753         libc_feupdateenv.
51754         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51755         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51756         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51757         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51758         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51759         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51760         libc_fetestexcept and libc_feupdateenv.
51762         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51763         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51764         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51765         * sysdeps/x86_64/fpu/math_private.h: Define special version of
51766         libc_feholdexcept_setround.
51768         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51769         Add s_nearbyint-c and s_nearbyintf-c.
51770         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51771         nearbyintf inlines.
51772         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51773         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51774         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51775         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51777         * math/math_private.h: Define defaults for libc_fegetround,
51778         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51779         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51780         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51781         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51782         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51783         standard functions.
51784         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51785         Remove comments and hacks for old compiler versions.
51786         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51787         libc_fegetround, libc_fesetround, libc_feholdexcept, and
51788         libc_feholdexceptl.
51790 2011-10-18  Andreas Schwab  <schwab@redhat.com>
51792         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51793         (__feraiseexcept_renamed): Add __NTH.
51794         (feraiseexcept): Add __NTH.  Rename local variables to fix
51795         namespace violations.
51797 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
51799         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51801         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51803         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51804         recently added interfaces.
51805         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51807         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51808         about macro parameter expansion.
51810         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51811         __NO_MATH_INLINES is defined.  Cleanups.
51813         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51814         and __floorf is target has SSE4.1.
51815         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51816         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51817         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51818         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51820         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51821         name.
51822         (floorf): Likewise.
51824         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51826 2011-10-17  Andreas Schwab  <schwab@redhat.com>
51828         * misc/sys/cdefs.h: Fix last change.
51830         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51831         database lookup.
51833 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51835         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51837         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51838         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51839         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51840         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51841         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51842         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51843         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51844         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51845         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51846         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51847         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51848         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51849         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51850         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51851         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51852         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51853         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51854         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51855         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51856         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51857         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51858         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51860         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51861         ceil, ceilf, floor, floorf.
51863         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51864         Perform IRELATIVE relocations last.
51866         * elf/do-rel.h: Add another parameter nrelative, replacing the
51867         local variable with the same name.  Change name of the function
51868         to end in Rel or Rela (uppercase).
51869         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51870         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51871         elf_dynamic_do_##reloc function.
51873 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51875         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51876         is sufficient, at least on modern CPUs.
51878         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51880         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51881         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51883         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51884         __expl_finite.
51885         * math/bits/math-finite.h: Add entries for exp.
51886         * math/e_expl.c: Add __*_finite alias.
51887         * sysdeps/i386/fpu/e_exp.S: Likewise.
51888         * sysdeps/i386/fpu/e_expf.S: Likewise.
51889         * sysdeps/i386/fpu/e_expl.c: Likewise.
51890         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51891         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51892         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51893         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51894         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51895         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51896         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51898         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51899         is sufficient, at least on modern CPUs.
51901         * ctype/ctype-info.c (__ctype_init): Define.
51902         * include/ctype.h (__ctype_init): Declare.
51903         (__ctype_b_loc): The variable is always initialized.
51904         (__ctype_toupper_loc): Likewise.
51905         (__ctype_tolower_loc): Likewise.
51906         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51907         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51909 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51911         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51913         * configure.in: Also look in $cxxmachine/include for C++ system
51914         headers.
51916 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51918         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51919         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51920         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51921         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51922         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51923         (USE_AS_WMEMCMP): New macro.
51924         Fixing indents.
51925         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51926         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51927         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51928         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51929         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51930         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51931         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51932         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51933         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51934         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51935         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51936         (USE_AS_WMEMCMP): New macro.
51937         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51938         * sysdeps/string/test-memcmp.c: Update.
51939         Fix simple_wmemcmp.
51940         Add new tests.
51941         * wcsmbs/wmemcmp.c: Update.
51942         (WMEMCMP): New macro.
51943         Fix overflow bug.
51945 2011-10-12  Andreas Jaeger  <aj@suse.de>
51947         [BZ #13268]
51948         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51950 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51952         * libio/iofwide.c (do_length): Avoid warning.
51954         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51956 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51958         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51960         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51961         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51962         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51963         * sysdeps/i386/i686/fpu/e_log.S: New file.
51964         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51965         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51967         * ctype/ctype.h: Add support for inlined isXXX functions when
51968         compiling C++ code.
51970 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51972         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51974         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51976 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51978         [BZ #13291]
51979         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51981 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51983         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51984         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51985         feraiseexcept.
51987         * sysdeps/x86_64/memrchr.S: Check for zero size.
51989         * string/stratcliff.c: Add memrchr tests.
51991 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51993         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51994         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51995         rawmemchr-sse2 rawmemchr-sse2-bsf.
51996         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51997         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51998         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51999         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
52000         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
52001         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
52002         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
52003         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
52004         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
52005         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
52006         * string/memrchr.c (MEMRCHR): New macro.
52008 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
52010         Add integration with gcc's -ffinite-math-only and optimize wrapper
52011         functions in libm.
52012         * Versions.def: Define GLIBC_2.15 version for libm.
52013         * math/Makefile (headers): Add bits/math-finite.h.
52014         * math/bits/math-finite.h: New file.
52015         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
52016         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
52017         * math/e_acoshl.c: Add __*_finite alias.
52018         * math/e_acosl.c: Likewise.
52019         * math/e_asinl.c: Likewise.
52020         * math/e_atan2l.c: Likewise.
52021         * math/e_atanhl.c: Likewise.
52022         * math/e_coshl.c: Likewise.
52023         * math/e_exp10.c: Likewise.
52024         * math/e_exp10f.c: Likewise.
52025         * math/e_exp10l.c: Likewise.
52026         * math/e_exp2l.c: Likewise.
52027         * math/e_fmodl.c: Likewise.
52028         * math/e_gammal_r.c: Likewise.
52029         * math/e_hypotl.c: Likewise.
52030         * math/e_j0l.c: Likewise.
52031         * math/e_j1l.c: Likewise.
52032         * math/e_jnl.c: Likewise.
52033         * math/e_lgammal_r.c: Likewise.
52034         * math/e_log10l.c: Likewise.
52035         * math/e_log2l.c: Likewise.
52036         * math/e_logl.c: Likewise.
52037         * math/e_powl.c: Likewise.
52038         * math/e_sinhl.c: Likewise.
52039         * math/e_sqrtl.c: Likewise.
52040         * math/e_scalb.c: Completely rewritten and optimized.
52041         * math/e_scalbf.c: Likewise.
52042         * math/e_scalbl.c: Likewise.
52043         * math/w_acos.c: Likewise.
52044         * math/w_acosf.c: Likewise.
52045         * math/w_acosl.c: Likewise.
52046         * math/w_acosh.c: Likewise.
52047         * math/w_acoshf.c: Likewise.
52048         * math/w_acoshl.c: Likewise.
52049         * math/w_asin.c: Likewise.
52050         * math/w_asinf.c: Likewise.
52051         * math/w_asinl.c: Likewise.
52052         * math/w_atan2.c: Likewise.
52053         * math/w_atan2f.c: Likewise.
52054         * math/w_atan2l.c: Likewise.
52055         * math/w_atanh.c: Likewise.
52056         * math/w_atanhf.c: Likewise.
52057         * math/w_atanhl.c: Likewise.
52058         * math/w_exp10.c: Likewise.
52059         * math/w_exp10f.c: Likewise.
52060         * math/w_exp10l.c: Likewise.
52061         * math/w_fmod.c: Likewise.
52062         * math/w_fmodf.c: Likewise.
52063         * math/w_fmodl.c: Likewise.
52064         * math/w_j0.c: Likewise.
52065         * math/w_j0f.c: Likewise.
52066         * math/w_j0l.c: Likewise.
52067         * math/w_j1.c: Likewise.
52068         * math/w_j1f.c: Likewise.
52069         * math/w_j1l.c: Likewise.
52070         * math/w_jn.c: Likewise.
52071         * math/w_jnf.c: Likewise.
52072         * math/w_log.c: Likewise.
52073         * math/w_logf.c: Likewise.
52074         * math/w_logl.c: Likewise.
52075         * math/w_log10.c: Likewise.
52076         * math/w_log10f.c: Likewise.
52077         * math/w_log10l.c: Likewise.
52078         * math/w_log2.c: Likewise.
52079         * math/w_log2f.c: Likewise.
52080         * math/w_log2l.c: Likewise.
52081         * math/w_pow.c: Likewise.
52082         * math/w_powf.c: Likewise.
52083         * math/w_powl.c: Likewise.
52084         * math/w_remainder.c: Likewise.
52085         * math/w_remainderf.c: Likewise.
52086         * math/w_remainderl.c: Likewise.
52087         * math/w_scalb.c: Likewise.
52088         * math/w_scalbf.c: Likewise.
52089         * math/w_scalbl.c: Likewise.
52090         * math/w_sqrt.c: Likewise.
52091         * math/w_sqrtf.c: Likewise.
52092         * math/w_sqrtl.c: Likewise.
52093         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
52094         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
52095         used.
52096         * math/math_private.h: Declare __kernel_standard_f.
52097         * math/w_cosh.c: Remove cruft and optimize a bit.
52098         * math/w_coshf.c: Likewise.
52099         * math/w_coshl.c: Likewise.
52100         * math/w_exp2.c: Likewise.
52101         * math/w_exp2f.c: Likewise.
52102         * math/w_exp2l.c: Likewise.
52103         * math/w_hypot.c: Likewise.
52104         * math/w_hypotf.c: Likewise.
52105         * math/w_hypotl.c: Likewise.
52106         * math/w_lgamma.c: Likewise.
52107         * math/w_lgamma_r.c: Likewise.
52108         * math/w_lgammaf.c: Likewise.
52109         * math/w_lgammaf_r.c: Likewise.
52110         * math/w_lgammal.c: Likewise.
52111         * math/w_lgammal_r.c: Likewise.
52112         * math/w_sinh.c: Likewise.
52113         * math/w_sinhf.c: Likewise.
52114         * math/w_sinhl.c: Likewise.
52115         * math/w_tgamma.c: Likewise.
52116         * math/w_tgammaf.c: Likewise.
52117         * math/w_tgammal.c: Likewise.
52118         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
52119         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
52120         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
52121         Minor optimizations.  Pretty printing.  Remove cruft.
52122         * sysdeps/i386/fpu/e_acosf.S: Likewise.
52123         * sysdeps/i386/fpu/e_acosh.S: Likewise.
52124         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
52125         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
52126         * sysdeps/i386/fpu/e_acosl.c: Likewise.
52127         * sysdeps/i386/fpu/e_asin.S: Likewise.
52128         * sysdeps/i386/fpu/e_asinf.S: Likewise.
52129         * sysdeps/i386/fpu/e_atan2.S: Likewise.
52130         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
52131         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
52132         * sysdeps/i386/fpu/e_atanh.S: Likewise.
52133         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
52134         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
52135         * sysdeps/i386/fpu/e_exp10.S: Likewise.
52136         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
52137         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
52138         * sysdeps/i386/fpu/e_exp2.S: Likewise.
52139         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
52140         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
52141         * sysdeps/i386/fpu/e_fmod.S: Likewise.
52142         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
52143         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
52144         * sysdeps/i386/fpu/e_hypot.S: Likewise.
52145         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
52146         * sysdeps/i386/fpu/e_log.S: Likewise.
52147         * sysdeps/i386/fpu/e_log10.S: Likewise.
52148         * sysdeps/i386/fpu/e_log10f.S: Likewise.
52149         * sysdeps/i386/fpu/e_log10l.S: Likewise.
52150         * sysdeps/i386/fpu/e_log2.S: Likewise.
52151         * sysdeps/i386/fpu/e_log2f.S: Likewise.
52152         * sysdeps/i386/fpu/e_log2l.S: Likewise.
52153         * sysdeps/i386/fpu/e_logf.S: Likewise.
52154         * sysdeps/i386/fpu/e_logl.S: Likewise.
52155         * sysdeps/i386/fpu/e_pow.S: Likewise.
52156         * sysdeps/i386/fpu/e_powf.S: Likewise.
52157         * sysdeps/i386/fpu/e_powl.S: Likewise.
52158         * sysdeps/i386/fpu/e_remainder.S: Likewise.
52159         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
52160         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
52161         * sysdeps/i386/fpu/e_scalb.S: Likewise.
52162         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
52163         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
52164         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
52165         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
52166         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
52167         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
52168         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
52169         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
52170         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
52171         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
52172         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
52173         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
52174         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
52175         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
52176         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
52177         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
52178         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
52179         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
52180         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
52181         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
52182         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
52183         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
52184         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
52185         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
52186         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
52187         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
52188         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
52189         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
52190         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
52191         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
52192         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
52193         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
52194         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
52195         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
52196         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
52197         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
52198         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
52199         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52200         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
52201         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
52202         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
52203         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
52204         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
52205         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
52206         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
52207         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
52208         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
52209         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
52210         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
52211         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
52212         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
52213         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
52214         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
52215         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
52216         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
52217         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
52218         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
52219         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
52220         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52221         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
52222         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
52223         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
52224         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
52225         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
52226         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
52227         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
52228         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
52229         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
52230         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
52231         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
52232         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
52233         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
52234         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
52235         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
52236         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
52237         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
52238         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
52239         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
52240         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
52241         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
52242         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
52243         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
52244         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
52245         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
52246         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
52247         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
52248         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
52249         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
52250         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
52251         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
52252         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
52253         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52254         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52255         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52256         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52257         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52258         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52259         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52260         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52261         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52262         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52263         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52264         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52265         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52266         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52267         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52268         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52269         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52270         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52271         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52272         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52273         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52274         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52275         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52276         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52277         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
52278         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52279         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52280         (__isnanf): Likewise.
52281         (__isinf_ns): Likewise.
52282         (__isinf_nsf): Likewise.
52283         (__finite): Likewise.
52284         (__finitef): Likewise.
52285         (__ieee754_sqrt): Define as macro.
52286         (__ieee754_sqrtf): Define as macro.
52287         (__ieee754_sqrtl): Define as macro.
52288         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52289         inlined copy.
52290         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52291         __FINITE_MATH_ONLY__ consistent.
52292         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52294 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
52296         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52297         of rawmemchr.
52299         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52301 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
52303         * po/ja.po: Update from translation team.
52305 2011-10-08  Roland McGrath  <roland@hack.frob.com>
52307         * locale/programs/locarchive.c (prepare_address_space): New function.
52308         (create_archive, enlarge_archive, open_archive): Use it.
52310         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52311         inside [SHARED], where it is used.
52313         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52315         * nss/getent.c (netgroup_keys): Remove unused variable.
52316         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52318 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
52320         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52321         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52322         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52323         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52324         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52325         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52326         * math/Makefile (libm-calls): Add s_isinf_ns.
52327         * math/divtc3.c: Use __isinf_nsl instead of isinf.
52328         * math/multc3.c: Likewise.
52329         * math/s_casin.c: Likewise.
52330         * math/s_casinf.c: Likewise.
52331         * math/s_casinl.c: Likewise.
52332         * math/s_ccos.c: Likewise.
52333         * math/s_ccosf.c: Likewise.
52334         * math/s_ccosl.c: Likewise.
52335         * math/s_ctan.c: Likewise.
52336         * math/s_ctanf.c: Likewise.
52337         * math/s_ctanh.c: Likewise.
52338         * math/s_ctanhf.c: Likewise.
52339         * math/s_ctanhl.c: Likewise.
52340         * math/s_ctanl.c: Likewise.
52341         * math/w_fmod.c: Likewise.
52342         * math/w_fmodf.c: Likewise.
52343         * math/w_fmodl.c: Likewise.
52344         * math/w_remainder.c: Likewise.
52345         * math/w_remainderf.c: Likewise.
52346         * math/w_remainderl.c: Likewise.
52347         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52348         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52349         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52350         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52351         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52352         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52353         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52354         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52356         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52357         of the number.
52358         * stdio-common/printf_fphex.c: Likewise.
52359         * stdio-common/printf_size.c: Likewise.
52361         * math/e_exp10.c: Include math_private.h using <...> not "...".
52362         * math/e_exp10f.c: Likewise.
52363         * math/e_exp10l.c: Likewise.
52364         * math/e_exp2l.c: Likewise.
52365         * math/e_j0l.c: Likewise.
52366         * math/e_j1l.c: Likewise.
52367         * math/e_jnl.c: Likewise.
52368         * math/e_lgammal_r.c: Likewise.
52369         * math/e_rem_pio2l.c: Likewise.
52370         * math/e_scalb.c: Likewise.
52371         * math/e_scalbf.c: Likewise.
52372         * math/e_scalbl.c: Likewise.
52373         * math/k_cosl.c: Likewise.
52374         * math/k_sinl.c: Likewise.
52375         * math/k_tanl.c: Likewise.
52376         * math/s_cacoshf.c: Likewise.
52377         * math/s_catan.c: Likewise.
52378         * math/s_catanf.c: Likewise.
52379         * math/s_catanh.c: Likewise.
52380         * math/s_catanhf.c: Likewise.
52381         * math/s_catanhl.c: Likewise.
52382         * math/s_catanl.c: Likewise.
52383         * math/s_ccosh.c: Likewise.
52384         * math/s_ccoshf.c: Likewise.
52385         * math/s_ccoshl.c: Likewise.
52386         * math/s_cexp.c: Likewise.
52387         * math/s_cexpf.c: Likewise.
52388         * math/s_cexpl.c: Likewise.
52389         * math/s_clog.c: Likewise.
52390         * math/s_clog10.c: Likewise.
52391         * math/s_clog10f.c: Likewise.
52392         * math/s_clog10l.c: Likewise.
52393         * math/s_clogf.c: Likewise.
52394         * math/s_clogl.c: Likewise.
52395         * math/s_csin.c: Likewise.
52396         * math/s_csinf.c: Likewise.
52397         * math/s_csinh.c: Likewise.
52398         * math/s_csinhf.c: Likewise.
52399         * math/s_csinhl.c: Likewise.
52400         * math/s_csinl.c: Likewise.
52401         * math/s_csqrt.c: Likewise.
52402         * math/s_csqrtf.c: Likewise.
52403         * math/s_csqrtl.c: Likewise.
52404         * math/s_ctan.c: Likewise.
52405         * math/s_ctanf.c: Likewise.
52406         * math/s_ctanh.c: Likewise.
52407         * math/s_ctanhf.c: Likewise.
52408         * math/s_ctanhl.c: Likewise.
52409         * math/s_ctanl.c: Likewise.
52410         * math/s_ldexp.c: Likewise.
52411         * math/s_ldexpf.c: Likewise.
52412         * math/s_ldexpl.c: Likewise.
52413         * math/s_significand.c: Likewise.
52414         * math/s_significandf.c: Likewise.
52415         * math/s_significandl.c: Likewise.
52416         * math/w_acos.c: Likewise.
52417         * math/w_acosf.c: Likewise.
52418         * math/w_acosh.c: Likewise.
52419         * math/w_acoshf.c: Likewise.
52420         * math/w_acoshl.c: Likewise.
52421         * math/w_acosl.c: Likewise.
52422         * math/w_asin.c: Likewise.
52423         * math/w_asinf.c: Likewise.
52424         * math/w_asinl.c: Likewise.
52425         * math/w_atan2.c: Likewise.
52426         * math/w_atan2f.c: Likewise.
52427         * math/w_atan2l.c: Likewise.
52428         * math/w_atanh.c: Likewise.
52429         * math/w_atanhf.c: Likewise.
52430         * math/w_atanhl.c: Likewise.
52431         * math/w_cosh.c: Likewise.
52432         * math/w_coshf.c: Likewise.
52433         * math/w_coshl.c: Likewise.
52434         * math/w_dremf.c: Likewise.
52435         * math/w_exp10.c: Likewise.
52436         * math/w_exp10f.c: Likewise.
52437         * math/w_exp10l.c: Likewise.
52438         * math/w_exp2.c: Likewise.
52439         * math/w_exp2f.c: Likewise.
52440         * math/w_fmod.c: Likewise.
52441         * math/w_fmodf.c: Likewise.
52442         * math/w_fmodl.c: Likewise.
52443         * math/w_hypot.c: Likewise.
52444         * math/w_hypotf.c: Likewise.
52445         * math/w_hypotl.c: Likewise.
52446         * math/w_j0.c: Likewise.
52447         * math/w_j0f.c: Likewise.
52448         * math/w_j0l.c: Likewise.
52449         * math/w_j1.c: Likewise.
52450         * math/w_j1f.c: Likewise.
52451         * math/w_j1l.c: Likewise.
52452         * math/w_jn.c: Likewise.
52453         * math/w_jnf.c: Likewise.
52454         * math/w_jnl.c: Likewise.
52455         * math/w_lgamma.c: Likewise.
52456         * math/w_lgamma_r.c: Likewise.
52457         * math/w_lgammaf.c: Likewise.
52458         * math/w_lgammaf_r.c: Likewise.
52459         * math/w_lgammal.c: Likewise.
52460         * math/w_lgammal_r.c: Likewise.
52461         * math/w_log.c: Likewise.
52462         * math/w_log10.c: Likewise.
52463         * math/w_log10f.c: Likewise.
52464         * math/w_log10l.c: Likewise.
52465         * math/w_log2.c: Likewise.
52466         * math/w_log2f.c: Likewise.
52467         * math/w_log2l.c: Likewise.
52468         * math/w_logf.c: Likewise.
52469         * math/w_logl.c: Likewise.
52470         * math/w_pow.c: Likewise.
52471         * math/w_powf.c: Likewise.
52472         * math/w_powl.c: Likewise.
52473         * math/w_remainder.c: Likewise.
52474         * math/w_remainderf.c: Likewise.
52475         * math/w_remainderl.c: Likewise.
52476         * math/w_scalb.c: Likewise.
52477         * math/w_scalbf.c: Likewise.
52478         * math/w_scalbl.c: Likewise.
52479         * math/w_sinh.c: Likewise.
52480         * math/w_sinhf.c: Likewise.
52481         * math/w_sinhl.c: Likewise.
52482         * math/w_sqrt.c: Likewise.
52483         * math/w_sqrtf.c: Likewise.
52484         * math/w_sqrtl.c: Likewise.
52485         * math/w_tgamma.c: Likewise.
52486         * math/w_tgammaf.c: Likewise.
52487         * math/w_tgammal.c: Likewise.
52489         * po/ja.po: Update from translation team.
52491 2011-09-29  Andreas Jaeger  <aj@suse.de>
52493         [BZ #13179]
52494         * sunrpc/netname.c (netname2host): Fix logic.
52496         [BZ #6779]
52497         [BZ #6783]
52498         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52499         correctly.
52500         * math/w_remainder.c (__remainder): Likewise.
52501         * math/w_remainderf.c (__remainderf): Likewise.
52502         * math/libm-test.inc (remainder_test): Add test cases.
52504 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52506         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
52507         sdiv_qrnnd.
52509 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52511         * string/test-memcmp.c: Avoid unncessary #defines.
52512         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52514 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52516         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52517         Use new sse2 version for core i3 - i7 as it's faster
52518         than sse42 version.
52519         (bit_Prefer_PMINUB_for_stringop): New.
52520         * sysdeps/x86_64/rawmemchr.S: Update.
52521         Replace with faster SSE2 version.
52522         * sysdeps/x86_64/memrchr.S: New file.
52523         * sysdeps/x86_64/memchr.S: Update.
52524         Replace with faster SSE2 version.
52526 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
52528         * elf/dl-load.c (lose): Add cast to avoid warning.
52530 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52532         * po/ca.po: Update from translation team.
52534         * inet/getnetgrent_r.c: Hook up nscd.
52535         * nscd/Makefile (routines): Add nscd_netgroup.
52536         (nscd-modules): Add netgroupcache.
52537         (CFLAGS-netgroupcache.c): Define.
52538         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52539         (cache_search): Add const to second parameter.
52540         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52541         INNETGR.
52542         (dbs): Add netgrdb entry.
52543         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52544         (verify_persistent_db): Handle netgrdb.
52545         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52546         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52547         GETFDNETGR.
52548         (netgroup_response_header): Define.
52549         (innetgroup_response_header): Define.
52550         (datahead): Add netgroup_response_header and innetgroup_response_header
52551         elements.
52552         * nscd/nscd.conf: Add entries for netgroup cache.
52553         * nscd/nscd.h (dbtype): Add netgrdb.
52554         (_PATH_NSCD_NETGROUP_DB): Define.
52555         (netgroup_iov_disabled): Declare.
52556         (xmalloc, xcalloc, xrealloc): Move declarations here.
52557         (cache_search): Adjust prototype.
52558         Add netgroup-related prototypes.
52559         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52560         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52561         (__nscd_innetgr): Declare.
52562         * nscd/selinux.c (perms): Use access_vector_t as element type and
52563         add netgroup-related initializers.
52564         * nscd/netgroupcache.c: New file.
52565         * nscd/nscd_netgroup.c: New file.
52566         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52567         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52568         For four parameters use innetgr.
52569         * nss/nss_files/files-init.c: Add definition and callback for netgr.
52570         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52571         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52572         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52574         * nscd/connections.c (register_traced_file): Don't register file
52575         for disabled databases.
52577 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
52579         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52581         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52582         from tree and freeing node.
52584 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
52586         * nss/nsswitch.c (__nss_database_lookup): Handle
52587         nss_parse_service_list out of memory case.
52589 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
52591         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52592         out of memory case.
52594 2011-10-04  Andreas Schwab  <schwab@redhat.com>
52596         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52597         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52598         pass it down.
52599         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52600         elf_machine_rela, elf_machine_lazy_rel.
52601         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52602         (ELF_DYNAMIC_DO_REL): Likewise.
52603         (ELF_DYNAMIC_DO_RELA): Likewise.
52604         (ELF_DYNAMIC_RELOCATE): Likewise.
52605         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52606         to ELF_DYNAMIC_DO_REL.
52607         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52608         (dl_main): In trace mode always set __RTLD_NOIFUNC.
52609         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52610         elf_machine_rela.
52611         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52612         skip_ifunc, don't call ifunc function if non-zero.
52613         (elf_machine_rela): Likewise.
52614         (elf_machine_lazy_rel): Likewise.
52615         (elf_machine_lazy_rela): Likewise.
52616         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52617         (elf_machine_lazy_rel): Likewise.
52618         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52619         Likewise.
52620         (elf_machine_lazy_rel): Likewise.
52621         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52622         Likewise.
52623         (elf_machine_lazy_rel): Likewise.
52624         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52625         (elf_machine_lazy_rel): Likewise.
52626         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52627         (elf_machine_lazy_rel): Likewise.
52628         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52629         (elf_machine_lazy_rel): Likewise.
52630         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52631         (elf_machine_lazy_rel): Likewise.
52632         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52633         (elf_machine_lazy_rel): Likewise.
52634         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52635         (elf_machine_lazy_rel): Likewise.
52637 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
52639         * nss/nss_files/files-init.c (_nss_files_init): Use static
52640         initialization for all the *_traced_file variables.
52642 2011-09-28  Andreas Schwab  <schwab@redhat.com>
52644         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52646 2011-09-27  Roland McGrath  <roland@hack.frob.com>
52648         [BZ #13226]
52649         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52651 2011-09-27  Andreas Schwab  <schwab@redhat.com>
52653         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52654         Reread the line before reparsing it.
52656 2011-09-26  Andreas Schwab  <schwab@redhat.com>
52658         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52660 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
52661             Maxim Kuvyrkov  <maxim@codesourcery.com>
52662             Joseph Myers  <joseph@codesourcery.com>
52664         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52665         if needed for __stack_chk_guard.
52667 2011-09-19  Roland McGrath  <roland@hack.frob.com>
52669         * sysdeps/posix/spawni.c (script_execute): Always define it.
52670         It will be optimized away if unused.
52671         (maybe_script_execute): New function.
52672         (__spawni): Call it.
52674         * Makerules: Don't include tls.make.
52675         (config-tls): Always set to thread.
52676         * tls.make.c: File removed.
52678 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
52680         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52681         * config.make.in (CPPFLAGS-config): New substituted variable.
52683 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52685         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52687         [BZ #13192]
52688         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52689         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52691 2011-09-15  Roland McGrath  <roland@hack.frob.com>
52693         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52694         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52695         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52696         (CALL_FAIL): Likewise.
52697         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52698         (CALL_FAIL): Macro removed.
52699         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52701 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52703         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52704         for __FINITE_MATH_ONLY__ == 1.
52706 2011-09-15  Andreas Schwab  <schwab@redhat.com>
52708         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52709         __ieee754_sqrt instead of sqrt.
52710         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52711         __ieee754_sqrtf instead of sqrtf.
52712         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52713         __floorf instead of floorf.
52714         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52715         __floorf, __truncf instead of floorf, truncf.
52717 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
52719         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52721         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52722         __extern_always_inline.
52723         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52724         32-bit.
52726 2011-09-14  Andreas Schwab  <schwab@redhat.com>
52728         * elf/rtld.c (dl_main): Also relocate in dependency order when
52729         doing symbol dependency testing.
52731 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
52733         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52734         Always define `refsym'.
52736 2011-09-13  Andreas Schwab  <schwab@redhat.com>
52738         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52739         (__FD_ELT): Renamed from __FDELT.
52740         * misc/bits/select2.h (__FD_ELT): Likewise.
52741         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52742         __FD_MASK instead of __FDELT, __FDMASK.
52743         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52744         Likewise.
52745         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52746         Likewise.
52748         * elf/Makefile (gen-ldd): Fix pattern.
52750         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52751         (init_tls): Likewise.
52753 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
52755         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52757 2011-09-12  Andreas Schwab  <schwab@redhat.com>
52759         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52760         `struct cmsghdr *' instead of `void *'.
52761         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52762         Likewise.
52764 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
52766         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52767         if non-absolute.
52768         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52769         ldd_rewrite_script.
52771 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
52773         * configure.in: Remove --with-tls option.
52774         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52775         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52776         out in case it is missing.
52777         * sysdeps/ia64/elf/configure.in: Likewise.
52778         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52779         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52780         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52781         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52782         * sysdeps/sh/elf/configure.in: Likewise.
52783         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52784         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52785         * sysdeps/x86_64/elf/configure.in: Likewise.
52786         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52787         * sysdeps/mach/hurd/tls.h: Likewise.
52789         [BZ #13067]
52790         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52792         [BZ #13090]
52793         * configure.in: Fix use of AC_INIT.
52795         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52797 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
52799         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52800         __set_errno.
52801         * malloc/hooks.c: Likewise.
52803         [BZ #11929]
52804         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
52805         variables statically.
52806         (narenas): Initialize.
52807         (list_lock): Initialize.
52808         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
52809         initializtion of main_arena and list_lock.  Small cleanups.
52810         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52811         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
52812         Add initializers to main_arena and mp_.
52813         (malloc_state): Remove pagesize member.  Change all users to use
52814         GLRO(dl_pagesize).
52816         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52817         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
52818         is always initialized.
52820         * malloc/malloc.c: Removed unused configurations and dead code.
52821         * malloc/arena.c: Likewise.
52822         * malloc/hooks.c: Likewise.
52823         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52825         * include/tls.h: Removed.  USE___THREAD must always be defined.
52826         * bits/libc-tsd.h: Don't handle !USE___THREAD.
52827         * elf/dl-libc.c: Likewise.
52828         * elf/dl-tsd.c: Likewise.
52829         * include/errno.h: Likewise.
52830         * include/netdb.h: Likewise.
52831         * include/resolv.h: Likewise.
52832         * inet/herrno-loc.c: Likewise.
52833         * inet/herrno.c: Likewise.
52834         * malloc/arena.c: Likewise.
52835         * malloc/hooks.c: Likewise.
52836         * malloc/malloc.c: Likewise.
52837         * resolv/res-state.c: Likewise.
52838         * resolv/res_libc.c: Likewise.
52839         * sysdeps/i386/dl-machine.h: Likewise.
52840         * sysdeps/ia64/dl-machine.h: Likewise.
52841         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52842         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52843         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52844         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52845         * sysdeps/sh/dl-machine.h: Likewise.
52846         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52847         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52848         * sysdeps/unix/i386/sysdep.S: Likewise.
52849         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52850         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52851         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52852         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52853         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52854         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52855         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52856         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52857         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52858         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52859         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52860         * sysdeps/x86_64/dl-machine.h: Likewise.
52861         * tls.make.c: Likewise.
52863         * configure.in: Remove --with-__thread option.  Make tests for
52864         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52865         tls_model attribute fail if no support is available.  Remove
52866         USE_IN_LIBIO.
52867         * Makeconfig: Adjust for dropped configure option.  All features are
52868         now mandatory.
52869         * Makerules: Likewise.
52870         * Versions.def: Likewise.
52871         * argp/argp-fmtstream.c: Likewise.
52872         * argp/argp-fmtstream.h: Likewise.
52873         * argp/argp-help.c: Likewise.
52874         * assert/assert.c: Likewise.
52875         * config.h.in: Likewise.
52876         * config.make.in: Likewise.
52877         * configure: Likewise.
52878         * configure.in: Likewise.
52879         * csu/Versions: Likewise.
52880         * csu/init.c: Likewise.
52881         * elf/tst-audit2.c: Likewise.
52882         * elf/tst-tls10.c: Likewise.
52883         * elf/tst-tls10.h: Likewise.
52884         * elf/tst-tls11.c: Likewise.
52885         * elf/tst-tls12.c: Likewise.
52886         * elf/tst-tls14.c: Likewise.
52887         * elf/tst-tlsmod11.c: Likewise.
52888         * elf/tst-tlsmod12.c: Likewise.
52889         * elf/tst-tlsmod13.c: Likewise.
52890         * elf/tst-tlsmod13a.c: Likewise.
52891         * elf/tst-tlsmod14a.c: Likewise.
52892         * elf/tst-tlsmod15b.c: Likewise.
52893         * elf/tst-tlsmod16a.c: Likewise.
52894         * elf/tst-tlsmod16b.c: Likewise.
52895         * elf/tst-tlsmod7.c: Likewise.
52896         * elf/tst-tlsmod8.c: Likewise.
52897         * elf/tst-tlsmod9.c: Likewise.
52898         * gmon/gmon.c: Likewise.
52899         * grp/fgetgrent_r.c: Likewise.
52900         * grp/putgrent.c: Likewise.
52901         * hurd/fopenport.c: Likewise.
52902         * include/libc-symbols.h: Likewise.
52903         * include/tls.h: Likewise.
52904         * intl/gettextP.h: Likewise.
52905         * intl/loadinfo.h: Likewise.
52906         * locale/global-locale.c: Likewise.
52907         * locale/localeinfo.h: Likewise.
52908         * mach/devstream.c: Likewise.
52909         * malloc/arena.c: Likewise.
52910         * malloc/set-freeres.c: Likewise.
52911         * misc/err.c: Likewise.
52912         * misc/getttyent.c: Likewise.
52913         * misc/mntent_r.c: Likewise.
52914         * posix/getopt.c: Likewise.
52915         * posix/wordexp.c: Likewise.
52916         * pwd/fgetpwent_r.c: Likewise.
52917         * resolv/Versions: Likewise.
52918         * resolv/res_hconf.c: Likewise.
52919         * shadow/fgetspent_r.c: Likewise.
52920         * shadow/putspent.c: Likewise.
52921         * stdio-common/printf_fphex.c: Likewise.
52922         * stdio-common/tmpfile.c: Likewise.
52923         * stdlib/abort.c: Likewise.
52924         * stdlib/fmtmsg.c: Likewise.
52925         * sunrpc/auth_unix.c: Likewise.
52926         * sunrpc/clnt_perr.c: Likewise.
52927         * sunrpc/clnt_tcp.c: Likewise.
52928         * sunrpc/clnt_udp.c: Likewise.
52929         * sunrpc/clnt_unix.c: Likewise.
52930         * sunrpc/openchild.c: Likewise.
52931         * sunrpc/svc_simple.c: Likewise.
52932         * sunrpc/svc_tcp.c: Likewise.
52933         * sunrpc/svc_udp.c: Likewise.
52934         * sunrpc/svc_unix.c: Likewise.
52935         * sunrpc/xdr.c: Likewise.
52936         * sunrpc/xdr_array.c: Likewise.
52937         * sunrpc/xdr_rec.c: Likewise.
52938         * sunrpc/xdr_ref.c: Likewise.
52939         * sunrpc/xdr_stdio.c: Likewise.
52941 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52943         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52945 2011-07-03  Andreas Jaeger  <aj@suse.de>
52947         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52948         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52949         regenerate with gen-libm-tests.pl.
52951 2010-05-12  Petr Baudis  <pasky@suse.cz>
52953         [BZ #11589]
52954         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52955         around j0() zero points by switching to j1().
52956         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52957         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52958         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52959         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52961 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52963         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52964         instead of 0.
52965         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52966         instead of 0.
52967         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52968         Patch in part by Pavel Roskin <proski@gnu.org>.
52970         [BZ #13138]
52971         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52972         realloc.
52973         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52974         Free memory block if necessary.
52976         [BZ #12847]
52977         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52978         be NULL.  Don't lock in this case.
52980 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52982         * elf/elf.h (ELFOSABI_GNU): New macro.
52983         (ELFOSABI_LINUX): Define to that.
52985 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52987         * string/strncat.c (strncat): Undef the symbol in case it has been
52988         defined in bits/string.h.
52990 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52992         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52994         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52995         link map.
52997 2011-08-17  Andreas Jaeger  <aj@suse.de>
52999         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
53001 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
53002             Ian Lance Taylor  <iant@google.com>
53004         * math/libm-test.inc (lround_test): New testcase.
53005         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
53007 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
53009         * Makefile: Remove support for automatic cvs check-ins.
53010         * Makerules: Likewise.
53011         * config.make.in: Likewise.
53012         * configure.in: Likewise.
53013         * intl/Makefile: Likewise.
53014         * locale/Makefile: Likewise.
53015         * po/Makefile: Likewise.
53016         * posix/Makefile: Likewise.
53017         * sysdeps/gnu/Makefile: Likewise.
53018         * sysdeps/mach/hurd/Makefile: Likewise.
53019         * sysdeps/sparc/sparc32/Makefile: Likewise.
53021         [BZ #13118]
53022         * posix/Makefile (bug-regex32-ENV): Define.
53023         Patch by John Stanley <jpsinthemix@verizon.net>.
53025         * misc/Makefile (headers): Add bits/select2.h.
53026         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
53027         * misc/bits/select2.h: New file.
53028         * include/bits/select2.h: New file.
53029         * debug/Makefile (routines): Add fdelt_chk.
53030         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
53031         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
53032         FD_ISSET.
53033         * debug/fdelt_chk.c: New file.
53035         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
53036         * wcsmbs/test-wmemcmp.c: Likewise.
53037         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
53038         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
53040 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53042         * string/Makefile (strop-tests): Add memcmp.
53043         * string/test-wmemcmp.c: New file.
53044         * string/test-memcmp.c: Add wmemcmp support.
53046 2011-09-08  Roland McGrath  <roland@hack.frob.com>
53048         [BZ #13153]
53049         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
53050         2011-07-19 change.
53052         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
53053         garbage value in a __mach_port_mod_refs call in the cases of the
53054         task-self and thread-self ports.
53056 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53058         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
53060 2011-09-08  Andreas Schwab  <schwab@redhat.com>
53062         * elf/dl-load.c (lose): Check for non-null L.
53064 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53066         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
53068         * elf/dl-libc.c (dlerror_run): Pass back error code from
53069         dl_catch_error.
53071         [BZ #13123]
53072         * elf/dl-load.c (lose): Free l_origin if it is valid.
53074         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
53075         names.
53076         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
53077         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53078         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53079         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53080         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
53081         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
53083 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53085         * sysdeps/powerpc/fpu/e_hypot.c: New file.
53086         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
53087         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
53088         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
53089         * sysdeps/powerpc/fpu/k_cosf.c: New file.
53090         * sysdeps/powerpc/fpu/k_sinf.c: New file.
53091         * sysdeps/powerpc/fpu/s_cosf.c: New file.
53092         * sysdeps/powerpc/fpu/s_sinf.c: New file.
53093         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
53094         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
53096 2011-08-15  Alan Modra  <amodra@gmail.com>
53098         [BZ #13092]
53099         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
53100         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
53101         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
53102         ppc_mcount to static-only-routines.
53103         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
53104         __mcount_internal.
53105         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
53106         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
53108 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
53110         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
53111         for finite and infinity parameters.
53113 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
53115         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
53116         and add nop instructions for throughput optimization.
53117         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
53119 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
53121         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
53122         aligned copy for power7 with vector-scalar instructions.
53123         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
53125 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
53127         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
53128         AVX check.
53130 2011-09-07  Andreas Schwab  <schwab@redhat.com>
53132         [BZ #13144]
53133         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
53134         last change.
53136 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
53138         * sysdeps/unix/sysv/linux/x86_64/init-first.c
53139         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
53140         syscall wrapper around clock_gettime in __vdso_clock_gettime.
53141         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
53142         clock_gettime.
53144 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53146         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
53147         Forgot to demangle the pointer.
53149         * sysdeps/i386/sysdep.h: Define atom_text_section.
53150         * sysdeps/x86_64/sysdep.h: Likewise.
53151         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
53152         section with atom_text_section.
53153         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
53154         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
53155         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
53156         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53157         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
53159         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
53160         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
53161         already be defined.  Change to take two parameters and don't assign
53162         result to variable.  Adjust all users.
53163         Define INTERNAL_GETTIME if not already defined.
53164         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
53165         call.
53166         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
53167         HAVE_CLOCK_GETTIME_VSYSCALL.
53168         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
53170         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
53171         gettimeofday vsyscall, just use time.
53173 2011-09-06  Andreas Schwab  <schwab@redhat.com>
53175         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
53176         <errno.h>.
53178 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
53180         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
53181         syscall on x86-64.
53182         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
53183         syscall.
53184         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
53185         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
53186         syscall if possible.
53188 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53190         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
53191         e_ident.  Don't pass to find_mapsXX.
53192         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
53194 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53196         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53197         strchr-sse2-no-bsf strrchr-sse2-no-bsf
53198         * sysdeps/x86_64/multiarch/strchr.S: Update.
53199         Check bit_slow_BSF bit.
53200         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53201         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
53202         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
53204 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53206         [BZ #13134]
53207         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
53208         before glibc 2.15.
53209         (tryshell): Define.
53210         (__spawni): Change last parameter to be flag.  Test
53211         SPAWN_XFLAGS_USE_PATH flag to use path or not.
53212         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
53213         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
53214         * posix/spawni.c: Likewise.
53215         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
53216         * posix/spawnp.c: Likewise.  Change normal version to use
53217         SPAWN_XFLAGS_USE_PATH.
53218         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
53219         SPAWN_XFLAGS_TRY_SHELL.
53221         [BZ #13150]
53222         * posix/glob.h: Remove gcc 1.x support.
53224         [BZ #13068]
53225         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
53227 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53229         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53230         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
53231         strrchr-sse2-bsf
53232         * sysdeps/i386/i686/multiarch/strchr.S: New file.
53233         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
53234         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
53235         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
53236         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
53237         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
53239 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53241         * sysdeps/x86_64/wcscmp.S: New file.
53243         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
53244         wcscmp-c wcscmp-sse2
53245         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
53246         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
53247         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
53248         * wcsmbs/wcscmp.c: Allow renaming.
53250 2011-09-05  David S. Miller  <davem@davemloft.net>
53252         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
53253         stack slot, rather than the struct return pointer slot.
53254         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53255         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53257         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53259 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53261         * po/ja.po: Update from translation team.
53263         [BZ #13144]
53264         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53265         kernel in 64-bit binaries.
53267 2011-09-01  David S. Miller  <davem@davemloft.net>
53269         * elf/elf.h (HWCAP_SPARC_*): Move to..
53270         * sysdeps/sparc/sysdep.h: this new file and add new values.
53271         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53272         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53273         _DL_HWCAP_COUNT to 24.
53274         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53275         entries.
53276         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53277         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53278         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53279         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53280         instead of magic constants.
53281         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53283 2011-08-31  David S. Miller  <davem@davemloft.net>
53285         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53286         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53287         Reimplement to do errno handling inline.
53288         (SYSCALL_ERROR_HANDLER): New macro.
53289         (__SYSCALL_STRING): Do not do errno handling in asm.
53290         (__CLONE_SYSCALL_STRING): Delete.
53291         (__INTERNAL_SYSCALL_STRING): Delete.
53292         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53293         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53294         (PSEUDO): Reimplement to do errno handling inline.
53295         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53296         (SYSCALL_ERROR_HANDLER): New macro.
53297         (__SYSCALL_STRING): Do not do errno handling in asm.
53298         (__CLONE_SYSCALL_STRING): Delete.
53299         (__INTERNAL_SYSCALL_STRING): Delete.
53300         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53301         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53302         i386.
53303         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53304         (inline_syscall*): Add 'err' argument.
53305         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53306         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53307         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53308         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53310         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53311         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53313 2011-08-30  Andreas Schwab  <schwab@redhat.com>
53315         * elf/rtld.c (dl_main): Relocate objects in dependency order.
53317 2011-08-29  Jiri Olsa <jolsa@redhat.com>
53319         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53320         directive.
53322 2011-08-24  David S. Miller  <davem@davemloft.net>
53324         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53326 2011-08-24  Andreas Schwab  <schwab@redhat.com>
53328         * elf/Makefile: Add rules to build and run unload8 test.
53329         * elf/unload8.c: New file.
53330         * elf/unload8mod1.c: New file.
53331         * elf/unload8mod1x.c: New file.
53332         * elf/unload8mod2.c: New file.
53333         * elf/unload8mod3.c: New file.
53335         * elf/dl-close.c (_dl_close_worker): Reset private search list if
53336         it wasn't used.
53338 2011-08-23  David S. Miller  <davem@davemloft.net>
53340         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53341         subtract stack bias.
53342         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53343         %sp not %fp in calculations.
53344         (_JMPBUF_UNWINDS_ADJ): Likewise.
53346         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53347         (aio_suspend): Call it to force an exception region around the
53348         AIO_MISC_WAIT() invocation.
53350 2011-08-23  Andreas Schwab  <schwab@redhat.com>
53352         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53353         backslash.
53355 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
53357         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53358         protection macro.
53359         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53360         and <dl-machine.h>.
53361         (Elf64_FuncDesc): Remove.
53363 2011-08-22  David S. Miller  <davem@davemloft.net>
53365         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53366         sigaltstack check, add missing cfi directives.
53367         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53368         missing cfi directives, and sigaltstack handling.
53370 2011-08-16  Andreas Schwab  <schwab@redhat.com>
53372         [BZ #11724]
53373         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53374         object is seen twice.
53375         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53377         * elf/Makefile (distribute): Add tst-initorder2.c.
53378         (tests): Add tst-initorder2.
53379         (modules-names): Add tst-initorder2a tst-initorder2b
53380         tst-initorder2c tst-initorder2d.  Add rules to build them.
53381         ($(objpfx)tst-initorder2.out): New rule.
53382         * elf/tst-initorder2.c: New file.
53383         * elf/tst-initorder2.exp: New file.
53385 2011-08-22  Andreas Schwab  <schwab@redhat.com>
53387         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53389         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53390         dependencies back to end of function.
53392         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53393         $(elfobjdir)/ld.so.
53395 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
53397         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53398         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53399         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53400         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53401         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53402         of __vdso_gettimeofday.
53403         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53404         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
53405         attribute_hidden.
53406         (_libc_vdso_platform_setup): Remove initialization of
53407         __vdso_gettimeofday and __vdso_time.
53409 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
53411         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53412         and fgetc_unlocked.
53413         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53414         getc_unlocked.
53416         * elf/dl-open.c (add_to_global): Report additions to the global scope
53417         for LD_DEBUG=scopes.
53418         (dl_open_worker): Also print scope of newly loaded dependencies.
53419         (_dl_show_scope): Indicate if there is no scope.
53421         [BZ #13114]
53422         * stdio-common/Makefile (tests): Add bug24.
53423         * stdio-common/bug24.c: New file.
53425 2011-08-19  Andreas Jaeger  <aj@suse.de>
53427         [BZ #13114]
53428         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53429         non-existant file when using close-on-exec mode.
53431 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
53433         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53434         the very first instruction.
53436         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53437         the CFI state in the end.
53438         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53439         inclusion of dl-trampoline.h.
53440         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53442 2011-08-19  Andreas Schwab  <schwab@redhat.com>
53444         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53445         expectations for long double.
53447         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53448         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53450 2011-08-14  David S. Miller  <davem@davemloft.net>
53452         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53453         artificual limit depends upon the system page size.
53455 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53457         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53458         * resolv/Makefile: Define CFLAGS-libresolv.
53460 2011-08-17  Andreas Schwab  <schwab@redhat.com>
53462         * nss/makedb.c (compute_tables): Make variables used in nested
53463         function static.
53465 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53467         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53468         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53469         if buffer was too small.
53471         * elf/pldd.c (main): Attach to all threads in the process.
53472         Rewrite /proc handling to use *at functions.
53474 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
53476         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53477         specifies first scope to show.
53478         (dl_open_worker): Update callers.  Move printing scope of new
53479         object to before the relocation.
53480         * elf/rtld.c (dl_main): Update _dl_show_scope call.
53481         * sysdeps/generic/ldsodefs.h: Update declaration.
53483         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53484         string for the scope number.
53486 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
53488         * nscd/servicescache.c (cache_addserv): Make sure written is always
53489         initialized.
53491 2011-08-14  Roland McGrath  <roland@hack.frob.com>
53493         * sysdeps/i386/i486/bits/atomic.h
53494         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53495         statement expression, so as to suppress "set but not used" warning.
53496         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53498         * string/strncat.c (STRNCAT): Use prototype definition.
53500         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53501         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53502         -Iprograms here.
53503         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53504         (localedef-modules): Add localedef.
53505         (locale-modules): Add locale.
53507         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53508         * elf/rtld.c (dl_main): Invert order of assignment in last change,
53509         to avoid a warning.
53511 2011-08-14  David S. Miller  <davem@davemloft.net>
53513         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53514         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53516 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
53518         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53519         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53520         * elf/rtld.c (dl_main): Set l_name of vDSO.
53521         Call _dl_show_scope when DL_DEBUG_SCOPES.
53522         (process_dl_debug): Recognize scopes flag and also set it for all.
53523         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53524         Declare _dl_show_scope.
53526         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53527         (do_dlopen): Pass caller_dlopen to dl_open.
53528         (__libc_dlopen_mode): Initialize caller_dlopen.
53530         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53531         of libc.  Make tolower call locale-independent.  Optimize a bit by
53532         using isdigit instead of isalnum.
53533         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53535 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
53537         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53538         was a dependency or dynamically loaded.
53540 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
53542         * intl/l10nflist.c: Allow architecture-specific pop function.
53543         * sysdeps/x86_64/l10nflist.c: New file.
53545         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53546         classification.
53548 2011-08-10  Andreas Schwab  <schwab@redhat.com>
53550         * include/dirent.h: Add libc_hidden_proto for scandirat and
53551         scandirat64.  Don't declare __scandirat64.
53552         * dirent/scandirat.c: Add libc_hidden_def.
53553         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53554         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53556 2011-08-10  David S. Miller  <davem@davemloft.net>
53558         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53559         enum.
53560         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53561         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53562         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53564 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
53566         * Versions.def [libc]: Add GLIBC_2.15.
53567         * dirent/Makefile (routines): Add scandirat and scandirat64.
53568         * dirent/Versions [libc]: Export scandirat and scandirat64 for
53569         GLIBC_2.15.
53570         * dirent/dirent.h: Declare scandirat and scandirat64.
53571         * dirent/scandirat.c: New file.
53572         * dirent/scandirat64.c: New file.
53573         * sysdeps/wordsize-64/scandirat.c: New file.
53574         * sysdeps/wordsize-64/scandirat64.c: New file.
53575         * dirent/opendir.c: Define opendirat.
53576         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
53577         using scandirat.
53578         * dirent/scandir64.c: Adjust for scandir.c change.
53579         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
53580         __scandirat64, and __scandir_cancel_handler.
53581         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
53582         additional parameter and use openat instead of open (outside of ld.so).
53583         Add new __opendir as wrapper around __opendirat.
53584         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53585         here without requiring old scandirat implementation.
53587 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
53589         * dirent/scandir.c (cancel_handler): Renamed to
53590         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
53591         defined.  Adjust users.
53592         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53593         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53595 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
53597         * string/test-string.h (IMPL): Use __STRING to expand name and then
53598         stringify it.
53600         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
53601         of cleanups.
53603 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53605         * string/Makefile: Update.
53606         (strop-tests): Append strncat.
53607         * string/test-wcscmp.c: New file.
53608         New comprehensive test for wcscmp.
53609         * string/test-strcmp.c: Update.
53610         (WIDE): New define.
53612 2011-07-22  Andreas Schwab  <schwab@redhat.com>
53614         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53615         line.
53617 2011-07-26  Andreas Schwab  <schwab@redhat.com>
53619         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53620         encoding to ACE if AI_IDN.
53622 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
53624         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53625         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53627 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53629         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53630         Fix overflow bug in strncat.
53631         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53633         * string/test-strncat.c: Update.
53634         Add new tests for checking overflow bugs.
53636 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53638         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53639         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53640         * sysdeps/i386/i686/multiarch/strcat.S: New file.
53641         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53642         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53643         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53644         * sysdeps/i386/i686/multiarch/strncat.S: New file.
53645         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53646         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53648         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53649         (USE_AS_STRCAT): Define.
53650         Add strcat and strncat support.
53651         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53653 2011-07-25  Andreas Schwab  <schwab@redhat.com>
53655         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53656         __n bigger than INT_MAX+1.
53657         (__strncmp_g): Likewise.
53659 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
53661         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53662         * libio/stido.h: Likewise.
53664         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53665         (AF_NFC): Define.
53666         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53667         (AF_NFC): Define.
53669         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53670         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53671         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53672         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53673         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53675         [BZ #13021]
53676         * scripts/test-installation.pl: Don't expect libnss_test1 to be
53677         installed.
53679         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53680         typo.
53681         (_dl_x86_64_save_sse): Likewise.
53683 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
53685         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53686         OSXSAVE.
53687         (_dl_x86_64_save_sse): Likewise.
53689         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53691         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53693 2011-07-21  Andreas Schwab  <schwab@redhat.com>
53695         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53696         change.
53697         (_dl_x86_64_save_sse): Use correct AVX check.
53699 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53701         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53702         bug in strncpy/strncat.
53703         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53705 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
53707         * string/tester.c (test_strcat): Add tests for different alignments
53708         of source and destination.
53709         (test_strncat): Likewise.
53711 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53713         [BZ #12852]
53714         * posix/glob.c (glob): Check passed in values before using them in
53715         expressions to avoid some overflows.
53716         (glob_in_dir): Likewise.
53718         [BZ #13007]
53719         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53720         check for AVX enablement so that we don't crash with old kernels and
53721         new hardware.
53722         * elf/tst-audit4.c: Add same checks here.
53723         * elf/tst-audit6.c: Likewise.
53725         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53727 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
53729         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53731 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53733         * po/cs.po: Update from translation team.
53734         * po/bg.po: Likewise.
53736 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
53738         * misc/sys/cdefs.h: Add support for const attribute.
53739         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53740         to gnu_dev_{major,minor,makedev} functions.
53742 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
53744         * intl/dcigettext.c (get_output_charset): Add missing bracket.
53746 2011-07-20  Andreas Schwab  <schwab@redhat.com>
53748         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53749         strlen results.
53751 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53753         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53754         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53755         register in order to avoid conflicts with the soft frame pointer
53756         being held in r11 when necessary.
53757         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53758         (INTERNAL_VSYSCALL_NCS): Likewise.
53760 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
53762         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53763         * elf/dl-fini.c (_dl_fini): Adjust caller.
53764         * elf/dl-close.c (_dl_close_worker): Likewise.
53765         * sysdeps/generic/ldsodefs.h: Adjust declaration.
53767 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53769         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53770         "aux_cache->nlibs < 0".
53772         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53773         in the reload-count case.
53775 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53777         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53778         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53779         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53780         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53781         * sysdeps/x86_64/multiarch/strcat.S: New file.
53782         * sysdeps/x86_64/multiarch/strncat.S: New file.
53783         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53784         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53785         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53786         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53787         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53788         (USE_AS_STRCAT): Define.
53789         Add strcat and strncat support.
53790         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53791         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53792         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53793         * string/strncat.c: Update.
53794         (USE_AS_STRNCAT): Define.
53795         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53796         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53797         and i7.
53798         * sysdeps/x86_64/multiarch/init-arch.h
53799         (bit_Prefer_PMINUB_for_stringop): New.
53800         (index_Prefer_PMINUB_for_stringop): Likewise.
53801         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53802         bit_Prefer_PMINUB_for_stringop.
53804 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53806         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53807         buffer64.
53808         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53809         of casting of buffer.
53810         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53811         buffer32 and buffer64.
53812         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53813         writes instead of casting of buffer.
53814         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53815         buffer32.
53816         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53817         casting of buffer.
53819 2011-07-19  Andreas Schwab  <schwab@redhat.com>
53821         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53823 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53825         * nscd/nscd.c (termination_handler): Don't do anything for a database
53826         if it has not yet been initialized.
53828 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53830         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53832 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53834         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53836 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53838         * po/nl.po: Update from translation team.
53839         * po/sv.po: Likewise.
53841 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53843         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53844         now disallowed by GCC.
53846         * configure.in (use-default-link): Default to yes if a test -shared
53847         link meets our qualifications.
53848         * configure: Regenerated.
53850         * config.make.in (output-format): New variable.
53851         * configure.in: Check for ld --print-output-format support.
53852         * configure: Regenerated.
53853         * Makerules ($(common-objpfx)format.lds)
53854         [$(output-format) != unknown]: Just use $(output-format),
53855         instead of the linker-script munging.
53857 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53859         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53860         of $(common-objpfx)shlib.lds.
53861         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53863         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53864         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53866         * configure.in (-z relro check): Adjust test code to add a large
53867         writable data section after it.
53868         * configure: Regenerated.
53870 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53872         * configure.in (-z relro check): Fix test code to make the variable
53873         truly const.
53874         * configure: Regenerated.
53876 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53878         * nscd/nscd.h (struct traced_file): Define.
53879         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53880         elements.  Add traced_files.
53881         (inotify_fd): Declare.
53882         (register_traced_file): Declare.
53883         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53884         (inotify_fd): Export.
53885         (resolv_conf_descr): Remove.
53886         (nscd_init): Move inotify descriptor creation to main.
53887         Don't register files for notification here.
53888         (register_traced_file): New function.
53889         (invalidate_cache): Don't use reset_res to determine whether to call
53890         res_init, go through the list of registered files.
53891         (main_loop_poll): The inotify descriptors are now stored in the
53892         structures for the traced files.
53893         (main_loop_epoll): Likewise
53894         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53895         to __nss_disable_nscd.
53896         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53897         for a database anymore.  Check the records for all the registered
53898         files instead.
53899         * nss/Makefile (libnss_files-routines): Add files-init.
53900         (libnss_db-routines): Add db-init.
53901         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53902         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53903         * nss/nss_db/db-init.c: New file.
53904         * nss/nss_files/files-init.c: New file.
53905         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53906         __nss_lookup_function.
53907         (__nss_lookup_function): Call nss_load_library.
53908         (nss_load_all_libraries): New function.
53909         (__nss_disable_nscd): Take parameter with callback function for files
53910         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53911         used for the cached services.
53912         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53913         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53914         options for features to all the files in nscd.
53916         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53918 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53920         * csu/elf-init.c (__libc_csu_init): Comment typo.
53922 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53924         * po/pl.po: Update from translation team.
53925         * po/ja.po: Likewise.
53926         * po/ru.po: Likewise.
53927         * po/ko.po: Likewise.
53928         * po/fr.po: Likewise.
53930 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53932         * configure.in (.ctors/.dtors header and trailer check):
53933         Use an empirical test on a built program.
53934         * configure: Regenerated.
53936         * configure.in (-z relro check): Use an empirical test on a built DSO.
53937         Detect, but do not require, on ia64.
53938         * configure: Regenerated.
53940         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53941         Update tests that use readelf to use $READELF instead.
53942         * configure: Regenerated.
53944 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53946         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53947         if the result is not used.
53949 2011-07-05  Andreas Jaeger  <aj@suse.de>
53951         [BZ#9696]
53952         * stdlib/tst-strtod.c: Add testcase.
53954 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53956         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53957         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53958         The latter has a higher limit.  Take additional parameter to pass to
53959         the new function.
53960         (__pathconf): Pass file to __statfs_link_max.
53961         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53962         __statfs_link_max.
53963         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53964         __statfs_link_max.
53966         [BZ #12868]
53967         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53968         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53969         Handle Lustre.
53970         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53971         (__statfs_filesize_max): Likewise.
53972         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53974 2011-07-05  Andreas Jaeger  <aj@suse.de>
53976         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53978 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53980         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53981         `status' variable.
53982         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53983         Likewise.
53985 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53987         * Makefile (strop-tests): Add strncat.
53988         * string/test-strncat.c: New file.
53990 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53992         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53994 2011-06-21  Andreas Jaeger  <aj@suse.de>
53996         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53997         Copy rule from iconvdata/Makefile.
53999 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54001         [BZ #12922]
54002         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
54003         but no long options are defined, just return 'W'.
54005 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
54007         [BZ #9696]
54008         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
54010 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
54012         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
54013         netgroups to read.
54014         (innetgr): Likewise.
54016 2011-07-05  Roland McGrath  <roland@hack.frob.com>
54018         * config.make.in (install_root): Default to $(DESTDIR).
54020 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
54022         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
54024 2011-07-02  Roland McGrath  <roland@hack.frob.com>
54026         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
54028         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
54029         containing directory rather than embedding absolute directory names.
54031         * scripts/check-local-headers.sh: Rewritten using awk.
54032         Match by word, not by line.  Print error messages for matches.
54033         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
54035         * Makerules [shlib-lds-flags empty]:
54036         ($(common-objpfx)libc_pic.opts): New target.
54037         ($(common-objpfx)libc_pic.os.clean): New target.
54038         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
54040         * config.make.in (OBJCOPY): New variable.
54041         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
54042         * configure: Regenerated.
54044         * config.make.in (use-default-link): New variable.
54045         * configure.in (use_default_link): Grok --with-default-link to set it.
54046         * configure: Regenerated.
54047         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
54048         (shlib-lds, shlib-lds-flags): Define to empty.
54050         * Makerules (shlib-lds): New variable.
54051         (shlib-lds-flags): New variable.
54052         (build-shlib, build-moduile, build-module-asneeded): Use it.
54053         ($(common-objpfx)libc.so): Use $(shlib-lds).
54054         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
54055         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
54057         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
54058         DT_FLAGS/DT_FLAGS_1 with zero flags.
54060         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
54061         linker script munging.
54063 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
54065         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
54066         as 128-bit value.
54067         * crypt/sha512.c (sha512_process_block): Perform total addition using
54068         128-bit if possible.
54069         (__sha512_finish_ctx): Likewise.
54070         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
54071         as 64-bit value.
54072         * crypt/sha256.c (SWAP64): Define.
54073         (sha256_process_block): Perform total addition using 64-bit if
54074         possible.
54075         (__sha256_finish_ctx): Likewise.
54077 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
54079         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
54080         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54081         * nscd/hstcache.c (cache_addhst): Likewise.
54082         * nscd/grpcache.c (cache_addgr): Likewise.
54083         * nscd/aicache.c (addhstaiX): Likewise
54084         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
54086 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
54088         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
54089         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54090         * nscd/hstcache.c (cache_addhst): Likewise.
54091         * nscd/grpcache.c (cache_addgr): Likewise.
54092         * nscd/aicache.c (addhstaiX): Likewise
54094 2011-07-01  Andreas Schwab  <schwab@redhat.com>
54096         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
54097         domain only when needed.
54099 2011-06-30  Andreas Schwab  <schwab@redhat.com>
54101         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
54102         is always restored.
54104 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
54106         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
54107         are re-adding the entry.
54108         * nscd/servicescache.c (cache_addserv): Likewise.
54110 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
54112         * sysdeps/generic/dl-irel.h: fix protection against multiple
54113         inclusions.
54114         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
54116 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
54118         [BZ #12935]
54119         * malloc/memusage.sh: Fix quoting in message.
54120         * debug/xtrace.sh: Likewise.
54122         * configure.in: Remove support for --experimental-malloc option, make
54123         it the default.
54124         * config.make.in: Likewise.
54125         * malloc/Makefile: Likewise.
54127 2011-06-27  Andreas Schwab  <schwab@redhat.com>
54129         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
54130         two-byte characters.
54132 2011-06-27  Roland McGrath  <roland@hack.frob.com>
54134         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
54135         AC_CACHE_CHECK invocation.
54136         * configure: Regenerated.
54138         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
54140 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
54142         [BZ #12350]
54143         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
54144         bit from old_res_options.
54146         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
54148         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
54149         value type for setfct.
54151 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
54153         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54154         __gettimeofday instead of gettimeofday.
54156 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
54158         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
54160 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
54162         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
54164         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
54165         info.
54167 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54169         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54170         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54171         strcpy-sse2-unaligned strncpy-sse2-unaligned
54172         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
54173         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
54174         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
54175         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
54176         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
54177         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
54178         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
54179         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
54180         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
54181         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
54182         (STRCPY): Support SSE2 and SSSE3 versions.
54184 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
54186         [BZ #12874]
54187         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
54188         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
54189         kernels which artificially limit size of requests.
54191 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
54193         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54194         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
54195         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
54196         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
54197         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
54198         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
54199         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
54200         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
54201         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
54202         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
54203         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
54204         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
54205         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
54206         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
54207         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
54208         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54209         Enable unaligned load optimization for Intel Core i3, i5 and i7
54210         processors.
54211         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
54212         Define.
54213         (index_Fast_Unaligned_Load): Define.
54214         (HAS_FAST_UNALIGNED_LOAD): Define.
54216 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
54218         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
54220 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54222         [BZ #12907]
54223         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
54224         until it is clear that the information is realy needed.
54225         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
54227 2011-06-22  Andreas Schwab  <schwab@redhat.com>
54229         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
54231 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
54233         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
54234         /sys/devices/system/cpu/online if it is usable.
54236         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
54237         reading the information from the /proc filesystem to once a second.
54239 2011-06-21  Andreas Jaeger  <aj@suse.de>
54241         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
54242         NULL after inclusion of kernel headers.
54244 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
54246         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
54247         calls to internal_setent.
54249         [BZ #12885]
54250         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
54251         addresses using gethostbyname4_r ignore IPv4 addresses.
54253         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
54254         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
54256         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54258 2011-06-20  David S. Miller  <davem@davemloft.net>
54260         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54261         inclusions.
54262         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54264         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54265         (elf_irel): Use it.
54266         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54267         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54268         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54269         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54270         * sysdeps/x86_64/dl-irel.h: Likewise.
54272         * elf/dl-runtime.c: Use elf_ifunc_invoke.
54273         * elf/dl-sym.c: Likewise.
54275 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54277         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
54278         need to dereference resplen2.
54280 2011-06-14  Andreas Schwab  <schwab@redhat.com>
54282         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54284 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54286         * Makeconfig: Define vardbdir and inst_vardbdir.
54287         * nss/Makefile: Add rules to install db-Makefile.
54289         * nss/nss_db/db-XXX.c: Cleanup.
54291         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54292         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54293         GLIBC_PRIVATE.
54294         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54295         * nss/makedb.c: Implement -g option to specify that value strings
54296         are generated and should not be added to table iterated over for
54297         get*ent calls.
54298         * nss/nss_db/db-initgroups.c: New file.
54300         * nss/getent.c: Add support for initgroups lookups through getgrouplist
54301         interface.
54303         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54304         (internal_getgrouplist): Adjust to name change.
54305         Update use_initgroups_entry if this is not the first call.
54306         * nss/databases.def: Add initgroups entry.
54308         * nss/makedb.c (compute_tables): Check result of multiple hash table
54309         sizes to minimize maximum chain length.
54311 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
54313         * Versions.def: Add entry for libnss_db.
54314         * shlib-versions: Likewise.
54315         * nss/Makefile: Add rules to build libnss_db.
54316         * nss/Versions: Add libnss_db information.  Organize libnss_files
54317         entries better.
54318         * nss/db-Makefile: Add gshadow support.  Change rules for the new
54319         makedb progra.  Some minor improvements to generate smaller files.
54320         * nss/nss_db/nss_db.h: Move NSS database header data structures to
54321         here from...
54322         * nss/makedb.c: ...here.
54323         Improve database format to be smaller and require less memory at
54324         runtime.
54325         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
54326         db anymore.
54327         * nss/nss_db/db-netgrp.c: Likewise.
54328         * nss/nss_db/db-open.c: Likewise.
54329         * nss/nss_files/flies-XXX.x: Adjust comments.
54330         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54331         * nss/nss_files/files-grp.c: Likewise.
54332         * nss/nss_files/files-hosts.c: Likewise.
54333         * nss/nss_files/files-network.c: Likewise.
54334         * nss/nss_files/files-proto.c: Likewise.
54335         * nss/nss_files/files-pwd.c: Likewise.
54336         * nss/nss_files/files-rpc.c: Likewise.
54337         * nss/nss_files/files-service.c: Likewise.
54338         * nss/nss_files/files-sgrp.c: Likewise.
54339         * nss/nss_files/files-spwd.c: Likewise.
54340         * nss/nss_db/db-alias.c: Removed.
54341         * nss/nss_db/dummy-db.h: Removed.
54343 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
54345         * nss/makedb.c: Rewritten to not use database library.
54346         * nss/Makefile: Update to build new makedb program.
54348 2011-06-14  Andreas Jaeger  <aj@suse.de>
54350         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54351         memset declaration.
54353 2011-06-10  Andreas Schwab  <schwab@redhat.com>
54355         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54356         tmpbuf.
54358 2011-06-10  Roland McGrath  <roland@hack.frob.com>
54360         * Makerules (shlib.lds): Fail if the linker script comes out empty.
54361         * elf/Makefile ($(objpfx)ld.so): Likewise.
54363         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54364         Don't list ld.so twice in dependencies.
54366         * posix/bug-regex31.c: Include <stdlib.h>.
54368         * nscd/hstcache.c (cache_addhst): Remove unused variable.
54370         * nis/nss_compat/compat-spwd.c
54371         (getspent_next_nss_netgr): Remove unused variable.
54372         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54374         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54375         nonmembers" output to use the right array.
54377         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54379         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54381         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54382         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54383         * catgets/gencat.c (read_input_file): Likewise.
54384         * locale/programs/locarchive.c (enlarge_archive): Likewise.
54386         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54387         variable definition inside #if's controlling its use.
54389         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54391         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54393         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54395         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54396         unreachable code.
54398         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54400         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54401         * configure: Regenerated.
54403         * Makerules: Revert last change.
54404         * elf/Makefile: Likewise.
54406 2011-06-09  Roland McGrath  <roland@hack.frob.com>
54408         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54409         * elf/Makefile ($(objpfx)librtld.os): Likewise.
54410         (reloc-link): Likewise.
54412 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
54414         * elf/Makefile: Add rules to build pldd.
54415         * elf/pldd.c: New file.
54416         * elf/pldd-xx.c: New file.
54418 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
54420         * version.h: Update for 2.15 development version.
54422 2011-06-07  David S. Miller  <davem@davemloft.net>
54424         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54425         ifuncs.
54426         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54427         elf_machine_lazy_rel): Likewise.
54428         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54429         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54430         elf_machine_lazy_rel): Likewise.
54431         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54432         dl_hwcap via passed in argument.
54433         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54434         Likewise.
54436 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54438         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
54440 2011-06-06  Roland McGrath  <roland@hack.frob.com>
54442         [BZ #12849]
54443         * manual/fdl-1.1.texi: New file, verbatim from:
54444         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54445         * manual/lgpl-2.1.texi: New file, verbatim from:
54446         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54447         * manual/Makefile (licenses): New variable, list those new file names.
54448         (texis): Use it.
54449         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54451         * manual/fdl.texi: File removed.
54452         * manual/lesser.texi: File removed.
54453         * manual/libc.texinfo (Copying, Documentation License):
54454         Use new @include file names, put @appendix directive before @include.
54456 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
54458         [BZ #12841]
54459         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54460         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54461         (mq_open): Add __NTH.
54463 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
54465         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54466         Assume Intel Core i3/i5/i7 processor if AVX is available.
54468 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54470         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54471         typo.
54473 2011-05-31  Andreas Schwab  <schwab@redhat.com>
54475         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54476         memory.  Use alloca_account.  Fix memory leak when retrying.
54478 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54480         * version.h (RELEASE): Bump for 2.14 release.
54481         * include/features.h (__GLIBC_MINOR__): Bump to 14.
54483         * config.make.in (RANLIB): Remove entry.
54485 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
54487         * po/Makefile (po-sed-cmd): Add ksh to extensions.
54488         (libc.pot): Work around missing support for .ksh extension in xgettext.
54490         [BZ #12684]
54491         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54492         if both request failed.
54493         (send_dg): In case of server errors clear resplen or *resplen2.
54495         [BZ #12454]
54496         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54497         when there are multiple maps.
54498         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54499         (_dl_fini): Remove test here.
54501         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54503 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
54505         [BZ #12350]
54506         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54507         bit from old_res_options.
54508         (gaih_inet): Likewise.
54510         [BZ #11099]
54511         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54512         as signed.
54514         * resolv/res_init.c (res_setoptions): Make the code more compact.
54516         [BZ #11558]
54517         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54518         set RES_USEVC.
54520         [BZ #11634]
54521         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54523         * malloc/malloc.h: Mark malloc hook variables as deprecated.
54525         [BZ #11781]
54526         * malloc/malloc.h: Declare malloc hook variables as volatile.
54528         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54529         in last patch.
54531         [BZ #11799]
54532         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54533         raise in the comment.
54534         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54535         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54536         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54538 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
54540         [BZ #12811]
54541         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54542         grow the buffers more if it already has to be sufficient.
54543         (build_wcs_upper_buffer): Likewise.
54544         * posix/regexec.c (check_matching): Likewise.
54545         (clean_state_log_if_needed): Likewise.
54546         (extend_buffers): Don't enlarge buffers beyond size of the input
54547         buffer.
54548         Patches mostly by Emil Wojak <emil@wojak.eu>.
54549         * posix/bug-regex32.c: New file.
54550         * posix/Makefile (tests): Add bug-regex32.
54552         * locale/findlocale.c (_nl_find_locale): Return right away if
54553         _nl_explode_name failed.
54554         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54556         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54558         * debug/xtrace.sh: Unify messages.
54559         * malloc/memusage.sh: Likewise.
54561         [BZ #12813]
54562         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54563         time symbol from vDSO.  Substitute with vsyscall if not available.
54564         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54565         __vdso_time.
54567         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54568         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54569         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54570         Add sendmmsg and internal_sendmmsg.
54571         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54572         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54573         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54575         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54576         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54577         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54579 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
54581         [BZ #12813]
54582         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54583         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
54584         available.
54585         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54586         __vdso_getcpu.
54588         [BZ #12814]
54589         * iconvdata/Makefile (tests): Add bug-iconv9.
54590         * iconvdata/bug-iconv9.c: New file.
54592 2011-05-27  Andreas Schwab  <schwab@redhat.com>
54594         [BZ #12814]
54595         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54597 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
54599         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54600         (struct user_regs_struct): Change intcs field back to cs.
54602 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
54604         * po/ja.po: Update from translation team.
54606 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
54608         [BZ #12795]
54609         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54610         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54612 2011-05-20  Andreas Schwab  <schwab@redhat.com>
54614         * stdlib/longlong.h: Update from GCC.
54616 2011-05-23  Andreas Schwab  <schwab@redhat.com>
54618         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54619         parameter name.
54620         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54621         Add parameter name.
54622         (__sysconf): Pass it down.
54624 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
54626         [BZ #12671]
54627         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54628         some situations.
54629         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54630         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54631         add in in __libc_use_alloca calls.  Adjust callers.
54632         (glob): Use malloc in some situations.
54634         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54635         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54636         pltexit.
54638 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
54640         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54641         and CLOCK_BOOTTIME_ALARM.
54643         [BZ #12782]
54644         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54645         is returned.
54647         * string/_strerror.c (__strerror_r): Print negative errors as signed
54648         numbers.
54650         [BZ #12777]
54651         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54652         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54653         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54655         * configure.in: Fix typo in redirection and correct removal of test
54656         files in two cases.
54658         [BZ #12788]
54659         * locale/setlocale.c (new_composite_name): Fix test to check for
54660         identical name of all categories.
54662         [BZ #12792]
54663         * libio/filedoalloc.c (local_isatty): New function.
54664         (_IO_file_doallocate): Use local_isatty.
54665         * stdio-common/perror.c (perror): In case a new stream is used
54666         forward the stream error.
54667         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54668         error flag.
54670 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
54672         [BZ #11869]
54673         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54674         alloca.
54675         * include/alloca.h (extend_alloca_account): Define.
54677         [BZ #11857]
54678         * posix/regex.h: Fix comments with documentation of user-accessible
54679         fields after compilation and describe correct free'ing of pattern
54680         after re_compile_pattern.
54681         Patch by Reuben Thomas <rrt@sc3d.org>.
54683 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
54685         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54686         and -mno-altivec to prevent the compiler from using Altivec and/or
54687         VSX instructions when the corresponding registers are not available.
54689 2011-05-19  Andreas Schwab  <schwab@redhat.com>
54691         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54693 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
54695         * libio/freopen.c (freopen): Use __dup2, not dup2.
54696         * libio/freopen64.c (freopen64): Likewise.
54698 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54700         [BZ #12775]
54701         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54702         * math/Makefile (tests): Add test-powl.
54703         (CFLAGS-test-powl.c): Define.
54704         * math/test-powl.c: New file.
54706 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54708         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54710 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
54712         [BZ #11837]
54713         * iconvdata/gb18030.c: Update to GB18020-2005.
54715 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
54717         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54718         RE_SYNTAX_POSIX_AWK): Update to match recent development.
54719         Patch by Aharon Robbins <arnold@skeeve.com>.
54721         [BZ #11892]
54722         * stdlib/putenv.c (putenv): Don't always create copy of the variable
54723         on the stack.
54725         [BZ #11895]
54726         * misc/pselect.c (__pselect): Handle timeout value errors hidden
54727         through underflows.
54729         [BZ #12766]
54730         * misc/error.c (error_at_line): Ensure file_name and old_file_name
54731         point to strings before performing equality test for error_one_per_line
54732         mode.
54734         [BZ #11697]
54735         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54737         [BZ #11820]
54738         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54739         (struct user_fpregs_struct): Avoid __uint*_t types.
54741         [BZ #6420]
54742         * malloc/mtrace.c (tr_where): Add additional parameter to point to
54743         symbol info.  Use it instead of calling _dl_addr locally.
54744         (lock_and_info): New function.
54745         (tr_freehook): Call lock_and_info and pass symbol info as additional
54746         parameter to tr_where.
54747         (tr_mallochook): Likewise.
54748         (tr_reallochook): Likewise.
54749         (tr_memalignhook): Likewise.
54751         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
54752         used and couldn't be at all thread-safe.
54754 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
54756         * libio/freopen.c (freopen): Don't close old file descriptor
54757         before the new one is opened.  Instead dup the new file descriptor
54758         to the old one after the new stream is created.
54759         * libio/freopen64.c (freopen64): Likewise.
54760         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54761         * libio/fileops.c (_IO_new_file_close_it): Handle new
54762         _IO_FLAGS2_NOCLOSE flag.
54763         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54764         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54765         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54766         _IO_FLAGS2_NOCLOSE flag.
54767         * include/unistd.h: Add hidden_proto for dup3.
54768         Define __have_dup3.
54769         * io/dup3.c: Define hidden symbol.
54770         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54772         [BZ #7101]
54773         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54774         when an incomplete long option is used.
54775         * posix/tst-getopt_long1.c: New file.
54776         * posix/Makefile (tests): Add tst-getopt_long1.
54778         [BZ #10138]
54779         * scripts/config.guess: Update from autoconf-2.68.
54780         * scripts/config.sub: Likewise.
54782         [BZ #10157]
54783         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54784         tests into ...
54785         (has_cpuclock): ...this.  New function.
54786         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54787         macro here based on has_cpuclock code.
54789         [BZ #10149]
54790         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54791         First byte (not low byte) is now always NUL.
54792         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54794         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54795         Use non-cancelable interfaces.
54797         [BZ #9809]
54798         * locale/iso-639.def: Add entry for Sorani.
54800         [BZ #11901]
54801         * include/stdlib.h: Move include protection to the right place.
54802         Define abort_msg_s.  Declare __abort_msg with it.
54803         * stdlib/abort.c (__abort_msg): Adjust type.
54804         * assert/assert.c (__assert_fail_base): New function.  Majority
54805         of code from __assert_fail.  Allocate memory for __abort_msg with
54806         mmap.
54807         (__assert_fail): Now call __assert_fail_base.
54808         * assert/assert-perr.c: Remove bulk of implementation.  Use
54809         __assert_fail_base.
54810         * include/assert.hL Declare __assert_fail_base.
54811         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54812         mmap.
54813         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54815 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
54817         [BZ #11952]
54818         [BZ #12453]
54819         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54820         until all modules are registered in the DTV.
54821         * elf/Makefile: Add rules to build and run tst-tls19.
54822         * elf/tst-tls19.c: New file.
54823         * elf/tst-tls19mod1.c: New file.
54824         * elf/tst-tls19mod2.c: New file.
54825         * elf/tst-tls19mod3.c: New file.
54826         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54828         [BZ #12083]
54829         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54830         correctly.
54832         [BZ #12601]
54833         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54834         two-byte sequence errors.
54835         * iconvdata/Makefile (tests): Add bug-iconv8.
54836         * iconvdata/bug-iconv8.c: New file.
54838         [BZ #12626]
54839         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54840         buf2 definition.
54842         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54844         [BZ #12432]
54845         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54846         (dummy_getcfa): New function.
54847         (init): Get _Unwind_GetCFA address, use dummy if not found.
54848         (backtrace_helper): In recursion check, also check whether CFA changes.
54849         (__backtrace): Completely initialize arg.
54851         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54852         storing incomplete byte sequence in state object.  Avoid testing for
54853         guaranteed too small input if we know there is enough data available.
54855 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54857         * Makeconfig (+link-pie): Indent.
54858         * Rules (binaries-pie): Define if $(have-fpie) and
54859         $(build-shared).
54860         (binaries-shared): Also filter out $(binaries-pie).
54861         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54862         * nscd/Makefile (others-pie): Add nscd.
54863         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54864         ($(objpfx)nscd): Remove command override.
54865         * login/Makefile (others-pie): Add pt_chown.
54866         ($(objpfx)pt_chown): Remove command override.
54867         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54868         remove command overrides.
54870 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54872         * libio/tst_putwc.c: Fix error messages.
54874         [BZ #12724]
54875         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54876         currently writing and seek to current position when not.
54877         * libio/Makefile (tests): Add bug-fclose1.
54878         * libio/bug-fclose1.c: New file.
54880 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54882         [BZ #12511]
54883         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54884         don't set DF_1_NODELETE here.
54885         (do_lookup_x): When entering new entry test for copy relocation
54886         and if necessary set DF_1_NODELETE flag.
54887         * elf/tst-unique4.cc: New file.
54888         * elf/tst-unique4.h: New file.
54889         * elf/tst-unique4lib.cc: New file.
54890         * elf/Makefile: Add rules to build and run tst-unique4.
54891         Patch by Piotr Bury <pbury@goahead.com>.
54893 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54895         [BZ #12052]
54896         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54898         [BZ #12625]
54899         * misc/mntent_r.c (addmntent): Flush the stream after the output
54901         [BZ #12393]
54902         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54903         (is_trusted_path_normalize): Skip initial colon.  Append slash
54904         to empty buffer.  Duplicate is_trusted_path code but allow
54905         constructed patch to be prefix.
54906         (is_dst): Allow $ORIGIN followed by /.
54907         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54908         Correct testing of result of is_trusted_path_normalize
54909         (decompose_rpath): Fix warning.
54911 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54913         [BZ #11257]
54914         * grp/initgroups.c (internal_getgrouplist): When we found the service
54915         list through the initgroups entry in nsswitch.conf do not always
54916         continue on a successful lookup.  Don't always use the
54917         __nss_group_database value if it is set.
54918         * nss/nsswitch.conf (initgroups): Change action for successful db
54919         lookup to continue for compatibility.
54921 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54923         [BZ #11532]
54924         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54925         and CP774 modules.
54926         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54927         and CP774 modules.
54928         * iconvdata/tst-tables.sh: Likewise.
54929         * iconvdata/cp770.c: New file.
54930         * iconvdata/cp771.c: New file.
54931         * iconvdata/cp772.c: New file.
54932         * iconvdata/cp773.c: New file.
54933         * iconvdata/cp774.c: New file.
54934         * iconvdata/testdata/CP770: New file.
54935         * iconvdata/testdata/CP770..UTF8: New file.
54936         * iconvdata/testdata/CP771: New file.
54937         * iconvdata/testdata/CP771..UTF8: New file.
54938         * iconvdata/testdata/CP772: New file.
54939         * iconvdata/testdata/CP772..UTF8: New file.
54940         * iconvdata/testdata/CP773: New file.
54941         * iconvdata/testdata/CP773..UTF8: New file.
54942         * iconvdata/testdata/CP774: New file.
54943         * iconvdata/testdata/CP774..UTF8: New file.
54945         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54946         END CHARMAP line.
54947         * iconvdata/gen-8bit-gap.sh: Likewise.
54948         * iconvdata/gen-8bit.sh: Likewise.
54950         * locale/iso-639.def: Add ary entry.
54952         [BZ #11258]
54953         * locale/C-translit.h.in: Add U20A1 transliteration.
54955         [BZ #12178]
54956         * locale/iso-639.def: Add wae entry.
54957         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54959         [BZ #12545]
54960         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54961         for n.
54963         [BZ #12711]
54964         * locale/C-translit.h.in: Add entry for U20B9.
54965         Patch by pravin.d.s@gmail.com.
54967 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54969         [BZ #12713]
54970         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54971         ENAMETOOLONG use generic getcwd.
54972         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54973         in rtld.  Use *stat64.
54974         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54975         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54976         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54977         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54978         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54979         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54980         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54981         __fstatat64 macros.
54982         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54983         * dirent/rewinddir.c: Add libc_hidden_def.
54984         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54985         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54987         * include/dirent.h (__alloc_dir): Add flags parameter.
54988         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54989         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54990         __alloc_dir.
54991         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54992         from fdopendir if O_CLOEXEC is already set.
54994 2011-03-15  Alan Modra  <amodra@gmail.com>
54996         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54997         l_tls_firstbyte_offset non-zero.  Save padding offset in
54998         l_tls_firstbyte_offset for later use.
54999         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
55000         freeing static tls block.
55002 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
55004         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
55005         where #ifdef was intended.  The intent is to prevent ARG_MAX from
55006         being defined by the kernel headers.
55008 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
55010         [BZ #12734]
55011         * resolv/resolv.h: Define RES_NOTLDQUERY.
55012         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
55013         no-tld-query and set RES_NOTLDQUERY.
55014         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
55015         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
55016         modern BIND to search name as TLD unless forbidden.
55018 2011-05-07  Petr Baudis  <pasky@suse.cz>
55019             Ulrich Drepper  <drepper@gmail.com>
55021         [BZ #12393]
55022         * elf/dl-load.c (fillin_rpath): Move trusted path check...
55023         (is_trusted_path): ...to here.
55024         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
55025         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
55026         using is_trusted_path_normalize() in setuid scripts.
55028 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
55030         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
55031         __BEGIN/__END_DECLS.
55033 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
55035         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
55036         NSS_STATUS_NOTFOUND if no record was found.
55038 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55040         * sunrpc/Makefile (headers): Add rpc/netdb.h.
55041         (headers-not-in-tirpc): Remove rpc/netdb.h
55042         * resolv/netdb.h: Revert last change.
55044 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
55046         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
55047         circular dependency between libgcc.a and libc.a.
55049 2011-05-05  Andreas Schwab  <schwab@redhat.com>
55051         * resolv/netdb.h: Don't include <rpc/netdb.h>.
55052         * nis/Makefile: Don't install rpcsvc/*.
55053         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
55054         instead of <rpc/types.h>.
55055         (MAXHOSTNAMELEN): Define.
55057 2011-05-03  Andreas Schwab  <schwab@redhat.com>
55059         * elf/ldconfig.c (add_dir): Don't crash on empty path.
55061 2011-04-28  Maciej Babinski  <mbabinski@google.com>
55063         [BZ #12714]
55064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
55065         gethostbyname4_r when IPv6 results are possible.
55067 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
55069         [BZ #12723]
55070         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
55071         _PC_PIPE_BUF handling.
55073 2011-04-30  Bruno Haible  <bruno@clisp.org>
55075         [BZ #12717]
55076         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
55077         * resolv/netdb.h (getnameinfo): Change type of flags parameter
55078         to 'int'.
55079         * inet/getnameinfo.c (getnameinfo): Likewise.
55081 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
55083         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
55084         to groups setting in database lookup.
55085         * nss/nsswitch.conf: Add initgroups entry.
55087 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
55089         [BZ #12685]
55090         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
55091         mode string.
55092         Patch by Eric Blake <eblake@redhat.com>.
55094 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
55096         * sunrpc/Makefile (need-export-routines): Add svc_run.
55097         (routines): Remove svc_run.
55098         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
55099         * sunrpc/clnt_perr.c (clnt_perrno): Export.
55100         * sunrpc/svc_run.c (svc_run): Likewise.
55101         * sunrpc/svc_udp.c (svcudp_create): Likewise.
55103 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
55105         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
55106         problem in reallocation in last patch.
55108 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
55110         * sunrpc/Makefile: Move inclusion of Rules.
55112 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55114         * nss/nss_files/files-initgroups.c: New file.
55115         * nss/Makefile (libnss_files-routines): Add files-initgroups.
55116         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
55117         _nss_files_initgroups_dyn.
55119 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
55121         * elf/elf.h (R_ARM_IRELATIVE): Define.
55123 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
55125         * po/ru.po: Update from translation team.
55127 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55129         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
55130         dependencies.
55132 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
55134         [BZ #12653]
55135         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
55136         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
55137         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
55138         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55139         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55141 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
55143         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
55144         differing bytes.
55145         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55146         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55147         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55149 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
55151         [BZ #12420]
55152         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
55153         storing it.
55154         * stdlib/bug-getcontext.c: New file.
55155         * stdlib/Makefile: Add rules to build and run bug-getcontext.
55157 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55159         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
55160         instructions into .machine "z9-109".
55161         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
55162         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
55164 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55166         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
55167         between environment variables and auxiliary vector.
55169 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
55171         * Makefile: Add rules to build linkobj/libc.so.
55172         * include/libc-symbols.h: Define libc_hidden_nolink.
55173         * include/rpc/auth.h: Mark functions which are to be hidden.
55174         * include/rpc/auth_des.h: Likewise.
55175         * include/rpc/auth_unix.h: Likewise.
55176         * include/rpc/clnt.h: Likewise.
55177         * include/rpc/des_crypt.h: Likewise.
55178         * include/rpc/key_prot.h: Likewise.
55179         * include/rpc/pmap_clnt.h: Likewise.
55180         * include/rpc/pmap_prot.h: Likewise.
55181         * include/rpc/pmap_rmt.h: Likewise.
55182         * include/rpc/rpc_msg.h: Likewise.
55183         * include/rpc/svc.h: Likewise.
55184         * include/rpc/svc_auth.h: Likewise.
55185         * include/rpc/xdr.h: Likewise.
55186         * nis/Makefile: Link all DSOs against linkobj/libc.so.
55187         * nss/Makefile: Likewise.
55188         * sunrpc/Makefile: Don't install headers.  Build library with normal
55189         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
55190         * sunrpc/auth_des.c: Hide exported symbols by default, export some
55191         for the compat linking library.  Remove use of INTDEF/INTUSE.
55192         * sunrpc/auth_none.c: Likewise.
55193         * sunrpc/auth_unix.c: Likewise.
55194         * sunrpc/authdes_prot.c: Likewise.
55195         * sunrpc/authuxprot.c: Likewise.
55196         * sunrpc/clnt_gen.c: Likewise.
55197         * sunrpc/clnt_perr.c: Likewise.
55198         * sunrpc/clnt_raw.c: Likewise.
55199         * sunrpc/clnt_simp.c: Likewise.
55200         * sunrpc/clnt_tcp.c: Likewise.
55201         * sunrpc/clnt_udp.c: Likewise.
55202         * sunrpc/clnt_unix.c: Likewise.
55203         * sunrpc/des_crypt.c: Likewise.
55204         * sunrpc/des_soft.c: Likewise.
55205         * sunrpc/get_myaddr.c: Likewise.
55206         * sunrpc/key_call.c: Likewise.
55207         * sunrpc/key_prot.c: Likewise.
55208         * sunrpc/netname.c: Likewise.
55209         * sunrpc/pm_getmaps.c: Likewise.
55210         * sunrpc/pm_getport.c: Likewise.
55211         * sunrpc/pmap_clnt.c: Likewise.
55212         * sunrpc/pmap_prot.c: Likewise.
55213         * sunrpc/pmap_prot2.c: Likewise.
55214         * sunrpc/pmap_rmt.c: Likewise.
55215         * sunrpc/publickey.c: Likewise.
55216         * sunrpc/rpc_cmsg.c: Likewise.
55217         * sunrpc/rpc_common.c: Likewise.
55218         * sunrpc/rpc_dtable.c: Likewise.
55219         * sunrpc/rpc_prot.c: Likewise.
55220         * sunrpc/rpc_thread.c: Likewise.
55221         * sunrpc/rtime.c: Likewise.
55222         * sunrpc/svc.c: Likewise.
55223         * sunrpc/svc_auth.c: Likewise.
55224         * sunrpc/svc_authux.c: Likewise.
55225         * sunrpc/svc_raw.c: Likewise.
55226         * sunrpc/svc_run.c: Likewise.
55227         * sunrpc/svc_simple.c: Likewise.
55228         * sunrpc/svc_tcp.c: Likewise.
55229         * sunrpc/svc_udp.c: Likewise.
55230         * sunrpc/svc_unix.c: Likewise.
55231         * sunrpc/svcauth_des.c: Likewise.
55232         * sunrpc/xcrypt.c: Likewise.
55233         * sunrpc/xdr.c: Likewise.
55234         * sunrpc/xdr_array.c: Likewise.
55235         * sunrpc/xdr_float.c: Likewise.
55236         * sunrpc/xdr_intXX_t.c: Likewise.
55237         * sunrpc/xdr_mem.c: Likewise.
55238         * sunrpc/xdr_rec.c: Likewise.
55239         * sunrpc/xdr_ref.c: Likewise.
55240         * sunrpc/xdr_sizeof.c: Likewise.
55241         * sunrpc/xdr_stdio.c: Likewise.
55243 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
55245         [BZ #12650]
55246         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
55247         * sysdeps/ia64/dl-tls.h: Likewise.
55248         * sysdeps/powerpc/dl-tls.h: Likewise.
55249         * sysdeps/s390/dl-tls.h: Likewise.
55250         * sysdeps/sh/dl-tls.h: Likewise.
55251         * sysdeps/sparc/dl-tls.h: Likewise.
55252         * sysdeps/x86_64/dl-tls.h: Likewise.
55253         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55255 2011-03-14  Andreas Schwab  <schwab@redhat.com>
55257         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55258         rpath element also skip the following colon.
55259         (expand_dynamic_string_token): Add is_path parameter and pass
55260         down to DL_DST_REQUIRED and _dl_dst_substitute.
55261         (decompose_rpath): Call expand_dynamic_string_token with
55262         non-zero is_path.  Ignore empty rpaths.
55263         (_dl_map_object_from_fd): Call expand_dynamic_string_token
55264         with zero is_path.
55266 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
55268         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55269         Make cancelable.
55271 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
55273         [BZ #12655]
55274         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55275         Patch by Filipe David Manana <fdmanana@apache.org>.
55277 2011-04-07  Andreas Schwab  <schwab@redhat.com>
55279         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55280         Maintain aligned stack.
55281         (CHECK_RSP): Remove unused macro.
55283 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
55285         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55286         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55288 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
55290         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55292         * include/features.h: Mention __USE_XOPEN2K8 in comment.
55294 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
55296         [BZ #12518]
55297         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55298         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55299         * sysdeps/x86_64/memmove.c: New file.
55300         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55301         (memcpy): Renamed to ...
55302         (__new_memcpy): This.
55303         (memcpy): Provide GLIBC_2_14 memcpy.
55304         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55305         (memcpy): Provide GLIBC_2_2_5 memcpy.
55307 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55309         [BZ #12631]
55310         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55312 2011-03-30  Andreas Schwab  <schwab@redhat.com>
55314         * misc/syncfs.c: New file.
55315         * misc/Makefile (routines): Add syncfs.
55316         * posix/unistd.h: Declare syncfs.
55317         * sysdeps/unix/syscalls.list: Add syncfs.
55319 2011-04-01  Andreas Schwab  <schwab@redhat.com>
55321         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55322         open_by_handle_at.
55323         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55324         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55325         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55326         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55327         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55328         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55329         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55331 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55333         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55334         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55335         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55336         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55337         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55338         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55339         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55341         * io/Makefile: Compile fallocate.c, fallocate64.c, and
55342         sync_file_range.c with -fexceptions.
55343         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55344         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55345         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55346         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55347         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55348         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55349         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55350         sync_file_range as cancellation point
55351         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
55352         now a wrapper around __call_sync_file_range with cancellation handling.
55353         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55354         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
55355         function name to __call_sync_file_range.
55356         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55357         Add call_sync_file_range.
55359 2011-04-01  Andreas Schwab  <schwab@redhat.com>
55361         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55362         bits/timex.h.
55364 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55366         * iconv/iconv.h: Fix typo in comment.
55367         * io/fcntl.h: Likewise.
55368         * libio/stdio.h: Likewise.
55369         * posix/spawn.h: Likewise.
55370         * posix/unistd.h: Likewise.
55371         * stdlib/stdlib.h: Likewise.
55372         * time/time.h: Likewise.
55373         * wcsmbs/wchar.h: Likewise.
55375         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55376         open_by_handle): Add.
55377         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55378         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
55379         Augment a few comments.
55380         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55381         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55382         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55383         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55384         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55385         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55386         open_by_handle.
55388         * io/fcntl.h (AT_EMPTY_PATH): Define.
55390 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
55392         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55393         * sysdeps/unix/sysv/linux/bits/time.h: New file.
55394         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55395         to...
55396         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
55397         * Versions.def: Add GLIBC_2.14.
55398         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55399         Export.
55401 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
55403         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55404         round counter.
55405         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55407 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55409         [BZ #12597]
55410         * string/test-strncmp.c (do_page_test): New function.
55411         (check2): Likewise.
55412         (test_main): Call check2.
55413         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55415 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
55417         [BZ #12587]
55418         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55419         Handle cache information in CPU leaf 4.
55420         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55422 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
55424         [BZ #12583]
55425         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55426         character representation.
55427         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55429 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
55431         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55432         END(__isnan) to END(__isnanf) to match function entry point/label
55433         EALIGN(__isnanf,...).
55435 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
55437         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55439 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
55441         [BZ #12510]
55442         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55443         copy from the symbol referenced in the relocation to initialize the
55444         used variable.
55445         Patch by Piotr Bury <pbury@goahead.com>.
55446         * elf/Makefile: Add rules to build and tst-unique3.
55447         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55448         * elf/tst-unique3.cc: New file.
55449         * elf/tst-unique3.h: New file.
55450         * elf/tst-unique3lib.cc: New file.
55451         * elf/tst-unique3lib2.cc: New file.
55453         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55455 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
55457         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55458         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
55459         to _start.
55461 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
55463         * elf/dl-load.c (_dl_map_object): If we are looking for the first
55464         to-be-loaded object along a path to loader is ld.so.
55466 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55467             Ulrich Drepper  <drepper@gmail.com>
55469         * sysdeps/x86_64/memset.S: After aligning destination, code
55470         branches to different locations depending on the value of
55471         misalignment, when multiarch is enabled. Fix this.
55473 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55475         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55476         Set _x86_64_preferred_memory_instruction for AMD processsors.
55477         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55478         Set bit_Prefer_SSE_for_memop for AMD processors.
55480 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
55482         * libio/fmemopen.c (fmemopen): Optimize a bit.
55484 2011-03-03  Andreas Schwab  <schwab@redhat.com>
55486         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55488 2011-03-03  Roland McGrath  <roland@redhat.com>
55490         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55492 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
55494         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55495         __bzero_ultra1 instead of __memset_ultra1.
55497 2011-02-23  Andreas Schwab  <schwab@redhat.com>
55498             Ulrich Drepper  <drepper@gmail.com>
55500         [BZ #12509]
55501         * include/link.h (struct link_map): Add l_orig_initfini.
55502         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55503         returning unsuccessfully.
55504         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55505         close of a file loaded at startup, restore the original l_initfini
55506         list.
55507         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55508         list, store the pointer.
55509         * elf/Makefile ($(objpfx)noload-mem): New rule.
55510         (noload-ENV): Define.
55511         (tests): Add $(objpfx)noload-mem.
55512         * elf/noload.c: Include <memcheck.h>.
55513         (main): Call mtrace.  Close all opened handles.
55515 2011-02-17  Andreas Schwab  <schwab@redhat.com>
55517         [BZ #12454]
55518         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55519         dependencies are missing.
55521 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55523         Fix __if_freereq crash: Unlike the generic version which uses free,
55524         Hurd needs munmap.
55525         * sysdeps/mach/hurd/ifreq.h: New file.
55527 2011-01-27  Petr Baudis  <pasky@suse.cz>
55528             Ulrich Drepper  <drepper@gmail.com>
55530         [BZ 12445]#
55531         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55532         to extend_alloca().
55533         * stdio-common/bug23.c: New file.
55534         * stdio-common/Makefile (tests): Add bug23.
55536 2010-09-28  Andreas Schwab  <schwab@redhat.com>
55537             Ulrich Drepper  <drepper@gmail.com>
55539         [BZ #12489]
55540         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55541         before performing relro protection.  At old place add assertion
55542         to make sure nothing changed.
55544 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
55545             Glauber de Oliveira Costa  <glommer@gmail.com>
55547         * elf/elf.h: Add new ARM TLS relocs.
55549 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
55551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55552         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55553         cast from r3.
55554         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
55555         'tests' variable.
55556         * sysdeps/wordsize-64/tst-writev.c: New file.
55558 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
55560         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55561         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55562         insns in _dl_start to prevent a TOC reference before relocs are
55563         resolved.
55565 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
55567         [BZ #12469]
55568         * Makeconfig: Remove RANLIB definition.
55569         * Makerules: Don't use RANLIB.
55570         * aclocal.m4: Remove ranlib test.
55571         * configure.in: No need to check for ranlib.
55572         * elf/rtld-Rules: Don't use RANLIB.
55574 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55576         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55577         protection macro.
55578         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55579         inclusion protection macro.
55581         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55582         SIGRTMIN and SIGRTMAX and print information in that case only when
55583         SIGRTMIN is defined.
55585 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
55587         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55588         arginfo fn returning -1.
55590         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55591         and thousands string is zero terminated.
55593 2011-02-03  Andreas Schwab  <schwab@redhat.com>
55595         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55596         sysdeps/unix/sysv/linux/bits/socket.h.
55598 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55600         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55601         (__CPU_COUNT): Remove old macros.
55602         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55603         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55604         (__CPU_ALLOC, __CPU_FREE): Add macros.
55605         (__sched_cpualloc, __sched_cpufree): Add declarations.
55607 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
55609         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55610         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55611         * nscd/aicache.c (addhstaiX): Return timeout of added value.
55612         (readdhstai): Return value of addhstaiX call.
55613         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55614         (addgrbyX): Return value returned by cache_addgr.
55615         (readdgrbyname): Return value returned by addgrbyX.
55616         (readdgrbygid): Likewise.
55617         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55618         (addpwbyX): Return value returned by cache_addpw.
55619         (readdpwbyname): Return value returned by addhstbyX.
55620         (readdpwbyuid): Likewise.
55621         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55622         (addservbyX): Return value returned by cache_addserv.
55623         (readdservbyname): Return value returned by addservbyX:
55624         (readdservbyport): Likewise.
55625         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55626         (addhstbyX): Return value returned by cache_addhst.
55627         (readdhstbyname): Return value returned by addhstbyX.
55628         (readdhstbyaddr): Likewise.
55629         (readdhstbynamev6): Likewise.
55630         (readdhstbyaddrv6): Likewise.
55631         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55632         (readdinitgroups): Return value returned by addinitgroupsX.
55633         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55634         (prune_cache): Keep track of timeout value of re-added entries.
55635         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55636         * nscd/nscd.h: Adjust prototypes of readd* functions.
55638 2011-02-04  Roland McGrath  <roland@redhat.com>
55640         * nis/nis_server.c (nis_servstate): Use the right name for 0.
55641         (nis_stats): Likewise.
55642         * nis/nis_modify.c (nis_modify): Likewise.
55643         * nis/nis_remove.c (nis_remove): Likewise.
55644         * nis/nis_add.c (nis_add): Likewise.
55646         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55648         * posix/fnmatch_loop.c: Add some consts.
55650         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55652 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
55654         [BZ #12460]
55655         * config.make.in (config-cflags-novzeroupper): Define.
55656         * configure.in: Substitute libc_cv_cc_novzeroupper.
55657         * elf/Makefile (AVX-CFLAGS): Define.
55658         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55659         (CFLAGS-tst-auditmod4a.c): Likewise.
55660         (CFLAGS-tst-auditmod4b.c): Likewise.
55661         (CFLAGS-tst-auditmod6b.c): Likewise.
55662         (CFLAGS-tst-auditmod6c.c): Likewise.
55663         (CFLAGS-tst-auditmod7b.c): Likewise.
55664         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55666 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
55668         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55669         function to the callback.
55670         Patch partly by Jiri Olsa <jolsa@redhat.com>.
55672 2011-02-02  Andreas Schwab  <schwab@redhat.com>
55674         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55675         of errno.
55677 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
55679         [BZ #11724]
55680         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55681         of constructors.
55682         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55683         of destructors.
55684         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55686         [BZ #11724]
55687         * elf/Makefile: Add rules to build and run new test.
55688         * elf/tst-initorder.c: New file.
55689         * elf/tst-initorder.exp: New file.
55690         * elf/tst-initordera1.c: New file.
55691         * elf/tst-initordera2.c: New file.
55692         * elf/tst-initordera3.c: New file.
55693         * elf/tst-initordera4.c: New file.
55694         * elf/tst-initorderb1.c: New file.
55695         * elf/tst-initorderb2.c: New file.
55696         * elf/tst-order-a1.c: New file.
55697         * elf/tst-order-a2.c: New file.
55698         * elf/tst-order-a3.c: New file.
55699         * elf/tst-order-a4.c: New file.
55700         * elf/tst-order-b1.c: New file.
55701         * elf/tst-order-b2.c: New file.
55702         * elf/tst-order-main.c: New file.
55703         New test case by George Gensure <werkt0@gmail.com>.
55705 2010-10-01  Andreas Schwab  <schwab@redhat.com>
55707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55708         decoding ACE if AI_CANONIDN.
55710 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
55712         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55714 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
55716         * version.h (RELEASE): Bump for 2.13 release.
55717         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55719         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55721         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55722         MADV_NOHUGEPAGE.
55723         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55724         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55725         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55726         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55727         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55728         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55730         * posix/getconf.c: Update copyright year.
55731         * catgets/gencat.c: Likewise.
55732         * csu/version.c: Likewise.
55733         * debug/catchsegv.sh: Likewise.
55734         * debug/xtrace.sh: Likewise.
55735         * elf/ldconfig.c: Likewise.
55736         * elf/ldd.bash.in: Likewise.
55737         * elf/sprof.c (print_version): Likewise.
55738         * iconv/iconv_prog.c: Likewise.
55739         * iconv/iconvconfig.c: Likewise.
55740         * locale/programs/locale.c: Likewise.
55741         * locale/programs/localedef.c: Likewise.
55742         * malloc/memusage.sh: Likewise.
55743         * malloc/mtrace.pl: Likewise.
55744         * nscd/nscd.c (print_version): Likewise.
55745         * nss/getent.c: Likewise.
55747         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55748         PF_CAIF, and PF_ALG.
55749         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55751 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
55753         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55754         (modules-names): Use them.
55755         (ifunc-test-modules, ifunc-pie-tests): Define.
55756         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55757         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55758         (test-extras): Likewise.
55759         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55760         $(compile-command.c).
55761         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55762         (all-built-dso): Define.
55763         (check-textrel.out, check-execstack.out): Depend on it.
55765         * configure.in: Don't override --enable-multi-arch.
55767 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
55769         [BZ #6812]
55770         * nscd/hstcache.c (tryagain): Define.
55771         (cache_addhst): Return tryagain not notfound for temporary errors.
55772         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55773         failed.
55775 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
55777         [BZ #10563]
55778         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55779         to make the syscall.
55780         * sysdeps/unix/sysv/linux/setgroups.c: New file.
55782         [BZ #12378]
55783         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55784         and fall back to matching as normal character if the string ends before
55785         the matching ']' is found.  This is what POSIX requires.
55786         * posix/testfnm.c: Adjust test result.
55787         * posix/globtest.sh: Adjust test result.  Add new test.
55788         * posix/tst-fnmatch.input: Likewise.
55789         * posix/tst-fnmatch2.c: Add new test.
55791 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
55793         * elf/Makefile (check-execstack): Revert last change.  Depend on
55794         check-execstack.h.
55795         (check-execstack.h): New target.
55796         (generated): Add check-execstack.h.
55797         * elf/check-execstack.c: Include "check-execstack.h".
55798         (main): Revert last change.
55799         (handle_file): Return zero if GNU_STACK is absent and
55800         DEFAULT_STACK_PERMS doesn't include PF_X.
55802 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
55804         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55805         in child fails because the descriptor is already closed.
55806         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55807         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55808         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55810         [BZ #12397]
55811         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55812         syscall.
55814         [BZ #10484]
55815         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55816         temporary buffer used to handle multi lookups locally.
55817         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55819 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55821         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55822         loader is ld.so.
55824 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
55826         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55827         alignment for SSE2.
55829 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55831         [BZ #12394]
55832         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55833         characters.  When rounding increased number of integer digits recompute
55834         number of groups.
55835         * stdio-common/tst-grouping.c: New file.
55836         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55838 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55840         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55841         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55843         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55844         void.
55845         * bits/select.h: Likewise.
55847 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55849         * po/ja.po: Update from translation team.
55851 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55853         [BZ #11155]
55854         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55855         implementation just like for lxstat, fxstatat, et al.
55857 2010-12-27  Jim Meyering  <meyering@redhat.com>
55859         [BZ #12348]
55860         * posix/regexec.c (build_trtable): Return failure indication upon
55861         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55863 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55865         [BZ #12201]
55866         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55867         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55868         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55869         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55871         [BZ #12207]
55872         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55874         [BZ #12204]
55875         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55876         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55878 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55880         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55881         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55882         script has SORT_BY_INIT_PRIORITY.
55883         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55884         NO_CTORS_DTORS_SECTIONS is defined.
55885         * elf/soinit.c: Likewise.
55886         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55887         NO_CTORS_DTORS_SECTIONS is defined.
55888         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55889         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55890         * sysdeps/sh/init-first.c: Likewise.
55891         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55893 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55895         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55896         always use the slow path.
55898 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55900         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55901         similar rule which adds the sysdep directories to the header search in
55902         order to pick up the correct platform stackinfo.h.
55903         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55904         perform test if it is, otherwise return successfully without testing.
55905         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55906         DEFAULT_STACK_PERMS define in stackinfo.h.
55907         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55908         defined in stackinfo.h.
55909         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55910         DEFAULT_STACK_PERMS defined in stackinfo.h.
55911         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55912         * sysdeps/ia64/stackinfo.h: Likewise.
55913         * sysdeps/s390/stackinfo.h: Likewise.
55914         * sysdeps/sh/stackinfo.h: Likewise.
55915         * sysdeps/sparc/stackinfo.h: Likewise.
55916         * sysdeps/x86_64/stackinfo.h: Likewise.
55917         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55918         PF_X for powerpc64.  Retain PF_X for powerpc32.
55920 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55922         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55923         accurately.
55924         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55925         GETDENTS_64BIT_ALIGNED.
55927 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55929         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55931 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55933         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55934         _GNU_SOURCE.
55936         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55937         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55938         Remove __restrict.
55939         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55940         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55942 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55944         [BZ #11655]
55945         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55946         are initialized.
55948 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55950         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55952 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55954         * po/it.po: Update from translation team.
55956 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55958         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55959         unused codes.
55961 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55963         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55965 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55967         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55968         specially.
55969         (gaih_getanswer_slice): Likewise.
55971 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55973         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55975 2010-05-31  Petr Baudis  <pasky@suse.cz>
55977         [BZ #11149]
55978         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55979         silently even in the chroot mode.
55981 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55983         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55984         last patch a bit.  Pretty printing
55986 2010-05-31  Petr Baudis <pasky@suse.cz>
55988         [BZ #10085]
55989         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55990         initialization of skip_initgroups_dyn.
55992 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55994         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55995         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55997 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55999         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
56001 2010-11-11  Andreas Schwab  <schwab@redhat.com>
56003         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
56004         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
56005         (tst-fnmatch-ENV): Set MALLOC_TRACE.
56006         ($(objpfx)tst-fnmatch-mem): New rule.
56007         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
56008         * posix/tst-fnmatch.c (main): Call mtrace.
56010 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
56012         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56013         Support Intel processor model 6 and model 0x2c.
56015 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
56017         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
56018           signed comparison.
56020 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
56022         [BZ #12205]
56023         * string/test-strncasecmp.c (check_result): New function.
56024         (do_one_test): Use it.
56025         (check1): New function.
56026         (test_main): Use it.
56027         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
56028         Support strcasecmp and strncasecmp.
56030 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
56032         [BZ #12194]
56033         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
56034         * sysdeps/x86_64/bits/byteswap.h: Likewise.
56036 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
56038         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
56039         IFUNC support.
56040         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56041         memset-x86-64.
56042         * sysdeps/x86_64/multiarch/bzero.S: New file.
56043         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
56044         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
56045         * sysdeps/x86_64/multiarch/memset.S: New file.
56046         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
56047         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56048         Set bit_Prefer_SSE_for_memop for Intel processors.
56049         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
56050         Define.
56051         (index_Prefer_SSE_for_memop): Define.
56052         (HAS_PREFER_SSE_FOR_MEMOP): Define.
56054 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
56056         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
56057         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
56059 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
56061         [BZ #12191]
56062         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56063         (__x86_64_raw_data_cache_size_half): Likewise.
56064         (__x86_64_raw_shared_cache_size): Likewise.
56065         (__x86_64_raw_shared_cache_size_half): Likewise.
56067         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
56068         (__x86_64_raw_data_cache_size_half): Likewise.
56069         (__x86_64_raw_shared_cache_size): Likewise.
56070         (__x86_64_raw_shared_cache_size_half): Likewise.
56071         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
56072         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
56073         and __x86_64_raw_shared_cache_size_half.  Round
56074         __x86_64_data_cache_size_half, __x86_64_data_cache_size
56075         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
56076         to multiple of 256 bytes.
56078 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
56080         [BZ #12167]
56081         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
56082         of inacessible symlinks.  Verify result of symlink before returning it.
56083         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
56084         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
56086 2010-10-28  Erich Ritz  <erichritz@gmail.com>
56088         * math/math.h (isinf): Fix typo in comment.
56090 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
56092         * po/da.po: Update from translation team.
56094 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
56096         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
56097         is added to the list.
56099 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56100             Ulrich Drepper  <drepper@gmail.com>
56102         * elf/dl-object.c (_dl_new_object): Don't append the new object to
56103         the global list here.  Move code to...
56104         (_dl_add_to_namespace_list): ...here.  New function.
56105         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
56106         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
56107         * elf/dl-load.c (lose): Don't remove the element from the list.
56108         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
56109         (_dl_map_object): Likewise.
56111 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
56113         [BZ #12159]
56114         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
56115         into all bytes of SSE register.
56116         Patch by Richard Li <richardpku@gmail.com>.
56118 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
56120         [BZ #12140]
56121         * malloc/malloc.c (_int_free): Fill correct number of bytes when
56122         perturbing.
56124 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
56126         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
56127         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
56128         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
56129         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
56130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
56131         submachine.
56132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
56134 2010-10-22  Andreas Schwab  <schwab@redhat.com>
56136         * include/dlfcn.h (__RTLD_SECURE): Define.
56137         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
56138         mode & __RTLD_SECURE instead.
56139         (open_path): Rename preloaded parameter to secure.
56140         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
56141         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
56142         * elf/dl-deps.c (openaux): Likewise.
56143         * elf/rtld.c (struct map_args): Remove is_preloaded.
56144         (map_doit): Don't use it.
56145         (dl_main): Likewise.
56146         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
56147         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
56149 2010-09-09  Andreas Schwab  <schwab@redhat.com>
56151         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
56152         (sysd-rules-targets): Remove duplicates.
56153         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
56154         rtld-%.$o dependency.
56156 2010-10-18  Andreas Schwab  <schwab@redhat.com>
56158         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
56159         _dl_map_object do it.
56161 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
56163         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
56164         fast fma builtins, define the macros in the C99 standard.
56165         (FP_FAST_FMAF): Likewise.
56166         (FP_FAST_FMAL): Likewise.
56167         * sysdeps/x86_64/bits/mathdef.h: Likewise.
56169         * bits/mathdef.h: Update copyright year.
56170         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56172 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
56174         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
56175         builtins, define the macros in the C99 standard.
56176         (FP_FAST_FMAF): Likewise.
56177         (FP_FAST_FMAL): Likewise.
56178         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
56179         multiply/add.
56180         (FP_FAST_FMAF): Likewise.
56182 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
56184         [BZ #3268]
56185         * math/libm-test.inc (fma_test): Some new testcases.
56186         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
56187         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
56188         y and infinite z.  Do multiplication by C already in long double.
56189         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
56190         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
56191         y and infinite z.  Do bitwise or of inexact bit into u.d.
56192         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
56193         * sysdeps/i386/fpu/s_fmaf.S: Removed.
56194         * sysdeps/i386/fpu/s_fma.S: Removed.
56195         * sysdeps/i386/fpu/s_fmal.S: Removed.
56197 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
56199         [BZ #3268]
56200         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
56201         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
56202         computation is not scheduled after fetestexcept.  Fix value
56203         of minimum denormal long double.
56205 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
56207         [BZ #3268]
56208         * math/libm-test.inc (fma_test): Add some more tests.
56209         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
56210         correctly.
56212 2010-10-15  Andreas Schwab  <schwab@redhat.com>
56214         * scripts/data/localplt-s390-linux-gnu.data: New file.
56215         * scripts/data/localplt-s390x-linux-gnu.data: New file.
56217 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
56219         [BZ #3268]
56220         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
56221         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
56222         instead of dbl-64.
56223         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
56224         inlines.
56225         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
56226         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
56227         if one of x and y is very large and the other is subnormal.
56228         * sysdeps/s390/fpu/s_fmaf.c: New file.
56229         * sysdeps/s390/fpu/s_fma.c: New file.
56230         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
56231         * sysdeps/powerpc/fpu/s_fma.S: New file.
56232         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
56233         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
56234         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
56236 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
56238         [BZ #3268]
56239         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
56240         fma tests.
56241         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
56242         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
56243         * sysdeps/i386/i686/multiarch/s_fma.c: Include
56244         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
56245         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
56246         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
56247         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
56249 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
56251         [BZ #12078]
56252         * posix/regcomp.c (parse_branch): One more memory leak plugged.
56253         * posix/bug-regex31.input: Add test case.
56255 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56257         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56258         * posix/bug-regex31.input: New file.
56260         [BZ #12078]
56261         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56262         (parse_sub_exp): Fix last change, use postorder.
56264         * posix/bug-regex31.c: New file.
56265         * posix/Makefile: Add rules to build and run bug-regex31.
56267         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56269         [BZ #12078]
56270         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56272         [BZ #12108]
56273         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56274         to have entries in sys_siglist.
56276         [BZ #12093]
56277         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56278         be NULL.
56280 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
56282         [BZ #3268]
56283         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56284         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56285         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56286         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56287         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56288         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56289         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56290         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56291         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56292         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56293         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56294         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56295         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56296         * math/ftestexcept.c (fetestexcept): Likewise.
56297         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56298         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56299         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56300         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56301         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56302         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56303         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56305 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56307         [BZ #12107]
56308         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56309         newline.
56311 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
56313         * string/bug-strstr1.c: New file.
56314         * string/Makefile: Add rules to build and run bug-strstr1.
56316 2010-10-05  Eric Blake  <eblake@redhat.com>
56318         [BZ #12092]
56319         * string/str-two-way.h (two_way_long_needle): Always clear memory
56320         when skipping input due to the shift table.
56322 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
56324         [BZ #12005]
56325         * malloc/mcheck.c: Handle large requests.
56327         [BZ #12077]
56328         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56329         for strncmp and strncasecmp.
56330         * string/stratcliff.c: Add tests for strcmp and strncmp.
56331         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56333 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56335         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56336         __set_fpscr.
56338 2010-09-30  Andreas Jaeger  <aj@suse.de>
56340         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56341         (CGROUP_SUPER_MAGIC): Define.
56342         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56343         Handle btrfs and cgroup file systems.
56344         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56345         Likewise.
56347 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
56349         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56350         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56352 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56354         [BZ #12067]
56355         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56356         trying to locate the ELF header.
56358 2010-09-27  Andreas Schwab  <schwab@redhat.com>
56360         [BZ #11611]
56361         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56362         Mask out sign-bit copies when constructing f_fsid.
56364 2010-09-24  Petr Baudis <pasky@suse.cz>
56366         * debug/stack_chk_fail_local.c: Add missing licence exception.
56367         * debug/warning-nop.c: Likewise.
56369 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
56371         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56372         implementing getdents64 using getdents syscall, set d_type if
56373         __ASSUME_GETDENTS32_D_TYPE.
56375 2010-09-16  Andreas Schwab  <schwab@redhat.com>
56377         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56378         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56380 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
56382         [BZ #12037]
56383         * posix/unistd.h: Undo change of feature selection for ftruncate from
56384         2010-01-11.
56386 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
56388         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56389         detection.
56391 2010-09-20  Andreas Schwab  <schwab@redhat.com>
56393         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56394         fanotify_mark.
56395         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56397 2010-09-14  Andreas Schwab  <schwab@redhat.com>
56399         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56400         variables after CHECK_SP call.
56401         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56403 2010-09-13  Andreas Schwab  <schwab@redhat.com>
56404             Ulrich Drepper  <drepper@redhat.com>
56406         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56407         re-relocationg ld.so.
56408         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56409         _dl_init_paths call.
56410         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
56411         here anymore.
56413 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
56415         * resolv/res_init.c (__res_vinit): Count the default server we added.
56417 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
56418             Ulrich Drepper  <drepper@redhat.com>
56420         [BZ #11968]
56421         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56422         (____longjmp_chk): Use %ebx for saving value across system call.
56423         Add unwind info.
56425 2010-09-06  Andreas Schwab  <schwab@redhat.com>
56427         * manual/Makefile: Don't mix pattern rules with normal rules.
56429 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56431         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56432         operation.
56433         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56434         * libio/iofopncook.c (_IO_cookie_init): Likewise.
56435         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56436         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56437         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56438         Likewise.
56440 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
56442         [BZ #11979]
56443         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56444         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56446 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
56448         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56449         * sysdeps/x86_64/addmul_1.S: Likewise.
56450         * sysdeps/x86_64/lshift.S: Likewise.
56451         * sysdeps/x86_64/mul_1.S: Likewise.
56452         * sysdeps/x86_64/rshift.S: Likewise.
56453         * sysdeps/x86_64/sub_n.S: Likewise.
56454         * sysdeps/x86_64/submul_1.S: Likewise.
56456 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56458         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56459         Define __sched_param instead of SCHED_* and sched_param when
56460         <bits/sched.h> is included with __need_schedparam defined.
56461         * bits/sched.h [__need_schedparam]
56462         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56463         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56464         (__defined_schedparam): Define to 1.
56465         (__sched_param): New structure, identical to sched_param.
56466         (__need_schedparam): Undefine.
56468 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
56470         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56471         (epoll_create1): Declare.
56473         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56475 2010-08-31  Andreas Schwab  <schwab@redhat.com>
56477         [BZ #7066]
56478         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56479         shifting retval into place.
56481 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
56483         * nis/rpcsvc/nis.h: Update copyright notice.
56484         * nis/rpcsvc/nis.x: Likewise.
56485         * nis/rpcsvc/nis_callback.h: Likewise.
56486         * nis/rpcsvc/nis_callback.x: Likewise.
56487         * nis/rpcsvc/nis_object.x: Likewise.
56488         * nis/rpcsvc/nis_tags.h: Likewise.
56489         * nis/rpcsvc/yp.h: Likewise.
56490         * nis/rpcsvc/yp.x: Likewise.
56491         * nis/rpcsvc/ypupd.h: Likewise.
56492         * nis/yp_xdr.c: Likewise.
56493         * nis/ypupdate_xdr.c: Likewise.
56495         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
56496         mainly the body of pmap_getport.  Add parameters to specify timeouts.
56497         (pmap_getport): Use __libc_rpc_getport.
56498         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56499         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56500         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56502 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
56504         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56505         fanotify_mark.
56507 2010-08-27  Roland McGrath  <roland@redhat.com>
56509         * sysdeps/i386/i686/multiarch/Makefile
56510         (CFLAGS-varshift.c): New variable.
56512 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
56514         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56515         * sysdeps/i386/i686/multiarch/varshift.c: New file.
56517         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56519         * sysdeps/x86_64/strlen.S: Minimal code improvement.
56521 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
56523         * sysdeps/x86_64/strlen.S: Unroll the loop.
56524         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56525         strlen-sse2 strlen-sse2-bsf.
56526         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56527         __strlen_no_bsf if bit_Slow_BSF is set.
56528         (__strlen_sse42): Removed.
56529         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56530         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56532 2010-08-25  Roland McGrath  <roland@redhat.com>
56534         * sysdeps/x86_64/multiarch/varshift.S: File removed.
56535         * sysdeps/x86_64/multiarch/varshift.c: New file.
56536         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56537         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56538         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56539         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56541 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
56543         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56544         strlen-sse2 strlen-sse2-bsf.
56545         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56546         __strlen_sse2_bsf if bit_Slow_BSF is unset.
56547         (__strlen_sse2): Removed.
56548         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56549         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56550         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56551         bit_Slow_BSF for Atom.
56552         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56553         (index_Slow_BSF): Define.
56554         (HAS_SLOW_BSF): Define.
56556 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
56558         [BZ #10851]
56559         * resolv/res_init.c (__res_vinit): When no server address at all
56560         is given default to loopback.
56562 2010-08-24  Roland McGrath  <roland@redhat.com>
56564         * configure.in: Remove config-name.h generation.
56565         * configure: Regenerated.
56566         * config-name.in: File removed.
56567         * scripts/config-uname.sh: New file.
56568         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56569         ($(objdir)config-name.h): New target.
56571         * sunrpc/rpc_parse.h: Avoid nested comment.
56573 2010-08-24  Richard Henderson  <rth@redhat.com>
56574             Ulrich Drepper  <drepper@redhat.com>
56575             H.J. Lu  <hongjiu.lu@intel.com>
56577         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56578         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56579         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56580         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
56581         _mm_alignr_epi8 with _mm_loadu_si128.
56582         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56583         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56584         (__m128i_shift_right): Removed.
56585         * sysdeps/i386/i686/multiarch/varshift.h: New file.
56586         * sysdeps/i386/i686/multiarch/varshift.S: New file.
56587         * sysdeps/x86_64/multiarch/varshift.h: New file.
56588         * sysdeps/x86_64/multiarch/varshift.S: New file.
56590 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
56592         * configure.in: Move assembler checks to before sysdep dir checking.
56594 2010-08-20  Petr Baudis  <pasky@suse.cz>
56596         * LICENSES: Sync the sunrpc license.
56598 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
56600         * sunrpc/auth_des.c: Update copyright notice once again.
56601         * sunrpc/auth_none.c: Likewise.
56602         * sunrpc/auth_unix.c: Likewise.
56603         * sunrpc/authdes_prot.c: Likewise.
56604         * sunrpc/authuxprot.c: Likewise.
56605         * sunrpc/bindrsvprt.c: Likewise.
56606         * sunrpc/clnt_gen.c: Likewise.
56607         * sunrpc/clnt_perr.c: Likewise.
56608         * sunrpc/clnt_raw.c: Likewise.
56609         * sunrpc/clnt_simp.c: Likewise.
56610         * sunrpc/clnt_tcp.c: Likewise.
56611         * sunrpc/clnt_udp.c: Likewise.
56612         * sunrpc/clnt_unix.c: Likewise.
56613         * sunrpc/des_crypt.c: Likewise.
56614         * sunrpc/des_soft.c: Likewise.
56615         * sunrpc/get_myaddr.c: Likewise.
56616         * sunrpc/getrpcport.c: Likewise.
56617         * sunrpc/key_call.c: Likewise.
56618         * sunrpc/key_prot.c: Likewise.
56619         * sunrpc/openchild.c: Likewise.
56620         * sunrpc/pm_getmaps.c: Likewise.
56621         * sunrpc/pm_getport.c: Likewise.
56622         * sunrpc/pmap_clnt.c: Likewise.
56623         * sunrpc/pmap_prot.c: Likewise.
56624         * sunrpc/pmap_prot2.c: Likewise.
56625         * sunrpc/pmap_rmt.c: Likewise.
56626         * sunrpc/rpc/auth.h: Likewise.
56627         * sunrpc/rpc/auth_unix.h: Likewise.
56628         * sunrpc/rpc/clnt.h: Likewise.
56629         * sunrpc/rpc/des_crypt.h: Likewise.
56630         * sunrpc/rpc/key_prot.h: Likewise.
56631         * sunrpc/rpc/netdb.h: Likewise.
56632         * sunrpc/rpc/pmap_clnt.h: Likewise.
56633         * sunrpc/rpc/pmap_prot.h: Likewise.
56634         * sunrpc/rpc/pmap_rmt.h: Likewise.
56635         * sunrpc/rpc/rpc.h: Likewise.
56636         * sunrpc/rpc/rpc_des.h: Likewise.
56637         * sunrpc/rpc/rpc_msg.h: Likewise.
56638         * sunrpc/rpc/svc.h: Likewise.
56639         * sunrpc/rpc/svc_auth.h: Likewise.
56640         * sunrpc/rpc/types.h: Likewise.
56641         * sunrpc/rpc/xdr.h: Likewise.
56642         * sunrpc/rpc_clntout.c: Likewise.
56643         * sunrpc/rpc_cmsg.c: Likewise.
56644         * sunrpc/rpc_common.c: Likewise.
56645         * sunrpc/rpc_cout.c: Likewise.
56646         * sunrpc/rpc_dtable.c: Likewise.
56647         * sunrpc/rpc_hout.c: Likewise.
56648         * sunrpc/rpc_main.c: Likewise.
56649         * sunrpc/rpc_parse.c: Likewise.
56650         * sunrpc/rpc_parse.h: Likewise.
56651         * sunrpc/rpc_prot.c: Likewise.
56652         * sunrpc/rpc_sample.c: Likewise.
56653         * sunrpc/rpc_scan.c: Likewise.
56654         * sunrpc/rpc_scan.h: Likewise.
56655         * sunrpc/rpc_svcout.c: Likewise.
56656         * sunrpc/rpc_tblout.c: Likewise.
56657         * sunrpc/rpc_util.c: Likewise.
56658         * sunrpc/rpc_util.h: Likewise.
56659         * sunrpc/rpcinfo.c: Likewise.
56660         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56661         * sunrpc/rpcsvc/key_prot.x: Likewise.
56662         * sunrpc/rpcsvc/klm_prot.x: Likewise.
56663         * sunrpc/rpcsvc/mount.x: Likewise.
56664         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56665         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56666         * sunrpc/rpcsvc/rex.x: Likewise.
56667         * sunrpc/rpcsvc/rstat.x: Likewise.
56668         * sunrpc/rpcsvc/rusers.x: Likewise.
56669         * sunrpc/rpcsvc/sm_inter.x: Likewise.
56670         * sunrpc/rpcsvc/spray.x: Likewise.
56671         * sunrpc/rpcsvc/yppasswd.x: Likewise.
56672         * sunrpc/rtime.c: Likewise.
56673         * sunrpc/svc.c: Likewise.
56674         * sunrpc/svc_auth.c: Likewise.
56675         * sunrpc/svc_authux.c: Likewise.
56676         * sunrpc/svc_raw.c: Likewise.
56677         * sunrpc/svc_run.c: Likewise.
56678         * sunrpc/svc_simple.c: Likewise.
56679         * sunrpc/svc_tcp.c: Likewise.
56680         * sunrpc/svc_udp.c: Likewise.
56681         * sunrpc/svc_unix.c: Likewise.
56682         * sunrpc/svcauth_des.c: Likewise.
56683         * sunrpc/xcrypt.c: Likewise.
56684         * sunrpc/xdr.c: Likewise.
56685         * sunrpc/xdr_array.c: Likewise.
56686         * sunrpc/xdr_float.c: Likewise.
56687         * sunrpc/xdr_mem.c: Likewise.
56688         * sunrpc/xdr_rec.c: Likewise.
56689         * sunrpc/xdr_ref.c: Likewise.
56690         * sunrpc/xdr_sizeof.c: Likewise.
56691         * sunrpc/xdr_stdio.c: Likewise.
56693         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56694         handling.
56696 2010-08-19  Andreas Schwab  <schwab@redhat.com>
56698         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56700 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
56702         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56703         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56704         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56705         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56706         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56707         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56708         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56709         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56710         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56711         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56712         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56713         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56714         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56715         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56717 2010-07-26  Anton Blanchard  <anton@samba.org>
56719         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56720         * malloc/arena.c (heap_trim): Likewise.
56722 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
56724         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56725         here.  Not...
56726         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56727         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56729 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
56731         * sysdeps/i386/elf/Makefile: New file.
56733 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56735         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56736         from fanotify_init.
56737         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56738         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56740 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
56742         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56743         of strncasecmp_l.
56744         * sysdeps/multiarch/strcmp.S: Likewise.
56746 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
56748         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56749         strncase_l-nonascii.
56750         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56751         Add strncase_l-ssse3.
56752         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56753         * sysdeps/x86_64/strcmp.S: Likewise.
56754         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56755         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56756         * sysdeps/x86_64/strncase.S: New file.
56757         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56758         * sysdeps/x86_64/strncase_l.S: New file.
56759         * string/Makefile (strop-tests): Add strncasecmp.
56760         * string/test-strncasecmp.c: New file.
56762         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56763         warning.
56765         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56766         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56768 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56770         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56772 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
56774         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56775         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56776         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56778 2010-05-01  Alan Modra  <amodra@gmail.com>
56780         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56781         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56782         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56783         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56784         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56785         tidying.  Don't tail-call __sigjmp_save for static lib.
56786         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56787         save location.
56788         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56789         (CALL_MCOUNT): Add eh info, and nop after bl.
56790         (TAIL_CALL_SYSCALL_ERROR): New macro.
56791         (PSEUDO_RET): Use it.
56792         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56793         Correct save location of integer regs and cr.
56794         (_dl_profile_resolve): Correct cr save location.  Delete nops
56795         after bl when SHARED.  Reduce cfi size a little by better
56796         placement of cfi directives.
56797         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56798         make a stack frame.  Instead use parm save area as a temp.
56799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56800         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
56801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56802         Don't make a stack frame for parent, use parm save area.
56803         Increase child stack frame to 112 bytes.  Don't save unused reg,
56804         and adjust reg usage.  Set up cfi on error recovery and
56805         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56807         (__makecontext): Add dummy nop after jump to exit.
56808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56809         Use correct parm save area and cr save, reduce stack frame.
56810         Correct cfi for possible PSEUDO_RET frame setup.
56811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56812         Branch to local label emitted by PSEUDO_RET rather than
56813         __syscall_error.
56815 2010-08-12  Andreas Schwab  <schwab@redhat.com>
56817         [BZ #11904]
56818         * locale/programs/locale.c (print_assignment): New function.
56819         (show_locale_vars): Use it.
56821 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
56823         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56824         field.
56825         (struct statfs64): Likewise.
56826         (_STATFS_F_FLAGS): Define.
56827         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56828         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56829         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56830         (ST_VALID): Define locally.
56831         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56832         __statvfs_getflags, use the provided value.
56833         * sysdeps/unix/sysv/linux/kernel-features.h: Define
56834         __ASSUME_STATFS_F_FLAGS.
56836         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56838         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56839         Add sys/fanotify.h.
56840         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56841         fanotify_mask for GLIBC_2.13.
56842         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56843         fanotify_init and fanotify_mark.
56844         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56845         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56847         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56848         Add prlimit.
56849         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56850         prlimit64 for GLIBC_2.13.
56851         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56852         prlimit64.
56853         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56854         syscall.
56855         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56856         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56857         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56858         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56859         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56860         add prlimit alias.
56861         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56863         [BZ #11903]
56864         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56865         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56867         * nss/Makefile: Add rules to build and run tst-nss-test1.
56868         * shlib-versions: Add entry for libnss_test1.
56869         * nss/nss_test1.c: New file.
56870         * nss/tst-nss-test1.c: New file.
56872         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56873         (__nss_configure_lookup): Set appropriate entry in
56874         __nss_configure_lookup to true.
56875         * nss/nsswitch.h: Define enum with indeces of databases in
56876         databases and __nss_database_custom arrays.  Declare
56877         __nss_database_custom.
56878         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56879         to avoid using nscd when custom rules are installed.
56880         * nss/getXXbyYY_r.c: Likewise.
56881         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56883         * nss/nss_files/files-parse.c: Whitespace fixes.
56885 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56887         [BZ #11883]
56888         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56889         * posix/fnmatch_loop.c: Likewise.
56891 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56893         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56894         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56895         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56896         * Versions.def [GLIBC_2.13]: Add.
56898 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56900         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56901         Also fail if tpwd after pwuid call is NULL.
56903 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56905         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56906         when converting to ms.
56908 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56910         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56911         EOPNOTSUPP errors with ENOTTY.
56912         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56913         EOPNOTSUPP errors with ENOTTY.
56915 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56917         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56918         Add strcasecmp_l-ssse3.
56919         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56920         strcasecmp.
56921         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56922         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56923         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56925 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56927         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56929         * string/Makefile (strop-tests): Add strcasecmp.
56930         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56931         strcasecmp_l-nonascii.
56932         (gen-as-const-headers): Add locale-defines.sym.
56933         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56934         * sysdeps/x86_64/strcasecmp.S: New file.
56935         * sysdeps/x86_64/strcasecmp_l.S: New file.
56936         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56937         * sysdeps/x86_64/locale-defines.sym: New file.
56938         * string/test-strcasecmp.c: New file.
56940         * string/test-strcasestr.c: Test both ends of the range of characters.
56941         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56943 2010-07-29  Roland McGrath  <roland@redhat.com>
56945         [BZ #11856]
56946         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56948 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56950         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56951         for ld.so.
56953 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56955         * manual/memory.texi (Malloc Tunable Parameters): Document
56956         M_PERTURB.
56958 2010-07-26  Roland McGrath  <roland@redhat.com>
56960         [BZ #11840]
56961         * configure.in (-fgnu89-inline check): Set and substitute
56962         gnu89_inline, not libc_cv_gnu89_inline.
56963         * configure: Regenerated.
56964         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56966 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56968         * string/test-strnlen.c: New file.
56969         * string/Makefile (strop-tests): Add strnlen.
56970         * string/tester.c (test_strnlen): Add a few more test cases.
56971         * string/tst-strlen.c: Better error reporting.
56973         * sysdeps/x86_64/strnlen.S: New file.
56975 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56977         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56978         lower-latency instructions.
56980 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56982         * string/test-strcasestr.c: New file.
56983         * string/test-strstr.c: New file.
56984         * string/Makefile (strop-tests): Add strstr and strcasestr.
56985         * string/str-two-way.h: Don't undefine MAX.
56986         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56988 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56990         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56991         strcasestr-nonascii.
56992         (CFLAGS-strcasestr-nonascii.c): Define.
56993         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56994         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56995         Remove unused attribute.
56997 2010-07-20  Roland McGrath  <roland@redhat.com>
56999         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
57000         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
57001         ld.so.cache was broken.  With it, there is no way to disable dsocaps
57002         like LD_HWCAP_MASK can disable hwcaps.
57004 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57006         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
57008 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
57010         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
57011         call in strcasestr.
57012         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
57013         __strcasestr_sse42_nonascii.
57014         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
57015         strcasestr-nonascii.c.
57016         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
57018 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
57020         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
57021         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
57022         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
57023         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
57025 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
57027         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
57028         fcntl.
57030 2010-07-06  Andreas Schwab  <schwab@redhat.com>
57032         [BZ #11577]
57033         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
57034         dl_signal_cerror.
57036 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
57038         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
57039         _PC_PIPE_BUF using F_GETPIPE_SZ.
57041 2010-07-05  Roland McGrath  <roland@redhat.com>
57043         * manual/arith.texi (Rounding Functions): Fix rint description
57044         implicit in round description.
57046 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
57048         * elf/Makefile: Fix linking for a few tests to make recent linker
57049         happy.
57051 2010-06-30  Andreas Schwab  <schwab@redhat.com>
57053         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
57054         $(common-objpfx)libc_nonshared.a.
57056 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
57058         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
57059         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
57060         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57061         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57062         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
57063         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
57064         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57065         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57066         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
57067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
57068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
57069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
57070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
57071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
57072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
57073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
57074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
57075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
57076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
57077         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
57078         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
57079         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
57080         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
57081         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
57082         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
57083         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
57084         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
57085         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
57086         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
57087         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
57088         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
57089         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
57090         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
57091         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
57092         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
57093         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
57094         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
57095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
57096         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
57097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
57098         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
57099         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
57100         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
57101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
57102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
57103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
57104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
57105         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
57107 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
57109         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
57110         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
57111         * string/memmove.c (memmove): Renamed to ...
57112         (MEMMOVE): ...this.  Default to memmove.
57113         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
57114         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
57115         (END_CHK): Define.
57116         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
57117         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
57118         mempcpy-ssse3-back memmove-ssse3-back.
57119         * sysdeps/x86_64/multiarch/bcopy.S: New file .
57120         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
57121         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
57122         * sysdeps/x86_64/multiarch/memcpy.S: New file.
57123         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
57124         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
57125         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
57126         * sysdeps/x86_64/multiarch/memmove.c: New file.
57127         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
57128         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
57129         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
57130         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
57131         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
57132         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
57133         Define.
57134         (index_Fast_Copy_Backward): Define.
57135         (HAS_ARCH_FEATURE): Define.
57136         (HAS_FAST_REP_STRING): Define.
57137         (HAS_FAST_COPY_BACKWARD): Define.
57139 2010-06-21  Andreas Schwab  <schwab@redhat.com>
57141         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
57142         Restore proper fallback handling.
57144 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
57146         [BZ #11701]
57147         * posix/group_member.c (__group_member): Correct checking loop.
57149         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
57150         OOM in getpwuid_r correctly.  Return error number when the caller
57151         should return, otherwise -1.
57152         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
57153         call returning > 0 value.
57154         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
57156 2010-06-07  Andreas Schwab  <schwab@redhat.com>
57158         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
57159         libc_nonshared.a from targets in modules-names.
57161 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
57163         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
57164         requires it.
57166 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
57168         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
57169         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
57170         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
57171         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
57173 2010-06-02  Andreas Schwab  <schwab@redhat.com>
57175         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
57177 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
57179         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
57180         and F_GETPIPE_SZ.
57181         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
57182         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
57183         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
57184         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
57185         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
57186         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
57188 2010-06-14  Roland McGrath  <roland@redhat.com>
57190         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
57192 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
57194         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
57195         __REDIRECT followed by __THROW.
57196         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
57197         * posix/getopt.h (getopt): Likewise.
57199 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
57201         * hurd/lookup-at.c (__file_name_lookup_at): Accept
57202         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
57203         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
57204         in AT_FLAGS.
57205         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
57206         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
57208 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
57210         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
57212 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
57214         [BZ #11640]
57215         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
57216         Properly check family and model.
57218 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
57220         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
57222 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
57224         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
57226 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
57228         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
57229         symbol reference.
57231 2010-05-19  Andreas Schwab  <schwab@redhat.com>
57233         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
57234         symbol reference.
57236 2010-05-21  Andreas Schwab  <schwab@redhat.com>
57238         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
57239         and internal_recvmmsg.
57240         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
57241         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
57242         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
57243         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
57245         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
57246         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57247         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57249 2010-05-20  Andreas Schwab  <schwab@redhat.com>
57251         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
57253 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
57255         POWER7 optimizations.
57256         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57257         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57259 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
57261         * version.h: Update for 2.13 development version.
57263 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
57265         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57266         exceptions.  Return 0.
57268 2010-05-07  Roland McGrath  <roland@redhat.com>
57270         * elf/ldconfig.c (main): Add a const.
57272 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
57274         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57275         (args_options): Add no-idn option.
57276         (ahosts_keys_int): Add idn_flags to ai_flags.
57277         (parse_option): Handle 'i' option to clear idn_flags.
57279         * malloc/malloc.c (_int_free): Possible race in the most recently
57280         added check.  Only act on the data if no current modification
57281         happened.
57283 See ChangeLog.17 for earlier changes.