add changelog for previous commit
[glibc.git] / ChangeLog
blob6815223db66ef00855e0eabea92f0c8917fec040
1 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
3         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
5 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
7         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8         201304L, for Unicode 7.
10 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
12         [BZ #17836]
13         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
14         shared library.  Add gmon-start.os otherwise.
15         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
16         $(objpfx)gmon-start.os if builing shared library.
17         ($(objpfx)g$(static-start-installed-name)): Likewise.
19 2015-02-23  Andreas Schwab  <schwab@suse.de>
21         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
23 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
25         [BZ #17269]
26         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
27         (enlarge_userbuf): Likewise.
29 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
31         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
32         * math/atest-exp.c (TIMEOUT): Adjust to 200.
33         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
34         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
36 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
38         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
39         expression inside statement expression.
41 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
43         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
44         <sysdeps/nptl/lowlevellock.h> and remove macros and
45         functions that are now defined there.
46         (SYS_futex): Remove.
47         (lll_compare_and_swap): Remove.
48         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
50 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
52         [BZ #17999]
53         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
54         instead of scandirat.
55         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
56         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
57         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
58         __scandirat.
59         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
60         (__scandirat): Declare.  Use libc_hidden_proto.
61         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
62         Remove variable.
63         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
65 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
67         [BZ #15319]
68         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
69         (MO): New macro.
70         (__ieee754_atan2): For results with small absolute value, force
71         underflow exception and remove excess range and precision from
72         return value.
73         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
74         (MO): New macro.
75         (__ieee754_atan2f): For results with small absolute value, force
76         underflow exception and remove excess range and precision from
77         return value.
78         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
79         (MO): New macro.
80         (__atan): For results with small absolute value, force underflow
81         exception and remove excess range and precision from return value.
82         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
83         (MO): New macro.
84         (__atanf): For results with small absolute value, force underflow
85         exception and remove excess range and precision from return value.
86         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
87         <math.h>.
88         (__ieee754_atan2): Force underflow exception for results with
89         small absolute value.
90         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
91         <math_private.h>.
92         (atan): Force underflow exception for results with small absolute
93         value.
94         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
95         (__atanf): Force underflow exception for results with small
96         absolute value.
97         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
98         <math.h>.
99         (__atanl): Force underflow exception for results with small
100         absolute value.
101         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
102         (__atanl): Force underflow exception for results with small
103         absolute value.
104         * sysdeps/x86/fpu/bits/mathinline.h
105         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
106         (__ieee754_atan2): Only define inline for long double.
107         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
108         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
109         * math/auto-libm-test-in: Do not mark underflow exceptions as
110         possibly missing for bug 15319.  Add more tests of atan2.
111         * math/auto-libm-test-out: Regenerated.
112         * math/libm-test.inc (casin_test_data): Do not mark underflow
113         exceptions as possibly missing for bug 15319.
114         (casinh_test_data): Likewise.
115         * sysdeps/i386/fpu/libm-test-ulps: Update.
117 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
119         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
120         * sysdeps/mips/bits/endian.h: Fix comments.
122 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
124         [BZ #17996]
125         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
126         (hdestroy_r): Likewise.
127         (hsearch_r): Likewise.
128         (__hcreate_r): Declare and use libc_hidden_proto.
129         (__hdestroy_r): Likewise.
130         (__hsearch_r): Likewise.
131         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
132         (hcreate): Call __hcreate_r instead of hcreate_r.
133         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
134         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
135         as weak alias of __hcreate_r.
136         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
137         __hdestroy_r.
138         (hsearch_r): Rename to __hsearch_r and define as weak alias of
139         __hsearch_r.
140         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
141         Remove variable.
142         (test-xfail-XPG4/search.h/linknamespace): Likewise.
143         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
144         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
145         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
147 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
149         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
150         arena_lock into a single arena_get.
152 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
154         * dl-reloc.c: Inlucde libc-internal.h.
155         (_dl_try_allocate_static_tls): Call ALIGN_UP.
156         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
157         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
158         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
159         (grow_heap): Likewise.
160         * malloc/malloc.c: Include libc-internal.h.
161         (do_check_malloc): Call powerof2.
162         (sysmalloc): Use pagesize. Call ALIGN_UP.
163         (systrim): Use pagesize.
164         (mremap_chunk): Use pagesize. Call ALIGN_UP.
165         (__libc_valloc): Use pagesize.
166         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
168 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
170         [BZ #17991]
171         * include/sys/resource.h (__getrlimit64): Declare.  Use
172         libc_hidden_proto.
173         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
174         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
175         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
176         getrlimit64.
177         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
178         __getrlimit64.
179         [!getrlimit64] (getrlimit64): Define as weak alias of
180         __getrlimit64.  Use libc_hidden_weak.
181         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
182         using __getrlimit64 not __new_getrlimit64.
183         (__GI_getrlimit64): Likewise.
184         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
185         Likewise.
186         (__GI_getrlimit64): Likewise.
187         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
189         (getrlimit): Add __getrlimit64 alias.
190         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
191         Likewise.
192         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
193         Remove variable.
194         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
195         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
197 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
199         * libio/fileops.c: Add missing sys/mman.h
200         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
202 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
204         * manual/math.texi (Errors in Math Functions): Clarify goals
205         regarding inexact and underflow exceptions.
207 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
209         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
210         * sysdeps/mips/memset.S: Ditto.
212 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
214         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
216 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
218         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
219         (__v1longjmp): Remove versioned symbol.
220         (__v1siglongjmp): Remove alias and versioned symbol.
221         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
222         (__v2siglongjmp): Likewise.
224 2015-02-16  Torvald Riegel  <triegel@redhat.com>
226         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
228 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
230         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
232 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
234         [BZ #17987]
235         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
236         zero result does not depend on the sign resulting from
237         subtraction.
238         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
239         Likewise.
240         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
241         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
242         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
243         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
244         * math/libm-test.inc (remquo_test_data): Add more tests.
246 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
248         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
249         Problem reported by J William Piggott.
251 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
253         [BZ #17978]
254         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
255         products 4 * y and 2 * y where those would overflow.
256         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
257         Likewise.
258         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
259         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
260         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
261         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
262         * math/libm-test.inc (remquo_test_data): Add more tests.
264         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
266         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
267         [defined _COMPILING_NEWLIB].
268         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
269         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
271         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
272         [!defined __mips_isa_rev || __mips_isa_rev < 6].
274 2015-02-16  Torvald Riegel  <triegel@redhat.com>
276         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
277         acquired.
279 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
281         [BZ #17792]
282         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
283         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
284         HOST_STACK_END_ADDR): Likewise.
286 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
288         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
289         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
290         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
292 2015-02-13  Roland McGrath  <roland@hack.frob.com>
294         * sysdeps/generic/c++-types.data: New file.
295         * sysdeps/generic/ld.abilist: New file.
296         * sysdeps/generic/libBrokenLocale.abilist: New file.
297         * sysdeps/generic/libanl.abilist: New file.
298         * sysdeps/generic/libc.abilist: New file.
299         * sysdeps/generic/libcrypt.abilist: New file.
300         * sysdeps/generic/libdl.abilist: New file.
301         * sysdeps/generic/libm.abilist: New file.
302         * sysdeps/generic/libpthread.abilist: New file.
303         * sysdeps/generic/libresolv.abilist: New file.
304         * sysdeps/generic/librt.abilist: New file.
306 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
308         [BZ #17569]
309         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
310         Compute absolute value of x as modified by fmod, not original
311         value of x.
312         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
313         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
314         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
315         RUN_TEST_ffI_f1_mod8.
316         (remquo_test_data): Add more tests.
318 2015-02-13  Roland McGrath  <roland@hack.frob.com>
320         * sysdeps/init_array/pt-crti.S: New file.
322 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
324         [BZ #17967]
325         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
326         __builtin_fmaf instead of relying on contraction of a * b + c.
328 2015-02-12  J William Piggott  <elseifthen@gmx.com>
330         [BZ #17969]
331         * manual/time.texi: correct the zoneinfo path in the TZ Variable
332         node.
334 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
336         [BZ #17964]
337         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
338         __builtin_fma instead of relying on contraction of a * b + c.
340 2015-02-12  Roland McGrath  <roland@hack.frob.com>
342         * Makeconfig (ASFLAGS): Add -Werror=undef.
343         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
344         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
345         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
347         * Makeconfig (after-link): New variable.
348         (+link-pie, +link-pie-tests): Use it.
349         (+link-static, +link-static-tests): Likewise.
350         (+link, +link-tests): Likewise.
351         * Makerules (build-module, build-module-asneeded): Likewise.
352         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
353         Likewise.
354         * elf/Makefile ($(objpfx)ld.so): Likewise.
356 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
358         [BZ #17965]
359         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
360         both struct timeval and struct timespec.
362 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
364         [BZ #16560]
365         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
366         and redefine.
367         (__ieee754_exp2l): Do not multiply small fractional parts by
368         M_LN2l.
369         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
370         small argument.
371         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
372         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
373         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
374         * math/auto-libm-test-in: Add more tests of exp2.
375         * math/auto-libm-test-out: Regenerated.
377 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
379         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
380         unaligned path.
382 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
384         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
385         little endian.
387 2015-02-12  Andreas Schwab  <schwab@suse.de>
389         [BZ #15790]
390         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
391         Filter out elision flags from value returned in kind.
392         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
393         * nptl/tst-pthread-mutexattr.c: New file.
395 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
397         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
398         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
399         into gnu-gnu, and update comment to refer to abi-tags.
401 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
403         [BZ #15467]
404         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
405         (__sincos): Set errno to EDOM for infinite argument.
406         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
407         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
408         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
409         (__sincosl): Set errno to EDOM for infinite argument.
410         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
411         (__sincosl): Set errno to EDOM for infinite argument.
412         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
413         (__sincosl): Set errno to EDOM for infinite argument.
414         * math/libm-test.inc (sincos_test_data): Test errno setting.
416 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
418         * string/strxfrm_l.c: Remove #define STRCMP.
419         * string/strcoll_l.c: Remove #define STRLEN.
420         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
421         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
423 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
425         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
426         * sysdeps/mips/mips32/sfp-machine.h: ... here.
427         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
428         * sysdeps/mips/mips64/Makefile: ... here.
429         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
430         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
431         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
432         * sysdeps/mips/mips64/sfp-machine.h: ... here.
433         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
434         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
435         * sysdeps/mips/mips64/n64/Implies: Likewise.
437 2015-02-10  Roland McGrath  <roland@hack.frob.com>
439         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
440         <sys/time.h>, <string.h>, and <errno.h>.
441         (dest_offset, dest_address, value, zero): Remove unused variables.
442         (ldouble): Remove typedef.
443         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
444         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
445         1).  Fix code style.
446         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
447         (check): Function removed.
448         (CHECK): New macro.
449         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
450         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
451         Don't call set_sigaction_FP and remove_sigaction_FP here.
452         (ldouble_test): Just use 'long double' as macro argument, no need for
453         the 'ldouble' typedef.
454         (do_test): Set up SIGFPE handler at start, using plain signal rather
455         than sigaction.  Fix code style.
457 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
459         [BZ #17949]
460         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
461         jump label.
463 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
465         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
466         * sysdeps/powerpc/powerpc32/configure: Regenerated.
468         * sysdeps/powerpc/configure.ac: Remove file.
469         * sysdeps/powerpc/configure: Likewise.
471         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
472         [sysdep_routines]: Remove wordcopy-power6 object.
473         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
474         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
475         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
476         (__memmove_ppc32): Likewise.
477         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
478         file.
479         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
480         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
481         Remove preprocessor.
483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
484         [sysdep_routines]: Remove wide chars objects.
485         [wcsmbs]: New rule for wide char objects.
487         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
488         Remove wordcopy-power6 obejct.
489         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
490         Use local call for wordcopy and memcpy symbols.
491         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
492         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
493         implementation for loader.
494         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
496         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
497         Remove wordcopy-power7 object.
498         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
499         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
500         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
501         (_wordcopy_fwd_dest_aligned): Likewise.
502         (_wordcopy_bwd_aligned): Likewise.
503         (_wordcopy_bwd_dest_aligned): Likewise.
505         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
506         Rewrite to call __memmove_ppc instead of include default
507         implementation.
509         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
510         Remove wide chars objects.
511         [wcsmbs]: New rule for wide char objects.
513 2015-02-09  Andreas Schwab  <schwab@suse.de>
515         [BZ #17912]
516         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
517         in terms of __O_DIRECTORY.
519 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
521         * time/getdate.c: Include <stdbool.h>.
522         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
523         call PTR_MANGLE.
524         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
525         PTR_DEMANGLE.
527 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
529         Add ersatz _Static_assert on older C hosts
530         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
531         pre-C11 C platform that is not known to support _Static_assert.
533 2015-02-07  Richard Braun  <rbraun@sceen.net>
535         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
536         sigstate.
537         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
539 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
541         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
542         priority against unexistent AIO_PRIO_DELTA_MAX.
543         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
544         instead of int.
545         * misc/fchflags.c (fchflags): Likewise.
546         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
547         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
548         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
549         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
550         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
551         Declare macros.
552         [__USE_MISC] (chflags, fchflags): Declare functions.
553         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
554         EINVAL when nfds is greater than FD_SETSIZE.
555         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
556         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
557         45.
558         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
559         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
560         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
561         MACH_RCV_TIMED_OUT.
562         * hurd/hurd/signal.h (_hurd_self_sigstate,
563         _hurd_critical_section_lock, _hurd_critical_section_unlock):
564         Explicit casts from void *.
565         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
566         * abi-tags: Rename gnu-gnu os into gnu.
568         [BZ #4719]
569         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
570         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
571         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
572         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
573         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
574         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
576         [BZ #17944]
577         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
578         duplicates ADDR->sun_path with sockaddr LEN limitation.
579         * sysdeps/mach/hurd/connect.c: Include <string.h>
580         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
581         * sysdeps/mach/hurd/sendmsg.c: Likewise.
582         * sysdeps/mach/hurd/sendto.c: Likewise.
583         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
584         implementing it by hand.
586 2015-02-06  Roland McGrath  <roland@hack.frob.com>
588         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
589         Use sfi_breg on ldr.
590         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
591         Likewise.
593         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
594         it's defined.
595         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
596         Test SIGSETXID only if it's defined.
598         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
600         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
601         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
603         * nptl/tst-align2.c: Moved ...
604         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
605         * nptl/Makefile (tests): Remove tst-align2.
606         * sysdeps/unix/sysv/linux/Makefile
607         [$(subdir) = nptl] (tests): Add tst-align-clone.
608         * nptl/tst-getpid1.c: Moved ...
609         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
610         * nptl/tst-getpid2.c: Moved ...
611         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
612         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
613         * sysdeps/unix/sysv/linux/Makefile
614         [$(subdir) = nptl] (tests): ... here.
615         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
616         * sysdeps/unix/sysv/linux/Makefile
617         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
619         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
620         Drop trailing \n from perror argument.  Use return rather than exit.
622         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
623         on [SA_SIGINFO].
624         * nptl/tst-cancel21.c (do_test): Likewise.
625         * debug/tst-backtrace6.c: Include <signal.h> first thing.
626         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
627         [!SA_SIGINFO]: Make it a stub test.
629         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
630         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
632         * posix/tst-getlogin.c: Move to ...
633         * login/tst-getlogin.c: ... here.
634         * posix/Makefile (tests): Move tst-getlogin to ...
635         * login/Makefile (tests): ... here.
637         * libio/tst-atime.c (do_test): Move local variables SV and E
638         inside [ST_NOATIME] conditional.
640         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
642         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
644         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
645         (wait_code): New function replaces macro.
646         Call nanosleep rather than syscall.
648         * nptl/pt-system.c: Rewritten.  Put everything under
649         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
650         Use IFUNC to redirect when possible.
652         * nptl/pt-longjmp.c: Rewritten.  Put everything under
653         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
654         Use IFUNC to redirect when possible.
656         * nptl/pt-fork.c: Rewritten.  Put everything under
657         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
658         Use IFUNC to redirect when possible.
659         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
661         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
662         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
663         unconditionally nowadays.  This included the only reference to
664         __vdso_clock_gettime that appears outside libc proper.
665         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
666         Remove version set (containing only __vdso_clock_gettime).
667         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
668         Add attribute_hidden.
669         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
670         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
671         libc_hidden_data_def.
672         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
673         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
675         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
676         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
677         setrpcent, and getrpcport to ...
678         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
679         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
680         getrpcbynumber_r, and getrpcent_r to ...
681         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
682         * inet/getrpcbyname.c: Moved ...
683         * sunrpc/getrpcbyname.c: ... here.
684         * inet/getrpcbyname_r.c: Moved ...
685         * sunrpc/getrpcbyname_r.c: ... here.
686         * inet/getrpcbynumber.c: Moved ...
687         * sunrpc/getrpcbynumber.c: ... here.
688         * inet/getrpcbynumber_r.c: Moved ...
689         * sunrpc/getrpcbynumber_r.c: ... here.
690         * inet/getrpcent.c: Moved ...
691         * sunrpc/getrpcent.c: ... here.
692         * inet/getrpcent_r.c: Moved ...
693         * sunrpc/getrpcent_r.c: ... here.
694         * inet/Makefile (routines): Move those to ...
695         * sunrpc/Makefile (routines): ... here.
696         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
697         the $(subdirs) list.
698         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
699         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
700         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
701         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
703         * elf/Makefile (routines): Include $(all-dl-routines), not just
704         $(dl-routines).
705         (rtld-routines): Likewise.  Use = rather than :=.
706         * sysdeps/aarch64/Makefile [$(subdir) = elf]
707         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
708         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
709         * sysdeps/arm/Makefile: Likewise.
710         * sysdeps/i386/Makefile: Likewise.
711         * sysdeps/x86_64/Makefile: Likewise.
712         * sysdeps/hppa/Makefile [$(subdir) = elf]
713         (sysdep_routines, sysdep-rtld-routines): Don't add
714         $(sysdep-dl-routines) to these.
715         * sysdeps/ia64/Makefile: Likewise.
716         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
717         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
718         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
719         Don't add dl-static to these; sysdep-dl-routines alone is enough.
720         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
721         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
722         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
723         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
724         * sysdeps/powerpc/Makefile [$(subdir) = elf]
725         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
726         these; sysdep-dl-routines alone is enough.
728 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
730         [BZ #17932]
731         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
732         where multiplication results in zero and third argument is finite
733         and nonzero.
734         * math/auto-libm-test-in: Add more tests of fma.
735         * math/auto-libm-test-out: Regenerated.
737         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
738         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
739         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
740         (_FP_CMP_EQ): Likewise.
741         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
743         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
744         extra argument CHECK_NAN.  Redefine as wrapper around
745         _FP_EXTEND_CNAN.
747 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
749         * version.h (RELEASE): Set to "stable".
750         (VERSION): Set to "2.21"
751         * include/features.h (__GLIBC_MINOR__): Set to 21.
753         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
755 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
756             Paul Eggert  <eggert@cs.ucla.edu>
758         [BZ #16618]
759         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
760         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
761         size in bytes. Store needed elements in wpmax. Use needed size
762         in bytes for extend_alloca.
764 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
766         * manual/install.texi: Latest tested versions are GCC 4.9.2,
767         binutls 2.25, and texinfo 5.2.
768         * INSTALL: Regenerate.
769         * sysdeps/nios2/configure: Regenerate.
770         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
771         * manual/contrib.texi: Update.
772         * po/be.po: Update.
773         * po/bg.po: Update.
774         * po/ca.po: Update.
775         * po/cs.po: Update.
776         * po/da.po: Update.
777         * po/de.po: Update.
778         * po/el.po: Update.
779         * po/eo.po: Update.
780         * po/es.po: Update.
781         * po/fi.po: Update.
782         * po/fr.po: Update.
783         * po/gl.po: Update.
784         * po/hr.po: Update.
785         * po/hu.po: Update.
786         * po/ia.po: Update.
787         * po/id.po: Update.
788         * po/it.po: Update.
789         * po/ja.po: Update.
790         * po/ko.po: Update.
791         * po/lt.po: Update.
792         * po/nb.po: Update.
793         * po/nl.po: Update.
794         * po/pl.po: Update.
795         * po/pt_BR.po: Update.
796         * po/ru.po: Update.
797         * po/rw.po: Update.
798         * po/sk.po: Update.
799         * po/sl.po: Update.
800         * po/sv.po: Update.
801         * po/tr.po: Update.
802         * po/uk.po: Update.
803         * po/vi.po: Update.
804         * po/zh_CN.po: Update.
805         * po/zh_TW.po: Update.
807         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
808         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
809         * sysdeps/hppa/dl-irel.h: Remove #warning.
810         * sysdeps/hppa/entry.h: Provide prototype for
811         __canonicalize_funcptr_for_compare and cast argument.
812         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
813         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
814         * sysdeps/hppa/sotruss-lib.c: New file.
815         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
816         (atomic_compare_and_exchange_val_acq): Use __typeof__.
817         (atomic_compare_and_exchange_bool_acq): Likewise.
818         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
819         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
821         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
822         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
823         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
825 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
827         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
828         called function in non-PIC case.
830 2015-01-31  David S. Miller  <davem@davemloft.net>
832         * sysdeps/sparc/sparc32/bits/atomic.h
833         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
834         unlock not after it.
835         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
836         volatile register usage warnings from the compiler.
838         * sysdeps/sparc/nptl/sem_init.c: Delete.
839         * sysdeps/sparc/nptl/sem_post.c: Delete.
840         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
841         * sysdeps/sparc/nptl/sem_wait.c: Delete.
842         * sysdeps/sparc/sparc32/sem_init.c: New file.
843         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
844         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
845         padding explicitly initialized.
846         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
847         padding for in-semaphore spinlock.
848         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
849         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
850         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
851         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
852         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
853         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
854         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
855         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
856         version.
857         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
858         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
860 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
862         [BZ #17801]
863         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
864         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
865         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
866         New.
867         (index_AVX_Fast_Unaligned_Load): Likewise.
868         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
869         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
870         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
871         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
872         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
873         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
874         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
875         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
876         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
878 2015-01-29  Andreas Schwab  <schwab@suse.de>
880         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
882 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
884         [BZ #17892]
885         * nscd/nscd_stat.c (send_stats): Initialize DATA.
887 2015-01-28  Martin Sebor  <msebor@redhat.com>
889         * math/README.libm-test: Clarify. Add "How to read the test output."
891 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
893         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
894         Define to 0.
896 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
898         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
899         (__HAVE_64B_ATOMICS): Define to 0.
901 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
903         [BZ #17885]
904         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
905         value to set as new flag.
907         [BZ #16576]
908         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
909         and use _ARCH_PPCSQ instead.
910         (__ieee754_sqrt): Likewise.
911         (__ieee754_sqrtf): Likewise.
912         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
913         _ARCH_PPCSQ is defined.
914         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
915         fsqrt instruction.
916         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
917         _ARCH_PPCSQ is defined.
918         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
919         fsqrts instruction.
920         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
922 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
924         * iconv/loop.c: Suppress array out of bound warning caused by GCC
925         bug (GCC BZ #64739).
927 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
929         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
930         Mark _retval as used.
931         (lll_futex_wake_unlock): Likewise.
932         (lll_futex_timed_wait_requeue_pi): Likewise.
934         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
935         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
936         register variables.
938         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
939         libm_hidden_def.
941         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
942         (__bswap_64): Mark as __always_inline.
944 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
946         [BZ #15378]
947         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
948         when none of the search directories exist.
950 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
952         [BZ #17869]
953         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
954         power8 in .machine directive.
956         [BZ #17868]
957         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
958         set dependency from opd value.
960 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
963         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
964         architecture.
966 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
968         [BZ #17870]
969         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
970         with uint64_t.
971         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
972         (uint64_t) 1.
973         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
974         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
975         Replace 1UL with (uint64_t) 1.
976         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
977         int with uint64_t.
979 2015-01-23  Roland McGrath  <roland@hack.frob.com>
981         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
982         (if_freenameindex): Likewise.
984         * resource/getrlimit64.c: Add missing libc_hidden_def.
986 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
988         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
989         __label__.
990         (_FP_FMA): Likewise.
991         (_FP_TO_INT_ROUND): Likewise.
992         (_FP_FROM_INT): Likewise.
994 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
996         [BZ #16418]
997         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
998         Make code racy and cancel safe.
1000 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
1002         * sysdeps/arm/unwind-resume.h: Fix copyright year.
1003         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
1004         attribution.
1006         * pwd/tst-getpw.c: Rewrite.
1008         [BZ #17702]
1009         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
1010         (modules-names): Add moddummy1 and moddummy2.
1011         ($(objpfx)tst-rec-dlopen): Define.
1012         * dlfcn/moddummy1.c: New file.
1013         * dlfcn/moddummy2.c: New file.
1014         * dlfcn/tst-rec-dlopen.c: New file.
1015         * elf/dl-cache.c (_dl_load_cache_lookup):
1016         Return char*. Copy result with alloca/strcpy/strdup.
1017         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
1018         returns char*. Free cached. If not saving realname
1019         free cached.
1020         * elf/dl-open.c (dl_open_worker): Do not assert that
1021         _r_debug->r_state is RT_CONSISTENT.
1022         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
1023         returns char*.
1025 2015-01-21  Torvald Riegel  <triegel@redhat.com>
1026             Carlos O'Donell  <carlos@redhat.com>
1028         [BZ #12674]
1029         * nptl/sem_waitcommon.c: New file.
1030         * nptl/sem_wait.c: Include sem_waitcommon.c.
1031         (__sem_wait_cleanup, do_futex_wait): Remove.
1032         (__new_sem_wait): Adapt.
1033         (__new_sem_trywait): New function.
1034         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
1035         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
1036         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
1037         (sem_timedwait): Adapt.
1038         * nptl/sem_post.c (__new_sem_post): Adapt.
1039         (futex_wake): New function.
1040         (__old_sem_post): Add release MO fence.
1041         * nptl/sem_open.c (sem_open): Adapt.
1042         * nptl/sem_init.c (__new_sem_init): Adapt.
1043         (futex_private_if_supported): New function.
1044         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
1045         (__old_sem_getvalue): Add using previous code.
1046         * sysdeps/nptl/internaltypes.h: Adapt.
1047         * nptl/tst-sem13.c (do_test): Adapt.
1048         * nptl/tst-sem11.c (main): Adapt.
1049         * nptl/sem_trywait.c: Remove.
1050         * nptl/DESIGN-sem.txt: Remove.
1051         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
1052         (gen-as-const-headers): Remove structsem.sym.
1053         * nptl/structsem.sym: Remove.
1054         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
1055         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
1056         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
1057         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
1058         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
1059         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
1060         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
1061         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
1062         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
1063         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
1064         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
1065         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
1066         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
1067         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
1068         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
1069         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
1070         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
1071         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
1072         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
1073         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
1074         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
1075         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
1077 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
1079         * INSTALL: Regenerated.
1081         * po/libc.pot: Regenerated.
1083 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
1084             Sandra Loosemore  <sandra@codesourcery.com>
1085             Andrew Jenner  <andrew@codesourcery.com>
1086             Joseph Myers  <joseph@codesourcery.com>
1087             Nathan Sidwell  <nathan@codesourcery.com>
1089         * NEWS: Mention new Nios II port.
1090         * sysdeps/nios2/Implies: New file.
1091         * sysdeps/nios2/Makefile: New file.
1092         * sysdeps/nios2/Subdirs: New file.
1093         * sysdeps/nios2/Versions: New file.
1094         * sysdeps/nios2/__longjmp.S: New file.
1095         * sysdeps/nios2/abort-instr.h: New file.
1096         * sysdeps/nios2/backtrace.c: New file.
1097         * sysdeps/nios2/bits/endian.h: New file.
1098         * sysdeps/nios2/bits/fenv.h: New file.
1099         * sysdeps/nios2/bits/link.h: New file.
1100         * sysdeps/nios2/bits/setjmp.h: New file.
1101         * sysdeps/nios2/bsd-_setjmp.S: New file.
1102         * sysdeps/nios2/bsd-setjmp.S: New file.
1103         * sysdeps/nios2/configure: New generated file.
1104         * sysdeps/nios2/configure.ac: New file.
1105         * sysdeps/nios2/crti.S: New file.
1106         * sysdeps/nios2/crtn.S: New file.
1107         * sysdeps/nios2/dl-init.c: New file.
1108         * sysdeps/nios2/dl-machine.h: New file.
1109         * sysdeps/nios2/dl-sysdep.h: New file.
1110         * sysdeps/nios2/dl-tls.h: New file.
1111         * sysdeps/nios2/dl-trampoline.S: New file.
1112         * sysdeps/nios2/gccframe.h: New file.
1113         * sysdeps/nios2/gmp-mparam.h: New file.
1114         * sysdeps/nios2/jmpbuf-offsets.h: New file.
1115         * sysdeps/nios2/jmpbuf-unwind.h: New file.
1116         * sysdeps/nios2/ldsodefs.h: New file.
1117         * sysdeps/nios2/libc-tls.c: New file.
1118         * sysdeps/nios2/libm-test-ulps: New file.
1119         * sysdeps/nios2/machine-gmon.h: New file.
1120         * sysdeps/nios2/math-tests.h: New file.
1121         * sysdeps/nios2/math_private.h: New file.
1122         * sysdeps/nios2/memusage.h: New file.
1123         * sysdeps/nios2/nptl/Makefile: New file.
1124         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
1125         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
1126         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
1127         * sysdeps/nios2/nptl/pthreaddef.h: New file.
1128         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
1129         * sysdeps/nios2/nptl/tls.h: New file.
1130         * sysdeps/nios2/preconfigure: New file.
1131         * sysdeps/nios2/s_fma.c: New file.
1132         * sysdeps/nios2/s_fmaf.c: New file.
1133         * sysdeps/nios2/setjmp.S: New file.
1134         * sysdeps/nios2/sfp-machine.h: New file.
1135         * sysdeps/nios2/sotruss-lib.c: New file.
1136         * sysdeps/nios2/stackguard-macros.h: New file.
1137         * sysdeps/nios2/stackinfo.h: New file.
1138         * sysdeps/nios2/start.S: New file.
1139         * sysdeps/nios2/sysdep.h: New file.
1140         * sysdeps/nios2/tls-macros.h: New file.
1141         * sysdeps/nios2/tst-audit.h: New file.
1142         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
1143         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
1144         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
1145         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
1146         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
1147         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
1148         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
1149         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
1150         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
1151         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
1152         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
1153         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
1154         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
1155         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
1156         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
1157         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
1158         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
1159         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
1160         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
1161         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
1162         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
1163         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
1164         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
1165         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
1166         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
1167         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
1168         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
1169         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
1170         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
1171         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
1172         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
1173         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
1174         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
1175         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
1176         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
1177         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
1178         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
1179         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
1180         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
1181         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
1182         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
1183         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
1184         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
1185         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
1187 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1189         [BZ #17844]
1190         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
1191         (getutent): Use weak_alias in non SHARED case
1192         and default_symbol_version in SHARED case.
1193         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
1194         (getutent_r, pututline): Likewise.
1195         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
1196         (getutid): Likewise.
1197         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
1198         (getutid_r): Likewise.
1199         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
1200         (getutline): Likewise.
1201         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
1202         (getutline_r): Likewise.
1203         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
1204         (updwtmp): Likewise.
1206 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1208         [BZ #17848]
1209         * sysdeps/s390/s390-32/memcmp.S
1210         (memcmp_g5): Rename to __memcmp_g5.
1211         * sysdeps/s390/s390-32/memcpy.S
1212         (memcpy_g5): Rename to __memcpy_g5.
1213         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1214         (memcpy_mvcle) Rename to __memcpy_mvcle.
1215         * sysdeps/s390/s390-32/memset.S
1216         (memset_g5): Rename to __memset_g5.
1217         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
1218         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1219         and use prefixed functions.
1220         * sysdeps/s390/s390-32/multiarch/memcmp.S
1221         (memcmp_z196): Rename to __memcmp_z196.
1222         (memcmp_z10): Rename to __memcmp_z10.
1223         (memcmp): Set alias to __memcmp_g5.
1224         (bcmp): Set alias to __memcmp_g5.
1225         * sysdeps/s390/s390-32/multiarch/memcpy.S
1226         (memcpy_z196): Rename to __memcpy_z196.
1227         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1228         (memcpy_z10): Rename to __memcpy_z10.
1229         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1230         (memcpy): Set alias to __memcpy_g5.
1231         * sysdeps/s390/s390-32/multiarch/memset.S
1232         (memset_z196): Rename to __memset_z196.
1233         Jump to __memset_mvcle instead of memset_mvcle.
1234         (memset_z10): Rename to __memset_z10.
1235         Jump to __memset_mvcle instead of memset_mvcle.
1236         (memset_mvcle) Rename to __memset_mvcle.
1237         (memset): Set alias to __memset_g5.
1238         * sysdeps/s390/s390-64/memcmp.S
1239         (memcmp_z900): Rename to __memcmp_z900.
1240         * sysdeps/s390/s390-64/memcpy.S
1241         (memcpy_z900): Rename to __memcpy_z900.
1242         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1243         (memcpy_mvcle) Rename to __memcpy_mvcle.
1244         * sysdeps/s390/s390-64/memset.S
1245         (memset_z900): Rename to __memset_z900.
1246         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
1247         (IFUNC_RESOLVE): Prefix ifunc-resolve function
1248         and use prefixed functions.
1249         * sysdeps/s390/s390-64/multiarch/memcmp.S
1250         (memcmp_z196): Rename to __memcmp_z196.
1251         (memcmp_z10): Rename to __memcmp_z10.
1252         (memcmp): Set alias to __memcmp_z900.
1253         (bcmp): Set alias to __memcmp_z900.
1254         * sysdeps/s390/s390-64/multiarch/memcpy.S
1255         (memcpy_z196): Rename to __memcpy_z196.
1256         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1257         (memcpy_z10): Rename to __memcpy_z10.
1258         Jump to __memcpy_mvcle instead of memcpy_mvcle.
1259         (memcpy): Set alias to __memcpy_z900.
1260         * sysdeps/s390/s390-64/multiarch/memset.S
1261         (memset_z196): Rename to __memset_z196.
1262         Jump to __memset_mvcle instead of memset_mvcle.
1263         (memset_z10): Rename to __memset_z10.
1264         Jump to __memset_mvcle instead of memset_mvcle.
1265         (memset_mvcle) Rename to __memset_mvcle.
1266         (memset): Set alias to __memset_z900.
1268 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
1270         [BZ #17748]
1271         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
1272         __fesetenv instead of fesetenv.
1274 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
1276         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
1277         macro.
1279 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1281         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
1282         regression on LE.
1284         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
1285         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
1286         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1287         strncmp-power8 object.
1288         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1289         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
1290         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
1291         * NEWS: Update.
1293 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1294             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1296         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
1297         trailing byte check.
1299 2015-01-13  David S. Miller  <davem@davemloft.net>
1301         * include/signal.h (__sigreturn): Guard with __USE_MISC.
1303 2015-01-13  Roland McGrath  <roland@hack.frob.com>
1305         * login/logout.c (logout): Use memset rather than bzero.
1306         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
1307         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
1308         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
1309         (_gethtbyaddr): Likewise.
1310         * locale/programs/simple-hash.c (bcopy): Macro removed.
1312 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1314         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1315         Add strcmp-power8 object.
1316         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1317         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
1318         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
1319         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
1320         __strcmp_power8 implementation.
1321         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
1322         * NEWS: Update.
1324         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1325         Add strncpy-power8 and stpncpy-power8 objects.
1326         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1327         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
1328         implementations.
1329         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
1330         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
1331         __stpncpy_power8 implementation.
1332         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
1333         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
1334         __strncpy_power8 implementation.
1335         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
1336         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
1337         * NEWS: Update.
1339         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
1340         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
1341         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
1343         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1344         strncat-power8 object.
1345         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
1346         __strcat_power8 implementation.
1347         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1348         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
1349         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
1350         optimized strcat for power8.
1352         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
1353         strcpy-power8 and stpcpy-power8 objects.
1354         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1355         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
1356         implementations.
1357         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
1358         multiarch stpcpy implementation for POWER8.
1359         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
1360         multiarch strcpy implementation for POWER8.
1361         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
1362         __strcpy_power8 function.
1363         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
1364         stpcpy for POWER8.
1365         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
1366         strcpy for POWER8.
1367         * NEWS: Update.
1369 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
1371         [BZ #16009]
1372         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
1373         weights and rules. Use do_xfrm_cached if data fits in cache,
1374         do_xfrm otherwise.  Moved former main loop to...
1375         * (do_xfrm_cached): New function.
1376         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
1377         find_idx, find_position and stack_push.
1378         * (find_idx): New function.
1379         * (find_position): Likewise.
1380         * localedata/sort-test.sh: Added test run for do_xfrm.
1381         * localedata/xfrm-test.c (main): Added command line option
1382         -nocache to run the test with strings that are too large for
1383         the STRXFRM cache.
1385 2015-01-13  Torvald Riegel  <triegel@redhat.com>
1387         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
1388         variable to lll_futex_wake call, not the value itself.
1390 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
1392         [BZ #17803]
1393         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
1394         twom64.  Adjust value to 0x1p-64L.
1395         (__scalblnl): Only return standard underflowing result for K <=
1396         -64 not K <= -63; adjust exponent for underflowing result by 64
1397         not 63.
1398         * math/libm-test.inc (scalbn_test_data): Add more tests.
1399         (scalbln_test_data): Likewise.
1401         [BZ #17834]
1402         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
1403         0x1p63L.
1404         (__scalblnl): Get new exponent of adjusted subnormal value from ES
1405         not HX.
1406         * math/libm-test.inc (scalbn_test_data): Add more tests.
1407         (scalbln_test_data): Likewise.
1409 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1410             Stefani Seibold  <stefani@seibold.net>
1412         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
1413         (sysdep_routines): Add dl-vdso here, ...
1414         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
1415         (sysdep_routines): ... not here.
1416         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
1417         fallback when vDSO is not presented.
1418         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
1419         Define with libc_hidden_proto/libc_hidden_data_def definitions.
1420         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
1421         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
1422         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
1423         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
1424         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
1425         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
1426         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
1427         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
1428         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
1429         fallback configurable symbol when vDSO is not available.
1430         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
1431         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
1432         be able to redefine fallback symbol when vDSO is not available.
1433         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
1434         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
1436 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1438         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
1439         (TLS_INIT_TP): Add tm_capable initialization.
1440         (TLS_DEFINE_INIT_TP): Likewise.
1441         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
1442         TCB.
1443         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
1444         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
1445         calculation.
1446         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
1447         transactoion is lock elision is built and TCB tm_capable is set.
1448         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
1449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
1450         (INTERNAL_SYSCALL_NCS): Likewise.
1451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
1452         (INTERNAL_SYSCALL_NCS): Likewise.
1453         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
1455         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
1456         for powerpc.
1457         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1458         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
1459         and remove it for 32 bits case.
1460         [pthread_rwlock_t] (__rwelision): New field for lock elision.
1461         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
1462         initialization.
1463         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
1464         Disable lock elision with rdlocks if elision is not available.
1466         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
1467         (sysdep_routines): Add lock elision objects.
1468         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1469         [pthread_mutex_t] (__spins): Rework to add lock elision field.
1470         [pthread_mutex_t] (__elision): Add field.
1471         [__PTHREAD_SPINS]: Adjust to init lock elision field.
1472         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
1473         elision definitions for powerpc.
1474         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
1475         implementation of lock elision for powerpc.
1476         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
1477         implementation of timed lock elision for powerpc.
1478         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
1479         implementation of trylock with lock elision for powerpc.
1480         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
1481         implementaion of unlock for lock elision for powerpc.
1482         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
1483         automatic enable lock elision for mutexes.
1484         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
1485         transaction execution definitions for powerpc.
1486         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
1487         definitions.
1488         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
1489         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
1490         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
1491         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
1492         * NEWS: Update.
1494 2015-01-09  Roland McGrath  <roland@hack.frob.com>
1496         * sysdeps/posix/shm-directory.c: Use <> rather than ""
1497         for #include of <shm-directory.h>.
1499 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
1501         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
1502         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
1504 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
1506         [BZ #17791]
1507         * NEWS: Mention bug fix.
1508         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
1509         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
1510         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
1512 2015-01-09  Torvald Riegel <triegel@redhat.com>
1514         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
1516 2015-01-09  Torvald Riegel <triegel@redhat.com>
1518         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
1520 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1522         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
1523         pointer and cast to uintptr_t.
1525 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1527         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
1528         removed.
1529         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
1531 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
1533         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
1534         of 0.
1536 2015-01-08  Roland McGrath  <roland@hack.frob.com>
1538         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
1539         <nptl/pthreadP.h> instead.
1540         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
1542         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
1543         already defined.
1544         [__SIGRTMIN] (init): Function removed.
1545         [__SIGRTMIN] (initialized): Variable removed.
1546         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
1547         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
1548         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
1549         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
1550         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
1551         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
1552         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
1553         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
1554         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
1555         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
1556         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
1557         * sysdeps/nptl/allocrtsig.c: New file.
1558         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
1559         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
1560         * sysdeps/generic/testrtsig.h: File removed.
1562         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
1563         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
1565         * nptl/nptl-init.c (pthread_functions): Conditionalize
1566         .ptr__nptl_setxid initialization on [SIGSETXID].
1568         * sysdeps/nptl/sys/procfs.h: New file.
1569         * nptl_db/Makefile (headers): Add it.
1570         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
1572         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
1573         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
1574         * nptl/pthread_attr_setaffinity.c: Include it.
1575         * nptl/pthread_setattr_default_np.c: Likewise.
1576         * nptl/check-cpuset.h: New file.
1578 2015-01-08  Richard Henderson  <rth@redhat.com>
1580         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
1581         (CFLAGS-tst-execstack-prog.c): Likewise.
1582         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
1584 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
1585             Sandra Loosemore  <sandra@codesourcery.com>
1586             Andrew Jenner  <andrew@codesourcery.com>
1587             Joseph Myers  <joseph@codesourcery.com>
1588             Nathan Sidwell  <nathan@codesourcery.com>
1590         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
1591         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
1592         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
1593         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
1594         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
1595         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
1596         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
1597         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
1598         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
1599         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
1600         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
1601         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
1602         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
1603         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
1604         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
1605         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
1606         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
1608 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1610         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
1611         timespec struct member in syscall macro.
1612         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
1613         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
1614         first timeval struct member in syscall macro.
1615         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
1617 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
1619         [BZ #17748]
1620         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
1621         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
1622         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
1623         __feupdateenv and define as weak alias of __feupdateenv.  Use
1624         libm_hidden_weak.
1625         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
1626         libm_hidden_def.
1627         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
1628         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
1629         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1630         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
1631         libm_hidden_def.
1632         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
1633         __feupdateenv and define as weak alias of __feupdateenv.  Use
1634         libm_hidden_weak.
1635         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
1636         libm_hidden_def.
1637         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
1638         __feupdateenv and define as weak alias of __feupdateenv.  Use
1639         libm_hidden_weak.
1640         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
1641         libm_hidden_def.
1642         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1643         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1644         (__feupdateenv): Likewise.
1645         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
1646         __feupdateenv and define as weak alias of __feupdateenv.  Use
1647         libm_hidden_weak.
1648         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1649         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
1650         libm_hidden_def.
1651         * sysdeps/tile/math_private.h (__feupdateenv): New inline
1652         function.
1653         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
1654         libm_hidden_def.
1655         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
1656         __feupdateenv instead of feupdateenv.
1657         (default_libc_feupdateenv_test): Likewise.
1658         (libc_feresetround_ctx): Likewise.
1660 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1662         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
1663         prototype.
1665 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
1667         * posix/regcomp.c (parse_bracket_exp): Initialize type to
1668         COLL_SYM in a couple of places to avoid uninitialized variable
1669         wanings on tilegx gcc 4.8.2.
1671 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1673         * sysdeps/aarch64/strcpy.S: New file.
1674         * sysdeps/aarch64/stpcpy.S: New file.
1675         * NEWS: Updated.
1677 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
1679         * sysdeps/aarch64/strrchr.S: New file.
1680         * NEWS: Updated.
1682 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
1684         [BZ #17658]
1685         * stdlib/setenv.c: Fix memory leak when setting large,
1686         duplicate string.
1688 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
1690         [BZ #17273]
1691         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
1692         and tabs from buffer before parsing fstab entry.
1693         * misc/tst-mntent.c (main): Add test for mount entry with
1694         trailing spaces and tabs.
1696 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
1698         [BZ #17748]
1699         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
1700         * math/fesetround.c (fesetround): Rename to __fesetround and
1701         define as weak alias of __fesetround.  Use libm_hidden_weak.
1702         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
1703         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
1704         * sysdeps/arm/fesetround.c (fesetround): Likewise.
1705         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
1706         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
1707         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
1708         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
1709         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
1710         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
1711         __fesetround_inline.
1712         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
1713         __fesetround_inline instead of __fesetround.
1714         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
1715         __fesetround and define as weak alias of __fesetround.  Use
1716         libm_hidden_weak.  Call __fesetround_inline instead of
1717         __fesetround.
1718         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
1719         __fesetround and define as weak alias of __fesetround.  Use
1720         libm_hidden_weak.
1721         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
1722         Likewise.
1723         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
1724         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
1725         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
1726         * sysdeps/tile/math_private.h (__fesetround): New inline function.
1727         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
1728         __fesetround and define as weak alias of __fesetround.  Use
1729         libm_hidden_weak.
1730         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
1731         __fesetround instead of fesetround.
1732         (default_libc_feholdexcept_setround): Likewise.
1733         (libc_feholdsetround_ctx): Likewise.
1734         (libc_feholdsetround_noex_ctx): Likewise.
1736         [BZ #17748]
1737         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
1738         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
1739         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1740         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1741         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1742         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
1743         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1744         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
1745         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1746         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1747         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1748         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1749         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1750         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1751         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
1752         libm_hidden_def.
1753         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
1754         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
1755         Likewise.
1756         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
1757         define as weak alias of __fesetenv.  Use libm_hidden_weak.
1758         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
1759         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
1760         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
1761         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
1762         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
1763         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
1764         __fesetenv instead of fesetenv.
1765         (libc_feresetround_noex_ctx): Likewise.
1766         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
1767         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
1768         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
1769         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
1770         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
1771         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
1772         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1773         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
1774         (__feupdateenv): Likewise.
1775         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
1776         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
1777         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1778         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
1780 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1782         [BZ #17806]
1783         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
1784         addresses have been freed.
1786 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
1788         * resolv/res_init.c (__res_vinit): Improve comments about nserv
1789         and nservall.
1791 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
1793         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
1794         Clean up check_pf allocation pattern. addresses
1796 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1798         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
1799         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
1800         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1801         * nptl/pthread_exit.c (__pthread_exit): Likewise.
1802         * nptl/pthread_join.c (pthread_join): Likewise.
1803         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
1804         * sysdeps/posix/waitid.c (__waitid): Likewise.
1805         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
1806         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
1807         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
1808         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
1809         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
1810         Likewise.
1811         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
1812         (__libc_pread64): Likewise.
1813         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
1814         (__libc_pwrite): Likewise.
1815         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
1816         (__libc_pwrite64): Likewsie.
1817         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
1818         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
1819         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
1820         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
1821         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
1822         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
1823         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
1824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
1825         Likewise.
1826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
1827         (__libc_pread64): Likewise.
1828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
1829         Likewise.
1830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
1831         (__libc_pwrite64): Likewise.
1832         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
1833         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
1834         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
1835         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
1836         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
1837         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
1838         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
1839         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
1840         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
1841         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
1842         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
1843         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
1844         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
1845         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
1846         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
1847         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
1848         Likewise.
1850 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
1852         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
1853         (CFLAGS-test-double.c): Likewise.
1854         (CFLAGS-test-ldouble.c): Likewise.
1855         (CPPFLAGS-test-ifloat.c): Likewise.
1856         (CPPFLAGS-test-idouble.c): Likewise.
1857         (CPPFLAGS-test-ildoubl.c): Likewise.
1858         (CFLAGS-test-test-fenv.c): Remove variable.
1859         (CFLAGS-test-misc.c): Likewise.
1861 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
1863         [BZ #17797]
1864         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
1865         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
1866         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
1867         CLOCKS_PER_SEC == 1000000.
1868         * time/clocktest.c (main): Replace %ld with %jd and cast to
1869         intmax_t.
1871 2015-01-05  Roland McGrath  <roland@hack.frob.com>
1873         * sysdeps/generic/unwind-resume.h: New file.
1874         * sysdeps/gnu/unwind-resume.c: Include it.
1875         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
1876         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
1877         argument list.
1878         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
1879         global rather than static.
1880         (_Unwind_Resume): Update user.
1881         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
1882         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
1883         rather than static.  Add __attribute__ ((cold)).
1884         (_Unwind_Resume, __gcc_personality_v0): Update callers.
1885         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
1886         * sysdeps/arm/arm-unwind-resume.S: New file.
1887         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
1888         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
1889         * sysdeps/arm/Makefile [$(subdir) = csu]
1890         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
1891         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1892         Add rt-arm-unwind-resume.
1893         [$(subdir) = nptl]
1894         (libpthread-sysdep_routines, libpthread-shared-only-routines):
1895         Add pt-arm-unwind-resume.
1896         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
1897         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
1899 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1901         [BZ #17748]
1902         * include/fenv.h (__feholdexcept): Declare.  Use
1903         libm_hidden_proto.
1904         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
1905         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
1906         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1907         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
1908         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
1909         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
1910         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
1911         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1912         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
1913         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
1914         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1915         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
1916         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
1917         (feholdexcept): Likewise.
1918         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
1919         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
1920         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1921         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
1922         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
1923         __feholdexcept instead of feholdexcept.
1924         (default_libc_feholdexcept_setround): Likewise.
1926 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1928         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
1929         to avoid using stl/str to align destination.
1931 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1933         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
1935 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1937         [BZ #17796]
1938         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
1939         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
1940         Define as weak alias not strong alias.
1942 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
1944         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
1945         bltzal with addiupc.
1946         (RTLD_START): Ditto.
1948 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
1950         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
1951         for __vdso_* functions in declarations.
1952         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
1953         definitions.
1954         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
1955         INTERNAL_VSYSCALL): Use struct return types to check for error.
1957         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
1958         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
1959         function with cast from llround().
1960         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
1961         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
1962         Define.
1964 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
1966         [BZ #17793]
1967         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
1968         Define as weak alias not strong alias.
1970         [BZ #17635]
1971         * ctype/ctype-c99.c: New file.  isblank implementation moved from
1972         ...
1973         * ctype/ctype-extn.c: ... here.
1974         (__isblank_l): Move to ...
1975         * ctype/ctype-c99_l.c: ... here.  New file.
1976         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
1977         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
1978         Remove variable.
1979         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
1980         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
1981         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
1982         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
1983         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
1985         [BZ #17777]
1986         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
1987         (posix_fadvise64): Define as weak alias not strong alias.
1988         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
1989         (posix_fallocate64): Likewise.
1990         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
1991         Remove variable.
1992         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
1993         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
1994         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
1995         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
1996         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
1998 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
2000         [BZ #16191]
2001         * NEWS: Mention bug fix.
2002         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
2003         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
2004         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
2005         (HOST_STACK_END_ADDR): Likewise.
2007 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2009         [BZ #17748]
2010         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
2011         * math/fegetround.c (fegetround): Rename to __fegetround and
2012         define as weak alias of __fegetround.  Use libm_hidden_weak.
2013         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
2014         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
2015         * sysdeps/arm/fegetround.c (fegetround): Likewise.
2016         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
2017         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
2018         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
2019         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
2020         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
2021         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
2022         Undefine after rather than before function definition; use
2023         parentheses around function name in definition.
2024         (__fegetround): Also undefine macro after function definition.
2025         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
2026         __fegetround and define as weak alias of __fegetround.  Use
2027         libm_hidden_weak.  Do not undefine as macro.
2028         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
2029         Likewise.
2030         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
2031         __fegetround and define as weak alias of __fegetround.  Use
2032         libm_hidden_weak.
2033         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
2034         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
2035         * sysdeps/tile/math_private.h (__fegetround): New inline function.
2036         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
2037         __fegetround and define as weak alias of __fegetround.  Use
2038         libm_hidden_weak.
2039         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
2040         __fegetround instead of fegetround.
2042         [BZ #17782]
2043         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
2044         Condition macro definition on [__USE_MISC].
2046         [BZ #17781]
2047         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
2048         (struct sigaction): Change type of sa_flags field to int.
2050         [BZ #17780]
2051         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
2052         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
2053         __glibc_reserved0.
2055         * nptl/version.c (banner): Use single year in copyright notice.
2057         * NEWS: Update copyright dates.
2058         * catgets/gencat.c (print_version): Likewise.
2059         * csu/version.c (banner): Likewise.
2060         * debug/catchsegv.sh: Likewise.
2061         * debug/pcprofiledump.c (print_version): Likewise.
2062         * debug/xtrace.sh (do_version): Likewise.
2063         * elf/ldconfig.c (print_version): Likewise.
2064         * elf/ldd.bash.in: Likewise.
2065         * elf/pldd.c (print_version): Likewise.
2066         * elf/sotruss.sh: Likewise.
2067         * elf/sprof.c (print_version): Likewise.
2068         * iconv/iconv_prog.c (print_version): Likewise.
2069         * iconv/iconvconfig.c (print_version): Likewise.
2070         * locale/programs/locale.c (print_version): Likewise.
2071         * locale/programs/localedef.c (print_version): Likewise.
2072         * login/programs/pt_chown.c (print_version): Likewise.
2073         * malloc/memusage.sh (do_version): Likewise.
2074         * malloc/memusagestat.c (print_version): Likewise.
2075         * malloc/mtrace.pl: Likewise.
2076         * manual/libc.texinfo: Likewise.
2077         * nptl/version.c (banner): Likewise.
2078         * nscd/nscd.c (print_version): Likewise.
2079         * nss/getent.c (print_version): Likewise.
2080         * nss/makedb.c (print_version): Likewise.
2081         * posix/getconf.c (main): Likewise.
2082         * scripts/test-installation.pl: Likewise.
2083         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
2085 2015-01-02  Will Newton  <will.newton@linaro.org>
2087         * sysdeps/arm/armv7/configure: Removed.
2088         * sysdeps/arm/armv7/configure.ac: Likewise.
2090 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
2092         * All files with FSF copyright notices: Update copyright dates
2093         using scripts/update-copyrights.
2094         * intl/plural.c: Regenerated.
2095         * locale/programs/charmap-kw.h: Likewise.
2096         * locale/programs/locfile-kw.h: Likewise.
2098 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
2100         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
2102 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2104         [BZ #17748]
2105         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
2106         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
2107         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2108         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
2109         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2110         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
2111         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2112         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
2113         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2114         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2115         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2116         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2117         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2118         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2119         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
2120         libm_hidden_def.
2121         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
2122         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
2123         Likewise.
2124         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
2125         define as weak alias of __fegetenv.  Use libm_hidden_weak.
2126         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
2127         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
2128         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
2129         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
2130         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
2131         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
2132         __fegetenv instead of fegetenv.
2133         (libc_feholdsetround_noex_ctx): Likewise.
2135 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
2137         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
2138         (Elf_MIPS_ABIFlags_v0): New structure.
2139         (EF_MIPS_FP64): Define.
2140         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
2141         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
2142         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
2143         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
2144         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
2145         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
2146         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
2147         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
2148         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
2149         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
2150         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
2151         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
2152         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
2153         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
2154         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
2155         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
2156         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
2157         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
2158         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
2159         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
2160         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
2161         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
2162         field.
2163         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
2164         EF_MIPS_FP64.
2165         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
2166         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
2167         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
2168         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
2169         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
2170         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
2171         * sysdeps/mips/tst-abi-interlink.c: Likewise.
2172         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
2173         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
2174         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
2175         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
2176         record the current FP ABI extension.
2177         (mips-mode-switch): Define to show if kernel headers support mode
2178         switching.
2179         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
2180         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
2181         supported SYSV ABI version to 3.
2182         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
2183         feature.
2185 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2186             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2188         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
2189         path.
2190         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
2192 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
2194         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
2195         __fegetround and redefine to call __fegetround.  Remove condition
2196         on [!__NO_MATH_INLINES].
2197         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
2198         function.
2199         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
2200         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
2201         Remove macro.
2202         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
2203         instead of <fenv_libc.h>.
2204         (__llrintl): Call fegetround instead of __fegetround.
2205         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
2206         instead of <fenv_libc.h>.
2207         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
2208         (__lrintl): Call fegetround instead of __fegetround.
2209         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
2210         instead of <fenv_libc.h>.
2211         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
2212         (__rintl): Call fegetround instead of __fegetround.
2214 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
2216         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
2217         arrays.
2219 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2221         [BZ #17775]
2222         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
2223         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
2224         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
2226 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2228         * sysdeps/i386/tls-macros.h: Include <features.h>.
2229         (TLS_LE): Use non-PIC version for GCC >= 5.0.
2230         (TLS_IE): Likewise.
2231         (TLS_LD): Likewise.
2232         (TLS_GD): Likewise.
2233         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
2234         define for GCC >= 5.0.
2236 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
2238         * math/test-fenv.c (test_single_exception, set_single_exc,
2239         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
2240         feexcp_mask_test, feenable_test, fe_single_test): Add
2241         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
2242         case where they are not used.
2243         * math/libm-test.inc: Likewise.
2244         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
2245         unused in the absence of FP rounding/exception support.
2246         * stdio-common/tst-printf-round.c: Likewise.
2247         * stdlib/tst-strtod-round.c: Likewise.
2248         * stdlib/tst-strtod-underflow.c: Likewise.
2250 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
2252         [BZ #17723]
2253         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
2254         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
2255         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2256         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2257         libm_hidden_weak.
2258         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
2259         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2260         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
2261         libm_hidden_def.
2262         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2263         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2264         libm_hidden_weak.
2265         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
2266         Likewise.
2267         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
2268         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2269         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2270         libm_hidden_weak.
2271         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2272         libm_hidden_def.
2273         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
2274         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
2275         (__feraiseexcept): Likewise.
2276         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
2277         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
2278         libm_hidden_weak.
2279         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
2280         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
2281         libm_hidden_def.
2282         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
2283         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
2284         Use libm_hidden_def.
2285         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
2286         libm_hidden_def.
2287         (feraiseexcept): Define as weak not strong alias.  Use
2288         libm_hidden_weak.
2289         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
2290         New inline function.  Factored out of ...
2291         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
2292         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
2293         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
2294         feraiseexcept.
2295         * math/w_acos.c (__acos): Likewise.
2296         * math/w_asin.c (__asin): Likewise.
2297         * math/w_ilogb.c (__ilogb): Likewise.
2298         * math/w_j0.c (y0): Likewise.
2299         * math/w_j1.c (y1): Likewise.
2300         * math/w_jn.c (yn): Likewise.
2301         * math/w_log.c (__log): Likewise.
2302         * math/w_log10.c (__log10): Likewise.
2303         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
2304         * sysdeps/aarch64/fpu/math_private.h
2305         (libc_feupdateenv_test_aarch64): Likewise.
2306         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
2307         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
2308         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
2309         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
2310         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
2311         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
2312         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
2313         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
2314         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
2315         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
2317 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
2319         [BZ #17732]
2320         * io/test-utime.c (main): Replace %ld with %jd and cast to
2321         intmax_t.
2322         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
2323         * nptl/tst-mutex5.c: Include <stdint.h>.
2324         (do_test): Replace %ld with %jd and cast to intmax_t.
2325         * posix/tst-regex.c (run_test): Likewise.
2326         (run_test_backwards): Likewise.
2327         * rt/tst-clock.c: Include <stdint.h>.
2328         (clock_test): Replace %ld with %jd and cast to intmax_t.
2329         * rt/tst-cpuclock1.c: Include <stdint.h>.
2330         (do_test): Replace %lu with %ju and cast to uintmax_t.
2331         * rt/tst-cpuclock2.c: Include <stdint.h>.
2332         (do_test): Replace %lu with %ju and cast to uintmax_t.
2333         * rt/tst-mqueue1.c: Include <stdint.h>.
2334         (check_attrs): Replace %ld with %jd and cast to intmax_t.
2335         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
2336         intmax_t.
2337         * rt/tst-mqueue4.c (do_test): Likewise.
2338         * rt/tst-timer4.c: Include <stdint.h>.
2339         (check_ts): Replace %ld with %jd and cast to intmax_t.
2340         (do_test): Likewise.
2341         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
2342         and cast to intmax_t.
2343         * sysdeps/pthread/tst-timer.c (main): Likewise.
2344         * time/clocktest.c (main): Likewise.
2345         * time/tst-posixtz.c (do_test): Likewise.
2346         * timezone/tst-timezone.c (main): Likewise.
2348 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
2349             H.J. Lu  <hongjiu.lu@intel.com>
2351         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
2352         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
2353         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
2354         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
2355         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
2356         version if bit_Fast_Unaligned_Load is set.
2357         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
2358         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
2359         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
2360         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
2361         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
2362         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
2363         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
2364         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
2365         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
2366         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
2367         to 4.
2368         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
2369         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
2370         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
2371         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
2373 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
2375         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
2376         instead of #if to avoid a Wundef warning.
2377         * stdlib/tst-limits.c (do_test): Likewise.
2379         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
2380         parallel other exception macros.
2381         (fegetenv): Convert from macro to extern inline so that it applies
2382         retroactively to inline functions already seen by the compiler.
2383         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
2385         * posix/Makefile (before-compile): Use $(objpfx) for
2386         posix-conf-vars-def.h.
2388 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2390         * posix/getconf.c (main): Use size_t for type of I.
2391         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
2392         NSPEC.
2394         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
2395         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
2396         * posix/posix-envs.def: Likewise.
2397         * sysdeps/posix/sysconf.c: Likewise.
2398         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
2399         (specs): Remove array.
2400         * scripts/gen-posix-conf-vars.awk: Support generation of specs
2401         array.
2403         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
2404         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
2405         (__sysconf): Use CONF_IS_* macros.
2407         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
2408         ($(objpfx)posix-conf-vars-def.h): New target.
2409         * posix/posix-conf-vars.list: New file.
2410         * posix/posix-conf-vars.h: New file.
2411         * posix/confstr.c: Include posix-conf-vars.h.
2412         (confstr): Use CONF_IS_* macros.
2413         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
2414         CONF_IS_* macros.
2415         * scripts/gen-posix-conf-vars.awk: New file.
2417 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
2419         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
2420         fegetround): Add no-op macros to avoid linknamespace issues.
2422         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
2423         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
2425         * sysdeps/unix/sysv/linux/tile/sysdep.h
2426         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
2427         assembly-specific section to avoid a redefinition warning.
2429         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
2430         long before casting to pointer to avoid a cast warning.
2432 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
2434         * sysdeps/tile/tilegx/Implies: New file.
2436 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
2438         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
2440 2014-12-23  Florian Weimer  <fweimer@redhat.com>
2442         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
2444 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2446         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
2447         not define.
2448         * sysdeps/unix/sysv/linux/utimes.c: Do not include
2449         <kernel-features.h>.
2450         (__utimes) [__NR_utimes]: Make code unconditional.
2451         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
2452         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
2453         (__ASSUME_UTIMES): Do not undefine.
2454         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2455         (__ASSUME_UTIMES): Likewise.
2456         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
2457         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
2458         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
2459         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
2461 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2463         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
2465 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
2467         [BZ #17747]
2468         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
2469         alias to weak alias for j0l, y0l.
2470         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
2471         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
2473         [BZ #17746]
2474         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
2475         conversion.
2477 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
2479         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
2480         to zero if not already defined.
2482 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2484         [BZ #17724]
2485         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
2486         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
2487         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
2488         (char *) casts added.
2489         * sysdeps/ieee754/k_standardf.c: New file.
2490         * sysdeps/ieee754/k_standardl.c: Likewise.
2491         * math/Makefile (libm-support): Remove k_standard.
2492         (libm-calls): Add k_standard.
2494 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2496         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
2497         Optimize to avoid an unnecessary FPCR read.
2499 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2501         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
2502         Optimize to reduce FPCR/FPSR accesses.
2504 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2506         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
2507         Call libc_fetestexcept_aarch64.
2509 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
2511         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
2512         Call libc_fesetround_aarch64.
2514 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
2516         [BZ #17733]
2517         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
2518         (__bind): Do not define as weak alias.
2519         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
2520         define.
2521         (__getsockname): Do not define as weak alias.
2523 2014-12-22  Will Newton  <will.newton@linaro.org>
2525         * manual/install.texi: Document that we require bison 2.7
2526         or above.
2527         * INSTALL: Regenerate.
2528         * configure.ac: Use AC_CHECK_PROG_VER instead of
2529         AC_PATH_PROG when checking for bison and check for
2530         version 2.7 or above.
2531         * configure: Regenerate.
2533 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
2535         [BZ #17745]
2536         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
2537         * sysdeps/tile/ffsll.c (ffsll): To here.
2539         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
2541 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2543         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
2544         if not defined.
2545         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
2546         definition.
2547         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2548         hidden ___tls_get_addr.
2549         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
2550         hidden __tls_get_addr.
2551         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
2552         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
2553         Likewise.
2555 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
2557         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
2558         _dl_init call.
2560 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
2562         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
2563         from "call _dl_init@PLT".
2564         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
2566 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
2568         * manual/search.texi: (Array Sort Function): Clarify stable sorting
2569         guarantees.
2571 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
2573         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
2575 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2577         [BZ #17744]
2578         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
2579         strnlen.
2581 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2583         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
2584         of multu on MIPSr6.
2585         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
2586         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
2587         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
2588         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
2589         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
2591 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
2593         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
2594         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
2595         (PTR_SUBU): Use subu for mips32r6/mips64r6.
2596         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
2597         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
2598         mips32r6/mips64r6.
2599         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
2601 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
2603         * string/strncat.c (STRNCAT): Simplify implementation.
2605 2014-12-19  David S. Miller  <davem@davemloft.net>
2607         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
2608         access the quad as both a long double and as a series of 4 words.
2610         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
2611         link_map->l_info array access.
2613 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
2615         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
2617         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
2618         * math/atest-exp2.c (TIMEOUT): Likewise.
2619         * math/atest-sincos.c (TIMEOUT): Likewise.
2621 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2623         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
2624         -Wno-error with -fno-builtin-lround.
2626 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2628         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
2629         Contains futex constants and functions moved over from ...
2630         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
2631         <lowlevellock-futex.h>.
2632         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2633         (lll_timedwait_tid): Add comments and parentheses around macro
2634         arguments.
2636 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2638         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
2639         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
2640         (__lll_private_flag): Remove.
2641         (lll_futex_wait): Likewise.
2642         (lll_futex_timed_wait): Likewise.
2643         (lll_futex_wake): Likewise.
2644         (lll_futex_requeue): Likewise.
2645         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
2646         (__lll_timedwait_tid): Spell out argument names.
2647         (lll_timedwait_tid): Add comments and parentheses around macro
2648         arguments.
2649         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
2650         LLL_SHARED and LLL_PRIVATE usable from assembly code.
2652 2014-12-19  Torvald Riegel  <triegel@redhat.com>
2654         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
2655         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
2656         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
2657         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
2658         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
2659         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
2660         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
2661         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
2662         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
2663         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
2664         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
2665         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
2666         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
2667         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
2668         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
2669         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
2670         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
2671         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
2672         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
2674 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2676         * sysdeps/x86_64/x32/Makefile: New file.
2678 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
2680         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
2681         1L with (mp_limb_t) 1.
2683 2014-12-17  Roland McGrath  <roland@hack.frob.com>
2685         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
2686         * nptl/libc_pthread_init.c: ... here.
2687         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
2688         * nptl/register-atfork.c: ... here.
2690         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
2691         Use pthread_sigmask rather than INTERNAL_SYSCALL.
2692         Use assert_perror to check its return value.
2693         (__gai_create_helper_thread): Likewise.
2695         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
2697         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
2699 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
2701         [BZ #17725]
2702         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
2703         __profil_counter.
2704         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
2705         Likewise.
2706         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
2707         Likewise.
2708         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
2709         Likewise.
2710         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
2711         (profil_counter): Likewise.
2712         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
2713         (profil_counter): Likewise.
2714         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
2715         Likewise.
2716         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
2717         Likewise.
2718         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
2719         (profil_counter): Likewise.
2720         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
2721         Likewise.
2722         [!__profil_counter] (profil_counter): Define as weak alias of
2723         __profil_counter.
2724         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
2725         (profil_counter): Rename to __profil_counter.
2726         [!__profil_counter] (profil_counter): Define as weak alias of
2727         __profil_counter.
2728         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
2729         (profil_counter): Rename to __profil_counter.
2730         [!__profil_counter] (profil_counter): Define as weak alias of
2731         __profil_counter.
2732         * sysdeps/posix/profil.c: Update comment referring to
2733         profil_counter.
2734         (__profil): Use __profil_counter instead of profil_counter.
2735         * sysdeps/posix/sprofil.c (profil_counter): Rename to
2736         __profil_counter.  Use __profil_counter_ushort and
2737         __profil_counter_uint in definitions.
2738         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
2739         instead of profil_counter_uint and profil_counter_ushort.
2741         [BZ #17722]
2742         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
2743         define as weak alias of __inet_makeaddr.
2744         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
2745         as weak alias of __inet_addr.
2746         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
2747         as weak alias of __inet_pton.  Use libc_hidden_weak.
2748         * include/arpa/inet.h (__inet_pton): Declare.  Use
2749         libc_hidden_proto.
2750         (inet_makeaddr): Don't use libc_hidden_proto.
2751         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
2752         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
2753         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
2754         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
2755         Remove variable.
2756         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2757         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2759 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
2761         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
2763 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2765         * stdio-common/bug-vfprintf-nargs.c (do_test):
2766         Cast value to intptr_t to avoid format warning
2767         for usage with PRIdPTR printing macro.
2769 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
2771         * libio/tst-widetext.c (do_test):
2772         Use format type %td instead of %Zd for ptrdiff_t
2773         in order to avoid format warning.
2775 2014-12-17  Andreas Schwab  <schwab@suse.de>
2777         * nscd/mem.c (gc): Add size_t cast to match printf format.
2779 2014-12-16  Roland McGrath  <roland@hack.frob.com>
2781         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
2782         (init): Apply PTR_MANGLE to pointers before storing them.
2783         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
2784         before using them.
2786 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
2788         [BZ #17719]
2789         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
2790         define as weak alias of __memrchr.
2791         (__memrchr): Do not define as strong alias of memrchr.
2792         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
2793         Remove variable.
2794         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2795         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2796         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2798         [BZ #17717]
2799         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
2800         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
2801         (if_indextoname): Rename to __if_indextoname and define as weak
2802         alias of __if_indextoname.  Use libc_hidden_weak.
2803         (if_freenameindex): Rename to __if_freenameindex and define as
2804         weak alias of __if_freenameindex.
2805         (if_nameindex): Rename to __if_nameindex and define as weak alias
2806         of __if_nameindex.
2807         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
2808         __if_nametoindex and define as weak alias of __if_nametoindex.
2809         Use libc_hidden_weak.
2810         (if_freenameindex): Rename to __if_freenameindex and define as
2811         weak alias of __if_freenameindex.
2812         (if_nameindex): Rename to __if_nameindex and define as weak alias
2813         of __if_nameindex.
2814         (if_indextoname): Rename to __if_indextoname and define as weak
2815         alias of __if_indextoname.  Use libc_hidden_weak.
2816         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
2817         __if_nametoindex and define as weak alias of __if_nametoindex.
2818         Use libc_hidden_weak.
2819         (if_freenameindex): Rename to __if_freenameindex and define as
2820         weak alias of __if_freenameindex.  Use libc_hidden_weak.
2821         (if_nameindex_netlink): Use __if_freenameindex instead of
2822         if_freenameindex.
2823         (if_nameindex): Rename to __if_nameindex and define as weak alias
2824         of __if_nameindex.  Use libc_hidden_weak.
2825         (if_indextoname): Rename to __if_indextoname and define as weak
2826         alias of __if_indextoname.  Use libc_hidden_weak.
2827         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
2828         libc_hidden_proto.
2829         [!_ISOMAC] (__if_freenameindex): Likewise.
2830         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
2831         if_nametoindex.
2832         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
2833         variable.
2834         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2835         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2836         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2837         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2838         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2839         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2840         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2842         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
2843         Remove variable.
2844         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2845         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2847 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
2849         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
2850         subscript above bounds'
2852         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
2853         bounds.
2855 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
2857         * libio/tst-fopenloc.c: Use test-skeleton.c.
2859         * stdlib/tst-bsearch.c: Use test-skeleton.c.
2860         (entry): Rename to ITEM.
2861         (do_test, comp): Adjust.
2863         * stdio-common/tst-fseek.c: Use test-skeleton.c.
2865 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2867         * string/tester.c: Include <libc-internal.h>.
2868         (test_memset): Ignore -Wmemset-transposed-args.
2870 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2872         * misc/tst-mntent2.c (do_test): Fix warning.
2874 2014-12-16  Torvald Riegel  <triegel@redhat.com>
2876         * elf/tst-unique4lib.cc(a): Mark as used.
2878 2014-12-16  Florian Weimer  <fweimer@redhat.com>
2880         [BZ #17630]
2881         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
2882         names.
2884 2014-12-16  Allan McRae  <allan@archlinux.org>
2886         * stdio-common/Makefile (tests): Re-add bug26.
2888 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
2890         [BZ #17657]
2891         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
2892         static array.
2894 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
2896         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
2897         (__lll_lock_wait): Likewise.
2898         (__lll_timedlock_wait): Likewise.
2899         (__lll_timedwait_tid): Likewise.
2900         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
2901         (__lll_robust_timedlock_wait): Likewise.
2902         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
2903         (lll_cond_trylock): Likewise.
2904         (__lll_lock): Likewise.
2905         (__lll_robust_lock): Likewise.
2906         (__lll_cond_lock): Likewise.
2907         (lll_robust_cond_lock): Likewise.
2908         (__lll_timedlock): Likewise.
2909         (__lll_robust_timedlock): Likewise.
2910         (__lll_unlock): Likewise.
2911         (__lll_robust_unlock): Likewise.
2912         (lll_wait_tid): Likewise.
2913         (lll_timedwait_tid): Likewise.
2915 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2917         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
2919 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2921         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
2923 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
2925         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
2926         * stdio-common/tst-sprintf.c: Likewise.
2928 2014-12-15  Torvald Riegel  <triegel@redhat.com>
2930         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
2932 2014-12-15  Jeff Law  <law@redhat.com>
2934         [BZ #16617]
2935         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
2936         on the heap.  (CVE-2012-3406)
2937         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
2938         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
2939         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
2941 2014-12-15  Will Newton  <will.newton@linaro.org>
2943         * manual/install.texi: Bump required version of texinfo
2944         to 4.7 from 4.5.
2945         * INSTALL: Regenerated.
2946         * configure.ac: Check for makeinfo version 4.7 and above.
2947         * configure: Regenerated.
2949 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2951         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
2952         PREFIX, string constant to insert between directory and name.
2953         * sysdeps/posix/shm_open.c: Update caller.
2954         * sysdeps/posix/shm_unlink.c: Likewise.
2955         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
2956         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
2957         (SEM_SHM_PREFIX): New macro.
2958         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
2959         [$(have-thread-library) = no].
2960         * nptl/Makefile (libpthread-routines): Add shm-directory.
2961         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
2962         * sysdeps/nptl/shm-directory.h: New file.
2963         * sysdeps/posix/shm-directory.c
2964         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
2965         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
2966         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
2967         INTERNAL_SYSCALL.
2968         (__where_is_shmfs): Function removed.
2969         (mountpoint, defaultmount, defaultdir, __namedsem_once):
2970         Variables removed.
2971         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
2972         Use SHM_GET_NAME.
2973         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
2975         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
2976         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
2977         unconditional for use inside libpthread.
2978         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
2980 2014-12-12  Roland McGrath  <roland@hack.frob.com>
2982         * nptl/pthread_getaffinity.c: New file.
2983         * nptl/pthread_setaffinity.c: New file.
2984         * nptl/pthread_getname.c: New file.
2985         * nptl/pthread_setname.c: New file.
2987         * nptl/pthread_create.c (START_THREAD_DEFN)
2988         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
2990 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2991             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2993         * resolv/res_send.c (send_vc): Disable warning resplen may
2994         be used uninitialized.
2996 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
2998         * nptl/tst-mutex6.c
2999         (ATTR_NULL): New define checks ATTR against NULL.
3000         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
3001         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
3003 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
3005         [BZ #17581]
3006         * malloc/hooks.c
3007         (mem2mem_check): Revert my previous change.
3008         (malloc_check_get_size): Revert my previous change.
3009         (mem2chunk_check): Revert my previous change.
3011 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3013         * sysdeps/posix/shm-directory.c: New file.
3014         * sysdeps/posix/shm-directory.h: New file.
3015         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
3016         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
3017         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
3018         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
3019         Transmute EPERM to EACCES.
3020         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
3021         from ...
3022         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
3023         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
3025 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3027         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
3028         pointer and cast to uintptr_t.
3029         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
3030         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
3031         Add cast to avoid warning.
3032         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
3034 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3036         * nptl/semaphore.h: Move to ...
3037         * sysdeps/pthread/semaphore.h: ... here.
3038         * Makefile (installed-headers): Change nptl/semaphore.h to
3039         sysdeps/pthread/semaphore.h.
3041 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3043         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
3044         generated error format strings.
3046         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
3047         -Wformat-extra-args warnings for scanf formats.
3048         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
3049         test of zero-length format (duh).
3050         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
3051         corner-case scanf format test.
3052         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
3053         generated fprintf format string.
3054         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
3055         corner-case sprintf format tests.
3056         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
3057         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
3058         -Wformat-extra-args warnings throughout.
3059         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
3060         (CFLAGS-scanf4.c): Likewise.
3061         (CFLAGS-scanf7.c): Likewise.
3062         (CFLAGS-tst-sprintf.c): Likewise.
3063         (CFLAGS-tst-printf.c): Likewise.
3064         (CFLAGS-tst-printfsz.c): Likewise.
3066 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
3068         * include/cpio.h: New file.
3069         * include/fmtmsg.h: Likewise.
3071         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
3072         corresponding format argument to size_t.
3073         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
3074         arguments.
3075         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
3076         corresponding format argument to size_t.
3077         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
3078         arguments.
3079         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
3080         corresponding format argument to size_t.
3081         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
3082         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
3083         (CFLAGS-tst-mbswcs2.c): Likewise.
3084         (CFLAGS-tst-mbswcs3.c): Likewise.
3085         (CFLAGS-tst-mbswcs4.c): Likewise.
3086         (CFLAGS-tst-mbswcs5.c): Likewise.
3087         (CFLAGS-tst-trans.c): Likewise
3089 2014-12-11  Roland McGrath  <roland@hack.frob.com>
3091         * posix/regexbug1.c (main): Use "%s" format with regerror results,
3092         rather than assuming they won't contain any '%'s.
3094 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
3096         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
3097         inhibit_loop_to_libcall to avoid recursive calls.
3098         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
3099         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
3101 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
3103         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
3104         prototype.
3106 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
3108         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
3109         integer value instead of boolean.
3111 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
3113         * malloc/malloc.c: Fix powerof2 check.
3115 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3117         * locale/programs/locfile.h (maybe_swap_uint32):
3118         Remove inline and add unused attribute.
3120 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
3122         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
3123         Truncating assembler expression to a .long expression.
3125 2014-12-11  Andreas Schwab  <schwab@suse.de>
3127         * elf/rtld.c (struct map_args): Constify str member.
3128         (do_preload): Constify fname argument.
3130 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3132         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
3133         constants definition.
3135 2014-12-11  Andreas Schwab  <schwab@suse.de>
3137         [BZ #16657]
3138         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
3139         FORCE_ELISION instead of DO_ELISION.
3140         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
3141         Remove.
3142         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
3143         Likewise.
3145         * iconvdata/gconv-modules: Remove duplicate entry.
3147 2014-12-11  Will Newton  <will.newton@linaro.org>
3149         Merge gettext 0.19.3 into intl/.
3151         This involves a number of cosmetic changes to comments
3152         and ANSI function definitions and prototypes throughout
3153         all the files. The gettext copyright header is used but
3154         with the date ranges taken from the glibc copy.
3156         * NEWS: Add gettext merge to 2.21.
3157         * intl/bindtextdom.c: Switch to gettext copyright.
3158         Use ANSI definitions and prototypes.
3159         Use gl_* locking primitives rather than __libc_* ones.
3160         Use __builtin_expect rather than __glibc_likely/unlikely.
3161         * intl/dcgettext.c: Switch to gettext copyright.
3162         Use ANSI definitions and prototypes.
3163         * intl/dcigettext.c: Switch to gettext copyright.
3164         Use ANSI definitions and prototypes.
3165         (INTDIV0_RAISES_SIGFPE): New define.
3166         Use gl_* locking primitives rather than __libc_* ones.
3167         Include eval-plural.h instead of plural-eval.c.
3168         Use __builtin_expect rather than __glibc_likely/unlikely.
3169         * intl/dcngettext.c: Switch to gettext copyright.
3170         Use ANSI definitions and prototypes.
3171         * intl/dgettext.c: Likewise.
3172         * intl/dngettext.c: Likewise.
3173         * intl/plural-eval.c: Renamed to...
3174         * intl/eval-plural.h: ...this.
3175         * intl/explodename.c: Switch to gettext copyright.
3176         Use ANSI definitions and prototypes.
3177         (_nl_explode_name): Use strchr instead of __rawmemchr.
3178         * intl/finddomain.c: Switch to gettext copyright.
3179         Use ANSI definitions and prototypes.
3180         Use gl_* locking primitives rather than __libc_* ones.
3181         (_nl_find_domain): Use malloc rather than alloca for
3182         allocation of temporary locale name.
3183         * intl/gettext.c: Switch to gettext copyright.
3184         Use ANSI definitions and prototypes.
3185         * intl/gettextP.h: Switch to gettext copyright.
3186         Use ANSI definitions and prototypes.
3187         Use gl_* locking primitives rather than __libc_* ones.
3188         * intl/gmo.h: Switch to gettext copyright.
3189         (struct sysdep_string): Move struct segment_pair outside of
3190         struct definition.
3191         * intl/hash-string.c: Use ANSI definitions and prototypes.
3192         * intl/hash-string.h: Switch to gettext copyright.
3193         Use ANSI definitions and prototypes.
3194         * intl/l10nflist.c: Switch to gettext copyright.
3195         Use ANSI definitions and prototypes.
3196         (_nl_normalize_codeset): Avoid integer overflow.
3197         * intl/loadinfo.h: Switch to gettext copyright.
3198         Use ANSI definitions and prototypes.
3199         (LIBINTL_DLL_EXPORTED): New define.
3200         (PATH_SEPARATOR): New define.
3201         * intl/loadmsgcat.c: Switch to gettext copyright.
3202         * intl/localealias.c: Switch to gettext copyright.
3203         Use ANSI definitions and prototypes.
3204         (_nl_expand_alias): Use PATH_SEPARATOR.
3205         * intl/ngettext.c: Switch to gettext copyright.
3206         Use ANSI definitions and prototypes.
3207         * intl/plural-exp.c: Likewise.
3208         * intl/plural-exp.h: Switch to gettext copyright.
3209         Use ANSI definitions and prototypes.
3210         (struct expression): Move definition of enum operator outside
3211         of struct definition.
3212         * intl/plural.c: Regenerate.
3213         * intl/plural.y: Switch to gettext copyright.
3214         Use ANSI definitions and prototypes.
3215         Port to bison 3.0.
3216         * intl/textdomain.c: Switch to gettext copyright.
3217         Use ANSI definitions and prototypes.
3218         Use gl_* locking primitives rather than __libc_* ones.
3220 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
3222         * debug/warning-nop.c: Add used atrribute.
3224 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3226         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
3228         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
3229         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
3230         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
3232 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3233             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3235         [BZ #17634]
3236         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
3237         Undefine after defining function.  Define as weak alias of
3238         __wcschr.  Use libc_hidden_weak.
3239         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
3240         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
3241         (libc_hidden_def): Also define __GI___wcschr alias.
3242         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
3243         __wcschr and define as weak alias of __wcschr.
3244         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
3245         __wcschr.
3246         [!WCSCHR] (DEFAULT_WCSCHR): Define.
3247         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
3248         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
3249         libc_hidden_weak.  Do not use libc_hidden_def.
3250         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
3251         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
3252         __GI___wcschr alias.
3253         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
3254         [IS_IN (libc)] (wcschr): Define as macro expanding to
3255         __redirect_wcschr.
3256         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
3257         [IS_IN (libc)] (__wcschr_power6): Likewise.
3258         [IS_IN (libc)] (__wcschr_power7): Likewise.
3259         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
3260         instead of wcschr.
3261         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
3262         __libc_wcschr.
3263         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
3264         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
3265         __wcschr and define as weak alias of __wcschr.  Use
3266         libc_hidden_builtin_def.
3267         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
3268         as weak alias of __wcschr.  Use libc_hidden_weak.
3269         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
3270         wcschr.
3271         * time/era.c (_nl_init_era_entries): Likewise.
3272         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
3273         variable.
3274         (test-xfail-XPG3/time.h/linknamespace): Likewise.
3275         (test-xfail-XPG4/time.h/linknamespace): Likewise.
3277 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3279         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
3280         format for long int variable.
3282 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
3284         [BZ #10672]
3285         * manual/search.texi: (Array Sort Function): Remove claim how to make
3286         qsort stable.
3288 2014-12-10  Andreas Schwab  <schwab@suse.de>
3290         [BZ #12847]
3291         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
3292         user-controlled locks.
3294 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
3296         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
3297         register.
3299 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
3301         * configure.ac (--disable-werror): New configure option.
3302         (enable_werror): New AC_SUBST.
3303         * configure: Regenerated.
3304         * config.make.in (enable-werror): New variable.
3305         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
3306         -Wno-error=undef.
3307         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
3308         * manual/install.texi (Configuring and compiling): Document
3309         --disable-werror.
3310         * INSTALL: Regenerated.
3311         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
3312         (CFLAGS-tst-chk2.c): Likewise.
3313         (CFLAGS-tst-chk3.c): Likewise.
3314         (CFLAGS-tst-chk4.cc): Likewise.
3315         (CFLAGS-tst-chk5.cc): Likewise.
3316         (CFLAGS-tst-chk6.cc): Likewise.
3317         (CFLAGS-tst-lfschk1.c): Likewise.
3318         (CFLAGS-tst-lfschk2.c): Likewise.
3319         (CFLAGS-tst-lfschk3.c): Likewise.
3320         (CFLAGS-tst-lfschk4.cc): Likewise.
3321         (CFLAGS-tst-lfschk5.cc): Likewise.
3322         (CFLAGS-tst-lfschk6.cc): Likewise.
3324         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
3325         (main): Disable -Wdeprecated-declarations around calls to
3326         register_printf_function.
3328         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
3329         (do_test): Disable -Wdiv-by-zero around some calls to
3330         fwrite_unlocked and fread_unlocked.
3332         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
3333         (DIAG_POP_NEEDS_COMMENT): Likewise.
3334         (_DIAG_STR1): Likewise.
3335         (_DIAG_STR): Likewise.
3336         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
3337         * stdio-common/bug21.c: Include <libc-internal.h>.
3338         (do_test): Disable -Wformat around call to sscanf.
3339         * stdio-common/scanf14.c: Include <libc-internal.h>.
3340         (main): Disable -Wformat around some calls to scanf functions.
3342 2014-12-09  Torvald Riegel  <triegel@redhat.com>
3344         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
3346 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3348         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
3349         stack variable alignment.
3351 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
3353         [BZ #17682]
3354         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
3355         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
3356         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
3357         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
3358         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
3359         __getrlimit instead of getrlimit.
3360         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
3361         __gettimeofday instead of gettimeofday.
3362         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
3363         Likewise.
3364         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
3365         Likewise.
3366         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
3367         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
3368         Remove variable.
3369         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
3370         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
3372 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3374         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
3375         for wide-character tests.
3377 2014-12-04  Roland McGrath  <roland@hack.frob.com>
3379         * io/openat64.c: #include <libc-internal.h>
3380         (__openat64): Prototypify.  Use ignore_value on MODE.
3381         * io/openat.c: Likewise.
3382         * misc/reboot.c: #include <libc-internal.h>
3383         (reboot): Prototypify.  Use ignore_value on HOWTO.
3384         * misc/ptrace.c: #include <libc-internal.h>
3385         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
3387 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
3389         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
3390         XPG4, UNIX98 and XOPEN2K.
3391         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
3392         Remove variable.
3393         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
3395 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3397         * libio/fileops.c: Use ISO C style for function definitions.
3398         * libio/iofopen.c: Likewise.
3399         * libio/wfileops.c: Likewise.
3401         [BZ #17653]
3402         * libio/fileops.c (_IO_new_file_underflow): Unset cached
3403         offset on EOF.
3404         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
3405         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
3406         (fgets_func): Function pointer to fgets and fgetws.
3407         (do_ftell_test): Add test to verify ftell value after read
3408         EOF.
3409         (do_test): Set fgets_func.
3411         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
3412         O_TRUNC flag for w and w+ modes.
3413         (do_rewind_test): Likewise.
3414         (do_ftell_test): Likewise.
3415         (do_write_test): Likewise.
3417         [BZ #17647]
3418         * libio/fileops.c (do_ftell): Seek only when there are
3419         unflushed writes.
3420         * libio/wfileops.c (do_ftell_wide): Likewise.
3421         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
3422         test case.
3423         (do_one_test): Call it.
3425 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
3427         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
3428         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
3429         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
3430         Remove variable.
3431         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
3432         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
3433         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
3435 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3437         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
3438         Remove variable.
3439         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
3441         [BZ #17668]
3442         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
3443         as weak alias of __getifaddrs.  Use libc_hidden_weak.
3444         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3445         __freeifaddrs.  Use libc_hidden_weak.
3446         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
3447         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
3448         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3449         __freeifaddrs.  Use libc_hidden_weak.
3450         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
3451         __getifaddrs and define as weak alias of __getifaddrs.  Use
3452         libc_hidden_weak.
3453         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
3454         __freeifaddrs.  Use libc_hidden_weak.
3455         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
3456         Remove variable.
3457         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
3458         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
3460 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
3462         [BZ #17601]
3463         * sysdeps/mips/start.S (__start): Use indirect jump to call
3464         __libc_start_main.
3466 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
3468         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
3470         * nptl/tst-mutex1.c: Include <stdbool.h>.
3471         [!ATTR] (ATTR_NULL): New macro.
3472         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
3473         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
3474         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
3476         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
3477         to char *.
3479         [BZ #17665]
3480         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
3481         Change conditional to [__USE_MISC].
3483         [BZ #17664]
3484         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
3485         fgets_unlocked.
3486         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
3487         __fgets_unlocked.
3488         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
3489         fgets_unlocked.
3490         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
3491         Remove variable.
3492         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
3493         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
3494         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
3495         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
3496         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
3497         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
3498         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
3499         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
3500         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
3502         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
3504 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3506         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3507         Remove strpbrk objects.
3508         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3509         (__libc_ifunc_impl_list): Remove strpbrk implementation.
3510         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
3511         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
3512         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
3513         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
3515         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3516         Remove strcspn objects.
3517         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3518         (__libc_ifunc_impl_list): Remove strcspn implementation.
3519         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
3520         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
3521         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
3522         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
3524         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
3525         Remove strspn objetcs.
3526         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3527         (__libc_ifunc_impl_list): Remove strspn implementation.
3528         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
3529         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3530         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
3531         * sysdeps/powerpc/powerpc64/strspn.S: New file.
3533 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
3535         [BZ #17581]
3536         * malloc/hooks.c
3537         (mem2mem_check): Add a terminator to the chain of checking blocks.
3538         (malloc_check_get_size): Use it here.
3539         (mem2chunk_check): Ditto.
3541 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3543         * sysdeps/powerpc/powerpc64/strtok.S: New file.
3544         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
3546 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
3548         * bits/ioctl-types.h: Indent preprocessor directives correctly.
3550         * nptl/nptl-init.c: Include libc-internal.h.
3551         (__pthread_initialize_minimal_internal): Use ROUND_UP.
3553         * elf/ldconfig.c (search_dir): Expand comment.
3555 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
3557         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
3558         variable.
3559         (linknamespace-symlist-stdlibs-tests): Likewise.
3560         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
3561         instead of $(objpfx)symlist-stdlibs.
3562         (linknamespace-libs-isoc): New variable.
3563         (linknamespace-libs): Use $(linknamespace-libs-isoc).
3564         (linknamespace-libs-ISO): New variable.
3565         (linknamespace-libs-ISO99): Likewise.
3566         (linknamespace-libs-ISO11): Likewise.
3567         (linknamespace-libs-XPG3): Likewise.
3568         (linknamespace-libs-XPG4): Likewise.
3569         (linknamespace-libs-POSIX): Likewise.
3570         (linknamespace-libs-UNIX98): Likewise.
3571         (linknamespace-libs-XOPEN2K): Likewise.
3572         (linknamespace-libs-POSIX2008): Likewise.
3573         (linknamespace-libs-XOPEN2K8): Likewise.
3574         ($(objpfx)symlist-stdlibs): Replace by
3575         $(linknamespace-symlist-stdlibs-tests).  Use
3576         $(linknamespace-libs-$*) as set of libraries.
3577         ($(linknamespace-header-tests)): Update dependencies.  Use
3578         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
3579         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
3580         * conform/linknamespace.pl: Remove comment about considering
3581         definitions of symbols from irrelevant libraries.
3583 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
3585         [BZ #13862]
3586         * elf/dl-tls.c: Include <atomic.h>.
3587         (oom): Remove #ifdef SHARED/#endif.
3588         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
3589         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
3590         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
3591         big enough.
3592         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
3593         * nptl/Makefile (tests): Add tst-stack4.
3594         (modules-names): Add tst-stack4mod.
3595         ($(objpfx)tst-stack4): New.
3596         (tst-stack4mod.sos): Likewise.
3597         ($(objpfx)tst-stack4.out): Likewise.
3598         ($(tst-stack4mod.sos)): Likewise.
3599         (clean): Likewise.
3600         * nptl/tst-stack4.c: New file.
3601         * nptl/tst-stack4mod.c: Likewise.
3603 2014-11-27  J. Brown  <jb999@gmx.de>
3605         * sysdeps/x86/bits/string.h: Add recent CPUs.
3607 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3609         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
3610         sigblock.
3612         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
3613         feof.
3615         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
3616         variable.
3618 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
3620         * nscd/connections.c: Include libc-internal.h because of macro
3621         usage ignore_value.
3623 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
3625         * string/bits/string3.h (__warn_memset_zero_len): Don't
3626         declare for gcc newer than 5.0.
3627         (memset): Don't test for zero-length __LEN for gcc newer than
3628         5.0.
3630 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
3632         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
3633         size_t for %zu format.
3635         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
3636         difference, not %ju.
3638 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3640         * include/libc-internal.h (ignore_value): New macro.
3641         * nscd/connections.c (restart): Wrap calls to setuid and setgid
3642         with ignore_value.
3644         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
3645         definition.
3647         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
3648         pthread_cleanup_push to void *.
3650         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
3651         Undefine.
3653         [BZ #16619]
3654         [BZ #16740]
3655         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
3656         instead of 1L << 52.
3658         * libio/bug-rewind.c (do_test): Check fwscanf return values.
3659         * libio/bug-rewind2.c (do_test): Likewise.
3661         * debug/test-stpcpy_chk-ifunc.c: Remove file.
3662         * debug/test-strcpy_chk-ifunc.c: Likewise.
3663         * wcsmbs/test-wcschr-ifunc.c: Likewise.
3664         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
3665         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
3666         * wcsmbs/test-wcslen-ifunc.c: Likewise.
3667         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
3668         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
3669         * Rules [$(multi-arch) = no] (tests): Do not filter out
3670         $(tests-ifunc).
3671         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
3672         * debug/Makefile (tests-ifunc): Remove variable.
3673         (tests): Do not add $(tests-ifunc).
3674         * wcsmbs/Makefile (tests-ifunc): Remove variable.
3675         (tests): Do not add $(tests-ifunc).
3676         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
3677         [TEST_IFUNC]: Remove conditionals.
3678         * string/test-string.h (TEST_IFUNC): Remove macro.
3679         [TEST_IFUNC]: Remove conditionals.
3681         * string/test-strchr.c [!WIDE] (L): New macro.
3682         [WIDE] (L): Likewise.
3683         (check1): Use CHAR instead of char.  Use L on string and character
3684         constants.
3686 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
3688         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
3689         tests.
3690         * sysdeps/powerpc/bits/atomic.h
3691         (__arch_atomic_exchange_and_add_32_acq): Add definition.
3692         (__arch_atomic_exchange_and_add_32_rel): Likewise.
3693         (atomic_exchange_and_add_acq): Likewise.
3694         (atomic_exchange_and_add_rel): Likewise.
3695         * sysdeps/powerpc/powerpc32/bits/atomic.h
3696         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3697         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3698         * sysdeps/powerpc/powerpc64/bits/atomic.h
3699         (__arch_atomic_exchange_and_add_64_acq): Add definition.
3700         (__arch_atomic_exchange_and_add_64_rel): Likewise.
3702 2014-11-26  Torvald Riegel  <triegel@redhat.com>
3704         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
3705         Change synchronization of __sched_fifo_min_prio and
3706         __sched_fifo_max_prio.
3707         * nptl/pthread_mutexattr_getprioceiling.c
3708         (pthread_mutexattr_getprioceiling): Likewise.
3709         * nptl/pthread_mutexattr_setprioceiling.c
3710         (pthread_mutexattr_setprioceiling): Likewise.
3711         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
3712         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
3713         Likewise.
3715 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
3717         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
3718         void.
3720 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3722         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
3723         third argument const.
3725 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
3727         fnmatch: work around GCC compiler warning bug with uninit var
3728         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
3729         This works around a bug with x86-64 GCC 4.9.2 and earlier
3730         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
3731         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
3732         used uninitialized in this function [-Wmaybe-uninitialized]".
3734 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
3736         * posix/bug-regex31.c (main): Return RES not 0.
3738 2014-11-25  Anton Blanchard <anton@samba.org>
3740         * sysdeps/powerpc/bits/atomic.h
3741         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
3743 2014-11-24  Sterling Augustine  <saugustine@google.com>
3745         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
3747 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
3749         [BZ #17608]
3750         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
3752 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
3754         [BZ #17633]
3755         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
3756         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
3757         variable.
3758         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
3759         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
3761 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3763         * string/strncpy.c (strncpy): Improve performance by using memset.
3765 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
3767         * string/strcpy.c (strcpy):
3768         Improve performance by using strlen and memcpy.
3770 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
3772         * string/strcoll_l.c (get_next_seq): __always_inline.
3773         * string/strcoll_l.c (do_compare): __always_inline.
3775 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
3777         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
3778         defined.
3779         * include/mqueue.h: Likewise.
3780         * include/stdlib.h: Likewise.
3782         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
3783         (get_null_defines): Adjust.
3784         * sunrpc/Makefile: Adjust comment.
3785         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
3786         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
3787         (CFLAGS-interp.c): Likewise.
3788         (CFLAGS-ldconfig.c): Likewise.
3789         (CPPFLAGS-.os): Likewise.
3790         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
3791         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
3792         * extra-modules.mk (extra-modules.mk): Likewise.
3793         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
3794         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
3795         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
3796         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
3797         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
3798         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
3799         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
3800         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
3801         * iconvdata/Makefile (CPPFLAGS): Likewise.
3802         (cpp-srcs-left): Add libof for all iconvdata routines.
3803         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
3804         * include/assert.h: Likewise.
3805         * include/ctype.h: Likewise.
3806         * include/errno.h: Likewise.
3807         * include/libc-symbols.h: Likewise.
3808         * include/math.h: Likewise.
3809         * include/netdb.h: Likewise.
3810         * include/resolv.h: Likewise.
3811         * include/stdio.h: Likewise.
3812         * include/stdlib.h: Likewise.
3813         * include/string.h: Likewise.
3814         * include/sys/stat.h: Likewise.
3815         * include/wctype.h: Likewise.
3816         * intl/l10nflist.c: Likewise.
3817         * libidn/idn-stub.c: Likewise.
3818         * libio/libioP.h: Likewise.
3819         * nptl/libc_multiple_threads.c: Likewise.
3820         * nptl/pthreadP.h: Likewise.
3821         * posix/regex_internal.h: Likewise.
3822         * resolv/res_hconf.c: Likewise.
3823         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
3824         * sysdeps/arm/memmove.S: Likewise.
3825         * sysdeps/arm/sysdep.h: Likewise.
3826         * sysdeps/generic/_itoa.h: Likewise.
3827         * sysdeps/generic/symbol-hacks.h: Likewise.
3828         * sysdeps/gnu/errlist.awk: Likewise.
3829         * sysdeps/gnu/errlist.c: Likewise.
3830         * sysdeps/i386/i586/memcpy.S: Likewise.
3831         * sysdeps/i386/i586/memset.S: Likewise.
3832         * sysdeps/i386/i686/memcpy.S: Likewise.
3833         * sysdeps/i386/i686/memmove.S: Likewise.
3834         * sysdeps/i386/i686/mempcpy.S: Likewise.
3835         * sysdeps/i386/i686/memset.S: Likewise.
3836         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
3837         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
3838         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
3839         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
3840         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
3841         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
3842         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
3843         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
3844         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
3845         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
3846         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
3847         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
3848         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
3849         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
3850         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
3851         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
3852         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
3853         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
3854         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
3855         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
3856         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
3857         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
3858         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
3859         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
3860         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
3861         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
3862         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
3863         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
3864         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
3865         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
3866         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
3867         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
3868         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
3869         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
3870         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
3871         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
3872         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
3873         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
3874         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
3875         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
3876         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
3877         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
3878         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
3879         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
3880         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
3881         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
3882         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
3883         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
3884         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
3885         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
3886         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
3887         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
3888         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
3889         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
3890         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
3891         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
3892         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
3893         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
3894         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
3895         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
3896         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
3897         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
3898         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
3899         * sysdeps/nptl/bits/libc-lock.h: Likewise.
3900         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
3901         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
3902         * sysdeps/posix/closedir.c: Likewise.
3903         * sysdeps/posix/opendir.c: Likewise.
3904         * sysdeps/posix/readdir.c: Likewise.
3905         * sysdeps/posix/rewinddir.c: Likewise.
3906         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
3907         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
3908         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3909         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3910         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3911         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
3912         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
3913         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
3914         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
3915         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
3916         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
3917         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
3918         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
3919         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
3920         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
3921         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
3922         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
3923         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
3924         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
3925         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
3926         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
3927         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
3928         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
3929         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
3930         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
3931         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
3932         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
3933         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
3934         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
3935         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
3936         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
3937         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
3938         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
3939         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
3940         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
3941         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
3942         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3943         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3944         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
3945         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
3946         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
3947         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
3948         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
3949         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3950         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
3951         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
3952         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
3953         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
3954         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
3955         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3956         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
3957         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
3958         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
3959         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
3960         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
3961         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
3962         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
3963         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
3964         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
3965         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
3966         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3967         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
3968         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
3969         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
3970         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
3971         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3972         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
3973         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
3974         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
3975         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
3976         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3977         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
3978         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
3979         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
3980         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
3981         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
3982         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
3983         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
3984         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
3985         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
3986         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
3987         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
3988         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
3989         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
3990         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3991         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
3992         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
3993         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
3994         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
3995         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
3996         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
3997         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
3998         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
3999         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
4000         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
4001         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
4002         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
4003         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
4004         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
4005         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
4006         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
4007         * sysdeps/unix/alpha/sysdep.S: Likewise.
4008         * sysdeps/unix/alpha/sysdep.h: Likewise.
4009         * sysdeps/unix/make-syscalls.sh: Likewise.
4010         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4011         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4012         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4013         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
4014         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4015         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
4016         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
4017         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4018         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4019         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
4020         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4021         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4022         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4023         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4024         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4025         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
4026         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4027         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4028         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4029         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4030         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
4031         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4032         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4033         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4034         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4035         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4036         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4037         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4039         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
4040         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4041         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
4043         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4044         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
4045         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4046         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
4047         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4048         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
4049         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
4050         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4051         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4052         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4053         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
4054         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4055         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4056         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4057         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
4058         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4059         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4060         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4061         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4062         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4063         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4064         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
4065         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4066         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4067         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4068         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
4069         * sysdeps/x86_64/memcpy.S: Likewise.
4070         * sysdeps/x86_64/memmove.c: Likewise.
4071         * sysdeps/x86_64/memset.S: Likewise.
4072         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
4073         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
4074         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
4075         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
4076         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
4077         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
4078         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
4079         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
4080         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
4081         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
4082         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
4083         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
4084         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
4085         * sysdeps/x86_64/multiarch/memset.S: Likewise.
4086         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
4087         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
4088         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
4089         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
4090         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
4091         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
4092         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
4093         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
4094         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4095         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
4096         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
4097         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
4098         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
4099         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
4100         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
4101         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
4102         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
4103         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
4104         * sysdeps/x86_64/strcmp.S: Likewise.
4106         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
4108         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
4109         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
4110         * elf/rtld-Rules: Likewise.
4111         * elf/setup-vdso.h: Likewise.
4112         * include/assert.h: Likewise.
4113         * include/bits/stdlib-float.h: Likewise.
4114         * include/errno.h: Likewise.
4115         * include/sys/stat.h: Likewise.
4116         * include/unistd.h: Likewise.
4117         * sysdeps/aarch64/setjmp.S: Likewise.
4118         * sysdeps/alpha/setjmp.S: Likewise.
4119         * sysdeps/arm/__longjmp.S: Likewise.
4120         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
4121         * sysdeps/arm/setjmp.S: Likewise.
4122         * sysdeps/arm/sysdep.h: Likewise.
4123         * sysdeps/generic/_itoa.h: Likewise.
4124         * sysdeps/generic/dl-sysdep.h: Likewise.
4125         * sysdeps/generic/ldsodefs.h: Likewise.
4126         * sysdeps/i386/dl-tls.h: Likewise.
4127         * sysdeps/i386/setjmp.S: Likewise.
4128         * sysdeps/m68k/setjmp.c: Likewise.
4129         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
4130         * sysdeps/mach/hurd/opendir.c: Likewise.
4131         * sysdeps/posix/getcwd.c: Likewise.
4132         * sysdeps/posix/opendir.c: Likewise.
4133         * sysdeps/posix/profil.c: Likewise.
4134         * sysdeps/powerpc/dl-procinfo.h: Likewise.
4135         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
4136         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
4137         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
4138         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4139         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
4140         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4141         * sysdeps/s390/dl-tls.h: Likewise.
4142         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4143         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4144         * sysdeps/sh/sh3/setjmp.S: Likewise.
4145         * sysdeps/sh/sh4/setjmp.S: Likewise.
4146         * sysdeps/unix/alpha/sysdep.h: Likewise.
4147         * sysdeps/unix/arm/sysdep.S: Likewise.
4148         * sysdeps/unix/i386/sysdep.S: Likewise.
4149         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4150         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
4151         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
4152         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
4153         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4154         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
4155         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4156         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4157         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
4158         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
4159         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
4160         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
4161         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
4162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4164         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
4165         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4166         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4167         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
4168         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4169         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
4170         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4171         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4172         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
4173         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4174         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
4175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4176         * sysdeps/unix/x86_64/sysdep.S: Likewise.
4177         * sysdeps/x86_64/setjmp.S: Likewise.
4179         * include/math.h: Use IS_IN instead of IS_IN_libm.
4180         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
4181         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
4182         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
4183         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
4184         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
4185         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
4186         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
4187         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
4188         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
4189         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
4190         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
4191         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
4192         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
4193         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
4194         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
4195         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
4196         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
4197         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
4198         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
4199         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
4200         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
4201         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
4202         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
4203         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
4204         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
4205         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
4206         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
4207         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
4208         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
4209         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
4210         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
4211         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
4212         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
4213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
4214         Likewise.
4215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
4216         Likewise.
4217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
4218         Likewise.
4219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
4220         Likewise.
4221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
4222         Likewise.
4223         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
4224         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
4225         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
4226         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
4227         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
4228         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
4229         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
4230         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
4231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
4232         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
4233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
4234         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
4235         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
4236         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
4237         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
4238         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
4239         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
4240         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
4241         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
4242         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
4243         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
4244         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
4245         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
4246         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
4247         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
4248         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
4249         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
4251         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
4252         * nptl/pthreadP.h: Likewise.
4253         * nptl_db/structs.def: Likewise.
4254         * sysdeps/arm/sysdep.h: Likewise.
4255         * sysdeps/nptl/bits/libc-lock.h: Likewise.
4256         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
4257         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
4258         * sysdeps/unix/alpha/sysdep.h: Likewise.
4259         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4260         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4261         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4262         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4263         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4264         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4265         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4266         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4267         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4268         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4269         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4270         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4271         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4272         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4273         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
4274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
4275         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4276         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4277         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4278         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4279         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4280         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4281         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4282         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4283         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
4284         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4286         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
4287         * nptl/pthreadP.h: Likewise.
4288         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
4289         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
4290         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
4291         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
4292         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
4293         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
4294         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4295         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
4296         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
4297         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
4298         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
4299         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
4300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
4301         Likewise.
4302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
4303         Likewise.
4304         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
4305         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
4306         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
4307         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
4308         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
4309         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
4310         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
4311         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
4313         * dlfcn/dladdr.c: Use IS_IN.
4314         * dlfcn/dladdr1.c: Likewise.
4315         * dlfcn/dlclose.c: Likewise.
4316         * dlfcn/dlerror.c: Likewise.
4317         * dlfcn/dlinfo.c: Likewise.
4318         * dlfcn/dlmopen.c: Likewise.
4319         * dlfcn/dlopen.c: Likewise.
4320         * dlfcn/dlsym.c: Likewise.
4321         * dlfcn/dlvsym.c: Likewise.
4323         * include/ifaddrs.h: Use IS_IN.
4324         * inet/check_pf.c: Likewise.
4325         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
4326         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
4328         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
4329         IS_IN_ldconfig.
4330         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
4331         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
4333         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
4334         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
4335         IS_IN (libc).
4337         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
4339         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
4340         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
4341         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
4342         * include/libc-symbols.h (IS_IN_LIB): New macro.
4343         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
4344         * include/netdb.h: Likewise.
4345         * include/stap-probe.h: Remove all uses of IN_LIB.
4347         * Makeconfig (module-cppflags-real): Define MODULE_NAME
4348         instead of IN_MODULE.
4349         * include/libc-symbols.h (IN_MODULE): Define using
4350         MODULE_NAME.
4351         (PASTE_NAME, PASTE_NAME1): New macros.
4352         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
4353         of IN_LIB.
4354         (STAP_PROBE_ASM): Likewise.
4356 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4358         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
4359         __mach_init in dlopened libc.
4361 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
4363         * sysdeps/arm/preconfigure.ac: Delete EABI check.
4364         * sysdeps/arm/preconfigure: Regenerate.
4366 2014-11-21  Roland McGrath  <roland@hack.frob.com>
4368         * nptl/pthread_create.c (__pthread_create_2_1): Set
4369         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
4370         when copying values from IATTR into PD.
4372 2014-11-21  Will Newton  <will.newton@linaro.org>
4373             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
4375         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
4376         Refactor inline-asm.  Also add comment.
4378         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
4379         ElfW macro instead of hardcoded Elf64 types.
4380         (la_aarch64_gnu_pltenter): Likewise.
4381         * sysdeps/aarch64/dl-machine.h
4382         (elf_machine_runtime_setup): Use ElfW(Addr).
4384         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
4385         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
4386         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
4387         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
4388         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
4389         (R_AARCH64_TLS_DTPMOD64): Rename to ..
4390         (R_AARCH64_TLS_DTPMOD): This.
4391         (R_AARCH64_TLS_DTPREL64): Rename to ...
4392         (R_AARCH64_TLS_DTPREL): This.
4393         (R_AARCH64_TLS_TPREL64): Rename to ...
4394         (R_AARCH64_TLS_TPREL): This.
4395         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
4396         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
4397         R_AARCH64_TLS_TPREL64.
4398         (elf_machine_rela): Likewise.
4400 2014-11-21  Torvald Riegel  <triegel@redhat.com>
4402         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
4403         by setting it to 0.  64b atomics are not supported currently.
4405 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4407         [BZ #16469]
4408         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
4409         search domain names.
4411 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4413         [BZ #16469]
4414         * NEWS: Update.
4415         * resolv/res_query.c (__libc_res_nquerydomain): Retain
4416         trailing dot.
4417         * posix/tst-getaddrinfo5.c: New.
4418         * posix/Makefile (tests): Add it.
4420 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4422         [BZ #14498]
4423         * NEWS: Fixed.
4424         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
4425         after parsing line but before break_if_match.
4426         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
4427         if there is a protocol mismatch.
4429 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
4431         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
4432         because the potential race is on the user-supplied stream.
4434 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4436         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
4437         string literal if not passed a buffer.
4438         * manual/job.texi (ctermid): Update reasoning, note deviation
4439         from posix, suggest mtasurace when not passed a buffer, for
4440         future non-preliminary safety notes.
4442 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4444         * manual/users.texi (cuserid): Fix MT-Safety note for the case
4445         of not passing it a buffer.
4446         Reported by Peng Haitao.
4448 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
4450         * manual/Makefile ($(objpfx)stamp-summary): Require
4451         check-safety.sh to pass.
4452         * manual/check-safety.sh: Wish for verification that every
4453         @deftypefn and @deftypefun is followed by a @safety remark.
4455 2014-11-20  Roland McGrath  <roland@hack.frob.com>
4457         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
4459         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
4460         PTHREAD_CANCEL_ASYNCHRONOUS.
4461         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
4462         send SIGCANCEL.
4464         * nptl/default-sched.h: New file.
4465         * sysdeps/unix/sysv/linux/default-sched.h: New file.
4466         * nptl/pthread_create.c: Include it.
4467         (__pthread_create_2_1): Use collect_default_sched instead of making
4468         Linux syscalls here directly.
4470 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4472         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
4473         __pthread_once): Use C11 atomics.
4475 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4477         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
4479 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4481         * include/atomic.h (__atomic_link_error, __atomic_check_size,
4482         atomic_thread_fence_acquire, atomic_thread_fence_release,
4483         atomic_thread_fence_seq_cst, atomic_load_relaxed,
4484         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
4485         atomic_compare_exchange_weak_relaxed,
4486         atomic_compare_exchange_weak_acquire,
4487         atomic_compare_exchange_weak_release,
4488         atomic_exchange_acquire, atomic_exchange_release,
4489         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
4490         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
4491         atomic_fetch_and_acquire,
4492         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
4494 2014-11-20  Torvald Riegel  <triegel@redhat.com>
4496         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
4497         USE_ATOMIC_COMPILER_BUILTINS): Define.
4498         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
4499         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4500         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
4501         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4502         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
4503         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4504         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
4505         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4506         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
4507         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4508         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
4509         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4510         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
4511         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4512         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
4513         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4514         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4515         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4516         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4517         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4518         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
4519         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4520         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
4521         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4522         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
4523         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4524         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
4525         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4526         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
4527         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4528         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
4529         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4530         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
4531         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4532         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
4533         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4534         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
4535         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4536         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
4537         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
4539 2014-11-19  Roland McGrath  <roland@hack.frob.com>
4541         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
4542         the sched_priority value here.  It was already checked when the user
4543         called pthread_attr_setschedparam.
4545         * nptl/tst-bad-schedattr.c: New file.
4546         * nptl/Makefile (tests): Add it.
4548 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
4549             Florian Weimer  <fweimer@redhat.com>
4550             Joseph Myers  <joseph@codesourcery.com>
4551             Adam Conrad  <adconrad@0c3.net>
4552             Andreas Schwab  <schwab@suse.de>
4553             Brooks  <bmoses@google.com>
4555         [BZ #17625]
4556         * wordexp-test.c (__dso_handle): Add prototype.
4557         (__register_atfork): Likewise.
4558         (__app_register_atfork): New function.
4559         (registered_forks): New global.
4560         (register_fork): New function.
4561         (test_case): Add 3 new tests for WRDE_CMDSUB.
4562         (main): Call __app_register_atfork.
4563         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
4564         fork count is non-zero fail the test.
4565         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
4566         is set.
4567         (parse_dollars): Remove check for WRDE_NOCMD.
4568         (parse_dquote): Likewise.
4570 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4572         * Makeconfig (built-modules): List non-library modules to be
4573         built.
4574         (module-cppflags): Include libc-modules.h for
4575         everything except shlib-versions.v.i.
4576         (CPPFLAGS): Use it.
4577         (before-compile): Add libc-modules.h.
4578         ($(common-objpfx)libc-modules.h,
4579         $(common-objpfx)libc-modules.stmp): New targets.
4580         (common-generated): Add libc-modules.h and libc-modules.stmp.
4581         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
4582         * include/libc-symbols.h: Don't include libc-modules.h.
4583         * include/libc-modules.h: Remove file.
4584         * scripts/gen-libc-modules.awk: New script to generate
4585         libc-modules.h.
4586         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
4587         Depend on libc-modules.stmp.
4589         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
4591         * Makeconfig (in-module): Get value of libof set for the
4592         translation unit.
4593         (CPPFLAGS): Use $(in-module).
4594         * Makerules: Don't suffix routine names for nonlib.
4595         * include/libc-modules.h: New file.
4596         * include/libc-symbols.h: Include libc-modules.h
4597         (IS_IN): New macro to replace IS_IN_* macros.
4598         * elf/Makefile: Set libof-* for each routine.
4599         * elf/rtld-Rules: Likewise.
4600         * extra-modules.mk: Likewise.
4601         * iconv/Makefile: Likewise.
4602         * iconvdata/Makefile: Likewise.
4603         * locale/Makefile: Likewise.
4604         * malloc/Makefile: Likewise.
4605         * nss/Makefile: Likewise.
4606         * sysdeps/gnu/Makefile: Likewise.
4607         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
4608         * sysdeps/unix/sysv/linux/Makefile: Likewise.
4609         * sysdeps/s390/s390-64/Makefile: Likewise.
4610         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
4611         CPPFLAGS for nscd instead of nonlib.
4613 2014-11-18  Roland McGrath  <roland@hack.frob.com>
4615         * nptl/createthread.c: New file.
4617         * nptl/createthread.c: Moved ...
4618         * sysdeps/unix/sysv/linux/createthread.c: ... here.
4620         * nptl/createthread.c: Add proper top-line comment.
4621         (do_clone): Folded into ...
4622         (create_thread): ... here.  Take new arguments STOPPED_START and
4623         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
4624         increment __nptl_threads, do event-reporting logic, do
4625         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
4626         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
4627         resource cleanup if sched_setaffinity or sched_setscheduler fails,
4628         just send SIGCANCEL.
4629         * nptl/pthread_create.c: Forward-declare create_thread before
4630         including createthread.c.
4631         (start_thread): Use new macro START_THREAD_DEFN to replace defining
4632         declaration, and new macro START_THREAD_SELF to replace argument.
4633         Remove return statement.
4634         (report_thread_creation): New function.
4635         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
4636         synchronization logic, and __nptl_nthreads increment here, around
4637         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
4638         PD->parent_cancelhandling here, before create_thread.  When
4639         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
4640         __deallocate_stack, and ENOMEM translation here.
4642 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
4644         [BZ #17616]
4645         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
4646         (mptwo): Rename to __mptwo.
4647         (__inv): Use __mptwo instead of mptwo.
4648         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
4649         (mptwo): Rename to __mptwo.
4650         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
4651         of mpone and __mptwo instead of mptwo.
4652         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
4653         instead of mpone.
4654         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
4655         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
4656         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
4657         of mpone and __mptwo instead of mptwo.
4658         (__mpranred): Use __mpone instead of mpone.
4659         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
4660         variable.
4661         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4662         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4663         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4664         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4665         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4666         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4667         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4668         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4669         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4670         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4671         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4672         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4673         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4674         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4675         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4676         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4677         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4678         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4679         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
4681 2014-11-18  Tom de Vries  <tom@codesoucery.com>
4683         * manual/signal.texi (Primitives Interrupted by Signals): In section,
4684         replace BSD Handler xref with BSD Signal Handling.
4686 2014-11-17  Richard Henderson  <rth@redhat.com>
4688         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
4689         (_FP_PACK_RAW_2): Remove.
4690         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
4691         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
4692         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
4693         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
4694         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
4695         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
4696         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
4697         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
4698         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
4699         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
4700         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
4701         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
4702         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
4703         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
4704         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
4705         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
4707 2014-11-14  Roland McGrath  <roland@hack.frob.com>
4709         * signal/signal.h [__USE_MISC]
4710         (struct sigvec): Remove type.
4711         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
4712         (sigvec): Remove declaration.
4713         * sysdeps/posix/sigvec.c: Moved ...
4714         * signal/sigvec.c: ... here, replacing old file.
4715         (struct sigvec): New type, copied from old signal.h definition.
4716         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
4717         (__sigvec): Convert definition to prototype.
4718         (sigvec): Replace weak_alias with compat_symbol.
4719         * signal/Versions (libc: GLIBC_2.21): New version set.
4720         * include/signal.h: Remove __sigvec declaration.
4721         * sysdeps/unix/bsd/sigvec.c: Remove file.
4722         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
4723         * manual/signal.texi (BSD Handler): Remove subsection.
4724         Move siginterrupt up to ...
4725         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
4726         (Blocking in BSD): Fold subsection into its parent.
4727         * NEWS: Mention sigvec removal.
4729 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4731         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
4732         (DLA_FMS): Make definition conditional only on [__FMA4__].
4733         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
4734         definition.
4736         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
4737         Make definition conditional only on [PROF].
4738         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
4739         definition.
4740         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
4741         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
4743         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
4744         !__GNUC__].
4745         * include/signal.h (__sigpause): Move declaration above call to
4746         libc_hidden_proto.
4747         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
4748         variable.
4749         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4750         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4752 2014-11-14  David S. Miller  <davem@davemloft.net>
4754         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
4755         Define before including <string/memcpy.c> and <string/mempcpy.c>.
4757 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
4759         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
4760         * configure: Regenerated.
4761         * manual/install.texi (Tools for Compilation): Document a
4762         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
4763         compiler verified to work.
4764         * INSTALL: Regenerated.
4766         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
4767         redeclare with asm name.
4768         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
4769         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
4770         including <string.h>.
4771         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4772         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
4773         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4774         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
4775         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4776         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
4777         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
4779 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
4781         * stdlib/strtol.c (__strtol): Use prototype definition.
4783         [BZ #17594]
4784         * stdlib/strtol.c (SYM__): New macro.
4785         (SYM__1): Likewise.
4786         (__strtol): Likewise.
4787         (strtol): Rename to __strtol and define as weak alias of
4788         __strtol.  Use libc_hidden_weak.
4790 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4792         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
4793         Use numbered labels in inline assembly.
4795 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4797         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
4798         Add setjmp LIBC_PROBE.
4799         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
4800         Likewise.
4801         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
4802         Add longjmp, longjmp_target LIBC_PROBE.
4803         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
4804         Likewise.
4806 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4808         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
4809         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
4810         to get rid of unused variable warning.
4812 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
4814         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
4815         Check for unwind_backtrace ==  NULL only in SHARED case.
4816         (__backchain_backtrace): Compile only in SHARED case.
4817         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
4818         Likewise.
4819         (__backchain_backtrace): Declare as static.
4821 2014-11-12  Roland McGrath  <roland@hack.frob.com>
4823         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
4824         (__libc_multiple_threads_ptr): Variable moved ...
4825         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
4827 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
4829         * conform/GlibcConform.pm: New file.
4830         * conform/conformtest.pl: Use GlibcConform module.
4831         * conform/linknamespace.pl: New file.
4832         * conform/list-header-symbols.pl: Likewise.
4833         * conform/Makefile (linknamespace-symlists-base): New variable.
4834         (linknamespace-symlists-tests): Likewise.
4835         (linknamespace-header-base): Likewise.
4836         (linknamespace-header-tests): Likewise.
4837         (tests-special): Add new tests.
4838         ($(linknamespace-symlists-tests)): New rule.
4839         (linknamespace-libs): New variable.
4840         ($(objpfx)symlist-stdlibs): New rule.
4841         ($(linknamespace-header-tests)): Likewise.
4842         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
4843         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
4844         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
4845         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
4846         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
4847         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
4848         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
4849         (test-xfail-ISO/math.h/linknamespace): Likewise.
4850         (test-xfail-ISO/signal.h/linknamespace): Likewise.
4851         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
4852         (test-xfail-ISO/time.h/linknamespace): Likewise.
4853         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
4854         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
4855         (test-xfail-ISO99/math.h/linknamespace): Likewise.
4856         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
4857         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
4858         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
4859         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
4860         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
4861         (test-xfail-ISO11/math.h/linknamespace): Likewise.
4862         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
4863         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
4864         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
4865         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
4866         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
4867         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
4868         (test-xfail-XPG3/math.h/linknamespace): Likewise.
4869         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
4870         (test-xfail-XPG3/search.h/linknamespace): Likewise.
4871         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
4872         (test-xfail-XPG3/time.h/linknamespace): Likewise.
4873         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
4874         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
4875         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
4876         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
4877         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
4878         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
4879         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
4880         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
4881         (test-xfail-XPG4/math.h/linknamespace): Likewise.
4882         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
4883         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
4884         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
4885         (test-xfail-XPG4/search.h/linknamespace): Likewise.
4886         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
4887         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
4888         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
4889         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
4890         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
4891         (test-xfail-XPG4/time.h/linknamespace): Likewise.
4892         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
4893         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
4894         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
4895         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
4896         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
4897         (test-xfail-POSIX/math.h/linknamespace): Likewise.
4898         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
4899         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
4900         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
4901         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
4902         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
4903         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
4904         (test-xfail-POSIX/time.h/linknamespace): Likewise.
4905         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
4906         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
4907         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
4908         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
4909         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
4910         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
4911         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
4912         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
4913         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
4914         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
4915         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
4916         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
4917         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
4918         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
4919         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
4920         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
4921         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
4922         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
4923         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
4924         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
4925         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
4926         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
4927         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
4928         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
4929         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
4930         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
4931         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
4932         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
4933         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
4934         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
4935         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
4936         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
4937         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
4938         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
4939         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
4940         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
4941         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
4942         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
4943         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
4944         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
4945         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
4946         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
4947         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
4948         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
4949         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
4950         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
4951         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
4952         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
4953         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
4954         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
4955         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
4956         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
4957         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
4958         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
4959         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
4960         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
4961         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
4962         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
4963         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
4964         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
4965         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
4966         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
4967         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
4968         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
4969         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
4970         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
4971         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
4972         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
4973         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
4974         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
4975         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
4976         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
4977         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
4978         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
4979         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
4980         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
4981         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
4982         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
4983         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
4984         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
4985         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
4986         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
4987         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
4988         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
4989         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
4990         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
4991         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
4992         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
4993         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
4994         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
4995         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
4996         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
4997         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
4998         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
4999         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
5000         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
5001         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
5002         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
5004         [BZ #17589]
5005         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
5006         of fgets_unlocked.
5008         [BZ #17585]
5009         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
5010         (memmem): Rename to __memmem and define as weak alias of
5011         __memmem.  Use libc_hidden_weak.
5012         (__memmem): Use libc_hidden_def.
5013         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
5014         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
5015         memmem.
5017         [BZ #17582]
5018         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
5019         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
5020         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
5021         and define as weak alias of __fgets_unlocked.  Use
5022         libc_hidden_weak.
5023         (__fgets_unlocked): Use libc_hidden_def.
5024         * include/stdio.h (__fgets_unlocked): Declare.  Use
5025         libc_hidden_proto.
5026         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
5027         __fgets_unlocked instead of fgets_unlocked.
5028         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
5029         (GET_NPROCS_CONF_PARSER): Likewise.
5030         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
5031         (GET_NPROCS_CONF_PARSER): Likewise.
5033         [BZ #17574]
5034         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
5035         weak alias of __wmemset.  Use libc_hidden_weak.
5036         (__wmemset): Use libc_hidden_def.
5037         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
5038         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
5039         of wmemset.
5041         [BZ #17573]
5042         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
5043         with asm name __mempcpy.
5044         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
5046         [BZ #17572]
5047         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
5048         and define as weak alias of __rawmemchr.
5049         (__rawmemchr): Do not define as strong alias of rawmemchr.
5051         [BZ #17571]
5052         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
5053         alias of __qsort_r.
5054         (qsort): Call __qsort_r instead of qsort_r.
5055         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
5056         (__qsort_r): Declare.  Call libc_hidden_proto.
5057         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
5058         instead of qsort_r.
5059         * nscd/gai.c (__qsort_r): Define to qsort_r.
5060         * posix/tst-rfc3484.c (__qsort_r): Likewise.
5061         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
5062         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
5064         [BZ #17570]
5065         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
5066         define as weak alias of __malloc_info.
5068         [BZ #17584]
5069         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
5070         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5071         (__rewinddir): Use libc_hidden_def.
5072         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
5073         as weak alias of __rewinddir.  Don't use libc_hidden_def.
5074         (__rewinddir): Use libc_hidden_def.
5075         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
5076         weak alias of __rewinddir.  Don't use libc_hidden_def.
5077         (__rewinddir): Use libc_hidden_def.
5078         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
5079         (__rewinddir): Use libc_hidden_proto.
5080         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
5081         rewinddir.
5082         (__getcwd): Use __rewinddir instead of rewinddir.
5084         [BZ #17583]
5085         * libio/fileno.c (fileno): Rename to __fileno and define as weak
5086         alias of __fileno.  Use libc_hidden_weak.
5087         (__fileno): Use libc_hidden_def.
5088         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
5089         * libio/ftello.c (ftello): Rename to __ftello and define as weak
5090         alias of __ftello.
5091         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
5092         __ftello.
5093         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
5094         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
5095         libc_hidden_def.
5096         (fread_unlocked): Don't use libc_hidden_ver.
5097         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
5098         and define as weak alias of __fread_unlocked.  Don't use
5099         libc_hidden_def.
5100         (__fread_unlocked): Use libc_hidden_def.
5101         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
5102         (ftello): Don't use libc_hidden_proto.
5103         (__ftello): Declare.  Use libc_hidden_proto.
5104         (fread_unlocked): Don't use libc_hidden_proto.
5105         (__fread_unlocked): Declare.  Use libc_hidden_proto.
5106         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
5107         and __ftello instead of fileno, fread_unlocked and ftello.
5109 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5111         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
5112         GOT12.
5113         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
5114         Likewise.
5115         (_dl_start_user): Likewise.
5116         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
5118 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
5119             Siddhesh Poyarekar  <siddhesh@redhat.com>
5121         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
5122         Move argv and envp down instead of moving argc up.
5123         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
5125 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
5127         [BZ #17506]
5128         * test-skeleton.c (main): Return successful if one of
5129         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
5130         * string/tst-strcoll-overflow.c: Define expected status.
5132 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
5134         [BZ #17475]
5135         * locale/iso-639.def: Define Bhili and Tulu language codes.
5137 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
5139         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
5141 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
5143         [BZ #17555]
5144         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
5146 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
5148         * configure.ac: Updated check of minimal required version to
5149         2.22.
5150         * manual/install.texi (Tools for Compilation): Updated version
5151         number.
5152         * configure: Regenerated.
5153         * INSTALL: Likewise.
5155 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
5157         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
5158         __tls_get_addr.
5160 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
5162         * include/sys/wait.h (__libc_waitpid): Remove declaration.
5163         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
5164         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5165         libc_hidden_weak.
5166         (waitpid): Define as alias of __waitpid.
5167         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
5168         __waitpid.
5169         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5170         libc_hidden_weak.
5171         (waitpid): Define as alias of __waitpid.
5172         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
5173         __libc_waitpid alias.
5174         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
5175         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
5176         Likewise.
5177         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
5178         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
5179         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
5180         alias.
5181         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
5182         __waitpid.
5183         (__waitpid): Don't define as alias.  Use libc_hidden_def not
5184         libc_hidden_weak.
5185         (waitpid): Define as alias of __waitpid.
5187 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
5189         * manual/llio.texi: Add comment that write safety has been
5190         fixed in Linux.
5192         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
5193         (localplt-build-dso): Add elf/ld.so.
5194         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
5195         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
5196         and free for ld.so.
5197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
5198         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
5199         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
5200         Likewise.
5201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
5202         Likewise.
5203         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
5204         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
5205         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
5206         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
5207         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
5208         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
5209         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
5210         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
5211         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
5212         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
5213         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
5215 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
5217         [BZ #14132]
5218         * include/libc-symbols.h (INTUSE): Remove macro.
5219         (INTDEF): Likewise.
5220         (INTVARDEF): Likewise.
5221         (_INTVARDEF): Likewise.
5222         (INTDEF2): Likewise.
5223         (INTVARDEF2): Likewise.
5224         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
5225         rtld_hidden_def instead of INTVARDEF.
5226         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
5227         (_dl_starting_up_internal): Remove declaration.
5228         (_dl_starting_up): Use rtld_hidden_proto.
5229         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
5230         declaration.
5231         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
5232         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
5233         _dl_starting_up.
5234         * elf/dl-writev.h (_dl_writev): Likewise.
5235         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
5236         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
5237         _dl_starting_up_internal.
5239 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5241         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
5242         test-skeleton.c.
5244 2014-11-05  Will Newton  <will.newton@linaro.org>
5246         * benchtests/Makefile: (bench-malloc): Add malloc thread
5247         scalability benchmark.
5248         * benchtests/bench-malloc-threads.c: New file.
5250 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
5252         * sysdeps/aarch64/strchrnul.S: New file.
5254 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5256         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
5257         definition.
5258         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
5259         Likwise.
5260         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
5261         Likewise.
5262         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
5263         Likewise.
5264         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
5265         Likewise.
5266         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
5267         Likewise.
5269 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
5271         * catgets/test-gencat.c: Use test-skeleton.c.
5272         * catgets/tst-catgets.c: Likewise.
5273         * csu/tst-empty.c: Likewise.
5274         * elf/tst-audit2.c: Likewise.
5275         * elf/tst-global1.c: Likewise.
5276         * elf/tst-pathopt.c: Likewise.
5277         * elf/tst-piemod1.c: Likewise.
5278         * elf/tst-tls10.c: Likewise.
5279         * elf/tst-tls11.c: Likewise.
5280         * elf/tst-tls12.c: Likewise.
5281         * gnulib/tst-gcc.c: Likewise.
5282         * iconvdata/tst-e2big.c: Likewise.
5283         * iconvdata/tst-loading.c: Likewise.
5284         * iconv/tst-iconv1.c: Likewise.
5285         * iconv/tst-iconv2.c: Likewise.
5286         * inet/test-inet6_opt.c: Likewise.
5287         * inet/tst-gethnm.c: Likewise.
5288         * inet/tst-network.c: Likewise.
5289         * inet/tst-ntoa.c: Likewise.
5290         * intl/tst-codeset.c: Likewise.
5291         * intl/tst-gettext2.c: Likewise.
5292         * intl/tst-gettext3.c: Likewise.
5293         * intl/tst-ngettext.c: Likewise.
5294         * intl/tst-translit.c: Likewise.
5295         * io/test-stat.c: Likewise.
5296         * libio/test-fmemopen.c: Likewise.
5297         * libio/tst-freopen.c: Likewise.
5298         * libio/tst-sscanf.c: Likewise.
5299         * libio/tst-ungetwc1.c: Likewise.
5300         * libio/tst-ungetwc2.c: Likewise.
5301         * libio/tst-widetext.c: Likewise.
5302         * localedata/tst-ctype.c: Likewise.
5303         * localedata/tst-digits.c: Likewise.
5304         * localedata/tst-leaks.c: Likewise.
5305         * localedata/tst-mbswcs1.c: Likewise.
5306         * localedata/tst-mbswcs2.c: Likewise.
5307         * localedata/tst-mbswcs3.c: Likewise.
5308         * localedata/tst-mbswcs4.c: Likewise.
5309         * localedata/tst-mbswcs5.c: Likewise.
5310         * localedata/tst-setlocale.c: Likewise.
5311         * localedata/tst-trans.c: Likewise.
5312         * localedata/tst-wctype.c: Likewise.
5313         * localedata/tst-xlocale1.c: Likewise.
5314         * login/tst-grantpt.c: Likewise.
5315         * malloc/tst-calloc.c: Likewise.
5316         * malloc/tst-malloc.c: Likewise.
5317         * malloc/tst-mallocstate.c: Likewise.
5318         * malloc/tst-mcheck.c: Likewise.
5319         * malloc/tst-mtrace.c: Likewise.
5320         * malloc/tst-obstack.c: Likewise.
5321         * math/atest-exp2.c: Likewise.
5322         * math/atest-exp.c: Likewise.
5323         * math/atest-sincos.c: Likewise.
5324         * math/test-matherr.c: Likewise.
5325         * math/test-misc.c: Likewise.
5326         * math/test-powl.c: Likewise.
5327         * math/tst-definitions.c: Likewise.
5328         * misc/tst-dirname.c: Likewise.
5329         * misc/tst-efgcvt.c: Likewise.
5330         * misc/tst-fdset.c: Likewise.
5331         * misc/tst-hsearch.c: Likewise.
5332         * misc/tst-mntent2.c: Likewise.
5333         * nptl/tst-sem7.c: Likewise.
5334         * nptl/tst-sem8.c: Likewise.
5335         * nptl/tst-sem9.c: Likewise.
5336         * nss/test-netdb.c: Likewise.
5337         * posix/tst-fnmatch.c: Likewise.
5338         * posix/tst-getlogin.c: Likewise.
5339         * posix/tst-gnuglob.c: Likewise.
5340         * posix/tst-mmap.c: Likewise.
5341         * pwd/tst-getpw.c: Likewise.
5342         * resolv/tst-inet_ntop.c: Likewise.
5343         * rt/tst-timer.c: Likewise.
5344         * stdio-common/test-fseek.c: Likewise.
5345         * stdio-common/test-popen.c: Likewise.
5346         * stdio-common/test-vfprintf.c: Likewise.
5347         * stdio-common/tst-cookie.c: Likewise.
5348         * stdio-common/tst-fileno.c: Likewise.
5349         * stdio-common/tst-gets.c: Likewise.
5350         * stdio-common/tst-obprintf.c: Likewise.
5351         * stdio-common/tst-perror.c: Likewise.
5352         * stdio-common/tst-sprintf2.c: Likewise.
5353         * stdio-common/tst-sprintf3.c: Likewise.
5354         * stdio-common/tst-sprintf.c: Likewise.
5355         * stdio-common/tst-swprintf.c: Likewise.
5356         * stdio-common/tst-tmpnam.c: Likewise.
5357         * stdio-common/tst-unbputc.c: Likewise.
5358         * stdio-common/tst-wc-printf.c: Likewise.
5359         * stdlib/tst-environ.c: Likewise.
5360         * stdlib/tst-fmtmsg.c: Likewise.
5361         * stdlib/tst-limits.c: Likewise.
5362         * stdlib/tst-rand48-2.c: Likewise.
5363         * stdlib/tst-rand48.c: Likewise.
5364         * stdlib/tst-random2.c: Likewise.
5365         * stdlib/tst-random.c: Likewise.
5366         * stdlib/tst-strtol.c: Likewise.
5367         * stdlib/tst-strtoll.c: Likewise.
5368         * stdlib/tst-tls-atexit.c: Likewise.
5369         * stdlib/tst-xpg-basename.c: Likewise.
5370         * string/test-ffs.c: Likewise.
5371         * string/tst-bswap.c: Likewise.
5372         * string/tst-inlcall.c: Likewise.
5373         * string/tst-strtok.c: Likewise.
5374         * string/tst-strxfrm.c: Likewise.
5375         * sysdeps/x86_64/tst-audit10.c: Likewise.
5376         * sysdeps/x86_64/tst-audit3.c: Likewise.
5377         * sysdeps/x86_64/tst-audit4.c: Likewise.
5378         * sysdeps/x86_64/tst-audit5.c: Likewise.
5379         * time/tst-ftime_l.c: Likewise.
5380         * time/tst-getdate.c: Likewise.
5381         * time/tst-mktime3.c: Likewise.
5382         * time/tst-mktime.c: Likewise.
5383         * time/tst-posixtz.c: Likewise.
5384         * time/tst-strptime2.c: Likewise.
5385         * time/tst-strptime3.c: Likewise.
5386         * wcsmbs/tst-btowc.c: Likewise.
5387         * wcsmbs/tst-mbrtowc.c: Likewise.
5388         * wcsmbs/tst-mbsrtowcs.c: Likewise.
5389         * wcsmbs/tst-wchar-h.c: Likewise.
5390         * wcsmbs/tst-wcpncpy.c: Likewise.
5391         * wcsmbs/tst-wcrtomb.c: Likewise.
5392         * wcsmbs/tst-wcsnlen.c: Likewise.
5393         * wcsmbs/tst-wcstof.c: Likewise.
5395 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
5397         [BZ #14132]
5398         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
5399         INTDEF.
5400         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
5401         declaration.
5402         (_dl_mcount): Use rtld_hidden_proto.
5403         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
5404         _dl_mcount.
5405         * elf/rtld.c (_rtld_global_ro): Likewise.
5407         [BZ #14132]
5408         * elf/dl-init.c (_dl_init): Don't use INTDEF.
5409         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
5410         of _dl_init_internal.
5411         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
5412         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
5413         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
5414         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
5415         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
5416         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
5417         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
5418         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
5419         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
5420         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
5421         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
5422         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
5423         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
5424         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
5425         * sysdeps/tile/dl-start.S (_start): Likewise.
5426         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
5427         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
5429         [BZ #14132]
5430         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
5431         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
5432         (rtld_progname): Make macro definition unconditional.
5433         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
5434         INTDEF.
5435         (dlmopen_doit): Do not use INTUSE with _dl_argv.
5436         (dl_main): Likewise.
5437         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
5438         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
5439         instead of _dl_argv_internal.
5440         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
5441         __GI__dl_argv instead of INTUSE(_dl_argv).
5442         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
5443         __GI__dl_argv instead of _dl_argv_internal.
5445         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
5446         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
5447         macro.
5448         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
5449         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
5450         New macro.
5451         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
5452         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
5453         macro.
5454         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
5455         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
5457 2014-11-04  Andreas Schwab  <schwab@suse.de>
5459         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
5461 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5463         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
5464         mtvsrd instruction in binary form.
5466 2014-11-03  Andreas Schwab  <schwab@suse.de>
5468         [BZ #17522]
5469         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
5470         for less than MB_LEN_MAX use a local buffer of that size.
5471         * libio/tst-fputws.c: New file.
5472         * libio/Makefile (tests): Add tst-fputws.
5474 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
5476         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
5477         the size of the fpu_fr.fpu_dregs[] array.
5479 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
5481         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
5482         (__nanosleep): Do not define as alias.
5483         (nanosleep): Define as alias of __nanosleep.
5484         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
5485         __libc_nanosleep name.
5487 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5489         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
5490         install.texi in comment.
5492 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5494         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
5495         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
5496         ... add here and use lwsync or sync ...
5497         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
5498         ... and add here using lwsync.
5500 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
5502         * elf/dl-machine-reject-phdr.h: New file.
5503         * elf/dl-load.c: #include that.
5504         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
5505         if that returned true.
5507 2014-10-31  Roland McGrath  <roland@hack.frob.com>
5509         [BZ #17496]
5510         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
5511         gen-as-const-headers chunk.  Add a big scare comment after the last
5512         safe place to touch before-compile.
5514 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
5516         * manual/install.texi (Tools for Compilation): Update autoconf
5517         version requirements.
5518         * INSTALL: Regenerated.
5520         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
5521         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
5522         (__libc_pselect): Likewise.
5524         [BZ #14138]
5525         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
5526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
5527         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
5528         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
5530 2014-10-31  Torvald Riegel  <triegel@redhat.com>
5532         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
5533         correct barrier instruction.
5534         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
5535         Likewise.
5536         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
5537         Likewise.
5539 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5541         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
5542         after defining inlines.  Instead, just use parens to defeat macro
5543         expansion of __isctype in its declaration.
5545 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5547         * include/sys/uio.h (__libc_readv): Remove declaration.
5548         (__libc_writev): Likewise.
5549         * misc/readv.c (__libc_readv): Rename to __readv.
5550         (__readv): Do not define as alias.
5551         (readv): Define as alias of __readv.
5552         * misc/writev.c (__libc_writev): Rename to __writev.
5553         (__writev): Do not define as alias.
5554         (writev): Define as alias of __writev.
5555         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
5556         (__readv): Do not define as alias.
5557         (readv): Define unconditionally as alias of __readv.
5558         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
5559         (__writev): Do not define as alias.
5560         (writev): Define unconditionally as alias of __writev.
5561         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
5562         name.
5563         (writev): Do not define __libc_writev name.
5565 2014-10-30  Roland McGrath  <roland@hack.frob.com>
5567         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
5568         (convert_charseq): New function, broken out of ...
5569         (use_from_charmap): ... here.  Call it.
5570         (use_to_charmap): Use convert_charseq and free instead of duplicating
5571         its code with a variable-length stack struct.
5573 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
5575         * include/fcntl.h (__libc_creat): Remove declaration.
5576         * io/creat.c (__libc_creat): Rename to creat.
5577         (creat): Do not define as alias.
5578         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
5579         of creat instead of __libc_creat.
5580         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
5581         to creat.
5582         (creat): Do not define as alias.
5583         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
5584         __libc_creat.
5585         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
5586         __libc_creat name.
5587         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
5588         Likewise.
5590 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
5592         * manual/llio.texi: Add comments discussing why write() may be
5593         considered MT-unsafe on Linux.
5595 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
5597         * dl-load.c (local_strdup): Remove.
5598         (expand_dynamic_string_token): Use __strdup.
5599         (decompose_rpath): Likewise.
5600         (_dl_map_object): Likewise.
5602 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
5604         [BZ #14132]
5605         * sysdeps/generic/unwind-dw2-fde.c
5606         (__register_frame_info_bases_internal): Do not declare.
5607         (__register_frame_info_table_bases_internal): Likewise.
5608         (__deregister_frame_info_bases_internal): Likewise.
5609         (__register_frame_info_bases): Declare and use hidden_proto before
5610         definition.  Use hidden_def instead of INTDEF.
5611         (__register_frame_info_table_bases): Likewise.
5612         (__deregister_frame_info_bases): Likewise.
5613         (__register_frame_info): Do not use INTUSE.
5614         (__register_frame): Likewise.
5615         (__register_frame_info_table): Likewise.
5616         (__register_frame_table): Likewise.
5617         (__deregister_frame_info): Likewise.
5618         (__deregister_frame): Likewise.
5620 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
5622         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5623         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
5624         not undefine.
5625         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
5626         Likewise.
5627         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
5628         Likewise.
5630 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
5632         [BZ #14138]
5633         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
5634         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
5635         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
5636         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
5637         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
5638         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
5639         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
5640         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
5641         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
5642         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
5643         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
5644         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
5645         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
5646         syscall.
5647         (setfsuid): Likewise.
5648         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
5649         (setfsuid): Likewise.
5650         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
5651         (setfsuid): Likewise.
5652         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
5653         Likewise.
5654         (setfsuid): Likewise.
5655         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
5656         (setfsuid): Likewise.
5657         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
5658         Likewise.
5659         (setfsuid): Likewise.
5661 2014-10-27  Andreas Schwab  <schwab@suse.de>
5663         [BZ #17501]
5664         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
5665         check for Slow_SSE4_2 feature bit.
5666         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
5667         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5668         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
5669         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
5671 2014-10-24  Roland McGrath  <roland@hack.frob.com>
5673         * configure.ac: Validate compiler version with a empirical test of
5674         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
5675         $CC -v output.
5676         * configure: Regenerated.
5678         * inet/htons.c (htons): Prototypify.
5679         * inet/htonl.c (htonl): Likewise.
5681 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5683         * string/strncat.c (strncat): Improve performance by using strlen.
5685 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5687         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
5689 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5691         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
5692         Call libc_fetestexcept_aarch64.
5694 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5696         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
5697         Call libc_feholdexcept_aarch64.
5699 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5701         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
5702         Call get_rounding_mode.
5704 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5706         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
5707         Simplify logic.
5709 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
5711         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
5712         Simplify logic.
5714 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
5716         [BZ #14138]
5717         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
5718         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
5719         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
5720         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
5721         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
5722         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
5723         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
5724         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
5725         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
5726         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
5727         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
5728         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
5729         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
5730         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
5731         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
5732         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
5733         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
5734         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
5735         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
5736         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
5737         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
5738         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
5739         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
5740         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
5741         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
5742         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
5743         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
5744         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
5745         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
5746         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
5747         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
5748         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
5749         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
5750         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
5751         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
5752         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
5753         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
5754         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
5755         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
5756         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
5757         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
5758         syscall.
5759         (geteuid): Likewise.
5760         (getgid): Likewise.
5761         (getuid): Likewise.
5762         (getresgid): Likewise.
5763         (getresuid): Likewise.
5764         (getgroups): Likewise.
5765         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
5766         (geteuid): Likewise.
5767         (getgid): Likewise.
5768         (getuid): Likewise.
5769         (getresgid): Likewise.
5770         (getresuid): Likewise.
5771         (getgroups): Likewise.
5772         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
5773         (geteuid): Likewise.
5774         (getgid): Likewise.
5775         (getuid): Likewise.
5776         (getresgid): Likewise.
5777         (getresuid): Likewise.
5778         (getgroups): Likewise.
5779         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
5780         Likewise.
5781         (geteuid): Likewise.
5782         (getgid): Likewise.
5783         (getuid): Likewise.
5784         (getresgid): Likewise.
5785         (getresuid): Likewise.
5786         (getgroups): Likewise.
5787         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
5788         (geteuid): Likewise.
5789         (getgid): Likewise.
5790         (getuid): Likewise.
5791         (getresgid): Likewise.
5792         (getresuid): Likewise.
5793         (getgroups): Likewise.
5794         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
5795         Likewise.
5796         (geteuid): Likewise.
5797         (getgid): Likewise.
5798         (getuid): Likewise.
5799         (getgroups): Likewise.
5801         [BZ #14138]
5802         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
5803         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
5804         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
5805         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
5806         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
5807         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
5808         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
5809         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
5810         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
5811         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
5812         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
5813         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
5814         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
5815         __chown.
5816         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
5817         (lchown): Likewise.
5818         (fchown): Likewise.
5819         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
5820         Likewise.
5821         (lchown): Likewise.
5822         (fchown): Likewise.
5823         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
5824         (lchown): Likewise.
5825         (fchown): Likewise.
5826         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
5827         Likewise.
5828         (lchown): Likewise.
5829         (fchown): Likewise.
5831 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5833         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
5834         Simplify logic.
5836 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5838         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5839         Cleanup logic.
5841 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5843         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
5844         Remove unused include.
5846 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
5848         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
5849         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
5850         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
5851         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
5853 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
5854             Helge Deller <deller@gmx.de>
5856         [BZ #17508]
5857         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
5858         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
5859         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
5861 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
5863         [BZ #14132]
5864         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
5865         Remove macro definition.
5866         (__ashrdi3_v_glibc20): Likewise.
5867         (__lshrdi3_v_glibc20): Likewise.
5868         (__cmpdi2_v_glibc20): Likewise.
5869         (__ucmpdi2_v_glibc20): Likewise.
5870         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
5871         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
5872         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
5873         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
5874         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
5875         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
5877 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5879         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
5880         old GNU extension [0] syntax.
5881         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
5882         alloca rather than an array member with variable length.
5883         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
5884         * nscd/nscd.c (invalidate_db): New function, broken out of ...
5885         (parse_opt): ... here.  Likewise use alloca there.
5886         Validate the -i argument before checking for rootness.
5887         (send_shutdown): New function, broken out of ...
5888         (parse_opt): ... here.
5890 2014-10-22  Roland McGrath  <roland@hack.frob.com>
5892         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
5893         macro to get at the _rt_local_ro field.
5894         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
5895         ([PIC] case) or _dl_hwcap ([!PIC] case).
5896         * sysdeps/arm/setjmp.S: Likewise.
5898         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
5899         * sysdeps/arm/configure.ac: New check to define it.
5900         * sysdeps/arm/configure: Regenerated.
5901         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
5902         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
5903         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
5904         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
5905         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
5906         Use move/movt pair instead of a load.
5907         (LDST_GLOBAL): Macro removed.
5908         (LDR_GLOBAL): New macro replaces it.
5909         (LDR_HIDDEN): New macro.
5910         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
5911         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
5913         * setjmp/tst-setjmp-static.c: New file.
5914         * setjmp/Makefile (tests): Add it.
5915         (tests-static): New variable.
5917 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
5919         [BZ #17485]
5920         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
5922 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
5924         [BZ #14132]
5925         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
5927 2014-10-21  Roland McGrath  <roland@hack.frob.com>
5929         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
5931 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5933         * io/fts.c (dirent_not_directory): New function.
5934         (fts_build): Call it.
5936 2014-10-20  Roland McGrath  <roland@hack.frob.com>
5938         * nptl/version.c (__nptl_main): Use normal __write rather than
5939         INTERNAL_SYSCALL.
5940         (banner): Update copyright years.
5942         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
5943         gettimeofday.
5944         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
5945         * nptl/pthread_cond_timedwait.c: Likewise.
5946         * nptl/pthread_mutex_timedlock.c: Likewise.
5947         * nptl/sem_timedwait.c: Likewise.
5949         * sysdeps/nptl/bits/libc-lock.h
5950         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
5951         (__libc_lock_init_recursive): Return void, not 0.
5952         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
5953         (__libc_rwlock_init): Likewise.
5954         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
5956 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5958         [BZ #15215]
5959         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
5960         (__pthread_once_slow): ... here.
5961         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
5962         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
5964 2014-10-20  Torvald Riegel  <triegel@redhat.com>
5966         [BZ #15215]
5967         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
5968         __PTHREAD_ONCE_FORK_GEN_INCR): New.
5969         * sysdeps/nptl/fork.c (__libc_fork): Use them.
5970         * nptl/pthread_once.c (__pthread_once): Likewise.
5971         Update comments.
5973 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
5975         [BZ #14138]
5976         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
5977         name.
5978         (writev): Use __libc_writev as strong name.
5979         * sysdeps/unix/sysv/linux/readv.c: Remove file.
5980         * sysdeps/unix/sysv/linux/writev.c: Likewise.
5982 2014-10-17  Roland McGrath  <roland@hack.frob.com>
5984         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
5986         * sysdeps/i386/nptl/tls.h
5987         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
5988         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
5989         New macros.
5990         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
5991         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
5992         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
5993         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
5994         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
5995         Call CHECK_THREAD_SYSINFO instead of doing an assert.
5997         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
5998         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
5999         on [__NR_futex].
6000         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
6001         broken out of ...
6002         (__pthread_mutex_init): ... here.  Call it.
6003         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
6004         Conditionalize PI cases on [__NR_futex].
6005         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
6006         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
6007         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
6009         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
6010         conditional on [SIGSETXID].
6011         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
6012         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
6013         is defined.  Likewise for SIGSETXID.
6014         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
6015         Conditionalize definitions on [SIGSETXID].
6016         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
6017         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
6018         unblocking on [SIGCANCEL].
6020         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
6021         [__NR_set_robust_list].
6023 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
6025         * string/strcoll_l.c (get_next_seq): Fix up formatting.
6026         (do_compare): Likewise.
6028 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
6030         [BZ #15884]
6031         * string/strcoll_l.c: Don't include stdio.h.
6032         (coll_seq): Remove members idxarr and rulearr.
6033         (get_next_seq_cached): Remove function.
6034         (get_next_seq): Likewise.
6035         (get_next_seq_nocache): Rename to get_next_seq.
6036         (do_compare): Remove function.
6037         (do_compare_nocache): Rename to do_compare.
6038         (STRCOLL): Remove weight and rules cache.
6040 2014-10-16  Roland McGrath  <roland@hack.frob.com>
6042         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
6043         * sysdeps/arm/sfp-machine.h: ... to here.
6044         * sysdeps/arm/Implies: Remove arm/soft-fp.
6046 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
6048         * conform/data/sys/utsname.h-data (*_t): Allow.
6049         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
6050         [POSIX] (WEXITED): Do not expect constant.
6051         [POSIX] (WSTOPPED): Likewise.
6052         [POSIX] (WNOHANG): Likewise.
6053         [POSIX] (WNOWAIT): Likewise.
6054         [POSIX] (siginfo_t): Do not expect type or elements.
6055         [POSIX] (pid_t): Do not expect type.
6056         [POSIX] (signal.h): Do not allow header.
6057         [POSIX] (sys/resource.h): Likewise.
6058         [POSIX] (si_*): Do not allow pattern.
6059         [POSIX] (W*): Likewise.
6060         [POSIX] (P_*): Likewise.
6061         [POSIX] (BUS_*): Likewise.
6062         [POSIX] (CLD_*): Likewise.
6063         [POSIX] (FPE_*): Likewise.
6064         [POSIX] (ILL_*): Likewise.
6065         [POSIX] (POLL_*): Likewise.
6066         [POSIX] (SEGV_*): Likewise.
6067         [POSIX] (SI_*): Likewise.
6068         [POSIX] (TRAP_*): Likewise.
6069         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
6070         variable.
6072 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
6074         [BZ #12926]
6075         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
6076         infinite loop when __recvmsg returns 0.
6078 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
6080         * CANCEL-FCT-WAIVE: Remove file.
6081         * CANCEL-FILE-WAIVE: Likewise.
6083         [BZ #14132]
6084         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
6085         instead of INTVARDEF.
6086         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6087         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
6088         rtld_hidden_data_def instead of INTVARDEF.
6089         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
6090         * elf/dl-deps.c (expand_dst): Likewise.
6091         * elf/dl-load.c (_dl_dst_count): Likewise.
6092         (_dl_dst_substitute): Likewise.
6093         (decompose_rpath): Likewise.
6094         (_dl_init_paths): Likewise.
6095         (open_path): Likewise.
6096         (_dl_map_object): Likewise.
6097         * elf/rtld.c (dl_main): Likewise.
6098         (process_dl_audit): Likewise.
6099         (process_envvars): Likewise.
6100         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
6101         Remove declaration.
6102         (__libc_enable_secure): Use rtld_hidden_proto.
6104 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6106         * elf/dl-load.c
6107         (add_path): New function broken out of _dl_rtld_di_serinfo.
6108         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
6110 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6112         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
6113         parentheses around macro arguments.
6114         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
6115         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
6116         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
6117         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
6118         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
6119         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6120         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6121         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
6122         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
6123         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
6124         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
6125         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
6126         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
6127         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
6128         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
6129         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
6130         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
6131         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
6132         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
6133         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
6134         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
6135         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
6136         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
6137         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
6138         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
6139         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
6140         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
6141         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
6142         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
6143         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
6144         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
6145         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
6146         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
6147         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
6148         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
6149         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
6150         Likewise.
6151         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
6152         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6153         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6154         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
6155         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
6156         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
6157         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
6158         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
6159         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
6160         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
6161         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
6162         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
6163         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
6164         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
6165         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
6166         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
6167         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
6168         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
6169         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
6170         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
6171         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
6172         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
6173         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
6174         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
6175         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
6176         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
6177         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
6178         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
6179         (_FP_FRAC_SRS_1): Likewise.
6180         (_FP_FRAC_CLZ_1): Likewise.
6181         (_FP_MUL_MEAT_1_imm): Likewise.
6182         (_FP_MUL_MEAT_1_wide): Likewise.
6183         (_FP_MUL_MEAT_1_hard): Likewise.
6184         (_FP_SQRT_MEAT_1): Likewise.
6185         (_FP_FRAC_ASSEMBLE_1): Likewise.
6186         (_FP_FRAC_DISASSEMBLE_1): Likewise.
6187         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
6188         (__FP_CLZ_2): Likewise.
6189         (_FP_MUL_MEAT_2_wide): Likewise.
6190         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6191         (_FP_MUL_MEAT_2_gmp): Likewise.
6192         (_FP_MUL_MEAT_2_120_240_double): Likewise.
6193         (_FP_SQRT_MEAT_2): Likewise.
6194         (_FP_FRAC_ASSEMBLE_2): Likewise.
6195         (_FP_FRAC_DISASSEMBLE_2): Likewise.
6196         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
6197         (_FP_FRAC_CLZ_4): Likewise.
6198         (_FP_MUL_MEAT_4_wide): Likewise.
6199         (_FP_MUL_MEAT_4_gmp): Likewise.
6200         (_FP_SQRT_MEAT_4): Likewise.
6201         (_FP_FRAC_ASSEMBLE_4): Likewise.
6202         (_FP_FRAC_DISASSEMBLE_4): Likewise.
6203         * soft-fp/op-common.h (_FP_CMP): Likewise.
6204         (_FP_CMP_EQ): Likewise.
6205         (_FP_CMP_UNORD): Likewise.
6206         (_FP_TO_INT): Likewise.
6207         (_FP_FROM_INT): Likewise.
6208         [!__FP_CLZ] (__FP_CLZ): Likewise.
6209         (_FP_DIV_HELP_imm): Likewise.
6210         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
6211         Likewise.
6212         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
6213         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
6214         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
6215         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
6216         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
6217         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6218         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6219         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
6220         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
6221         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
6222         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
6223         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
6224         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
6225         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
6226         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
6227         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
6228         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
6229         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
6230         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
6231         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
6232         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
6233         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
6234         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
6235         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
6236         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
6237         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
6238         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
6239         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
6240         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
6241         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
6242         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
6243         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
6244         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
6245         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
6246         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
6247         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
6248         (FP_UNPACK_RAW_SP): Likewise.
6249         (FP_PACK_RAW_S): Likewise.
6250         (FP_PACK_RAW_SP): Likewise.
6251         (FP_UNPACK_S): Likewise.
6252         (FP_UNPACK_SP): Likewise.
6253         (FP_UNPACK_SEMIRAW_S): Likewise.
6254         (FP_UNPACK_SEMIRAW_SP): Likewise.
6255         (FP_PACK_S): Likewise.
6256         (FP_PACK_SP): Likewise.
6257         (FP_PACK_SEMIRAW_S): Likewise.
6258         (FP_PACK_SEMIRAW_SP): Likewise.
6259         (_FP_SQRT_MEAT_S): Likewise.
6260         (FP_CMP_S): Likewise.
6261         (FP_CMP_EQ_S): Likewise.
6262         (FP_CMP_UNORD_S): Likewise.
6263         (FP_TO_INT_S): Likewise.
6264         (FP_FROM_INT_S): Likewise.
6266         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
6268         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
6269         (FP_EX_INVALID_IMZ): Likewise.
6270         (FP_EX_INVALID_IMZ_FMA): Likewise.
6271         (FP_EX_INVALID_ISI): Likewise.
6272         (FP_EX_INVALID_ZDZ): Likewise.
6273         (FP_EX_INVALID_IDI): Likewise.
6274         (FP_EX_INVALID_SQRT): Likewise.
6275         (FP_EX_INVALID_CVI): Likewise.
6276         (FP_EX_INVALID_VC): Likewise.
6277         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
6278         "invalid" exceptions.
6279         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
6280         (_FP_ADD_INTERNAL): Likewise.
6281         (_FP_MUL): Likewise.
6282         (_FP_FMA): Likewise.
6283         (_FP_DIV): Likewise.
6284         (_FP_CMP_CHECK_NAN): Likewise.
6285         (_FP_SQRT): Likewise.
6286         (_FP_TO_INT): Likewise.
6287         (FP_EXTEND): Likewise.
6289 2014-10-09  Allan McRae  <allan@archlinux.org>
6291         * po/fr.po: Update French translation from translation project.
6293 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
6295         [BZ #14132]
6296         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
6297         of INTDEF.
6298         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
6299         (__cxa_atexit): Use libc_hidden_proto.
6300         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
6302         [BZ #14132]
6303         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
6304         declaration.
6305         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
6306         [!_ISOMAC] (__iswspace_l_internal): Likewise.
6307         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
6308         [!_ISOMAC] (__iswctype_internal): Likewise.
6309         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
6310         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
6311         alias.
6312         (fcntl): Remove __fcntl_internal alias.
6313         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
6314         __connect_internal alias.
6315         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
6316         Likewise.
6318         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
6319         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
6320         FP_DENORM_ZERO.
6321         (_FP_CHECK_FLUSH_ZERO): New macro.
6322         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
6323         (_FP_CMP): Likewise.
6324         (_FP_CMP_EQ): Likewise.
6325         (_FP_TO_INT): Do not set inexact for subnormal arguments if
6326         FP_DENORM_ZERO.
6327         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
6328         (FP_TRUNC): Likewise.
6330         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
6331         treated as invalid conversion, not as normal exponent.
6333         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
6334         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
6335         (_FP_CMP_EQ): Likewise.
6336         (_FP_CMP_UNORD): Likewise.
6337         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
6338         (FP_CMP_EQ_D): Likewise.
6339         (FP_CMP_UNORD_D): Likewise.
6340         * soft-fp/extended.h (FP_CMP_E): Likewise.
6341         (FP_CMP_EQ_E): Likewise.
6342         (FP_CMP_UNORD_E): Likewise.
6343         * soft-fp/quad.h (FP_CMP_Q): Likewise.
6344         (FP_CMP_EQ_Q): Likewise.
6345         (FP_CMP_UNORD_Q): Likewise.
6346         * soft-fp/single.h (FP_CMP_S): Likewise.
6347         (FP_CMP_EQ_S): Likewise.
6348         (FP_CMP_UNORD_S): Likewise.
6349         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
6350         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
6351         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
6352         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
6353         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
6354         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
6355         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
6356         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
6357         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
6358         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
6359         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
6360         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
6361         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
6362         to FP_CMP_Q.
6363         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
6364         FP_CMP_Q.
6365         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
6366         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
6367         FP_CMP_EQ_Q.
6368         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
6369         FP_CMP_Q.
6370         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
6371         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
6372         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
6373         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
6374         FP_CMP_EQ_Q.
6375         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
6376         FP_CMP_Q.
6377         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
6378         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
6379         FP_CMP_EQ_Q.
6380         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
6381         FP_CMP_Q.
6382         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
6383         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
6384         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
6385         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
6386         FP_CMP_EQ_Q.
6388         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
6389         a subnormal result, set the underflow exception if trapping on
6390         underflow is enabled.
6391         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
6392         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
6393         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
6394         redefine to 0.
6395         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
6396         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6397         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
6398         * soft-fp/extendxftf2.c (__extendxftf2): Use
6399         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
6401         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
6402         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
6403         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6404         FP_HANDLE_EXCEPTIONS.
6405         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
6406         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6407         FP_HANDLE_EXCEPTIONS.
6408         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
6409         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6410         FP_HANDLE_EXCEPTIONS.
6411         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
6412         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
6413         FP_HANDLE_EXCEPTIONS.
6415 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
6417         [BZ #14132]
6418         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
6419         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
6420         use INTUSE.
6421         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
6422         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
6423         Remove alias.
6424         (__adjtimex): Define using libc_hidden_ver.
6425         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
6426         Remove declaration.
6427         (ntp_gettime): Call __adjtimex directly.
6428         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
6429         Remove declaration.
6430         (ntp_gettimex): Call __adjtimex directly.
6431         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
6432         __adjtimex_internal alias.
6434 2014-10-08  Roland McGrath  <roland@hack.frob.com>
6436         [BZ #17460]
6437         * nscd/nscd.c (more_help): Rewrite list of tables collection
6438         using xstrdup and asprintf.
6440         * nscd/nscd_conf.c: Remove local xstrdup declaration.
6442 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6443             Roland McGrath  <roland@hack.frob.com>
6445         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
6446         (do_lookup_unique): ... local function 'enter' here; update callers.
6448 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
6450         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
6451         compat_symbol calls on [SHARED].
6452         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
6453         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
6454         Remove.
6455         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6456         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
6457         (oldsetrlimit): Remove.
6458         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6460         (lchown): New syscall entry.
6461         (oldsetrlimit): Remove.
6462         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6463         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
6464         (oldsetrlimit): Remove.
6465         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
6467         [BZ #14138]
6468         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
6469         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
6470         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
6471         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
6472         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
6473         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
6474         (fchown): Likewise.
6475         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
6476         (fchown): Likewise.
6477         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
6478         Likewise.
6480 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6482         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
6483         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
6484         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
6485         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
6486         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
6487         Likewise.
6488         (__old_sem_post): Likewise.
6490 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
6492         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
6493         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
6494         HAVE_CLOCK_GETTIME_VSYSCALL macros.
6495         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
6496         Use INLINE_VSYSCALL macro.
6497         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
6498         __vdso_clock_gettime.
6499         * sysdeps/unix/sysv/linux/tile/init-first.c
6500         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
6501         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
6502         __vdso_clock_gettime.
6504         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
6505         to set up frame more cleanly.
6507         * sysdeps/tile/memcmp.c: New file.
6509         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
6511         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
6512         * sysdeps/tile/tilegx/strcasestr.c: New file.
6513         * sysdeps/tile/tilegx/strnlen.c: New file.
6514         * sysdeps/tile/tilegx/strstr.c: New file.
6516         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
6518 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
6520         * nptl/tst-setuid3.c: Write errors to stdout.
6522 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6524         * elf/dl-deps.c
6525         (preload): New functions broken out of _dl_map_object_deps.
6526         (_dl_map_object_deps):  Remove a nested function. Update call sites.
6528 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
6530         [BZ #14138]
6531         * sysdeps/unix/sysv/linux/execve.c: Remove file.
6532         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
6534 2014-10-01  Steve Ellcey  <sellcey@mips.com>
6536         * sysdeps/mips/strcmp.S: New.
6538 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
6540         [BZ #14138]
6541         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
6542         (linkat): Likewise.
6543         (mkdirat): Likewise.
6544         (readlinkat): Likewise.
6545         (renameat): Likewise.
6546         (symlinkat): Likewise.
6547         (unlinkat): Likewise.
6548         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
6549         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
6550         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
6551         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
6552         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
6553         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
6554         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
6556 2014-09-30  Will Newton  <will.newton@linaro.org>
6558         * math/math.h: Define long double math functions if
6559         _LIBC_TEST is defined.
6560         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
6562         * localedata/Makefile: Move assignment to tests-special
6563         into an ifdef testing run-built-tests.
6564         * timezone/Makefile: Likewise.
6566 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
6568         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
6569         with $(BASH) not $(SHELL).
6571 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
6572             Matthew LeGendre  <legendre1@llnl.gov>
6574         [BZ #17411]
6575         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
6576         l_reloc_result.
6578 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6580         * stdio-common/printf_fp.c
6581         (hack_digit): New function, broken out of ...
6582         (__printf_fp): ... local function here.  Update call sites.
6583         hack_digit now takes an additional parameter that is a pointer
6584         to a struct of the referenced locals.  Those locals moved inside
6585         the struct and references updated.
6587 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
6589         * aclocal.m4: Require autoconf 2.69.
6590         * configure: Regenerated.
6591         * sysdeps/aarch64/configure: Likewise.
6592         * sysdeps/alpha/configure: Likewise.
6593         * sysdeps/arm/armv7/configure: Likewise.
6594         * sysdeps/arm/configure: Likewise.
6595         * sysdeps/ia64/configure: Likewise.
6596         * sysdeps/mach/configure: Likewise.
6597         * sysdeps/mips/configure: Likewise.
6598         * sysdeps/s390/configure: Likewise.
6599         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
6600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
6602         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
6603         file.
6604         * sysdeps/ia64/configure.ac: Likewise.
6606 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
6608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
6609         specify symbol version for ld.so.  Do not include entry for
6610         libpthread.
6611         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6612         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6613         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6615         [BZ #14171]
6616         * Makeconfig [$(build-shared) = yes]
6617         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
6618         makefiles.
6619         [$(build-shared) = yes && $(soversions.mk-done) = t]
6620         ($(common-objpfx)gnu/lib-names.h): Remove rule.
6621         [$(build-shared) = yes && $(soversions.mk-done) = t]
6622         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
6623         to Makerules.
6624         [$(build-shared) = yes && $(soversions.mk-done) = t]
6625         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
6626         here.
6627         [$(build-shared) = yes && $(soversions.mk-done) = t]
6628         (common-generated): Don't append gnu/lib-names.h and
6629         gnu/lib-names.stmp here.
6630         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
6631         (lib-names-h-abi): New variable.
6632         [$(build-shared) = yes && $(soversions.mk-done) = t]
6633         (lib-names-stmp-abi): Likewise.
6634         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6635         abi-variants] (before-compile): Append
6636         $(common-objpfx)$(lib-names-h-abi).
6637         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6638         abi-variants] (common-generated): Append gnu/lib-names.h.
6639         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6640         abi-variants] (install-others-nosubdir): Depend on
6641         $(inst_includedir)/$(lib-names-h-abi).
6642         [$(build-shared) = yes && $(soversions.mk-done) = t &&
6643         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
6644         [$(build-shared) = yes && $(soversions.mk-done) = t]
6645         ($(common-objpfx)$(lib-names-h-abi)): New rule.
6646         [$(build-shared) = yes && $(soversions.mk-done) = t]
6647         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
6648         [$(build-shared) = yes && $(soversions.mk-done) = t]
6649         (common-generated): Append $(lib-names-h-abi) and
6650         $(lib-names-stmp-abi).
6651         * scripts/lib-names.awk: Do not handle multi being set.
6652         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
6653         Remove variable.
6654         (abi-lp64_be-ld-soname): Likewise.
6655         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
6656         Likewise.
6657         (abi-hard-ld-soname): Likewise.
6658         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
6659         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
6660         Remove variable.
6661         (abi-o32_hard-ld-soname): Likewise.
6662         (abi-o32_soft_2008-ld-soname): Likewise.
6663         (abi-o32_hard_2008-ld-soname): Likewise.
6664         (abi-n32_soft-ld-soname): Likewise.
6665         (abi-n32_hard-ld-soname): Likewise.
6666         (abi-n32_soft_2008-ld-soname): Likewise.
6667         (abi-n32_hard_2008-ld-soname): Likewise.
6668         (abi-n64_soft-ld-soname): Likewise.
6669         (abi-n64_hard-ld-soname): Likewise.
6670         (abi-n64_soft_2008-ld-soname): Likewise.
6671         (abi-n64_hard_2008-ld-soname): Likewise.
6672         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
6673         Likewise.
6674         (abi-64-v2-ld-soname): Likewise.
6675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
6676         ld.so entries.
6677         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
6678         variable.
6679         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
6680         entry.
6681         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
6682         variable.
6683         (abi-64-ld-soname): Likewise.
6684         (abi-x32-ld-soname): Likewise.
6685         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
6686         entry.
6687         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6689 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
6691         [BZ #14138]
6692         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
6693         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
6694         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
6695         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
6696         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
6697         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
6698         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
6699         syscall entry for GLIBC_2.2 symbol version.
6700         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
6701         Likewise.
6702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
6703         (setrlimit): Likewise.
6704         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
6705         Likewise.
6707 2014-09-23  Will Newton  <will.newton@linaro.org>
6709         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
6710         _LINUX_ARM_SYSDEP_H include guard too.
6711         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
6712         define.
6714 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
6716         * sysdeps/unix/sysv/linux/eventfd.c:
6717         Make first argument unsigned.
6718         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
6719         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
6721 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
6723         * socket/recvmmsg.c (recvmmsg): Drop const argument.
6724         * socket/sys/socket.h: Likewise
6725         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
6727 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6729         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
6731 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
6733         * time/tst-ftime.c: New test.
6734         * time/Makefile (tests): Add tst-ftime.
6736 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
6738         * soft-fp/extended.h: Fix comment formatting.
6739         * soft-fp/op-1.h: Likewise.
6740         * soft-fp/op-2.h: Likewise.
6741         * soft-fp/op-4.h: Likewise.
6742         * soft-fp/op-8.h: Likewise.
6743         * soft-fp/op-common.h: Likewise.
6744         * soft-fp/soft-fp.h: Likewise.
6746         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
6748 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
6750         [BZ #6652]
6751         * Makeconfig (soversions-default-setname): Remove variable.
6752         ($(common-objpfx)soversions.i): Don't pass default_setname to
6753         soversions.awk.
6754         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
6755         oldest_abi to abi-versions.awk.
6756         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
6757         * config.make.in (oldest-abi): Remove variable.
6758         * configure.ac (--enable-oldest-abi): Remove configure option.
6759         * configure: Regenerated.
6760         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
6761         text.
6762         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
6763         * scripts/soversions.awk: Do not handle default_setname variable.
6764         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
6765         variable.
6766         * sysdeps/mach/hurd/configure: Regenerated.
6767         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
6768         variable.
6769         * sysdeps/unix/sysv/linux/configure: Regenerated.
6771 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6773         * elf/Makefile (CFLAGS-interp.c): Remove.
6774         ($(elf-objpfx)runtime-linker.h): Generate header with linker
6775         path string.
6776         * elf/interp.c: Include generated runtime-linker.h
6778         * Makerules (lib%.so): Don't include $(+interp) in
6779         prerequisites.
6780         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
6781         * dlfcn/eval.c: Remove file.
6783         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
6784         macros.
6786         [BZ #17266]
6787         * misc/sys/cdefs.h: Define __extern_always_inline for clang
6788         4.2 and newer.
6790         [BZ #17370]
6791         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
6793 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6794             Jakub Jelinek  <jakub@redhat.com>
6796         [BZ #17266]
6797         * libio/stdio.h: Check definition of __fortify_function
6798         instead of __extern_always_inline to include bits/stdio2.h.
6799         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
6800         check if __extern_always_inline is defined.
6801         [__USE_MISC || __USE_XOPEN]: Likewise.
6802         [__USE_ISOC99] Likewise.
6803         * misc/sys/cdefs.h (__fortify_function): Define only if
6804         __extern_always_inline is defined.
6805         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
6806         __extern_always_inline and __extern_inline only for g++-4.3
6807         and newer or a compatible gcc.
6809 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
6811         [BZ #17371]
6812         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
6813         last change to handle zero prefix length.
6815 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
6817         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
6818         _SC_REGEX_VERSION.
6820         * posix/getconf.c (vars): Add _POSIX_IPV6 and
6821         _POSIX_RAW_SOCKETS.
6823 2014-09-13  Allan McRae  <allan@archlinux.org>
6825         * po/ru.po: Update Russian translation from translation project.
6827 2014-09-12  Roland McGrath  <roland@hack.frob.com>
6829         * locale/programs/locale.c (show_locale_vars): Inline local function
6830         into its sole call site.  Clean up some style nits.
6831         (print_item): New function, broken out of ...
6832         (show_info): ... local function here.  Clean up style nits.
6834         * locale/programs/ld-ctype.c (set_one_default): New function, broken
6835         out of ...
6836         (set_class_defaults): ... local function set_default here.
6837         Define set_default as a macro locally to pass constant parameters.
6838         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
6839         rather than a shared local.
6841         * stdlib/rpmatch.c (try): New function, broken out of ...
6842         (rpmatch): ... local function here.  Also, prototypify definition.
6844 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
6846         * scripts/soversions.awk: Do not handle configuration names.
6847         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
6848         vendor and os variables to soversions.awk.
6849         * configure.ac: Do not modify gnu-* host_os.
6850         * configure: Regenerated
6851         * shlib-versions: Remove first column with configuration names.
6852         * nptl/shlib-versions: Likewise.
6853         * nptl_db/shlib-versions: Likewise.
6854         * sysdeps/hppa/shlib-versions: Likewise.
6855         * sysdeps/m68k/shlib-versions: Likewise.
6856         * sysdeps/mach/hurd/shlib-versions: Likewise.
6857         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
6858         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
6859         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
6860         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
6861         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
6862         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
6863         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
6864         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
6865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6866         Likewise.
6867         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6868         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6869         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6870         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6871         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6872         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
6873         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
6874         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
6876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6877         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
6878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
6879         Regenerated.
6880         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
6881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
6882         Condition symbol version definitions on [HAVE_ELFV2_ABI].
6884         * shlib-versions: Remove OS-specific entries.  Moved to files in
6885         sysdeps.
6886         * sysdeps/mach/hurd/shlib-versions: New file.
6887         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
6889         * nptl/shlib-versions: Remove architecture-specific entries.
6890         Moved to files in sysdeps.
6891         * shlib-versions: Likewise.
6892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
6893         file.
6894         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
6895         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
6896         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
6897         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
6899         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
6900         (UDP_NO_CHECK6_RX): Likewise.
6902 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6904         * sysdeps/posix/sysconf.c (__sysconf): Spell
6905         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
6907 2014-08-12  Florian Weimer  <fweimer@redhat.com>
6909         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
6910         loading.
6911         * iconv/Versions (__gconv_transliterate): Export for use from
6912         gconv modules.
6913         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
6914         (struct __gconv_trans_data, __gconv_trans_fct,
6915         __gconv_trans_context_fct, __gconv_trans_query_fct,
6916         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
6917         definitions.
6918         (struct __gconv_step_data): Remove __trans member.
6919         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
6920         longer hidden.  Remove unused trans_data argument.
6921         * iconv/gconv_int.h (struct trans_struct): Remove definition.
6922         (__gconv_translit_find): Remove declaration.
6923         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
6924         prototype.
6925         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
6926         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
6927         trans_data argument.  Add hidden definition.
6928         (__gconv_translit_find): Remove.
6929         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
6930         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
6931         * iconv/skeleton.c: Remove transliteration initialization.
6932         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
6933         __gconv_step_data initialization.
6934         * libio/iofwide.c (__libio_translit_): Remove.
6935         (_IO_fwide): Adjust struct __gconv_step_data initialization.
6936         * wcsmbs/btowc.c (__btowc): Likewise.
6937         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6938         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6939         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
6940         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
6941         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
6942         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
6943         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
6944         * wcsmbs/wctob.c (wctob): Likewise.
6946 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
6948         [BZ #16194]
6949         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
6950         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
6951         register usage.
6952         * sysdeps/x86/Makefile: Adjust.
6954 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
6955             Roland McGrath  <roland@hack.frob.com>
6957         * locale/weight.h: Add include guard.
6958         (findidx): Make static rather than auto; take new parameters
6959         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
6960         * locale/weightwc.h: Likewise.
6961         * posix/fnmatch_loop.c
6962         (FCT): Change type of EXTRA from int32_t to wint_t.
6963         Don't include either header inside the function.
6964         Call FINDIDX rather than findidx, and pass new arguments.
6965         #undef FINDIDX at the end of the file.
6966         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
6967         FINDIDX before including fnmatch_loop.c for the non-wide version.
6968         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
6969         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
6970         for the wide version.
6971         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
6972         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
6973         Pass new arguments to findidx.
6974         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
6975         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
6976         Don't #include it inside the function.  Pass new arguments to findidx.
6977         * posix/regex_internal.h
6978         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
6979         (re_string_elem_size_at): Don't #include it inside the function.
6980         Pass new arguments to findidx.
6981         * string/strcoll_l.c: #include WEIGHT_H at top level.
6982         (get_next_seq): Don't #include it inside the function.
6983         Pass new arguments to findidx.
6984         (get_next_seq_nocache): Likewise.
6985         * string/strxfrm_l.c: #include WEIGHT_H at top level.
6986         (STRXFRM): Don't #include it inside the function.
6987         Pass new arguments to findidx.
6989 2014-09-11  Florian Weimer  <fweimer@redhat.com>
6991         [BZ #17344]
6992         * malloc/malloc.c (unlink): Turn asserts into a call to
6993         malloc_printerr.
6995 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
6997         [BZ #17370]
6998         * libio/wfileops (do_ftell_wide): Free OUT.
7000 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
7002         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
7004 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7006         [BZ #17363]
7007         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
7008         group if the current group is empty.
7010 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7012         * benchtests/bench-memset.c (test_main): Add more test from size
7013         from 32 to 512 bytes.
7014         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7015         Add POWER8 memset object.
7016         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7017         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
7018         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
7019         implementation.
7020         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
7021         Likewise.
7022         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
7023         multiarch POWER8 memset optimization.
7024         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
7025         POWER8 memset optimization.
7027         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
7028         Remove bzero multiarch objects.
7029         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
7030         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
7031         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
7032         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
7033         Remove define.
7034         [__bzero]: Redefine to specific name.
7035         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
7036         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
7037         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
7038         define.
7039         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
7040         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
7042 2014-09-10  Florian Weimer  <fweimer@redhat.com>
7044         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
7045         warnings into errors.
7047         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
7048         __cxa_thread_atexit_impl prototype.
7050 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7052         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
7053         Fix capitalization of error message.
7055 2014-09-09  Steve Ellcey  <sellcey@mips.com>
7057         * sysdeps/mips/preconfigure: Modify ABI tests.
7059 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
7061         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
7063 2014-09-07  Roland McGrath  <roland@hack.frob.com>
7064             Carlos O'Donell  <carlos@systemhalted.org>
7066         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
7067         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
7068         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
7069         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
7070         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
7071         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
7072         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
7073         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
7074         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
7075         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
7076         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
7077         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
7078         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
7079         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
7080         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
7081         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
7082         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
7083         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
7084         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
7085         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
7086         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
7087         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
7088         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
7089         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
7090         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
7091         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
7092         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
7093         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
7094         Deconditionalize the code that was previously under [RESET_PID].
7095         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
7096         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
7097         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
7098         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
7099         include sysdep.h.
7101 2014-09-08  Allan McRae  <allan@archlinux.org>
7103         * version.h (RELEASE): Set to "development".
7104         (VERSION): Set to "2.20.90"
7106 2014-09-07  Allan McRae  <allan@archlinux.org
7108         * version.h (RELEASE): Set to "stable".
7109         (VERSION): Set to "2.20"
7110         * include/features.h (__GLIBC_MINOR__): Set to 20.
7112         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
7113         Liebler.
7115         * po/ko.po: Update Korean translation from translation project.
7117 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
7119         [BZ #17354]
7120         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
7121         macro for handling signed relocations.
7123 2014-09-03  Florian Weimer  <fweimer@redhat.com>
7125         [BZ #17325]
7126         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
7127         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
7128         assert.
7129         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
7130         * iconvdata/ibm935.c (BODY): Likewise.
7131         * iconvdata/ibm937.c (BODY): Likewise.
7132         * iconvdata/ibm939.c (BODY): Likewise.
7133         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
7134         assert.
7135         * iconvdata/Makefile (iconv-test.out): Pass module list to test
7136         script.
7137         * iconvdata/run-iconv-test.sh: New test loop for checking for
7138         decoder crashers.
7140 2014-09-02  Khem Raj  <raj.khem@gmail.com>
7142         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
7143         libm_hidden_ver.
7145 2014-09-01  Allan McRae  <allan@archlinux.org>
7147         * po/eo.po: Update Esperanto translation from translation project.
7149         * po/ca.po: Update Catalan translation from translation project.
7151 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7153         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
7154         __proc_dostop call.
7156 2014-08-27  Mark Wielaard  <mjw@redhat.com>
7158         [BZ #17319]
7159         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
7160         to call set_thread_area instead of hand written asm.
7161         (__NR_set_thread_area): Removed define.
7162         (TLS_FLAG_WRITABLE): Likewise.
7163         (__ASSUME_SET_THREAD_AREA): Remove check.
7164         (TLS_EBX_ARG): Remove define.
7165         (TLS_LOAD_EBX): Likewise.
7167 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
7169         Simplify atomicity of socket creation in bind.
7171         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
7172         looking up the name after linking the file.
7174 2014-08-27  Allan McRae  <allan@archlinux.org>
7176         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
7178 2014-08-26  Florian Weimer  <fweimer@redhat.com>
7180         [BZ #17187]
7181         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
7182         trans_compare, open_translit, __gconv_translit_find):
7183         Remove module loading code.
7185 2014-08-26  Allan McRae  <allan@archlinux.org>
7187         * po/vi.po: Update Vietnamese translation from translation project.
7189         * po/uk.po: Update Ukrainian translation from translation project.
7191         * po/fr.po: Update French translation from translation project.
7193         * po/ru.po: Update Russian translation from translation project.
7195         * po/pl.po: Update Polish translation from translation project.
7197         * po/cs.po: Update Czech translation from translation project.
7199         * po/de.po: Update German translation from translation project.
7201         * po/bg.po: Update Bulgarian translation from translation project.
7203         * po/sv.po: Update Sweedish translation from translation project.
7205         * po/nl.po: Update Dutch translation from translation project.
7207         * po/es.po: Update Spanish translation from translation project.
7209 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7211         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
7213         * catgets/Makefile (CPPFLAGS-gencat): Remove.
7214         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
7215         (CPPFLAGS-iconvconfig): Likewise.
7216         * timezone/Makefile (CPPFLAGS-zic): Likewise.
7218         * include/libc-symbols.h: Remove unnecessary check for
7219         NOT_IN_libc.
7220         * nptl/pthreadP.h: Likewise.
7221         * sysdeps/aarch64/setjmp.S: Likewise.
7222         * sysdeps/alpha/setjmp.S: Likewise.
7223         * sysdeps/arm/sysdep.h: Likewise.
7224         * sysdeps/i386/setjmp.S: Likewise.
7225         * sysdeps/m68k/setjmp.c: Likewise.
7226         * sysdeps/posix/getcwd.c: Likewise.
7227         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
7228         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
7229         * sysdeps/s390/s390-32/setjmp.S: Likewise.
7230         * sysdeps/s390/s390-64/setjmp.S: Likewise.
7231         * sysdeps/sh/sh3/setjmp.S: Likewise.
7232         * sysdeps/sh/sh4/setjmp.S: Likewise.
7233         * sysdeps/unix/alpha/sysdep.h: Likewise.
7234         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
7235         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
7236         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
7237         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
7238         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
7239         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
7240         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
7241         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
7242         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
7243         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
7244         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
7245         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
7246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
7247         * sysdeps/x86_64/setjmp.S: Likewise.
7249 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
7251         [BZ #17263]
7252         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
7253         <stdint.h>.
7254         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
7255         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
7257 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7259         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
7261         [BZ #17262]
7262         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
7263         and __x86_64__ when disabling x87 inline functions.
7265 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
7267         [BZ #17259]
7268         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
7269         asm statement with __cpuid_count.
7271 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
7273         * configure.ac: Change __ehdr_start code to dereference the struct.
7274         Run readelf on the output to look for relocations.
7275         * configure: Regenerated.
7277 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
7279         [BZ #17261]
7280         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
7281         value to 0.
7282         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
7284 2014-08-12  Roland McGrath  <roland@hack.frob.com>
7286         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
7288 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
7290         [BZ #16892]
7291         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
7292         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
7294 2014-08-12  Sean Anderson  <seanga2@gmail.com>
7296         * malloc/malloc.c: Fix typo in comment.
7298 2014-08-09  Allan McRae  <allan@archlinux.org>
7300         * Regenerate libc.po.
7302 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
7304         * intl/tst-gettext2.sh: Check every lang file for creation.
7306 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7308         * sysdeps/aarch64/fpu/math_private.h
7309         (libc_feholdsetround_noex_aarch64_ctx): New function.
7311 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
7313         * sysdeps/arm/armv6/strcpy.S (strcpy):
7314         Fix performance issue in misaligned cases.
7316 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7318         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
7319         Move definition from termios.h.
7320         (struct termio): Likewise.
7321         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7322         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7323         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7324         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7325         Likewise.
7326         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
7327         Move definition to ioctl-types.h
7328         (struct termio): Likewise.
7329         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
7330         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
7331         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
7332         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
7333         Likewise.
7335 2014-08-05  Richard Henderson  <rth@redhat.com>
7337         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
7338         exceptions.
7339         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
7340         Add fraiseexcpt.
7341         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
7342         Use __feraiseexcept.
7343         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
7344         Protect libm symbols with IS_IN_libm.
7346         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
7348 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
7350         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
7352 2014-08-04  Will Newton  <will.newton@linaro.org>
7354         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
7355         file.
7357 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
7359         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
7360         variants for each function.
7362 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7364         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
7365         appended ...
7366         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
7367         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
7368         appended ...
7369         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
7370         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
7371         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
7372         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
7373         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
7374         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
7375         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
7376         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
7377         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
7378         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
7379         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
7380         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
7381         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
7382         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
7383         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
7384         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
7385         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
7386         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
7387         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
7388         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
7389         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
7390         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
7391         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
7392         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
7393         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
7394         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
7395         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
7396         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
7397         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
7398         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
7399         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
7400         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
7401         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
7402         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
7403         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
7404         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
7405         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
7406         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
7407         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
7408         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
7409         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
7410         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
7411         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
7412         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
7413         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
7414         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
7415         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
7416         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
7417         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
7418         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
7419         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
7420         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
7421         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
7422         Update #include.
7423         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
7424         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
7426 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7428         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
7429         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
7430         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
7431         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
7432         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
7433         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
7435 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7437         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
7438         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
7439         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
7440         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
7442 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7444         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
7445         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
7446         (__libc_vfork): Define function under this name.
7447         (__vfork): Define as an alias.
7448         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
7449         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
7451 2014-08-04  Roland McGrath  <roland@hack.frob.com>
7453         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
7454         that was previously under [RESET_PID].
7455         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
7457 2014-08-04  Andreas Schwab  <schwab@suse.de>
7459         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
7461 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
7463         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
7464         (main): Likewise.
7466 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7468         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
7470 2014-08-01  Richard Henderon  <rth@redhat.com>
7472         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
7473         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
7474         typo in exact zero test.
7475         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7476         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7477         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7479 2014-08-01  Roland McGrath  <roland@hack.frob.com>
7481         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
7482         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
7483         * sysdeps/arm/sysdep.h: ... here.
7484         [!__ASSEMBLER__]: Include <stdint.h>.
7486 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
7488         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
7489         (HAVE_WCTYPE_H): Likewise.
7490         (HAVE_ISWCTYPE): Likewise.
7491         (ENABLE_NLS): Likewise.
7492         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
7493         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
7495         * posix/regex_internal.c: Check if DEBUG is defined and is
7496         set.
7498         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
7499         (HAVE_MBSRTOWCS): Likewise.
7500         * posix/fnmatch.c: Include string.h unconditionally.
7502 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
7504         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
7505         reversal.
7507 2014-07-31  Roland McGrath  <roland@hack.frob.com>
7509         * sysdeps/generic/safe-fatal.h: New file.
7510         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
7511         * nptl/forward.c: Include it.
7512         (__pthread_unwind): Use __safe_fatal as default action, rather
7513         than a bogus use of INTERNAL_SYSCALL that could never work.
7515         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
7516         * configure.ac (libc_cv_builtin_trap): New test.
7517         * configure: Regenerated.
7518         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
7519         (ABORT_INSTRUCTION): Define using __builtin_trap.
7521         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
7522         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
7523         * sysdeps/nptl/nptl-signals.h: New file.
7524         * nptl/pthreadP.h: Include <nptl-signals.h>.
7526 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7528         * sysdeps/s390/s390-64/utf16-utf32-z9.c
7529         (ONE_DIRECTION): Define.
7530         * sysdeps/s390/s390-64/utf8-utf16-z9.c
7531         (ONE_DIRECTION): Define.
7532         * sysdeps/s390/s390-64/utf8-utf32-z9.c
7533         (ONE_DIRECTION): Define.
7535 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
7537         * sysdeps/s390/Makefile: Delete file.
7538         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
7539         * sysdeps/s390/__longjmp.c: Delete file.
7540         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
7541         Remove fields __flags and __reserved.
7542         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
7543         and add versioning.
7544         * sysdeps/s390/rtld-__longjmp.c: Delete file.
7545         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
7546         * sysdeps/s390/rtld-setjmp.S: Likewise.
7547         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
7548         * sysdeps/s390/s390-32/__longjmp.c: ... here.
7549         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
7550         * sysdeps/s390/s390-32/setjmp.S: ... here.
7551         Add versioning.
7552         (__sigsetjmp): Remove setting __flags field.
7553         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
7554         * sysdeps/s390/s390-64/__longjmp.c: ... here.
7555         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
7556         * sysdeps/s390/s390-64/setjmp.S: ... here.
7557         Add versioning.
7558         (__sigsetjmp): Remove setting __flags field.
7559         * sysdeps/s390/setjmp.S: Delete file.
7560         * sysdeps/s390/sigjmp.c: Likewise.
7561         * sysdeps/s390/v1-longjmp.c: Likewise.
7562         * sysdeps/s390/v1-setjmp.h: Likewise.
7563         * sysdeps/s390/v1-sigjmp.c: Likewise.
7564         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
7565         Remove v1-longjmp_chk.
7566         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
7567         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
7568         Include debug/longjmp_chk.c and add versioning.
7569         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
7570         Include nptl/pt-longjmp.c and add versioning.
7571         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
7572         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
7573         Include __longjmp.c.
7574         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
7575         Move to ...
7576         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
7577         (__getcontext): Remove setting __flags field.
7578         Add versioning.
7579         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
7580         Don't restore upper high grps.
7581         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
7582         Likewise.
7583         (__swapcontext): Remove setting uc_flags field.
7584         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
7585         Delete file.
7586         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
7587         Include __longjmp.c.
7588         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
7589         Move to ...
7590         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
7591         (__getcontext): Remove setting __flags field.
7592         Add versioning.
7593         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
7594         (__swapcontext): Remove setting uc_flags field.
7595         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
7596         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
7597         Remove fields uc_high_gprs and __reserved.
7598         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
7599         New file with reverted content.
7600         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
7601         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
7602         Regenerated.
7603         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
7604         Regenerated.
7606 2014-07-31  Andreas Schwab  <schwab@suse.de>
7608         * config.h.in (HAVE_IFUNC): Define to 0.
7609         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
7610         definedness.
7612 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
7614         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7615         memmove-avx-unaligned, memcpy-avx-unaligned and
7616         mempcpy-avx-unaligned.
7617         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7618         Add tests for AVX memcpy functions.
7619         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
7620         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
7621         memcpy_chk.
7622         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
7623         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
7624         memmove_chk.
7625         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
7626         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
7627         mempcpy_chk.
7628         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
7629         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
7630         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
7632 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7634         [BZ #17213]
7635         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
7636         powerpc64le.
7638 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
7640         [BZ #16839]
7641         * manual/llio.texi: Add section about open file description locks.
7642         * manual/examples/ofdlocks.c: Example of open file description
7643         lock usage.
7644         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
7645         F_OFD_SETLK, and F_OFD_SETLKW.
7647 2014-07-23  Allan McRae  <allan@archlinux.org>
7649         * po/es.po: Update Spanish translation from translation project.
7651 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
7653         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
7655 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
7657         [BZ #17078]
7658         * sysdeps/arm/dl-machine.h (elf_machine_rela)
7659         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
7660         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
7662 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
7664         [BZ #17088]
7665         * math/fesetenv.c (__fesetenv)
7666         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
7667         * math/feupdateenv.c (__feupdateenv)
7668         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
7670         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
7671         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
7672         (__ASSUME_SOCKETCALL): Do not define.
7674         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
7675         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
7676         (__ASSUME_SOCKETCALL): Do not define.
7677         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
7678         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7679         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7680         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
7681         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7682         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
7683         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7684         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7686         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
7687         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
7688         (__ASSUME_SOCKETCALL): Do not define.
7689         (__ASSUME_IPC64): Define unconditionally.
7690         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7691         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7692         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
7693         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7694         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
7695         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7696         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
7697         Likewise.
7699         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
7700         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
7701         (__ASSUME_SOCKETCALL): Do not define.
7702         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
7703         (__ASSUME_FUTEX_LOCK_PI): Likewise.
7704         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7705         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
7706         (__ASSUME_REQUEUE_PI): Define unconditionally.
7707         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
7708         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
7709         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7710         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
7711         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7712         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7714         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
7715         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
7716         (__ASSUME_SOCKETCALL): Do not define.
7717         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
7718         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7719         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7720         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
7721         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7722         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
7724         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
7725         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
7726         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
7727         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
7728         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
7729         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
7730         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
7731         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
7732         (__ASSUME_GETCPU_SYSCALL): Likewise.
7734         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
7735         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
7736         cases for individual architectures.
7737         * sysdeps/gnu/configure: Regenerated.
7738         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
7739         LIBC_SLIBDIR_RTLDDIR.
7740         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
7741         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
7742         LIBC_SLIBDIR_RTLDDIR.
7743         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
7744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
7745         LIBC_SLIBDIR_RTLDDIR.
7746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
7747         Regenerated.
7748         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
7749         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
7750         file.
7751         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
7752         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
7753         file.
7754         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
7755         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
7756         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
7757         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
7759         * sysdeps/aarch64/shlib-versions: Move to ...
7760         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
7761         * sysdeps/alpha/shlib-versions: Move to ...
7762         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
7763         * sysdeps/arm/shlib-versions: Move to ...
7764         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
7765         * sysdeps/hppa/shlib-versions: Move all contents except for
7766         libgcc_s entry to ...
7767         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
7768         entry from ...
7769         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
7770         * sysdeps/ia64/shlib-versions: Move to ...
7771         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
7772         entry from ...
7773         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
7774         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
7775         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
7776         * sysdeps/microblaze/shlib-versions: Move to ...
7777         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
7778         * sysdeps/mips/shlib-versions: Move to ...
7779         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
7780         entry from ...
7781         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
7782         * sysdeps/tile/shlib-versions: Move to ...
7783         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
7784         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
7785         from ...
7786         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
7787         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
7788         entry from ...
7789         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
7791 2014-07-17  Will Newton  <will.newton@linaro.org>
7793         * sysdeps/arm/bits/atomic.h
7794         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
7795         (__arch_compare_and_exchange_bool_16_int): Likewise.
7796         (__arch_compare_and_exchange_bool_64_int): Likewise.
7798         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
7799         into an #else block.
7801 2014-07-16  Roland McGrath  <roland@hack.frob.com>
7803         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
7804         just Linux configurations.  Test empirically that the compiler sets
7805         __ARM_EABI__, rather than using the tuple to decide.
7806         * sysdeps/arm/preconfigure: Regenerated.
7807         * sysdeps/unix/sysv/linux/arm/configure: File removed.
7808         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
7809         contents appended ...
7810         * sysdeps/arm/configure.ac: ... here.
7811         * sysdeps/arm/configure: Regenerated.
7813 2014-07-15  Roland McGrath  <roland@hack.frob.com>
7815         * nptl/pthread_kill.c: New file.
7816         * nptl/pthread_sigmask.c: New file.
7817         * nptl/pthread_sigqueue.c: New file.
7819         * sysdeps/nptl/lowlevellock.h: New file.
7820         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
7821         * sysdeps/nptl/lowlevellock-futex.h: New file.
7823         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
7824         Remove dead declarations.
7826 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
7828         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
7829         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
7830         config-cflags-avx2.
7831         * sysdeps/x86_64/configure.ac: Likewise.
7832         * sysdeps/i386/configure: Regenerated.
7833         * sysdeps/x86_64/configure: Likewise.
7834         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
7835         memset-avx2 only if config-cflags-avx2 is yes.
7836         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7837         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
7838         defined.
7839         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
7840         only if HAVE_AVX2_SUPPORT is defined.
7841         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
7843 2014-07-14  Alan Modra  <amodra@gmail.com>
7845         [BZ #17153]
7846         * elf/elf.h (DT_PPC64_NUM): Correct value.
7847         * NEWS: Add to fixed bug list.
7849 2014-07-13  Jim Meyering  <meyering@fb.com>
7851         [BZ 17150]
7852         regex: don't deref NULL upon heap allocation failure
7853         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
7854         failure in one more place.
7855         To trigger the segfault, configure grep -with-included-regex,
7856         build it, and run these commands:
7857         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
7859 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
7861         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
7863 2014-07-11  Richard Henderson  <rth@redhat.com>
7865         * sysdeps/aarch64/libm-test-ulps: Update.
7867 2014-07-10  Florian Weimer  <fweimer@redhat.com>
7869         [BZ #17135]
7870         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
7871         * nptl/allocatestack.c (__nptl_setxid_error): New function.
7872         (__nptl_setxid): Initialize error member.  Call
7873         __nptl_setxid_error.
7874         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
7875         * nptl/descr.h (struct xid_command): Add error member.
7876         * nptl/tst-setuid3.c: New file.
7877         * nptl/Makefile (tests): Add it.
7879 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7881         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
7882         New define.
7883         (__lll_trylock): Use __lll_base_trylock.
7884         (__lll_cond_trylock): Likewise.
7886 2014-07-10  Roland McGrath  <roland@hack.frob.com>
7888         * nptl/pthread_create.c (start_thread): Use atomic_or and
7889         lll_futex_wake directly rather than lll_robust_dead.
7890         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7891         (lll_robust_dead): Macro removed.
7892         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
7893         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7894         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7895         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7896         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7897         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7898         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7899         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7900         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7901         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7902         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7903         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7904         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7905         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7906         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7908         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
7909         Use atomic_compare_and_exchange_val_acq directly rather than
7910         lll_robust_trylock.
7911         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
7912         (__lll_robust_trylock, lll_robust_trylock): Removed.
7913         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
7914         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
7915         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
7916         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
7917         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
7918         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
7919         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
7920         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
7921         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
7922         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
7923         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
7924         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
7925         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
7926         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
7928 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7930         * manual/locale.texi (Locale Names): New section documenting
7931         locale name syntax.  Adjust menu and node chaining accordingly.
7932         (Choosing Locale): Reference Locale Names, Locale Categories.
7933         Mention setting LC_ALL=C.  Reflect that name syntax is now
7934         documented.
7935         (Locale Categories): New section title.  Reference Locale Names.
7936         LC_ALL is an environment variable, but not a category.
7937         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
7938         description, now in Locale Name.  Reference that section.  Locale
7939         name syntax is now documented.
7941 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7943         [BZ #17137]
7944         * locale/findlocale.c (name_present, valid_locale_name): New
7945         functions.
7946         (_nl_find_locale): Use the loc_name variable to store name
7947         candidates.  Call name_present and valid_locale_name to check and
7948         validate locale names.  Return an error if the locale is invalid.
7950 2014-07-02  Florian Weimer  <fweimer@redhat.com>
7952         * locale/setlocale.c (setlocale): Use strdup for allocating
7953         composite name copy.
7955 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
7957         Sync up with gnulib.
7958         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
7959         [!_LIBC && ENABLE_NLS]: Include gettext.h.
7960         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
7961         and _GL_ARG_NONNULL.
7962         [USE_UNLOCKED_IO]: Include unlocked-io.h.
7963         [!_LIBC]: Include code for Windows and Cygwin.
7964         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
7965         Include prototype for int strerror_r.
7966         [!_LIBC] (is_open): New function.
7967         (flush_stdout): New function.
7968         (print_errno_message): Use it.
7969         (error): Likewise.
7970         (error_at_line): Likewise.
7971         (error_tail) Add function attribute macros.  Use
7972         __builtin_expect.
7974         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
7976         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
7978         * io/ftw.c: Include sys/param.h unconditionally.
7980         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
7982         [BZ #17125]
7983         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
7984         libc_freeres_ptr.
7985         (freecache): New function to free CACHE on exit.
7987         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
7988         initialization.
7990 2014-07-09  David S. Miller  <davem@davemloft.net>
7992         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7994         * sysdeps/sparc/nptl/internaltypes.h: Delete.
7995         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
7996         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
7997         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
7998         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
7999         * sysdeps/sparc/nptl/sem_init.c: Likewise.
8000         * sysdeps/sparc/nptl/sem_post.c: Likewise.
8001         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
8002         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
8003         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
8004         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
8005         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
8006         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
8008 2014-07-09  Andreas Schwab  <schwab@suse.de>
8010         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
8011         output.
8012         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
8013         (do_test): Likewise.
8015         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
8017 2014-07-09  Will Newton  <will.newton@linaro.org>
8019         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
8020         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
8021         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
8022         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
8023         * sysdeps/hppa/start.S (_start): Likewise.
8025 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
8027         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
8029         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
8030         defined.
8032 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8034         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
8035         after checking that it is non-NULL.
8037         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
8039 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8041         * sysdeps/powerpc/memmove.c: Remove file.
8042         * sysdeps/powerpc/powerpc32/power4/memcopy.h
8043         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
8044         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
8045         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
8046         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
8047         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
8048         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
8049         string memmove instead of removed powerpc one.
8051         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8052         [weak_alias]: Fix compiler warning due trailing data.
8053         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
8054         [weak_alias]: Likewise.
8055         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
8056         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
8058         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8059         (__libc_ifunc_impl_list): Add memmove functions.
8061 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
8063         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
8064         Remove code.
8065         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
8066         Likewise
8067         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
8068         Likewise
8069         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
8070         Likewise
8071         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
8072         Likewise
8073         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
8074         Likewise
8075         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
8076         Likewise
8077         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
8078         Likewise
8079         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
8080         Likewise
8081         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
8082         Likewise
8083         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
8084         Likewise
8085         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
8086         Likewise
8087         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
8088         Likewise
8089         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
8090         Likewise
8091         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
8092         Likewise
8093         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
8094         Likewise
8095         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
8096         Likewise
8098 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8100         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
8101         to avoid alignment traps in non-cacheable memory.
8102         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
8104         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
8105         multiarch objects.
8106         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
8107         file: multiarch power7 memmove.
8108         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
8109         multiarch default memmove.
8110         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
8111         multiarch memove for powerpc32/power4.
8113         * string/bcopy.c: Use full path to include memmove.c.
8114         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
8115         multiarch objects.
8116         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
8117         bcopy for powerpc64.
8118         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
8119         bcopy for powerpc64.
8120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
8121         and memmove implementations.
8122         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
8123         optimized multiarch memmove for POWER7/powerpc64.
8124         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
8125         default multiarch memmove for powerpc64.
8126         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
8127         multiarch for powerpc64.
8128         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
8129         for POWER7/powerpc64.
8130         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
8131         memmove for POWER7/powerpc64.
8133         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
8134         glibc default one.
8136         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
8137         __ELF_NATIVE_CLASS equal to 64.
8139 2014-07-07  Roland McGrath  <roland@hack.frob.com>
8141         * sysdeps/nptl/lowlevellock.h: File removed.
8143         * NEWS: NPTL is no longer an add-on!
8144         * nptl/internaltypes.h: Moved ...
8145         * sysdeps/nptl/internaltypes.h: ... here.
8146         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
8147         * sysdeps/nptl/fork.c: Likewise.
8148         * sysdeps/nptl/gai_misc.h: Likewise.
8149         * sysdeps/nptl/librt-cancellation.c: Likewise.
8150         * sysdeps/nptl/jmp-unwind.c: Likewise.
8151         * sysdeps/nptl/setxid.h: Likewise.
8152         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
8153         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
8154         * sysdeps/unix/sysv/linux/arm/Implies: New file.
8155         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
8156         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
8157         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
8158         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
8159         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
8160         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
8161         * sysdeps/unix/sysv/linux/mips/Implies: New file.
8162         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
8163         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
8164         * sysdeps/unix/sysv/linux/sh/Implies: New file.
8165         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
8166         * sysdeps/unix/sysv/linux/tile/Implies: New file.
8167         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
8168         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
8169         * nptl/Makeconfig: Moved ...
8170         * sysdeps/nptl/Makeconfig: ... here.
8171         * nptl/configure: File removed.
8172         * nptl/ANNOUNCE: File removed.
8173         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
8174         * sysdeps/unix/sysv/linux/configure: Regenerated.
8176         * nptl/Makefile (routines): Add libc_pthread_init,
8177         libc_multiple_threads, register-atfork and unregister-atfork.
8178         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
8179         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
8180         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
8181         pthread-pi-defines.sym, structsem.sym.
8182         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
8183         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
8184         [$(subdir) = nptl] (tests): Add tst-setgetname.
8185         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
8186         * sysdeps/unix/sysv/linux/sigaction.c: Just include
8187         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
8188         [!LIBC_SIGACTION]: Remove aliases.
8189         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
8190         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
8191         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
8192         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
8193         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
8194         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
8195         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
8196         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
8197         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
8198         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
8199         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
8200         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
8201         __libc_allocate_rtsig_private.
8202         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
8203         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
8204         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
8205         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
8206         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
8207         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
8208         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
8209         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
8210         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
8211         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
8212         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
8213         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
8214         * nptl/internaltypes.h: ... here.
8215         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
8216         * sysdeps/nptl/jmp-unwind.c: ... here.
8217         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
8218         * nptl/libc-lowlevellock.c: ... here.
8219         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
8220         * nptl/libc_multiple_threads.c: ... here.
8221         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
8222         * nptl/libc_pthread_init.c: ... here.
8223         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
8224         * nptl/lowlevelbarrier.sym: ... here.
8225         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
8226         * nptl/lowlevelcond.sym: ... here.
8227         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
8228         * nptl/lowlevellock.c: ... here.
8229         * nptl/lowlevellock.h: Moved ...
8230         * sysdeps/nptl/lowlevellock.h: ... here.
8231         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
8232         * nptl/lowlevelrobustlock.c: ... here.
8233         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
8234         * nptl/lowlevelrobustlock.sym: ... here.
8235         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
8236         * nptl/lowlevelrwlock.sym: ... here.
8237         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
8238         * nptl/pt-fork.c: ... here.
8239         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
8240         * nptl/pthread-pi-defines.sym: ... here.
8241         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
8242         * nptl/pthread_attr_getaffinity.c: ... here.
8243         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
8244         * nptl/pthread_attr_setaffinity.c: ... here.
8245         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
8246         * nptl/pthread_mutex_cond_lock.c: ... here.
8247         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
8248         Update #include.
8249         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
8250         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
8251         * nptl/pthread_once.c: ... here, replacing old file.
8252         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
8253         * nptl/pthread_yield.c: ... here.
8254         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
8255         * nptl/register-atfork.c: ... here.
8256         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
8257         * nptl/sem_post.c: ... here.
8258         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
8259         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
8260         * nptl/sem_timedwait.c: ... here.
8261         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
8262         * nptl/sem_trywait.c: ... here.
8263         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
8264         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
8265         * nptl/sem_wait.c: ... here.
8266         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
8267         * nptl/structsem.sym: ... here.
8268         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
8269         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
8270         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
8271         * nptl/unregister-atfork.c: ... here.
8272         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
8273         * nptl/unwindbuf.sym: ... here.
8274         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
8275         * sysdeps/nptl/fork.c: ... here.
8276         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
8277         * sysdeps/nptl/fork.h: ... here.
8278         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
8279         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
8280         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
8281         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
8282         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
8283         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
8284         * sysdeps/unix/sysv/linux/getpid.c: ... here.
8285         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
8286         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
8287         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
8288         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
8289         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
8290         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
8291         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
8292         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
8293         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
8294         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
8295         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
8296         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
8297         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
8298         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
8299         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
8300         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
8301         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
8302         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
8303         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
8304         * sysdeps/unix/sysv/linux/raise.c: ... here.
8305         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
8306         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
8307         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
8308         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
8309         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
8310         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
8311         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
8312         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
8313         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
8314         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
8315         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
8316         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
8317         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
8318         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
8319         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
8321 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8323         * sysdeps/generic/memcopy.h: Add comment for
8324         MEMCPY_OK_FOR_FWD_MEMMOVE.
8326 2014-07-04  Will Newton  <will.newton@linaro.org>
8328         * string/memchr.c: Merge from gnulib.
8329         [_LIBC]: Remove conditionals.
8330         (__ptr_t): Remove define.
8331         (LONG_MAX_32_BITS): Likewise.
8332         (LONG_MAX): Likewise.
8333         (MEMCHR): Use ANSI prototype and optimize algorithm.
8335         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
8337 2014-07-03  Roland McGrath  <roland@hack.frob.com>
8339         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
8340         (lll_futex_timed_wait_bitset): Fix syscall argument count.
8342         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
8343         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
8344         in a bare environment with no <stdlib.h> installed.
8345         * sysdeps/nptl/configure: Regenerated.
8347         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
8349         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
8350         AC_EGREP_CPP for kernel header checks, so they only succeed if
8351         including <linux/version.h> actually works right.
8352         * sysdeps/unix/sysv/linux/configure: Regenerated.
8354         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
8355         value so it's not diagnosed as unused.
8357         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
8358         thing) with "ifeq ($(subdir),rt)".
8360 2014-07-03  Richard Henderson  <rth@redhat.com>
8362         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
8363         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
8364         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
8366         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
8367         (math_force_eval): New.
8369         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
8370         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
8372         * sysdeps/alpha/fpu/s_round.c: Remove file.
8373         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
8375         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
8376         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
8377         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
8378         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
8379         (_dl_start, print_statistics): Likewise.
8380         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
8381         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
8383         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8384         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8385         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8386         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8387         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8388         (HP_SMALL_TIMING_AVAIL): Define.
8389         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8390         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8391         (HP_SMALL_TIMING_AVAIL): Define.
8392         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8393         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
8395         * sysdeps/aarch64/hp-timing.h: New file.
8397         * sysdeps/generic/hp-timing.h: Remove dead comment.
8398         * sysdeps/generic/hp-timing-common.h: New file.
8399         * sysdeps/alpha/hp-timing.h: Include it.
8400         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
8401         * sysdeps/i386/i686/hp-timing.h: Likewise.
8402         * sysdeps/ia64/hp-timing.h: Likewise.
8403         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
8404         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
8405         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
8406         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
8407         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
8408         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
8409         (hp_timing_t): New.
8411         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
8412         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
8413         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
8414         * elf/rtld.c (_dl_start_final): Likewise.
8415         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
8416         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8417         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8418         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8419         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8420         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8421         (HP_TIMING_DIFF_INIT): Remove.
8422         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8423         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
8424         (HP_TIMING_DIFF_INIT): Remove.
8425         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
8426         * sysdeps/i386/i686/hp-timing.c: Remove file.
8427         * sysdeps/x86_64/hp-timing.c: Remove file.
8428         * sysdeps/ia64/hp-timing.c: Remove file.
8429         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
8430         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
8431         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
8432         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
8434         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
8435         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
8436         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
8437         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8438         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
8439         (HP_TIMING_ACCUM): Remove.
8440         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8441         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
8442         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
8444         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
8445         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
8446         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
8447         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
8448         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
8449         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8450         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
8451         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
8453         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
8455 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
8457         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
8459 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8461         Sync up with gettext.
8462         * intl/loadmsgcat.c: Define O_BINARY if not defined.
8463         [_MSC_VER]: Include malloc.h
8464         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
8465         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
8466         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
8467         TEMP_FAILURE_RETRY.  Cast return of alloca.
8468         [!_LIBC] Call gl_rwlock_init.
8469         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
8471 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8473         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
8474         before checking its value.
8476 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8478         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
8480         * debug/memcpy_chk.c: Don't include pagecopy.h.
8481         * debug/mempcpy_chk.c: Likewise.
8482         * string/memcpy.c: Likewise.
8483         * string/memmove.c: Likewise.
8484         * sysdeps/powerpc/memmove.c: Likewise.
8485         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
8486         definition of PAGE_COPY_FWD_MAYBE here...
8487         * sysdeps/generic/pagecopy.h: ... from here.
8488         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
8490 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8491             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8493         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
8494         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
8495         optimizations.
8496         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
8497         (__libc_ifunc_impl_list): Likewise.
8498         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
8499         multiarch strcat for PPC64.
8500         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
8501         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
8503 2014-07-02  Roland McGrath  <roland@hack.frob.com>
8505         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
8507 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8509         * intl/loadmsgcat.c: Remove declaration of
8510         get_sysdep_segment_value.
8511         (get_sysdep_segment_value): Use ISO C style.
8512         (_nl_load_domain): Use ISO C style.  Get rid of redundant
8513         semicolon.  Fix typo and formatting in comment.
8514         (_nl_unload_domain): Use ISO C style.
8516         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
8518 2014-07-02  Will Newton  <will.newton@linaro.org>
8520         * malloc/obstack.c: Merge from gnulib master.
8521         [HAVE_CONFIG_H]: Remove conditional code.
8522         [!_LIBC]: Include config.h.
8523         [!ELIDE_CODE]: Don't include inttypes.h, include
8524         stdint.h unconditionally.
8525         (print_and_abort): Mark as _Noreturn.
8526         (_obstack_allocated_p): Mark as __attribute_pure__.
8527         (obstack_free): Rename to __obstack_free.
8528         [!__attribute__]: Remove conditional code.
8529         * malloc/obstack.h: Merge from gnulib master.
8530         [__cplusplus]: Move conditional down.
8531         [!__attribute_pure__]: Define __attribute_pure__ here
8532         if it is not already defined.
8533         (_obstack_memory_used): Mark as __attribute_pure__.
8534         [!__obstack_free]: Define as obstack_free.
8535         [__GNUC__]: Remove check for ancient NeXT gcc.
8537 2014-07-02  Will Newton  <will.newton@linaro.org>
8538             Paul Eggert  <eggert@cs.ucla.edu>
8540         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
8542 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
8544         * resolv/gethnamaddr.c: Add comment warning that the file is
8545         not maintained.
8547 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
8549         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
8550         entries.
8552         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
8553         entry for aio_cancel and aio_cancel64.
8554         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
8555         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
8556         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
8557         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
8558         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
8559         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
8560         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
8561         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
8562         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
8563         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
8564         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
8565         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
8566         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
8568 2014-07-01  Roland McGrath  <roland@hack.frob.com>
8570         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
8571         * nptl/pthread_mutex_lock.c: Likewise.
8572         * nptl/pthread_mutex_timedlock.c: Likewise.
8573         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
8575 2014-07-01  Richard henderson  <rth@redhat.com>
8577         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
8578         (__isnan, __isnanl): Remove.
8579         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
8581         * sysdeps/alpha/fpu/libm-test-ulps: Update.
8583 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
8585         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
8587 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
8589         * resolv/nss_dns/dns-host.c (getanswer_r)
8590         [MULTI_PTRS_ARE_ALIASES]: Remove code.
8592 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
8594         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8595         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
8596         undefine.
8597         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
8598         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
8600 2014-07-01  Roland McGrath <roland@hack.frob.com>
8602         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
8603         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
8605         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
8606         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
8608         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
8609         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
8610         ... here.
8611         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
8612         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
8614         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
8615         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
8616         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
8617         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
8619         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
8620         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
8621         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
8622         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
8623         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
8624         Moved ...
8625         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
8626         ... here.
8627         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
8628         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
8629         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
8630         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
8631         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
8632         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
8633         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
8634         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
8635         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
8636         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
8637         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
8638         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
8639         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
8640         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
8641         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
8642         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
8643         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
8644         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
8645         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
8646         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
8647         ... here.
8648         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
8649         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
8650         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
8651         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
8652         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
8653         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
8654         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
8655         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
8657 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
8659         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
8660         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
8661         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
8662         Add sysdep.
8664 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8666         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8668 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8670         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
8671         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
8673         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
8675         * sysdeps/arm/libm-test-ulps: Regenerated.
8677 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8678             Roland McGrath <roland@hack.frob.com>
8680         * test-skeleton.c (signal_handler): Kill the whole process group
8681         before killing the child individually.
8682         (main): Report any failure on `setpgid'.
8684 2014-06-30  Roland McGrath  <roland@hack.frob.com>
8686         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
8687         from _TLS_H to _ARM_NPTL_TLS_H.
8688         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
8689         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
8691 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
8693         [BZ #16539]
8694         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
8695         (__expm1l): Return argument unchanged when small but not
8696         subnormal.
8698         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
8699         include macro name.
8700         (_FP_UNPACK_RAW_1_P): Likewise.
8701         (_FP_PACK_RAW_1): Likewise.
8702         (_FP_PACK_RAW_1_P): Likewise.
8703         (_FP_MUL_MEAT_1_wide): Likewise.
8704         (_FP_MUL_MEAT_DW_1_hard): Likewise.
8705         (_FP_MUL_MEAT_1_hard): Likewise.
8706         (_FP_DIV_MEAT_1_imm): Likewise.
8707         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
8708         (_FP_DIV_MEAT_1_udiv): Likewise.
8709         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
8710         (_FP_UNPACK_RAW_2): Likewise.
8711         (_FP_UNPACK_RAW_2_P): Likewise.
8712         (_FP_PACK_RAW_2): Likewise.
8713         (_FP_PACK_RAW_2_P): Likewise.
8714         (_FP_MUL_MEAT_DW_2_wide): Likewise.
8715         (_FP_MUL_MEAT_2_wide): Likewise.
8716         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
8717         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
8718         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
8719         (_FP_MUL_MEAT_2_gmp): Likewise.
8720         (_FP_DIV_MEAT_2_udiv): Likewise.
8721         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
8722         (_FP_FRAC_SRL_4): Likewise.
8723         (_FP_FRAC_SRST_4): Likewise.
8724         (_FP_FRAC_SRS_4): Likewise.
8725         (_FP_UNPACK_RAW_4): Likewise.
8726         (_FP_UNPACK_RAW_4_P): Likewise.
8727         (_FP_PACK_RAW_4): Likewise.
8728         (_FP_PACK_RAW_4_P): Likewise.
8729         (_FP_MUL_MEAT_DW_4_wide): Likewise.
8730         (_FP_MUL_MEAT_4_wide): Likewise.
8731         (_FP_MUL_MEAT_4_gmp): Likewise.
8732         (umul_ppppmnnn): Likewise.
8733         (_FP_DIV_MEAT_4_udiv): Likewise.
8734         (__FP_FRAC_ADD_4): Likewise.
8735         (__FP_FRAC_SUB_3): Likewise.
8736         (__FP_FRAC_SUB_4): Likewise.
8737         (__FP_FRAC_DEC_3): Likewise.
8738         (__FP_FRAC_DEC_4): Likewise.
8739         (__FP_FRAC_ADDI_4): Likewise.
8740         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
8741         (_FP_FRAC_SRL_8): Likewise.
8742         (_FP_FRAC_SRS_8): Likewise.
8744         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
8745         include macro name.
8746         (FP_UNPACK_RAW_EP): Likewise.
8747         (FP_PACK_RAW_E): Likewise.
8748         (FP_PACK_RAW_EP): Likewise.
8749         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
8750         (_FP_ISSIGNAN): Likewise.
8751         (_FP_ADD_INTERNAL): Likewise.
8752         (_FP_FMA): Likewise.
8753         (_FP_CMP): Likewise.
8754         (_FP_SQRT): Likewise.
8755         (_FP_TO_INT): Likewise.
8756         (_FP_FROM_INT): Likewise.
8757         (FP_EXTEND): Likewise.
8758         (_FP_DIV_MEAT_N_loop): Likewise.
8760 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
8762         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
8763         throughout.
8765 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
8767         [BZ #17097]
8768         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
8769         result with correct sign in case of exponents that produce
8770         overflow except for X very close to 1.
8772 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
8774         mktime: merge #if/#ifdef usage from glibc
8775         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
8776         as that works with both Glibc's and Gnulib's style.
8777         See thread starting at Siddhesh Poyarekar's bug report at:
8778         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
8780 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
8782         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
8783         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
8784         * sysdeps/tile/tilegx/memmove.c: Remove file.
8786 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8788         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
8789         abi-name definition.
8790         * scripts/soversions.awk: Do not handle or generate ABI lines.
8791         * shlib-versions: Remove ABI entries.
8792         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
8793         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
8795 2014-06-27  Roland McGrath  <roland@hack.frob.com>
8797         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
8798         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
8799         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
8800         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
8801         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
8802         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
8803         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
8804         Moved ...
8805         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
8806         ... here.
8807         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
8808         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
8809         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
8810         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
8811         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
8812         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
8813         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
8814         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
8815         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
8816         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
8817         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
8818         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
8819         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
8820         Moved ...
8821         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
8822         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
8823         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
8824         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
8825         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
8826         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
8827         Moved ...
8828         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
8829         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
8830         Moved ...
8831         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
8832         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
8833         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
8834         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
8835         Moved ...
8836         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
8837         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
8838         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
8839         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
8840         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
8841         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
8842         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
8843         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
8844         Moved ...
8845         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
8846         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
8847         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
8848         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
8849         Moved ...
8850         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
8851         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
8852         Moved ...
8853         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
8854         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
8855         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
8856         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
8857         Moved ...
8858         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
8859         ... here.
8860         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
8861         Identical file removed.
8862         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
8863         Moved ...
8864         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
8865         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
8866         Identical file removed.
8867         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
8868         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
8869         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
8870         Moved ...
8871         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
8872         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
8873         Identical file removed.
8874         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
8875         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
8876         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
8877         Identical file removed.
8878         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
8879         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
8880         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
8881         Identical file removed.
8882         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
8883         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
8884         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
8885         Identical file removed.
8886         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
8887         Moved ...
8888         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
8889         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
8890         Identical file removed.
8891         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
8892         Moved ...
8893         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
8894         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
8895         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
8896         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
8897         Identical file removed.
8898         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
8899         Moved ...
8900         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
8901         ... here.
8902         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
8903         Identical file removed.
8904         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
8905         Moved ...
8906         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
8907         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
8908         Identical file removed.
8909         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
8910         Moved ...
8911         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
8912         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
8913         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
8914         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
8915         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
8916         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
8917         Moved ...
8918         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
8919         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
8920         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
8922         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
8923         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
8924         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
8925         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
8926         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
8928 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
8930         [BZ #17092]
8931         * nscd/nscd.c (monitor_child): Return exit status of child
8932         instead of return value from wait syscall.
8934 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
8936         * configure.ac (libc_commonpagesize): Remove variable.
8937         (libc_relro_required): Likewise.
8938         (libc_cv_z_relro): Remove configure test.
8939         * configure: Regenerated.
8940         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
8941         variable.
8942         (libc_relro_required): Likewise.
8943         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
8944         (libc_relro_required): Likewise.
8945         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
8946         (libc_relro_required): Likewise.
8947         * sysdeps/arm/preconfigure: Regenerated.
8948         * sysdeps/ia64/preconfigure: Remove file.
8949         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
8950         variable.
8951         (libc_relro_required): Likewise.
8953         [BZ #16561]
8954         [BZ #16562]
8955         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
8956         (__ieee754_yn): Set FE_TONEAREST mode internally and then
8957         recompute overflowing results in original rounding mode.
8958         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
8959         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
8960         recompute overflowing results in original rounding mode.
8961         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
8962         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8963         recompute overflowing results in original rounding mode.
8964         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
8965         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8966         recompute overflowing results in original rounding mode.
8967         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
8968         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
8969         recompute overflowing results in original rounding mode.
8970         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
8971         (libc_feholdsetround_ctx): New macro.
8972         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
8973         * sysdeps/i386/fpu/libm-test-ulps: Update.
8974         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
8976 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
8978         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
8979         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
8980         corresponding .cpsetup call.
8982 2014-06-26  Roland McGrath  <roland@hack.frob.com>
8984         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
8985         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
8986         * sysdeps/arm/Makefile [$(subdir) = csu]
8987         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
8988         (static-only-routines): Add aeabi_read_tp here.
8989         (shared-only-routines): Add libc-aeabi_read_tp here.
8990         (CFLAGS-libc-start.c): Add -fexceptions here.
8991         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
8992         (sysdep_routines, static-only-routines, shared-only-routines):
8993         Don't add to these here.
8994         (CFLAGS-libc-start.c): Likewise.
8996         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
8997         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
8998         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
8999         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
9000         * sysdeps/arm/Makefile [$(subdir) = rt]
9001         (librt-sysdep_routines, librt-shared-only-routines):
9002         Append rt-aeabi_unwind_cpp_pr1 here.
9003         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
9004         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
9005         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
9006         (libpthread-sysdep_routines, libpthread-shared-only-routines):
9007         Append nptl-aeabi_unwind_cpp_pr1 here.
9008         (tests): Filter out tst-cleanupx4 here.
9009         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
9010         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
9011         Don't do those here.
9013 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9015         * scripts/list-sources.sh: Do not handle ports specially.
9017 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9019         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
9020         * sysdeps/arm/feupdateenv.c: Likewise.
9022         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
9024 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9026         * manual/texinfo.tex: Update to version 2014-05-05.10 with
9027         trailing whitespace removed.
9028         * scripts/config.guess: Update to version 2014-03-23.
9029         * scripts/config.sub: Update to version 2014-05-01
9030         * scripts/install-sh: Update to version 2013-12-25.23.
9031         * scripts/move-if-change: Update from gnulib.
9033 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9035         * debug/memmove_chk.c: Remove pagecopy.h include.
9037 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
9039         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
9040         identical to gnulib mktime.
9042 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
9044         * configure.ac: Do not test for machine being rs6000.  Do not test
9045         for powerpc*-*soft.
9046         * configure: Regenerated.
9048         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
9049         test.
9050         * configure: Regenerated.
9051         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
9052         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
9053         Remove configure test.
9054         * sysdeps/arm/configure: Regenerated.
9055         * sysdeps/nptl/configure.ac: Do not check
9056         libc_cv_asm_cfi_directives.
9057         * sysdeps/nptl/configure: Regenerated.
9058         * sysdeps/x86_64/nptl/configure.ac: Remove file.
9059         * sysdeps/x86_64/nptl/configure: Remove generated file.
9060         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
9061         unconditional.
9062         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
9064 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9066         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
9067         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
9068         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
9069         it is defined.
9071         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
9072         instead of whether it is defined.
9073         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
9074         * sysdeps/hppa/dl-machine.h: Likewise.
9075         * sysdeps/ia64/dl-machine.h: Likewise.
9076         * sysdeps/m68k/dl-machine.h: Likewise.
9077         * sysdeps/microblaze/dl-machine.h: Likewise.
9078         * sysdeps/mips/dl-machine.: Likewise.
9079         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
9080         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
9081         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9082         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9083         * sysdeps/sh/dl-machine.h: Likewise.
9084         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
9085         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
9086         * sysdeps/tile/dl-machine.h: Likewise.
9087         * sysdeps/x86_64/dl-machine.h: Likewise.
9089         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
9090         code.
9091         (verify_persistent_db): Likewise.
9093 2014-06-26  Roland McGrath  <roland@hack.frob.com>
9095         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
9096         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
9097         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
9098         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
9099         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
9100         Moved ...
9101         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
9102         ... here.
9103         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
9104         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
9105         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
9106         Identical file removed.
9107         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
9108         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
9109         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
9110         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
9111         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
9112         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
9113         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
9114         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
9115         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
9116         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
9117         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
9118         Moved ...
9119         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
9120         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
9121         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
9122         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
9123         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
9124         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
9125         Moved ...
9126         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
9127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
9128         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
9129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
9130         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
9131         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
9132         Identical file removed.
9133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
9134         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
9135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
9136         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
9137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
9138         Moved ...
9139         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
9140         ... here.
9141         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
9142         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
9143         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
9144         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
9145         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
9146         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
9147         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
9148         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
9149         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
9150         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
9151         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
9152         Moved ...
9153         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
9154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
9155         Moved ...
9156         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
9157         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
9158         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
9159         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
9160         Moved ...
9161         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
9162         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
9163         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
9165         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
9166         folded into ...
9167         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
9168         * sysdeps/unix/sysv/linux/s390/Versions
9169         (libpthread: GLIBC_2.19): New version set.
9170         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
9171         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
9172         (librt: GLIBC_2.3.3): New version set.
9173         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
9174         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
9175         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
9176         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
9177         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
9178         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
9179         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
9180         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
9181         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
9182         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
9183         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
9184         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
9185         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
9186         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
9187         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
9188         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
9189         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
9190         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
9191         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
9192         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
9193         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
9194         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
9195         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
9196         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
9197         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
9198         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
9199         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
9200         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
9201         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
9202         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
9203         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
9204         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
9205         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
9206         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
9207         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
9208         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
9209         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
9210         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
9211         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
9212         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
9213         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
9214         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
9215         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
9216         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
9217         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
9219         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
9220         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
9221         (__libc_vfork): Define the function under this name.
9222         [!NOT_IN_libc] (__vfork): Make this an alias.
9223         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9224         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
9225         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
9226         (__libc_vfork): Define the function under this name.
9227         [!NOT_IN_libc] (__vfork): Make this an alias.
9228         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
9229         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
9230         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
9231         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
9232         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
9233         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
9235         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
9236         code that was previously under [RESET_PID].
9237         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
9238         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
9239         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
9241         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
9242         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
9243         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
9244         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
9245         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
9246         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
9247         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
9248         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
9249         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
9250         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
9251         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
9252         Moved ...
9253         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
9254         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
9255         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
9256         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
9257         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
9258         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
9259         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
9260         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
9261         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
9262         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
9263         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
9264         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
9265         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
9266         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
9267         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
9268         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
9269         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
9270         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
9271         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
9272         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
9273         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
9274         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
9275         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
9276         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
9277         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
9278         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
9279         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
9280         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
9281         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
9283 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9285         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
9286         that was previously under [RESET_PID].
9287         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
9289 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9291         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
9292         not undefine and redefine.
9293         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
9294         [O_CLOEXEC]: Make code unconditional.
9295         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
9296         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
9297         <kernel-features.h>.
9298         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
9299         conditional variable definition.
9300         (shm_open) [O_CLOEXEC]: Make code unconditional.
9301         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
9302         code.
9304         * configure.ac (USE_REGPARMS): Don't define here.
9305         * configure: Regenerated.
9306         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
9307         * sysdeps/i386/configure: Regenerated.
9309         * nptl/createthread.c: Don't include kernel-features.h.
9310         * nptl/pthread_cancel.c: Likewise.
9311         * nptl/pthread_condattr_setclock.c: Likewise.
9312         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
9313         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
9314         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
9315         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
9316         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
9317         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
9318         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
9319         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
9320         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
9321         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
9322         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
9323         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
9324         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
9325         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
9326         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
9327         * nscd/gai.c: Likewise.
9328         * nss/nss_db/db-open.c: Likewise.
9329         * sysdeps/generic/ldsodefs.h: Likewise.
9330         * sysdeps/sh/nptl/tls.h: Likewise.
9331         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
9332         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
9333         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
9334         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
9335         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
9336         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
9337         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
9338         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
9339         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
9340         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
9341         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
9342         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
9343         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
9344         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
9345         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
9346         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
9347         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
9348         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
9349         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
9350         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
9351         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
9352         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
9353         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
9354         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
9355         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
9356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
9357         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
9358         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
9359         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
9360         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
9361         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
9362         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
9363         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
9364         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
9365         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
9366         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
9367         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
9368         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
9369         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
9370         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
9371         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
9372         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
9373         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
9374         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
9375         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
9376         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
9377         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
9378         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
9379         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
9380         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
9381         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
9382         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
9383         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
9384         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
9385         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
9386         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
9387         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
9388         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
9389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
9390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
9391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
9392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
9393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
9394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
9395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
9396         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
9397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
9398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
9399         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
9400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
9401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
9402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
9403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
9404         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
9405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
9406         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
9407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
9408         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
9409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
9410         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
9411         * sysdeps/unix/sysv/linux/pread.c: Likewise.
9412         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
9413         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
9414         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
9415         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
9416         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
9417         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
9418         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
9419         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
9420         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
9421         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
9422         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
9423         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
9424         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
9425         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
9426         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
9427         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9428         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
9429         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
9430         * sysdeps/unix/sysv/linux/system.c: Likewise.
9431         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
9432         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
9433         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
9434         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
9435         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
9436         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
9437         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
9439         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
9440         * configure: Regenerated.
9441         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
9443         * configure.ac (base_machine): Do not set specially for particular
9444         machines here.
9445         * configure: Regenerated.
9446         * sysdeps/powerpc/preconfigure: Move machine and base_machine
9447         settings from configure.ac.
9448         * sysdeps/i386/preconfigure: New file.
9449         * sysdeps/s390/preconfigure: Likewise.
9450         * sysdeps/sh/preconfigure: Likewise.
9451         * sysdeps/sparc/preconfigure: Likewise.
9453 2014-06-25  Roland McGrath  <roland@hack.frob.com>
9455         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
9456         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
9457         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
9458         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
9459         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
9460         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
9461         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
9462         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
9463         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
9464         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
9465         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
9466         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
9467         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
9468         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
9469         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
9470         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
9471         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
9472         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
9473         * sysdeps/sparc/sparc64/Makefile: ... appended here.
9475         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
9476         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
9477         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
9478         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
9479         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
9480         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
9481         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
9482         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
9483         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
9484         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
9485         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
9486         * sysdeps/sparc/sparc32/sem_post.c: ... here.
9487         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
9488         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
9489         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
9490         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
9491         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
9492         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
9493         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
9494         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
9495         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
9496         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
9497         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
9498         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
9499         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
9500         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
9501         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
9502         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
9503         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
9504         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
9505         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
9506         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
9507         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
9508         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
9509         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
9510         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
9511         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
9512         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
9514         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
9515         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
9516         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
9517         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
9518         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
9519         Moved ...
9520         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
9521         ... here.
9522         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
9523         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
9524         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
9525         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
9526         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
9527         Moved ...
9528         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
9529         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
9530         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
9531         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
9532         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
9533         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
9534         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
9535         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
9536         Moved ...
9537         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
9538         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
9539         Moved ...
9540         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
9541         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
9542         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
9543         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
9544         Moved ...
9545         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
9546         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
9547         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
9548         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
9549         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
9550         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
9551         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
9552         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
9553         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
9554         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
9555         Moved ...
9556         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
9557         ... here.
9558         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
9559         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
9560         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
9561         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
9562         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
9563         Moved ...
9564         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
9565         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
9566         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
9567         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
9568         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
9569         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
9570         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
9571         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
9572         Moved ...
9573         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
9574         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
9575         Moved ...
9576         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
9577         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
9578         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
9579         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
9580         Moved ...
9581         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
9582         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
9583         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
9584         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
9585         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
9587 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9589         * timezone/checktab.awk: Update from tzcode 2014e.
9590         * timezone/private.h: Likewise.
9591         * timezone/tzfile.h: Likewise.
9592         * timezone/zdump.c: Likewise.
9593         * timezone/zic.c: Likewise.
9595         * sysdeps/unix/sysv/linux/kernel-features.h
9596         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
9597         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
9598         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
9599         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9600         Remove conditional code.
9602 2014-06-25  Will Newton  <will.newton@linaro.org>
9604         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
9605         (_dl_arm_cap_flags): Add HWCAP2 values.
9606         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
9607         (_DL_HWCAP_COUNT): Increase to 37.
9608         (_DL_HWCAP_LAST): New define.
9609         (_DL_HWCAP2_LAST): New define.
9610         (_dl_procinfo): Add support for printing
9611         AT_HWCAP2 entries.
9612         (_dl_string_hwcap): Use _dl_hwcap_string.
9614 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9616         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9618 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
9620         * README: Do not mention ports directory.
9622         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
9623         Remove macro.
9624         * sysdeps/unix/sysv/linux/futimes.c: Do not include
9625         <kernel-features.h>.
9626         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
9627         conditional variable definition.
9628         (__futimes): Update comment.
9629         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
9630         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
9632         [BZ #16560]
9633         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
9634         arguments close to 0.
9635         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
9636         Likewise.
9637         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
9638         Likewise.
9639         * math/auto-libm-test-in: Add more tests of exp10.
9640         * math/auto-libm-test-out: Regenerated.
9641         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
9643         * sysdeps/unix/sysv/linux/kernel-features.h
9644         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
9645         * sysdeps/unix/sysv/linux/readv.c: Do not include
9646         <kernel-features.h>.
9647         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9648         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9649         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9650         unconditional.
9651         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9652         conditional code.
9653         * sysdeps/unix/sysv/linux/writev.c: Do not include
9654         <kernel-features.h>.
9655         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
9656         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
9657         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
9658         unconditional.
9659         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
9660         conditional code.
9662 2014-06-25  Will Newton  <will.newton@linaro.org>
9664         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
9665         comment changes throughout the file.  Remove checks
9666         for HAVE_*_H definitions that are not required.
9667         (__gen_tempname): Call abort if an unknown kind value is
9668         passed.
9670 2014-06-25  Andreas Schwab  <schwab@suse.de>
9672         [BZ #17086]
9673         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
9674         scalbln, scalblnf, scalblnl in libc.
9676 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
9678         [BZ #17086]
9679         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
9680         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
9681         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
9683 2014-06-24  Roland McGrath  <roland@hack.frob.com>
9685         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
9686         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
9687         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
9688         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
9689         Update #include.
9690         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
9691         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
9692         Update #include.
9693         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
9694         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
9695         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
9696         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
9697         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
9698         * sysdeps/x86/bits/pthreadtypes.h: ... here.
9699         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
9700         * sysdeps/x86/bits/semaphore.h: ... here.
9701         * sysdeps/x86/nptl/elide.h: Moved ...
9702         * sysdeps/x86/elide.h: ... here.
9703         * sysdeps/x86_64/nptl/Implies: File removed.
9704         * sysdeps/i386/nptl/Implies: File removed.
9706 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
9708         [BZ #16539]
9709         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
9710         return the argument for normal arguments with exponent below -64.
9711         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
9712         Likewise.
9713         * math/auto-libm-test-in: Add another test of expm1.
9714         * math/auto-libm-test-out: Regenerated.
9716         [BZ #16287]
9717         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
9718         calling __erfcl for arguments at least 16.
9719         * math/auto-libm-test-in: Add more tests of erf.
9720         * math/auto-libm-test-out: Regenerated.
9722         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
9723         individual architectures.
9724         * sysdeps/unix/sysv/linux/configure: Regenerated.
9725         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
9726         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
9727         * sysdeps/unix/sysv/linux/powerpc/configure.ac
9728         (ldd_rewrite_script): Define variable.
9729         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
9730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
9731         file.
9732         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
9733         generated file.
9734         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
9735         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
9736         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
9737         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
9738         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
9739         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
9740         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
9741         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
9743 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9745         [BZ #17084]
9746         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
9747         Rename member __data.d to __data.__elision_data.
9749 2014-06-24  Wilco  <wdijkstr@arm.com>
9751         * NEWS: Add 16918 to fixed bug list.
9753 2014-06-24  Wilco  <wdijkstr@arm.com>
9755         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
9757 2014-06-24  Wilco  <wdijkstr@arm.com>
9759         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
9760         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
9761         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
9762         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
9763         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
9764         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
9765         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
9766         Use _FPU_MASK_RM.
9768 2014-06-24  Wilco  <wdijkstr@arm.com>
9770         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
9772 2014-06-24  Wilco  <wdijkstr@arm.com>
9774         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
9775         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
9776         * sysdeps/arm/fesetround.c (fesetround): Remove space.
9777         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
9779 2014-06-24  Wilco  <wdijkstr@arm.com>
9781         [BZ #16918]
9782         * sysdeps/arm/feupdateenv.c (feupdateenv):
9783         Rewrite to reduce FPSCR accesses and fix return value.
9785 2014-06-24  Wilco  <wdijkstr@arm.com>
9787         * sysdeps/arm/fclrexcpt.c (feclearexcept):
9788         Optimize to avoid unnecessary FPSCR writes.
9789         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
9790         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
9791         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
9792         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
9794 2014-06-24  Wilco  <wdijkstr@arm.com>
9796         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
9797         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
9798         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
9799         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
9800         Call libc_fetestexcept_vfp.
9801         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
9802         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
9803         __SOFTFP__ ifdef so that they can be built for softfp.
9805 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9807         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
9808         argument type signed char.
9810         * Makerules (check-abi): Dump diff of symlist if the test
9811         fails.
9813 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9815         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
9816         using abort.
9818         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9819         Remove unused variable ST.
9821 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
9823         [BZ #16354]
9824         [BZ #17061]
9825         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
9826         small arguments before calling __expm1.
9827         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
9828         small arguments before calling __expm1f.
9829         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
9830         small arguments before calling __expm1l.
9831         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
9832         Likewise.
9833         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
9834         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
9835         spurious underflow for some cosh tests.
9836         * math/auto-libm-test-out: Regenerated.
9837         * sysdeps/i386/fpu/libm-test-ulps: Update.
9839         [BZ #17050]
9840         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
9841         (__ieee754_y1): Set errno if return value overflows.
9842         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
9843         (__ieee754_y1f): Set errno if return value overflows.
9844         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
9845         (__ieee754_y1l): Set errno if return value overflows.
9846         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
9847         (__ieee754_y1l): Set errno if return value overflows.
9848         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
9849         * math/auto-libm-test-out: Regenerated.
9851         * math/gen-auto-libm-tests.c: Document use of
9852         ignore-zero-inf-sign.
9853         (input_flag_type): Add value flag_ignore_zero_inf_sign.
9854         (input_flags): Add ignore-zero-inf-sign.
9855         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
9856         * math/gen-libm-test.pl (generate_testfile): Handle
9857         ignore-zero-inf-sign.
9858         * math/auto-libm-test-in: Mark some cpow tests with
9859         ignore-zero-inf-sign and some with xfail-rounding.
9860         * math/auto-libm-test-out: Regenerated.
9861         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
9862         * sysdeps/i386/fpu/libm-test-ulps: Update.
9863         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9865         [BZ #16315]
9866         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
9867         overflowing or underflowing operations take place with sign of
9868         result.
9869         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9870         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9871         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
9872         (__ieee754_pow): Recompute overflowing and underflowing results in
9873         original rounding mode.
9874         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
9875         (__powl_helper): Allow negative argument X and scale negated value
9876         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
9877         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
9878         overflowing or underflowing operations take place with sign of
9879         result.
9880         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
9881         Include <math.h>.
9882         * math/auto-libm-test-in: Add more tests of pow.
9883         * math/auto-libm-test-out: Regenerated.
9884         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
9885         (pow_tonearest_test_data): Remove.
9886         (pow_test_tonearest): Likewise.
9887         (pow_towardzero_test_data): Likewise.
9888         (pow_test_towardzero): Likewise.
9889         (pow_downward_test_data): Likewise.
9890         (pow_test_downward): Likewise.
9891         (pow_upward_test_data): Likewise.
9892         (pow_test_upward): Likewise.
9893         (main): Don't call removed functions.
9894         * sysdeps/i386/fpu/libm-test-ulps: Update.
9895         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9897 2014-06-23  Roland McGrath  <roland@hack.frob.com>
9899         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
9900         Moved ...
9901         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
9902         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
9903         Moved ...
9904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
9905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
9906         Moved ...
9907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
9908         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
9909         Moved ...
9910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
9911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
9912         File removed.
9913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
9914         File removed.
9915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
9916         File removed.
9917         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
9918         File removed.
9919         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
9920         File removed.
9921         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
9922         File removed.
9923         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
9924         File removed.
9925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
9926         File removed.
9927         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
9928         File removed.
9929         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
9930         File removed.
9931         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
9932         File removed.
9933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
9934         File removed.
9935         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
9936         Moved ...
9937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
9938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
9939         Moved ...
9940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
9941         ... here.
9942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
9943         Moved ...
9944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
9945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
9946         Moved ...
9947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
9948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
9949         Moved ...
9950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
9951         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
9952         Moved ...
9953         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
9954         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
9955         Moved ...
9956         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
9957         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
9958         Moved ...
9959         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
9960         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
9961         Moved ...
9962         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
9963         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
9964         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
9965         ... here.
9966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
9967         Moved ...
9968         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
9969         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9970         Moved ...
9971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9972         ... here.
9973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
9974         Moved ...
9975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9976         ... here.
9977         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
9978         Moved ...
9979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
9980         ... here.
9981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
9982         Moved ...
9983         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
9984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
9985         Moved ...
9986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
9987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
9988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
9989         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
9990         Moved ...
9991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
9992         ... here.
9993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
9994         Moved ...
9995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
9996         ... here.
9997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
9998         Moved ...
9999         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
10000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
10001         Moved ...
10002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
10003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
10004         Moved ...
10005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
10006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
10007         Moved ...
10008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
10009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
10010         Moved ...
10011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
10012         ... here.
10013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
10014         Moved ...
10015         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
10016         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
10017         Moved ...
10018         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
10019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
10020         Moved ...
10021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
10022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
10023         Moved ...
10024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
10025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
10026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
10027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
10028         Moved ...
10029         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
10030         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
10031         Moved ...
10032         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
10033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
10034         Moved ...
10035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
10036         ... here.
10037         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
10038         Moved ...
10039         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
10040         ... here.
10041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
10042         Moved ...
10043         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
10044         ... here.
10045         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
10046         Moved ...
10047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
10048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
10049         Moved ...
10050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
10051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
10052         Moved ...
10053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
10054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
10055         Moved ...
10056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
10057         ... here.
10058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
10059         Moved ...
10060         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
10061         ... here.
10062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
10063         Moved ...
10064         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
10065         ... here.
10066         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
10067         Moved ...
10068         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
10069         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
10070         Moved ...
10071         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
10073 2014-06-23  Will Newton  <will.newton@linaro.org>
10074             Wilco  <wdijkstr@arm.com>
10076         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
10077         implementation.  Include get-rounding-mode.h.
10078         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
10079         [!libc_feholdsetround_noex_ctx]: Define
10080         libc_feholdsetround_noex_ctx.
10081         [!libc_feholdsetround_noexf_ctx]: Define
10082         libc_feholdsetround_noexf_ctx.
10083         [!libc_feholdsetround_noexl_ctx]: Define
10084         libc_feholdsetround_noexl_ctx.
10085         (libc_feholdsetround_ctx): New function.
10086         (libc_feresetround_ctx): New function.
10087         (libc_feholdsetround_noex_ctx): New function.
10088         (libc_feresetround_noex_ctx): New function.
10090 2014-06-23  Roland McGrath  <roland@hack.frob.com>
10092         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
10093         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
10094         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
10095         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
10096         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
10097         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
10099         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
10100         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
10101         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
10102         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
10103         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
10104         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
10105         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
10106         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
10107         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
10108         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
10109         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
10110         Moved ...
10111         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
10112         ... here.
10113         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
10114         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
10115         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
10116         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
10117         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
10118         Moved ...
10119         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
10120         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
10121         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
10122         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
10123         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
10124         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
10125         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
10126         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
10127         Moved ...
10128         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
10129         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
10130         Moved ...
10131         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
10132         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
10133         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
10134         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
10135         Moved ...
10136         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
10137         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
10138         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
10139         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
10140         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
10141         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
10142         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
10143         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
10144         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
10145         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
10146         Moved ...
10147         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
10148         ... here.
10149         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
10150         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
10151         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
10152         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
10153         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
10154         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
10155         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
10156         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
10157         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
10158         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
10159         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
10160         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
10161         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
10162         Moved ...
10163         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
10164         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
10165         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
10166         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
10167         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
10168         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
10169         Moved ...
10170         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
10171         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
10172         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
10173         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
10174         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
10176         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
10177         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
10178         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
10179         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
10180         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
10181         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
10182         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
10183         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
10184         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
10185         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
10186         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
10187         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
10188         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
10189         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
10190         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
10191         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
10192         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
10193         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
10194         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
10195         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
10196         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
10197         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
10198         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
10199         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
10200         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
10201         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
10202         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
10203         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
10205 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
10207         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
10208         (FALLOC_FL_COLLAPSE_RANGE): New macro.
10209         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
10210         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
10211         (IPV6_PMTUDISC_INTERFACE): Likewise.
10212         (IPV6_PMTUDISC_OMIT): Likewise.
10214 2014-06-23  Andreas Schwab  <schwab@suse.de>
10216         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
10217         Remove unused errout label.
10219 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10221         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
10222         macro: hardware supports Vector Crypto instructions.
10224 2014-06-23  Will Newton  <will.newton@linaro.org>
10226         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
10227         rather than __builtin_expect.
10229         * elf/dl-lookup.c (undefined_msg): Remove variable.
10230         (_dl_lookup_symbol_x): Replace undefined_msg with string
10231         literal.
10233         * elf/dl-lookup.c (do_lookup_unique): New function.
10234         (do_lookup_x): Move STB_GNU_UNIQUE handling code
10235         to a separate function.
10237 2014-06-23  Andreas Schwab  <schwab@suse.de>
10239         [BZ #17079]
10240         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
10241         before reading the next line.
10243 2014-06-23  Will Newton  <will.newton@linaro.org>
10245         * test-skeleton.c (signal_handler): Use printf and %m
10246         rather than perror.  Use printf rather than fprintf to
10247         stderr.  Use puts rather than fputs to stderr.
10248         (main): Likewise.
10250 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
10252         * nscd/nscd.c (thread_info_t): Remove typedef.
10253         (thread_info): Remove variable.
10255 2014-06-21  Allan McRae  <allan@archlinux.org>
10257         * NEWS: Mention CVE-2014-4043.
10259 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10261         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
10262         * nptl/smp.h: ... here.
10264         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
10266         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
10267         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
10268         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
10269         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
10271         * nptl/allocatestack.c: Include <stack-aliasing.h>.
10272         * nptl/stack-aliasing.h: New file.
10273         * sysdeps/i386/i686/stack-aliasing.h: New file.
10274         * sysdeps/i386/i686/nptl/Makefile: File removed.
10275         * sysdeps/x86_64/stack-aliasing.h: New file.
10276         * sysdeps/x86_64/nptl/Makefile
10277         (CFLAGS-pthread_create.c): Variable removed.
10279         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
10280         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
10281         old file.
10282         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
10283         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
10284         old file.
10286 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
10288         * sysdeps/unix/sysv/linux/arm/kernel-features.h
10289         (__ASSUME_SIGFRAME_V2): Remove macro.
10290         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
10291         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
10292         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
10293         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
10294         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
10295         Declare as function.  Remove conditional macro definitions.
10296         (__default_rt_sa_restorer): Likewise.
10297         (__default_sa_restorer_v1): Remove declaration.
10298         (__default_sa_restorer_v2): Likewise.
10299         (__default_rt_sa_restorer_v1): Likewise.
10300         (__default_rt_sa_restorer_v2): Likewise.
10301         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
10302         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
10303         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
10305 2014-06-20  Roland McGrath  <roland@hack.frob.com>
10307         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
10308         (libpthread-routines): Add sysdep.
10309         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
10310         * sysdeps/unix/sysv/linux/sparc/Versions
10311         (libpthread: GLIBC_2.3.3): New version set.
10312         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
10313         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
10314         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
10315         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
10316         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
10317         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
10318         Moved ...
10319         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
10320         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
10321         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
10322         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
10323         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
10324         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
10325         * sysdeps/sparc/nptl/sem_init.c: ... here.
10326         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
10327         * sysdeps/sparc/nptl/sem_post.c: ... here.
10328         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
10329         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
10330         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
10331         * sysdeps/sparc/nptl/sem_wait.c: ... here.
10332         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
10333         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
10334         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
10335         (libpthread-routines): Add cpu_relax.
10336         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
10337         File removed.
10338         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
10339         (librt: GLIBC_2.3.3): New version set.
10340         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
10341         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
10342         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
10343         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
10344         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
10345         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
10346         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
10347         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
10348         Moved ...
10349         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
10350         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
10351         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
10352         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
10353         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
10354         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
10355         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
10356         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
10357         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
10358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
10359         Moved ...
10360         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
10361         Update #include.
10362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
10363         Moved ...
10364         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
10365         Update #include.
10366         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
10367         Moved ...
10368         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
10369         Update #include.
10370         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
10371         Moved ...
10372         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
10373         Update #include.
10374         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
10375         Moved ...
10376         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
10377         Update #include.
10378         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
10379         Moved ...
10380         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
10381         Update #include.
10382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
10383         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
10384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
10385         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
10386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
10387         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
10388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
10389         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
10390         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
10391         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
10392         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10393         Moved ...
10394         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
10395         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
10396         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
10397         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
10398         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
10400 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10402         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
10403         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
10404         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
10405         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
10406         * nscd/nscd.c: Likewise.
10407         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
10408         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
10409         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
10410         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
10412         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
10413         <kernel-features.h>.
10414         (init_mq_netlink): Remove conditional have_sock_cloexec
10415         definitions.  Remove code conditional on have_sock_cloexec < 0.
10416         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
10417         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
10418         * sysdeps/unix/sysv/linux/opensock.c: Do not include
10419         <kernel-features.h>.
10420         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
10421         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
10423 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10425         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10426         Add tests for memset_chk and memset.
10428         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
10429         with AVX2_Usable.
10431 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10433         [BZ #16046]
10434         * elf/tst-dl-iter-static.c: New file.
10435         * elf/Makefile (tests-static): Add tst-dl-iter-static.
10437         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
10438         error.
10440 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10442         * sysdeps/unix/sysv/linux/kernel-features.h
10443         (__ASSUME_F_GETOWN_EX): Remove macro.
10444         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
10445         <kernel-features.h>.
10446         (miss_F_GETOWN_EX): Remove variable or macro.
10447         (do_fcntl): Do not check miss_F_GETOWN_EX.
10448         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
10450         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
10451         Remove macro.
10452         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
10453         [!__ASSUME_AT_RANDOM]: Remove conditional code.
10454         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
10456         * sysdeps/unix/sysv/linux/kernel-features.h
10457         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
10458         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
10459         [ADJ_OFFSET_SS_READ]: Make code unconditional.
10460         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
10462 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
10464         [BZ #17075]
10465         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
10466         Fix calculation of the symbol's value.
10467         * sysdeps/arm/tst-armtlsdescloc.c: New file.
10468         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
10469         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
10470         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
10471         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
10472         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
10473         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
10474         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
10475         (modules-names): Add `tst-armtlsdescmod',
10476         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
10477         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
10478         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10479         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
10480         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
10481         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
10482         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
10483         ($(objpfx)tst-armtlsdescloc): New dependency.
10484         ($(objpfx)tst-armtlsdescextnow): Likewise.
10485         ($(objpfx)tst-armtlsdescextlazy): Likewise.
10486         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
10487         TLS scheme support.
10488         * sysdeps/arm/configure: Regenerate.
10490 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
10492         * include/fcntl.h (__atfct_seterrno): Remove prototype.
10493         (__atfct_seterrno_2): Likewise.
10494         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
10495         <kernel-features.h>.
10496         (__ASSUME_ATFCTS): Do not undefine and redefine.
10497         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
10498         (__have_atfcts): Remove conditional definition.
10499         (__fxstatat([__NR_fstatat64]: Make code unconditional.
10500         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
10501         unreachable if [__ASSUME_ATFCTS].
10502         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
10503         not undefine and redefine.
10504         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
10505         <kernel-features.h>.
10506         (faccessat) [__NR_faccessat]: Make code unconditional.
10507         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
10508         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
10509         <kernel-features.h>.
10510         (fchmodat) [__NR_fchmodat]: Make code unconditional.
10511         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10512         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
10513         <kernel-features.h>.
10514         (fchownat) [__NR_fchownat]: Make code unconditional.
10515         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
10516         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
10517         <kernel-features.h>.
10518         (futimesat) [__NR_futimesat]: Make code unconditional.
10519         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
10520         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
10521         <kernel-features.h>.
10522         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10523         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10524         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
10525         <kernel-features.h>.
10526         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
10527         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10528         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
10529         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
10530         <kernel-features.h>.
10531         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
10532         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10533         * sysdeps/unix/sysv/linux/linkat.c: Do not include
10534         <kernel-features.h>.
10535         (linkat) [__NR_linkat]: Make code unconditional.
10536         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10537         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
10538         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
10539         <kernel-features.h>.
10540         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
10541         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
10542         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
10543         <kernel-features.h>.
10544         (mkdirat) [__NR_mkdirat]: Make code unconditional.
10545         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
10546         * sysdeps/unix/sysv/linux/openat.c: Do not include
10547         <kernel-features.h>.
10548         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
10549         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
10550         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
10551         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
10552         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
10553         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
10554         <kernel-features.h>.
10555         (readlinkat) [__NR_readlinkat]: Make code unconditional.
10556         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
10557         result of INLINE_SYSCALL directly, not via int variable.
10558         * sysdeps/unix/sysv/linux/renameat.c: Do not include
10559         <kernel-features.h>.
10560         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
10561         (renameat) [__NR_renameat]: Make code unconditional.
10562         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
10563         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
10564         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
10565         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
10566         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
10567         (__ASSUME_ATFCTS): Do not undefine and redefine.
10568         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
10569         <kernel-features.h>.
10570         (symlinkat) [__NR_symlinkat]: Make code unconditional.
10571         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10572         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
10573         <kernel-features.h>.
10574         (unlinkat) [__NR_unlinkat]: Make code unconditional.
10575         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
10576         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
10577         (__ASSUME_ATFCTS): Do not undefine and redefine.
10578         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
10579         <kernel-features.h>.
10580         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
10581         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
10582         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
10583         <kernel-features.h>.
10584         (__xmknodat) [__NR_mknodat]: Make code unconditional.
10585         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
10587 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
10589         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
10591 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
10593         [BZ #17069]
10594         * posix/regcomp.c (parse_reg_exp): Deallocate partially
10595         constructed tree before returning error.
10596         * posix/bug-regexp36.c: Expand test case.
10598 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
10600         [BZ #6803]
10601         * math/libm-test.inc (scalbln_test_date):
10602         Add errno expectations.
10603         * math/w_scalblnf.c: New File.
10604         Add wrapper which checks for setting errno to ERANGE.
10605         Add weak_alias for corresponding scalbln function.
10606         * math/w_scalbln.c: Likewise.
10607         * math/w_scalblnl.c: Likewise.
10608         * math/Makefile (libm-calls): Add w_scalbln.
10609         * sysdeps/ieee754/flt-32/s_scalblnf.c:
10610         Remove weak_alias for corresponding scalbln function.
10611         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10612         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
10613         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
10614         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
10615         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
10616         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
10617         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
10618         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
10619         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
10620         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
10621         Remove long_double_symbol for scalblnl function in libm, libc.
10622         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
10623         Add wrapper which checks for setting errno to ERANGE.
10624         Add long_double_symbol for scalblnl function in libm, libc.
10625         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
10626         Remove long_double_symbol for scalblnl in libm.
10627         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
10628         Add wrapper which checks for setting errno to ERANGE.
10629         Add long_double_symbol for scalblnl function in libm.
10630         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
10631         Do not use wrapper because of own implementation.
10633 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
10635         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
10636         3 bytes for __pad1 for x32.
10637         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
10639 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
10640             H.J. Lu  <hongjiu.lu@intel.com>
10642         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
10643         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
10644         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10645         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10646         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
10648 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
10650         [BZ #17069]
10651         * posix/regcomp.c (parse_expression): Deallocate partially
10652         constructed tree before returning error.
10653         * posix/Makefile.c (tests): Add bug-regex36.
10654         (generated): Add bug-regex36.mtrace.
10655         (tests-special): Add $(objpfx)bug-regex36-mem.out
10656         (bug-regex36-ENV): New variable.
10657         ($(objpfx)bug-regex36-mem.out): New rule.
10658         * posix/bug-regex36.c: New file.
10660 2014-06-19  Will Newton  <will.newton@linaro.org>
10662         * malloc/malloc.c (systrim): If extra is zero then return
10663         early.
10665 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
10667         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
10669 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
10671         * sysdeps/aarch64/strchr.S: New file.
10673 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10675         [BZ #17022]
10676         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
10677         from arguments -2 or below.
10678         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10679         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10681 2014-06-18  Andreas Schwab  <schwab@suse.de>
10683         [BZ #17062]
10684         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
10685         of a bracket expr not to run off the end of the string.
10686         * posix/Makefile (tests): Add tst-fnmatch3.
10687         * posix/tst-fnmatch3.c: New file.
10689 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
10691         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
10692         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10693         [$(cross-compiling) = no]: Likewise.
10694         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10695         [$(cross-compiling) = no]: Likewise.
10697 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
10699         [BZ #17031]
10700         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
10701         double, adjusted for any remainder from the high double.
10702         * math/libm-test.inc (nearbyint): Add tests.
10703         (rint): Likewise.
10705 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10707         * nptl/sysdeps/powerpc/Makefile: Moved ...
10708         * sysdeps/powerpc/nptl/Makefile: ... here.
10709         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
10710         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
10711         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
10712         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
10713         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
10714         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
10715         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
10716         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
10717         * nptl/sysdeps/powerpc/tls.h: Moved ...
10718         * sysdeps/powerpc/nptl/tls.h: ... here.
10720 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
10722         [BZ #16681]
10723         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
10724         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
10725         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
10726         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
10727         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
10728         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
10729         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
10730         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
10731         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
10733 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
10735         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
10737 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
10739         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
10740         defined operator.
10742         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
10743         $TIMEOUTFACTOR.
10745 2014-06-16  Florian Weimer  <fweimer@redhat.com>
10747         [BZ #17058]
10748         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
10749         non-executed part of the test.
10751 2014-06-16  Andreas Schwab  <schwab@suse.de>
10753         * string/bits/string2.h (strdup, strndup): Update feature guard.
10755 2014-06-14  David S. Miller  <davem@davemloft.net>
10757         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10759 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
10761         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
10762         that was previously under [RESET_PID].
10763         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
10765         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
10766         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
10767         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
10768         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10769         (__libc_vfork): New strong alias.
10770         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
10772 2014-06-14 Andi Kleen  <ak@linux.intel.com>
10774         * sysdeps/generic/elide.h: New file.
10776 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
10778         * Makefile (installed-headers): Adjust path of pthread.h header.
10780 2014-06-13  Roland McGrath  <roland@hack.frob.com>
10782         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
10783         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
10784         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
10785         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
10787         * nptl/sysdeps/s390/Makefile: Moved ...
10788         * sysdeps/s390/nptl/Makefile: ... here.
10789         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
10790         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
10791         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
10792         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
10793         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
10794         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
10795         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
10796         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
10797         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
10798         * sysdeps/s390/nptl/pthreaddef.h: ... here.
10799         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
10800         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
10801         * nptl/sysdeps/s390/tls.h: Moved ...
10802         * sysdeps/s390/nptl/tls.h: ... here.
10804         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
10805         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
10807 2014-06-13  David S. Miller  <davem@davemloft.net>
10809         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
10810         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
10811         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
10812         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
10813         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
10814         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
10815         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
10816         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
10817         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
10818         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
10819         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
10820         Remove RESET_PID cpp guards.
10821         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
10822         Remove RESET_PID cpp guards.
10823         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
10825 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
10827         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
10828         __sp to uintptr_t.
10830 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10832         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
10833         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
10834         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
10835         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
10836         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
10837         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
10838         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
10839         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
10840         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
10841         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
10842         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
10843         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
10844         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
10845         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
10846         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
10847         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
10848         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
10849         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
10850         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
10851         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
10853         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
10854         (pthread_rwlock_rdlock): Add elision.
10855         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
10856         (pthread_rwlock_wrlock): Add elision.
10857         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
10858         (pthread_rwlock_trywrlock): Add elision.
10859         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
10860         (pthread_rwlock_tryrdlock): Add elision.
10861         * nptl/pthread_rwlock_unlock.c: Include elide.h.
10862         (pthread_rwlock_tryrdlock): Add elision unlock.
10863         * nptl/sysdeps/pthread/pthread.h:
10864         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
10865         (PTHREAD_RWLOCK_INITIALIZER,
10866         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
10867         Handle new elision field.
10868         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
10869         * sysdeps/arm/nptl/bits/pthreadtypes.h
10870         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10871         * sysdeps/sh/nptl/bits/pthreadtypes.h
10872         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10873         * sysdeps/tile/nptl/bits/pthreadtypes.h
10874         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10875         * sysdeps/a/nptl/bits/pthreadtypes.h
10876         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10877         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
10878         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10879         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
10880         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10881         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
10882         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10883         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
10884         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10885         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
10886         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10887         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
10888         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10889         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
10890         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10891         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
10892         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10893         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
10894         (elision_init): Set try_xbegin to zero when no RTM.
10895         * sysdeps/x86/nptl/bits/pthreadtypes.h
10896         (pthread_rwlock_t): Change __pad1 to __rwelision.
10897         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
10899 2014-06-13  Andi Kleen  <ak@linux.intel.com>
10901         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
10902         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
10903         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
10904         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
10906 2014-06-13  Meador Inge  <meadori@codesourcery.com>
10908         [BZ #16996]
10909         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
10910         that the cached result has been set before returning it.
10912 2014-06-12  Roland McGrath  <roland@hack.frob.com>
10914         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
10915         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
10916         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
10917         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
10918         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
10919         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
10921         * nptl/sysdeps/sparc/Makefile: Moved ...
10922         * sysdeps/sparc/nptl/Makefile: ... here.
10923         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
10924         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
10925         * nptl/sysdeps/sparc/tls.h: Moved ...
10926         * sysdeps/sparc/nptl/tls.h: ... here.
10927         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
10928         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
10929         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
10930         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
10931         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
10932         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
10933         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
10934         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
10935         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
10936         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
10937         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
10938         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
10939         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
10940         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
10941         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
10942         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
10943         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
10944         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
10945         Update #include.
10946         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
10947         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
10948         Update #include.
10949         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
10950         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
10951         Update #include.
10952         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
10953         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
10954         Update #include.
10956         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
10958         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
10959         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
10961         * sysdeps/pthread/posix-timer.h: Include <list.h>.
10962         (struct list_links): Type removed.
10963         (struct thread_node, struct timer_node): Replace struct list_links
10964         with struct list_head.
10965         (list_unlink_ip): Likewise.
10966         * sysdeps/pthread/timer_routines.c
10967         (timer_free_list, thread_free_list, thread_active_list): Likewise.
10968         (list_append, list_insbefore): Likewise.
10969         (list_init): Function removed.
10970         (thread_init, init_module): Use INIT_LIST_HEAD instead.
10971         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
10972         * sysdeps/pthread/Makefile: ... here, new file.
10974         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
10975         * sysdeps/nptl/Implies: ... here.
10976         * sysdeps/unix/sysv/linux/Implies: Add nptl.
10977         * nptl/sysdeps/pthread/list.h: Moved ...
10978         * include/list.h: ... here.
10979         * nptl/sysdeps/pthread/createthread.c: Moved ...
10980         * nptl/createthread.c: ... here.
10981         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
10982         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
10983         * nptl/pt-longjmp.c: ... here.
10984         * nptl/sysdeps/pthread/Makefile: Moved ...
10985         * sysdeps/nptl/Makefile: ... here.
10986         * nptl/sysdeps/pthread/Subdirs: Moved ...
10987         * sysdeps/nptl/Subdirs: ... here.
10988         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
10989         * sysdeps/nptl/aio_misc.h: ... here.
10990         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
10991         * sysdeps/nptl/bits/libc-lock.h: ... here.
10992         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
10993         * sysdeps/nptl/bits/libc-lockP.h: ... here.
10994         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
10995         * sysdeps/nptl/bits/stdio-lock.h: ... here.
10996         * nptl/sysdeps/pthread/configure: Moved ...
10997         * sysdeps/nptl/configure: ... here.
10998         * nptl/sysdeps/pthread/configure.ac: Moved ...
10999         * sysdeps/nptl/configure.ac: ... here.
11000         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
11001         * sysdeps/nptl/gai_misc.h: ... here.
11002         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
11003         * sysdeps/nptl/librt-cancellation.c: ... here.
11004         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
11005         * sysdeps/nptl/malloc-machine.h: ... here.
11006         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
11007         * sysdeps/nptl/pthread-functions.h: ... here.
11008         * nptl/sysdeps/pthread/pthread.h: Moved ...
11009         * sysdeps/nptl/pthread.h: ... here.
11010         * nptl/sysdeps/pthread/setxid.h: Moved ...
11011         * sysdeps/nptl/setxid.h: ... here.
11012         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
11013         * sysdeps/nptl/sigfillset.c: ... here.
11014         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
11015         * sysdeps/nptl/tcb-offsets.h: ... here.
11016         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
11017         * sysdeps/nptl/tst-mqueue8x.c: ... here.
11018         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
11019         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
11020         * nptl/sysdeps/pthread/allocalim.h: Moved ...
11021         * sysdeps/pthread/allocalim.h: ... here.
11022         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
11023         * sysdeps/pthread/bits/sigthread.h: ... here.
11024         * nptl/sysdeps/pthread/flockfile.c: Moved ...
11025         * sysdeps/pthread/flockfile.c: ... here.
11026         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
11027         * sysdeps/pthread/ftrylockfile.c: ... here.
11028         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
11029         * sysdeps/pthread/funlockfile.c: ... here.
11030         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
11031         * sysdeps/pthread/posix-timer.h: ... here.
11032         * nptl/sysdeps/pthread/timer_create.c: Moved ...
11033         * sysdeps/pthread/timer_create.c: ... here.
11034         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
11035         * sysdeps/pthread/timer_delete.c: ... here.
11036         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
11037         * sysdeps/pthread/timer_getoverr.c: ... here.
11038         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
11039         * sysdeps/pthread/timer_gettime.c: ... here.
11040         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
11041         * sysdeps/pthread/timer_routines.c: ... here.
11042         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
11043         * sysdeps/pthread/timer_settime.c: ... here.
11044         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
11045         * sysdeps/pthread/tst-timer.c: ... here.
11046         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
11047         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
11049         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
11050         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
11052         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
11053         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
11054         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
11055         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
11056         Update #include target.
11057         * nptl/sysdeps/i386/i686/Makefile: Moved ...
11058         * sysdeps/i386/i686/nptl/Makefile: ... here.
11059         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
11060         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
11061         Update #include target.
11062         * nptl/sysdeps/i386/i686/tls.h: Moved ...
11063         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
11064         * nptl/sysdeps/i386/Makefile: Moved ...
11065         * sysdeps/i386/nptl/Makefile: ... here.
11066         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
11067         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
11068         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
11069         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
11070         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
11071         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
11072         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
11073         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
11074         * sysdeps/i386/nptl/pthreaddef.h: ... here.
11075         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
11076         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
11077         * nptl/sysdeps/i386/tls.h: Moved ...
11078         * sysdeps/i386/nptl/tls.h: ... here.
11080         * sysdeps/sh/Makefile [$(subdir) = csu]
11081         (gen-as-const-headers): Add tcb-offsets.sym.
11082         * nptl/sysdeps/sh/Makefile: File removed.
11083         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
11084         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
11085         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
11086         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
11087         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
11088         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
11089         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
11090         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
11091         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
11092         * sysdeps/sh/nptl/pthreaddef.h: ... here.
11093         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
11094         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
11095         * nptl/sysdeps/sh/tls.h: Moved ...
11096         * sysdeps/sh/nptl/tls.h: ... here.
11097         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
11098         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
11099         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
11100         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
11101         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
11102         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
11103         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
11104         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
11105         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
11106         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
11107         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
11108         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
11109         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
11110         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
11111         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
11112         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
11113         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
11114         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
11115         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
11116         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
11117         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
11118         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
11119         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
11120         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
11121         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
11122         Moved ...
11123         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
11124         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
11125         Moved ...
11126         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
11127         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
11128         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
11129         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
11130         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
11131         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
11132         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
11133         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
11134         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
11135         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
11136         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
11137         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
11138         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
11139         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
11140         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
11141         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
11142         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
11143         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
11144         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
11146 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
11148         * posix/spawn_faction_addopen.c: Include string.h.
11150 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11152         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
11153         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
11154         * nptl/sysdeps/x86_64/Makefile: Moved ...
11155         * sysdeps/x86_64/nptl/Makefile: ... here.
11156         * nptl/sysdeps/x86_64/configure: Moved ...
11157         * sysdeps/x86_64/nptl/configure: ... here.
11158         * nptl/sysdeps/x86_64/configure.ac: Moved ...
11159         * sysdeps/x86_64/nptl/configure.ac: ... here.
11160         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
11161         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
11162         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
11163         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
11164         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
11165         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
11166         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
11167         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
11168         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
11169         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
11170         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
11171         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
11172         * nptl/sysdeps/x86_64/tls.h: Moved ...
11173         * sysdeps/x86_64/nptl/tls.h: ... here.
11174         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
11175         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
11176         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
11177         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
11179         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
11181 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11183         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11185 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
11187         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
11188         type.
11189         [POSIX] (off_t): Likewise.
11190         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
11191         [POSIX] (S_ISBLK): Require macro.
11192         [POSIX] (S_ISCHR): Likewise.
11193         [POSIX] (S_ISDIR): Likewise.
11194         [POSIX] (S_ISFIFO): Likewise.
11195         [POSIX] (S_ISREG): Likewise.
11196         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
11197         optional-macro.
11198         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
11199         type.
11200         [POSIX] (time_t): Likewise.
11201         [POSIX] (timer_t): Likewise.
11203 2014-06-11  Florian Weimer  <fweimer@redhat.com>
11205         [BZ #17048]
11206         * posix/spawn_int.h (struct __spawn_action): Make the path string
11207         non-const to support deallocation.
11208         * posix/spawn_faction_addopen.c
11209         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
11210         * posix/spawn_faction_destroy.c
11211         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
11212         path in all spawn_do_open actions.
11213         * posix/tst-spawn.c (do_test): Exercise the copy operation in
11214         posix_spawn_file_actions_addopen.
11216 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
11218         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
11219         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
11220         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
11221         conditional code always true.
11222         (__libc_vfork): New alias.
11224 2014-06-11  Roland McGrath  <roland@hack.frob.com>
11226         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11227         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
11229         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
11231         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11232         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
11234         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
11235         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
11237         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11238         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
11240 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11242         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
11243         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
11244         multiarch strcmp for PPC64.
11245         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
11246         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
11247         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
11248         multiarch optimizations.
11249         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11250         (__libc_ifunc_impl_list): Likewise.
11252 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
11254         * benchtests/scripts/validate_benchout.py: New script.
11255         * benchtests/Makefile (bench-func): Call it.
11256         * benchtests/scripts/benchout.schema.json: New file.
11258 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
11260         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
11261         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
11262         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
11263         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
11264         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
11265         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
11266         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
11267         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
11268         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
11269         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
11270         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
11271         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
11272         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
11273         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
11274         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
11275         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
11276         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
11277         Moved ...
11278         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
11279         ... here.
11280         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
11281         Moved ...
11282         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
11283         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
11284         Moved ...
11285         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
11286         ... here.
11287         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
11288         Moved ...
11289         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
11290         ... here.
11291         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
11292         Moved ...
11293         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
11294         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
11295         Moved ...
11296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
11297         ... here.
11298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
11299         Moved ...
11300         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
11301         ... here.
11302         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
11303         Moved ...
11304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
11305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
11306         Moved ...
11307         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
11308         ... here.
11309         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
11310         Moved ...
11311         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
11312         ... here.
11313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
11314         Moved ...
11315         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
11316         ... here.
11317         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
11318         Moved ...
11319         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
11320         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
11321         Moved ...
11322         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
11323         ... here.
11324         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
11325         Moved ...
11326         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
11327         ... here.
11328         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
11329         Moved ...
11330         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
11331         ... here.
11332         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
11333         Moved ...
11334         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
11335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
11336         Moved ...
11337         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
11338         ... here.
11339         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
11340         Moved ...
11341         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
11342         ... here.
11343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
11344         Moved ...
11345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
11346         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
11347         Moved ...
11348         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
11349         ... here.
11350         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
11351         Moved ...
11352         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
11353         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
11354         Moved ...
11355         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
11356         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
11357         Moved ...
11358         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
11359         ... here.
11360         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
11361         Moved ...
11362         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
11363         ... here.
11364         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
11365         Moved ...
11366         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
11367         ... here.
11368         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
11369         Moved ...
11370         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
11371         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
11372         Moved ...
11373         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
11374         ... here.
11375         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
11376         Moved ...
11377         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
11378         ... here.
11379         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
11380         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
11381         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
11382         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
11383         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
11384         Moved ...
11385         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
11386         ... here.
11387         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
11388         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
11389         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
11390         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
11391         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
11392         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
11393         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
11394         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
11395         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
11396         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
11397         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
11398         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
11399         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
11400         Moved ...
11401         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
11402         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
11403         Moved ...
11404         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
11405         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
11406         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
11407         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
11408         Moved ...
11409         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
11410         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
11411         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
11412         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
11413         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
11414         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
11415         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
11417 2014-06-10  Wilco  <wdijkstr@arm.com>
11419         * math/test-fenv-return.c: New file.
11420         * math/Makefile: Add new test test-fenv-return.
11422 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
11424         [BZ #17042]
11425         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
11426         when x - 1 is zero.
11427         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
11428         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
11429         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
11430         0.0L for an argument of 1.0L.
11431         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11432         Likewise.
11433         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
11434         value when x - 1 is zero.
11435         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
11436         * sysdeps/i386/fpu/libm-test-ulps: Update.
11437         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
11439 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
11441         [BZ #15119]
11442         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
11444 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11446         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
11447         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
11449 2014-06-09  Roland McGrath  <roland@hack.frob.com>
11451         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11452         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
11454         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11455         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
11457         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11458         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
11460         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
11461         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
11463         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
11464         if not already defined.
11465         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
11466         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
11467         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
11468         (TLS_INIT_TP): Use it.
11469         (TLS_DEFINE_INIT_TP): New macro.
11470         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
11472 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
11474         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
11475         constant.
11476         [POSIX] (IXANY): Likewise.
11477         [POSIX] (OLCUC): Likewise.
11478         [POSIX || POSIX2008] (CBAUD): Do not allow.
11479         [POSIX || POSIX2008] (DEFECHO): Likewise.
11480         [POSIX || POSIX2008] (ECHOCTL): Likewise.
11481         [POSIX || POSIX2008] (ECHOKE): Likewise.
11482         [POSIX || POSIX2008] (ECHOPRT): Likewise.
11483         [POSIX || POSIX2008] (EXTA): Likewise.
11484         [POSIX || POSIX2008] (EXTB): Likewise.
11485         [POSIX || POSIX2008] (FLUSHO): Likewise.
11486         [POSIX || POSIX2008] (LOBLK): Likewise.
11487         [POSIX || POSIX2008] (PENDIN): Likewise.
11488         [POSIX || POSIX2008] (SWTCH): Likewise.
11489         [POSIX || POSIX2008] (VDISCARD): Likewise.
11490         [POSIX || POSIX2008] (VDSUSP): Likewise.
11491         [POSIX || POSIX2008] (VLNEXT): Likewise.
11492         [POSIX || POSIX2008] (VREPRINT): Likewise.
11493         [POSIX || POSIX2008] (VSTATUS): Likewise.
11494         [POSIX || POSIX2008] (VWERASE): Likewise.
11495         (B*): Change to B[0123456789]*.
11496         * conform/data/time.h-data [POSIX || UNIX98]
11497         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
11498         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
11499         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
11500         [POSIX] (tm_*): Do not allow.
11502 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
11504         * Makefile (install): Don't set LANGUAGE.
11505         * Makefile.in (install): Likewise.
11506         * assert/Makefile (test-assert-ENV): Remove variable.
11507         (test-assert-perr-ENV): Likewise.
11508         * elf/Makefile (neededtest4-ENV): Likewise.
11509         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
11510         [$(cross-compiling) = no]: Don't set LANGUAGE.
11511         * io/ftwtest-sh (LANG): Remove variable.
11512         * libio/Makefile (tst-widetext-ENV): Likewise.
11513         * manual/install.texi (Running make install): Don't refer to
11514         environment settings for make install.
11515         * INSTALL: Regenerated.
11516         * nptl/tst-tls6.sh: Don't set LANG.
11517         * posix/globtest.sh (LANG): Remove variable.
11518         * string/Makefile (tester-ENV): Likewise.
11519         (inl-tester-ENV): Likewise.
11520         (noinl-tester-ENV): Likewise.
11521         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
11522         [$(cross-compiling) = no]: Don't set LANGUAGE.
11523         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
11524         without explicit environment settings.
11526 2014-06-06  Roland McGrath  <roland@hack.frob.com>
11528         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
11529         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
11530         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
11531         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
11533 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
11535         * crypt/crypt-private.h [DOS]: Add some includes taken from the
11536         other files in the crypt directory.
11537         * crypt/crypt.c: Remove duplicate includes.
11538         * crypt/crypt-entry.c: Likewise.
11539         * crypt/crypt_util.c: Likewise.
11541 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
11543         * Makeconfig (run-program-env): New variable.
11544         (run-program-prefix-before-env): Likewise.
11545         (run-program-prefix-after-env): Likewise.
11546         (run-program-prefix): Define in terms of new variables.
11547         (built-program-cmd-before-env): New variable.
11548         (built-program-cmd-after-env): Likewise.
11549         (built-program-cmd): Define in terms of new variables.
11550         (test-program-prefix-before-env): New variable.
11551         (test-program-prefix-after-env): Likewise.
11552         (test-program-prefix): Define in terms of new variables.
11553         (test-program-cmd-before-env): New variable.
11554         (test-program-cmd-after-env): Likewise.
11555         (test-program-cmd): Define in terms of new variables.
11556         * Rules (make-test-out): Use $(run-program-env).
11557         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
11558         (help): Do not mention environment variables.  Mention
11559         --timeoutfactor option.
11560         (timeoutfactor): New variable.
11561         (blacklist_exports): Remove function.
11562         (exports): Remove variable.
11563         (command): Do not include ${exports}.
11564         * manual/install.texi (Configuring and compiling): Do not mention
11565         test wrappers preserving environment variables.  Mention that last
11566         assignment to a variable must take precedence.
11567         * INSTALL: Regenerated.
11568         * benchtests/Makefile (run-bench): Use $(run-program-env).
11569         * catgets/Makefile ($(objpfx)test1.cat): Use
11570         $(built-program-cmd-before-env), $(run-program-env) and
11571         $(built-program-cmd-after-env).
11572         ($(objpfx)test2.cat): Do not specify environment variables
11573         explicitly.
11574         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
11575         $(run-program-env) and $(built-program-cmd-after-env).
11576         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
11577         $(run-program-env) and $(test-program-cmd-after-env).
11578         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
11579         explicitly.
11580         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
11581         run_program_env and test_program_cmd_after_env arguments.
11582         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
11583         * elf/tst-pathopt.sh: Use run_program_env argument.
11584         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
11585         $(test-wrapper-env) and $(run-program-env).
11586         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
11587         run_program_env arguments.
11588         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
11589         * intl/Makefile ($(objpfx)tst-gettext.out): Use
11590         $(test-program-prefix-before-env), $(run-program-env) and
11591         $(test-program-prefix-after-env).
11592         ($(objpfx)tst-gettext2.out): Likewise.
11593         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
11594         run_program_env and test_program_prefix_after_env arguments.
11595         * intl/tst-gettext2.sh: Likewise.
11596         * intl/tst-gettext4.sh: Do not set environment variables
11597         explicitly.
11598         * intl/tst-gettext6.sh: Likewise.
11599         * intl/tst-translit.sh: Likewise.
11600         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
11601         $(test-program-prefix-before-env), $(run-program-env) and
11602         $(test-program-prefix-after-env).
11603         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
11604         run_program_env and test_program_prefix_after_env arguments.
11605         * math/Makefile (run-regen-ulps): Use $(run-program-env).
11606         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
11607         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
11608         explicitly with each use of ${test_wrapper_env}.
11609         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
11610         $(test-program-prefix-before-env), $(run-program-env) and
11611         $(test-program-prefix-after-env).
11612         * posix/tst-getconf.sh: Do not set environment variables
11613         explicitly.
11614         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
11615         run_program_env and test_program_prefix_after_env arguments.
11616         * stdio-common/tst-printf.sh: Do not set environment variables
11617         explicitly.
11618         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
11619         $(test-program-prefix-before-env), $(run-program-env) and
11620         $(test-program-prefix-after-env).
11621         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
11622         run_program_env and test_program_prefix_after_env arguments.
11623         Split $test calls into $test_pre and $test.
11624         * timezone/Makefile (build-testdata): Use
11625         $(built-program-cmd-before-env), $(run-program-env) and
11626         $(built-program-cmd-after-env).
11628 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11630         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
11631         strlen for non SHARED builds.
11633 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
11635         * nptl/allocatestack.c (check_list): Inlined function...
11636         (__reclaim_stacks): ... here.
11638 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11640         [BZ #15698]
11641         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
11642         memory overrun.
11644 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
11646         * Rules (make-test-out): Include
11647         LOCPATH=$(common-objpfx)localedata in default environment.
11648         * debug/Makefile (tst-chk1-ENV): Remove variable.
11649         (tst-chk2-ENV): Likewise.
11650         (tst-chk3-ENV): Likewise.
11651         (tst-chk4-ENV): Likewise.
11652         (tst-chk5-ENV): Likewise.
11653         (tst-chk6-ENV): Likewise.
11654         (tst-lfschk1-ENV): Likewise.
11655         (tst-lfschk2-ENV): Likewise.
11656         (tst-lfschk3-ENV): Likewise.
11657         (tst-lfschk4-ENV): Likewise.
11658         (tst-lfschk5-ENV): Likewise.
11659         (tst-lfschk6-ENV): Likewise.
11660         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
11661         (tst-iconv7-ENV): Likewise.
11662         * intl/Makefile (LOCPATH-ENV): Likewise.
11663         (tst-codeset-ENV): Likewise.
11664         (tst-gettext3-ENV): Likewise.
11665         (tst-gettext5-ENV): Likewise.
11666         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
11667         (tst-fopenloc-ENV): Likewise.
11668         (tst-fgetws-ENV): Remove variable.
11669         (tst-ungetwc1-ENV): Likewise.
11670         (tst-ungetwc2-ENV): Likewise.
11671         (bug-ungetwc2-ENV): Likewise.
11672         (tst-swscanf-ENV): Likewise.
11673         (bug-ftell-ENV): Likewise.
11674         (tst-fgetwc-ENV): Likewise.
11675         (tst-fseek-ENV): Likewise.
11676         (tst-ftell-partial-wide-ENV): Likewise.
11677         (tst-ftell-active-handler-ENV): Likewise.
11678         (tst-ftell-append-ENV): Likewise.
11679         * posix/Makefile (tst-fnmatch-ENV): Likewise.
11680         (tst-regexloc-ENV): Likewise.
11681         (bug-regex1-ENV): Likewise.
11682         (tst-regex-ENV): Likewise.
11683         (tst-regex2-ENV): Likewise.
11684         (bug-regex5-ENV): Likewise.
11685         (bug-regex6-ENV): Likewise.
11686         (bug-regex17-ENV): Likewise.
11687         (bug-regex18-ENV): Likewise.
11688         (bug-regex19-ENV): Likewise.
11689         (bug-regex20-ENV): Likewise.
11690         (bug-regex22-ENV): Likewise.
11691         (bug-regex23-ENV): Likewise.
11692         (bug-regex25-ENV): Likewise.
11693         (bug-regex26-ENV): Likewise.
11694         (bug-regex30-ENV): Likewise.
11695         (bug-regex32-ENV): Likewise.
11696         (bug-regex33-ENV): Likewise.
11697         (bug-regex34-ENV): Likewise.
11698         (bug-regex35-ENV): Likewise.
11699         (tst-rxspencer-ENV): Likewise.
11700         (tst-rxspencer-no-utf8-ENV): Likewise.
11701         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
11702         (tst-sscanf-ENV): Likewise.
11703         (tst-swprintf-ENV): Likewise.
11704         (tst-swscanf-ENV): Likewise.
11705         (test-vfprintf-ENV): Likewise.
11706         (scanf13-ENV): Likewise.
11707         (bug14-ENV): Likewise.
11708         (tst-grouping-ENV): Likewise.
11709         * stdlib/Makefile (tst-strtod-ENV): Likewise.
11710         (tst-strtod3-ENV): Likewise.
11711         (tst-strtod4-ENV): Likewise.
11712         (tst-strtod5-ENV): Likewise.
11713         (testmb2-ENV): Likewise./
11714         * string/Makefile (tst-strxfrm-ENV): Likewise.
11715         (tst-strxfrm2-ENV): Likewise.
11716         (bug-strcoll1-ENV): Likewise.
11717         (test-strcasecmp-ENV): Likewise.
11718         (test-strncasecmp-ENV): Likewise.
11719         * time/Makefile (tst-strptime-ENV): Likewise.
11720         (tst-ftime_l-ENV): Likewise.
11721         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
11722         (tst-mbrtowc-ENV): Likewise.
11723         (tst-wcrtomb-ENV): Likewise.
11724         (tst-mbrtowc2-ENV): Likewise.
11725         (tst-c16c32-1-ENV): Likewise.
11726         (tst-mbsnrtowcs-ENV): Likewise.
11728 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
11730         * manual/resource.texi (How to get information about the memory
11731         subsystem?): Fix typo.
11732         Reported by Peon de la Parra Ivan <peon@keba.com>
11734 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
11736         [BZ #16882]
11737         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
11738         (pthread_spin_lock): Branch out of spin loop to proper location.
11739         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
11740         (pthread_spin_lock): Likewise.
11742         * nptl/tst-spin4.c: New test.
11743         * nptl/Makefile (tests): Add tst-spin4.
11745 2014-06-03  Andreas Schwab  <schwab@suse.de>
11747         [BZ #15946]
11748         * resolv/res_send.c (send_dg): Reload file descriptor after
11749         calling reopen.
11751 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
11753         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11755 2014-06-03  Richard Henderson  <rth@redhat.com>
11757         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
11758         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
11759         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
11760         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
11761         in the SAVE_PID block.
11762         (__libc_vfork): New alias.
11763         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
11765         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
11766         child in registers, not on the stack.  Remove RESET_PID conditionals.
11767         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
11769 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11771         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11773 2014-06-03  Wilco  <wdijkstr@arm.com>
11775         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
11776         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
11777         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11778         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
11779         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
11780         Likewise.
11782 2014-06-03  Wilco  <wdijkstr@arm.com>
11784         * sysdeps/aarch64/fpu/math_private.h
11785         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
11786         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
11787         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
11788         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
11789         Fix declarations.
11791 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
11793         * crypt/crypt-private.h: Include ufc-crypt.h.
11794         (__b64_from_24bit): Declare extern.
11795         * crypt/crypt_util.c(__b64_from_24bit): New function.
11796         (b64t): New static const variable.
11797         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
11798         (b64t): Remove variable.
11799         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
11800         * crypt/sha256-crypt.c: Include crypt-private.h.
11801         (b64t): Remove variable.
11802         (__sha256_crypt_r): Remove b64_from_24bit and replace
11803         with __b64_from_24bit.
11804         * crypt/sha512-crypt.c: Likewise.
11806 2014-06-02  Roland McGrath  <roland@hack.frob.com>
11808         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
11809         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
11810         Label the code __libc_vfork rather than __vfork.
11811         [!NOT_IN_libc] (vfork): Define as weak alias.
11812         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
11813         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
11814         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
11816 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
11818         * malloc/malloc.c (malloc_info): Fix format specifier for
11819         n_mmaps.
11821 2014-06-02  Wilco  <wdijkstr@arm.com>
11823         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
11824         FPCR write.
11826 2014-06-02  Wilco  <wdijkstr@arm.com>
11828         [BZ #17009]
11829         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
11830         Rewrite to reduce FPCR/FPSR accesses.
11832 2014-06-01  David S. Miller  <davem@davemloft.net>
11834         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11836 2014-05-31  David S. Miller  <davem@davemloft.net>
11838         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
11839         to occur in round to nearest mode when |x| >= 2.0
11841 2014-05-30  Richard Henderson  <rth@twiddle.net>
11843         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
11844         (PSEUDO_RET_NOERRNO): Remove.
11845         (ret): Don't redefine.
11846         (ret_NOERRNO): Define in terms of ret.
11847         (ret_ERRVAL): Likewise.
11849         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
11850         use of PSEUDO_RET; perform the error check directly.
11852 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
11854         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
11855         with __int128_t.
11857 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11859         * malloc/malloc (malloc_info): Fix formatting.
11861 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11862             Roland McGrath  <roland@hack.frob.com>
11864         * malloc/malloc (malloc_info): Also print mmapped statistics.
11866 2014-05-30  Roland McGrath  <roland@hack.frob.com>
11868         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
11869         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
11871 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
11873         * malloc/malloc.c (malloc_info): Inline mi_arena.
11875 2014-05-29  Richard Henderson  <rth@twiddle.net>
11877         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
11878         Remove comma before expanding ASM_ARGS_##nr.
11879         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
11880         Make _x0 a strict output; make _x8 a strict input; adjust expansion
11881         of ASM_ARGS_##nr.
11882         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
11883         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
11884         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
11885         (ASM_ARGS_1): Add leading comma.
11887         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
11888         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
11889         to __errno_location.
11890         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
11891         Remove the expected plt for __errno_location.
11893         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11894         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
11895         call to __read_tp.
11897         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11898         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
11899         it and break it down.
11900         (DOCARGS_0, DOCARGS_1): Do nothing.
11901         (DOCARGS_2): Update to store into the new stack frame.
11902         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
11903         (UNDOCARGS_1): Update to restore from the new stack frame.
11904         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
11905         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
11907         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
11908         (SINGLE_THREAD_P): New parameter for result regno.
11909         (PSEUDO): Update to match; use cbz instead of beq.
11911         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
11912         Use ENTRY to define the _nocancel entry point.  Share the syscall
11913         and syscall error check paths with the cancel path.
11914         (PSEUDO_END): New.
11916         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
11917         whitespace; tabs before and after asm mnemonics.
11919 2014-05-29  Eric Wong  <normalperson@yhbt.net>
11921         [BZ #15132]
11922         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
11923         Call fstat64 or stat64 internally, depending on arguments passed.
11924         Replace stat buffer argument with file descriptor argument.
11925         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
11926         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
11927         Pass fd to __internal_statvfs instead of calling fstat64.
11928         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
11929         Pass fd to __internal_statvfs64 instead of calling fstat64.
11930         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
11931         Pass -1 to __internal_statvfs instead of calling stat64.
11932         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
11933         Pass -1 to __internal_statvfs64 instead of calling stat64.
11935 2014-05-28  Roland McGrath  <roland@hack.frob.com>
11937         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
11938         that was previously under [RESET_PID].
11939         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
11941         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
11942         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
11944 2014-05-27  Roland McGrath  <roland@hack.frob.com>
11946         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
11948         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
11949         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
11951 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
11953         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
11955 2014-05-27  Andreas Schwab  <schwab@suse.de>
11957         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
11958         TLS_INIT_TP macro.
11959         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
11960         * elf/rtld.c (init_tls, dl_main): Likewise.
11961         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
11962         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
11963         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
11964         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
11965         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
11966         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
11967         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
11968         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
11969         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
11970         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
11971         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
11972         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
11973         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
11974         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
11975         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
11976         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
11977         * sysdeps/generic/tls.h: Update description.
11979 2014-05-27  Will Newton  <will.newton@linaro.org>
11981         [BZ #16990]
11982         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
11983         and restore r2 rather than just restoring.
11985 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
11987         [BZ #16724]
11988         * libio/tst-ftell-append.c: New test case.
11989         * libio/Makefile (tests): Add test case.
11990         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
11991         append mode.
11992         * libio/wfileops.c (do_ftell_wide): Likewise.
11994 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11996         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11998         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
11999         ...
12000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
12001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
12002         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
12003         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
12004         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
12005         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
12006         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
12007         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
12008         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
12009         Moved ...
12010         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
12011         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
12012         Moved ...
12013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
12014         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
12015         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
12016         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
12017         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
12018         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
12019         ...
12020         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
12021         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
12022         Moved ...
12023         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
12024         here.
12025         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
12026         ...
12027         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
12028         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
12029         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
12031         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
12032         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
12033         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
12034         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
12036         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
12037         merge into ...
12038         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
12039         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
12040         ...
12041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
12042         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
12043         ...
12044         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
12045         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12046         Moved ...
12047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
12048         here.
12049         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12050         Moved ...
12051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
12052         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12053         Moved ...
12054         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
12056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
12057         conditional [RESET_PID].
12058         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
12059         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
12060         removed.
12061         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
12062         removed.
12064         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
12065         <tcb-offsets.h>.
12066         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12067         (__libc_vfork): New strong alias.
12068         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
12069         removed.
12070         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
12071         Removed.
12073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
12074         <tcb-offsets.h>.
12075         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
12076         (__libc_vfork): New strong alias.
12077         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
12078         removed.
12079         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
12080         removed.
12082 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
12084         * malloc/malloc.c (mi_arena): New function.
12085         (malloc_info): Remove nested function mi_arena. Call non-nosted
12086         function mi_arena.
12088 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12090         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
12091         by insrwi.
12092         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
12093         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
12094         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
12095         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
12096         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
12097         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
12098         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
12100 2014-05-26  Andreas Schwab  <schwab@suse.de>
12102         [BZ #16984]
12103         * locale/programs/repertoire.c (repertoire_read): Add slash
12104         between I18NPATH element and file name.
12105         * locale/programs/locfile.c (locfile_read): Likewise.
12107 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12109         * nptl/pthread_mutexattr_settype.c
12110         (__pthread_mutexattr_settype):
12111         Disable lock elision for PTHREAD_MUTEX_NORMAL.
12113 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
12115         * nptl/tst-mutex5 (do_test):
12116         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
12118 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12120         * benchtests/README: Document 'init' directive.
12121         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
12122         BENCH_INIT.
12123         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
12124         (parse_file): Recognize 'init' directive.
12126 2014-05-26  Kyle McMartin  <kyle@redhat.com>
12128         [BZ #16796]
12129         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
12130         alignment of struct pthread.
12132 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12134         [BZ #16878]
12135         * nscd/netgroupcache.c (addgetnetgrentX): Look for
12136         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12137         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
12138         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
12140 2014-05-25  Richard Henderson  <rth@twiddle.net>
12142         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12143         (SINGLE_THREAD_P_PIC): Remove.
12144         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
12145         (SINGLE_THREAD_P_PIC): Remove.
12147         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
12148         branch to syscall error ...
12149         (PSEUDO): ... here.
12150         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
12151         from __local_syscall_error to .Lsyscall_error.
12152         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
12153         (SYSCALL_ERROR): Update label name.
12155         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12156         Do not use DOARGS/UNDOARGS.
12157         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
12158         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
12159         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
12160         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
12161         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
12163         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
12164         block comment.
12166         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
12167         define if !NOT_IN_libc.
12168         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
12169         define with non-default symbol versions.
12171 2014-05-23  Richard Henderson  <rth@twiddle.net>
12173         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
12174         (vfork, __vfork): Define via compat_symbol.
12176         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
12177         [!HAVE_IFUNC] (vfork_compat): Remove.
12178         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
12180 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12182         [BZ #16978]
12183         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
12184         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
12185         variable.
12187 2014-05-23  Richard Henderson  <rth@twiddle.net>
12189         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
12190         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
12191         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
12192         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
12194         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
12195         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
12196         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
12197         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
12198         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
12199         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
12200         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
12201         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
12202         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
12203         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
12204         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
12205         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
12206         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
12207         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
12208         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
12209         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
12210         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
12211         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
12212         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
12213         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
12214         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
12215         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
12216         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
12217         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
12218         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
12219         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
12220         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
12221         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
12222         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
12223         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
12224         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
12225         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
12226         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
12227         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
12228         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
12229         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
12230         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
12231         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
12232         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
12233         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
12234         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
12235         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
12236         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
12237         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
12238         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
12239         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
12240         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
12241         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
12242         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
12243         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
12244         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
12245         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
12246         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
12247         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
12248         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
12249         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
12251         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
12252         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
12253         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
12254         before exiting on error.
12255         (__libc_vfork): New strong alias.
12256         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
12257         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
12259         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
12260         that was previously under [RESET_PID].
12261         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
12263         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
12265 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
12267         [BZ #16977]
12268         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
12269         value when x - 1 is zero.
12270         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
12271         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12272         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
12273         0.0L for an argument of 1.0L.
12274         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
12275         Likewise.
12276         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
12277         value when x - 1 is zero.
12278         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
12279         * sysdeps/i386/fpu/libm-test-ulps: Update.
12280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12282 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
12284         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
12285         alphasort and versionsort.
12287 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12289         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
12290         macro.
12291         [copysignf]: Likewise.
12293 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
12295         * crypt/md5-crypt.c: Fix formatting.
12297 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
12299         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
12300         (b64_from_24bit): New function.
12302 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12304         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
12305         libc_hidden_builtin_def to ifunc.
12306         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
12307         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
12309 2014-05-21  Roland McGrath  <roland@hack.frob.com>
12311         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
12312         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
12314 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
12316         * nscd/Depend (linuxthreads): Remove.
12317         (nptl): Add.
12318         * resolv/Depend (linuxthreads): Remove.
12319         * rt/Depend (linuxthreads): Remove.
12321         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
12322         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
12323         $(common-objpfx)elf/.
12324         (link-libc-before-gnulib): Likewise.
12325         (elfobjdir): Remove variable.
12326         * Makefile (install): Use $(elf-objpfx) instead of
12327         $(common-objpfx)elf/.
12328         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
12329         $(elfobjdir)/.
12330         (link-libc-deps): Likewise.
12331         ($(common-objpfx)libc.so): Likewise.
12332         ($(common-objpfx)linkobj/libc.so): Likewise.
12333         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
12334         instead of $(common-objpfx)elf/.
12335         (symbolic-link-list): Likewise.
12336         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
12337         [$(cross-compiling) = no]: Likewise.
12338         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
12339         $(elfobjdir)/.
12340         (static-gnulib-arch): Likewise.
12341         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
12342         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
12343         $(common-objpfx)elf/.
12345 2014-05-21  Richard Henderson  <rth@redhat.com>
12347         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12348         (SINGLE_THREAD_P): Use the correct width load.  Fold
12349         into the ldr offset.
12351         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
12352         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
12354 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
12356         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
12357         (libgcc_s_resume): Use __attribute_used__.
12358         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
12359         Likewise.
12361 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12363         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
12364         optimization when used with float constants.
12366         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12368 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
12370         [BZ #16915]
12371         * locale/nl_langinfo_l.c: Make direct reference to every
12372         _nl_current_CATEGORY symbol.
12373         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
12374         (tests-static): Add tst-langinfo-static.
12375         (tests-special): Add tst-langinfo-static.out.
12376         ($(objpfx)tst-langinfo.out): Redirect output.
12377         ($(objpfx)tst-langinfo-static.out): New.
12378         * localedata/tst-langinfo.sh: Send output to stdout.
12379         * localedata/tst-langinfo-static.c: New file.
12381         [BZ #16965]
12382         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
12383         when the shift amount is modulo the limb size.
12385 2014-05-20  Richard Henderson  <rth@redhat.com>
12387         [BZ #16967]
12388         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
12389         Change type of sa_flags from unsigned int to int.
12391         [BZ #16966]
12392         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
12394         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
12396 2014-05-20  Will Newton  <will.newton@linaro.org>
12398         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
12399         Test the return value of the system call in the nocancel case.
12401 2014-05-20  Will Newton  <will.newton@linaro.org>
12402             Yvan Roux  <yvan.roux@linaro.org>
12404         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
12405         #include of asm/ptrace.h.
12406         (PTRACE_GET_THREAD_AREA): Remove #undef.
12407         (PTRACE_GETHBPREGS): Likewise.
12408         (PTRACE_SETHBPREGS): Likewise.
12409         (struct user_regs_struct): New structure.
12410         (struct user_fpsimd_struct): New structure.
12411         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
12412         #include of asm/ptrace.h and second #include of sys/user.h.
12413         (PTRACE_GET_THREAD_AREA): Remove #undef.
12414         (PTRACE_GETHBPREGS): Likewise.
12415         (PTRACE_SETHBPREGS): Likewise.
12416         (ELF_NGREG): Use new struct user_regs_struct.
12417         (elf_fpregset_t): Use new struct user_fpsimd_struct.
12419 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12421         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
12422         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
12424 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
12426         [BZ #16958]
12427         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
12428         membar to avoid block loads/stores to overlap previous stores.
12430 2014-05-17  Richard Henderson  <rth@redhat.com>
12432         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
12433         Create the __##syscall_name##_nocancel entry point.
12434         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
12435         Remove; let the sysdep-cancel.h code create it.
12437 2014-05-17  David S. Miller  <davem@davemloft.net>
12439         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
12440         Protect with __USE_GNU.
12441         (TIOCSET_TEMPT): Likewise.
12442         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
12443         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
12444         these are already provided in bits/ioctl-types.h
12446 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12448         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
12449         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
12451         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
12452         Use wait4 regardless of [__NR_waitpid].
12454 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
12456         PR libgcc/60166
12457         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
12458         (_FP_NANSIGN_Q): Set the quiet bit.
12460 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
12462         * benchtests/Makefile
12463         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
12464         not $(common-objpfx)math/libm.so.
12465         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
12466         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
12467         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
12468         $(common-objpfx)dlfcn/libdl.so.
12469         ($(objpfx)tst-audit8): Depend on $(libm), not
12470         $(common-objpfx)math/libm.so.
12471         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
12472         not $(common-objpfx)dlfcn/libdl.so.
12473         * math/Makefile
12474         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12475         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
12476         [$(build-shared) = yes].
12477         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
12478         $(common-objpfx)nptl/libpthread.so.
12479         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
12480         $(common-objpfx)math/libm.so$(libm.so-version) or
12481         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
12482         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
12483         $(common-objpfx)dlfcn/libdl.so.
12484         * setjmp/Makefile (link-libm): Remove variable.
12485         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
12486         * stdio-common/Makefile (link-libm): Remove variable.
12487         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
12488         * stdlib/Makefile (link-libm): Remove variable.
12489         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
12490         ($(objpfx)tst-strtod-round): Likewise.
12491         ($(objpfx)tst-tininess): Likewise.
12492         ($(objpfx)tst-strtod-underflow): Likewise.
12493         ($(objpfx)tst-strtod6): Likewise.
12494         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
12495         $(libdl), not $(common-objpfx)nptl/libpthread.so and
12496         $(common-objpfx)dlfcn/libdl.so.
12498 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12500         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
12501         BSD terminal modes definitions.
12503 2014-05-16  Roland McGrath  <roland@hack.frob.com>
12505         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
12506         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
12508         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
12509         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
12510         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
12511         Don't do #include_next.
12512         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
12513         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
12514         Don't do #include_next.
12515         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
12516         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
12517         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
12518         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
12520 2014-05-16  Allan McRae  <allan@archlinux.org>
12522         * po/sv.po: Update Swedish translation from translation project.
12524         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
12525         in sed expression.
12527 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
12529         [BZ #16917]
12530         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
12531         errno if the TIOCGPTN ioctl fails with an error different than
12532         EINVAL.
12533         * login/tst-ptsname.c: New file.
12534         * login/Makefile (tests): Add tst-ptsname.
12536         [BZ #16943]
12537         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
12538         and prlimit64.
12540 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
12542         [BZ #16849]
12543         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
12544         herrno to return EAI_AGAIN.
12546 2014-05-14  Roland McGrath  <roland@hack.frob.com>
12548         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
12549         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
12550         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
12551         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
12552         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
12553         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
12554         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
12555         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
12556         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
12557         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
12558         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
12559         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
12560         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
12561         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
12562         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
12563         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
12564         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
12565         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
12566         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
12567         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
12568         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
12569         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
12570         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
12571         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
12572         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
12573         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
12574         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
12575         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
12576         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
12577         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
12578         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
12579         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
12580         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
12581         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
12582         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
12583         Moved ...
12584         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
12585         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
12586         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
12587         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
12588         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
12589         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
12590         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
12591         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
12592         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
12593         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
12594         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
12595         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
12596         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
12597         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
12598         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
12599         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
12600         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
12601         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
12602         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
12603         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
12604         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
12605         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
12606         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
12607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
12608         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
12609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
12610         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
12611         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
12612         Moved ...
12613         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
12614         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
12615         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
12616         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
12617         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
12618         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
12619         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
12620         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
12621         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
12622         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
12623         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
12624         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
12625         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
12626         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
12627         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
12628         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
12629         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
12630         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
12631         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
12632         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
12633         Moved ...
12634         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
12635         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
12636         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
12638         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
12639         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
12640         (libpthread-sysdep_routines): Add elision-related stuff here instead.
12641         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
12642         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
12643         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
12644         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
12645         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
12646         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
12647         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
12648         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
12649         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
12650         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
12651         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
12652         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
12653         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
12654         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
12655         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
12656         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
12657         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
12658         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
12659         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
12660         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
12661         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
12662         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
12663         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
12664         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
12665         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
12666         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
12667         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
12668         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
12670         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
12671         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
12673         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
12674         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
12675         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
12676         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
12677         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
12678         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
12679         Moved ...
12680         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
12681         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
12682         Moved ...
12683         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
12684         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
12685         Moved ...
12686         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
12687         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
12688         Moved ...
12689         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
12690         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
12691         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
12692         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
12693         Moved ...
12694         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
12695         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
12696         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
12697         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
12698         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
12699         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
12700         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
12701         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
12702         Moved ...
12703         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
12704         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12705         Moved ...
12706         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
12707         ... here.
12708         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
12709         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
12710         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
12711         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
12712         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12713         Moved ...
12714         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
12715         ... here.
12716         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
12717         Moved ...
12718         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
12719         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
12720         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
12721         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
12722         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
12723         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
12724         Moved ...
12725         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
12726         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
12727         Moved ...
12728         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
12729         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
12730         Moved ...
12731         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
12732         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
12733         Moved ...
12734         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
12735         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
12736         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
12737         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
12738         Moved ...
12739         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
12740         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
12741         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
12742         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
12743         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
12744         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
12745         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
12746         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
12747         Moved ...
12748         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
12749         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12750         Moved ...
12751         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
12752         ... here.
12753         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
12754         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
12755         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
12756         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
12757         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12758         Moved ...
12759         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
12760         ... here.
12761         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
12762         Moved ...
12763         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
12764         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
12765         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
12766         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
12767         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
12768         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
12769         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
12770         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
12771         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
12772         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
12773         Moved ...
12774         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
12775         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
12776         Moved ...
12777         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
12778         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
12779         Moved ...
12780         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
12781         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
12782         Moved ...
12783         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
12784         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
12785         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
12786         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
12787         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
12788         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
12789         Moved ...
12790         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
12791         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
12792         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
12793         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
12794         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
12795         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
12796         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
12797         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
12798         Moved ...
12799         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
12800         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12801         Moved ...
12802         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
12803         ... here.
12804         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
12805         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
12806         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
12807         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
12808         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12809         Moved ...
12810         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
12811         ... here.
12812         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
12813         Moved ...
12814         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
12815         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
12816         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
12817         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
12818         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
12819         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
12820         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
12821         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
12822         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
12823         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
12824         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
12826         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
12827         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
12829         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
12830         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
12832         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
12833         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
12834         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
12835         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
12836         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
12837         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
12838         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
12839         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
12840         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
12841         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
12842         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
12843         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
12844         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
12845         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
12846         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
12847         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
12848         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
12849         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
12850         Moved ...
12851         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
12852         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
12853         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
12854         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
12855         Moved ...
12856         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
12857         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
12858         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
12859         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
12860         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
12861         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
12862         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
12863         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
12864         Moved ...
12865         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
12866         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
12867         Moved ...
12868         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
12869         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
12870         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
12871         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
12872         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
12873         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
12874         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
12875         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
12876         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
12877         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
12878         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
12879         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
12880         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
12881         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
12882         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
12883         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
12884         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
12886         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
12887         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
12888         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
12889         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
12890         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
12892         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
12893         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
12894         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
12895         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
12896         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
12897         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
12898         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
12899         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
12900         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
12901         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
12903         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
12904         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
12906         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
12907         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
12908         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
12909         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
12910         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
12911         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
12912         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
12913         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
12914         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
12915         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
12916         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
12917         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
12918         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
12919         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
12920         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
12921         Update #include.
12922         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
12923         Likewise.
12924         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
12925         Likewise.
12926         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
12927         Likewise.
12928         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
12929         Likewise.
12930         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
12931         Likewise.
12932         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
12933         Likewise.
12934         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
12935         Likewise.
12936         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
12937         Likewise.
12938         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
12939         Likewise.
12940         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
12941         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
12942         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
12943         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
12944         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
12945         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
12946         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
12947         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
12948         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
12949         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
12950         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
12951         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
12952         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
12953         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
12954         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
12956         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
12957         that was previously under [RESET_PID].
12958         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
12959         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
12960         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
12962         * sysdeps/i386/nptl/Implies: New file.
12963         * sysdeps/x86_64/nptl/Implies: New file.
12964         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
12965         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
12966         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
12967         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
12969         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
12970         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12971         (__libc_vfork): New strong alias.
12972         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
12973         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
12975         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
12976         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12977         (__libc_vfork): New strong alias.
12978         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
12979         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
12981         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
12982         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
12983         (__libc_vfork): New strong alias.
12984         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
12985         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
12986         * nptl/pt-vfork.c: New file.
12987         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
12988         (libpthread: GLIBC_2.20): New version set (empty).
12990 2014-05-14  Will Newton  <will.newton@linaro.org>
12992         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
12993         rather than #if.
12995 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
12997         [BZ #16564]
12998         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
12999         arguments with exponent 65 or above.
13000         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
13001         arguments 0x1p113L or above.
13002         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
13003         to arguments 0x1p107L or above.
13004         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
13005         positive arguments with exponent 65 or above.
13006         * math/auto-libm-test-in: Add more tests of log1p.
13007         * math/auto-libm-test-out: Regenerated.
13009         [BZ #16928]
13010         * math/s_cacos.c (__cacos): Ensure zero real part of result from
13011         non-finite arguments is +0.
13012         * math/s_cacosf.c (__cacosf): Likewise.
13013         * math/s_cacosl.c (__cacosl): Likewise.
13014         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
13015         * sysdeps/i386/fpu/libm-test-ulps: Update.
13016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13018         [BZ #16927]
13019         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
13020         value.
13021         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13022         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
13023         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
13024         for explicit high bit of mantissa when testing for argument equal
13025         to 1.
13026         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
13027         * sysdeps/i386/fpu/libm-test-ulps: Update.
13028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13030         [BZ #16516]
13031         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
13032         (__erf): Scale by 16 instead of 8 in potentially underflowing
13033         case.  Ensure exception if result actually underflows.
13034         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
13035         (__erff): Scale by 16 instead of 8 in potentially underflowing
13036         case.  Ensure exception if result actually underflows.
13037         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
13038         (efx8): Remove variable.
13039         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13040         case.  Ensure exception if result actually underflows.
13041         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
13042         (efx8): Remove variable.
13043         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13044         case.  Ensure exception if result actually underflows.
13045         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
13046         (efx8): Remove variable.
13047         (__erfl): Scale by 16 instead of 8 in potentially underflowing
13048         case.  Ensure exception if result actually underflows.
13049         * math/auto-libm-test-in: Add more tests of erf.
13050         * math/auto-libm-test-out: Regenerated.
13052 2014-05-14  Andreas Schwab  <schwab@suse.de>
13054         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
13055         Remove code conditionalized on USE___THREAD.
13057         * config.h.in (HAVE_PT_CHOWN): Define as 0.
13058         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
13059         not definedness.
13061 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
13063         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
13064         Define unconditionally.
13065         (__ASSUME_O_CLOEXEC): Likewise.
13066         (__ASSUME_SOCK_CLOEXEC): Likewise.
13067         (__ASSUME_IN_NONBLOCK): Likewise.
13068         (__ASSUME_PIPE2): Likewise.
13069         (__ASSUME_EVENTFD2): Likewise.
13070         (__ASSUME_SIGNALFD4): Likewise.
13071         (__ASSUME_DUP3): Likewise.
13072         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
13073         (__ASSUME_DUP3): Do not define.
13074         (__ASSUME_EVENTFD2): Likewise.
13075         (__ASSUME_IN_NONBLOCK): Likewise.
13076         (__ASSUME_O_CLOEXEC): Likewise.
13077         (__ASSUME_PIPE2): Likewise.
13078         (__ASSUME_SIGNALFD4): Likewise.
13079         (__ASSUME_SOCK_CLOEXEC): Likewise.
13080         (__ASSUME_UTIMES): Undefine.
13081         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13082         (__ASSUME_UTIMES): Do not define.
13083         (__ASSUME_O_CLOEXEC): Likewise.
13084         (__ASSUME_SOCK_CLOEXEC): Likewise.
13085         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
13086         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
13087         0x020621].
13088         (__ASSUME_PIPE2): Likewise.
13089         (__ASSUME_EVENTFD2): Likewise.
13090         (__ASSUME_SIGNALFD4): Likewise.
13091         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
13092         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
13093         Do not define.
13094         (__ASSUME_EVENTFD2): Likewise.
13095         (__ASSUME_SIGNALFD4): Likewise.
13096         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13097         (__ASSUME_32BITUIDS): Likewise.
13098         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
13099         (__ASSUME_IPC64): Likewise.
13100         (__ASSUME_ST_INO_64_BIT): Likewise.
13101         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
13102         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
13103         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13104         (__ASSUME_UTIMES): Do not define.
13105         (__ASSUME_PSELECT): Likewise.
13106         (__ASSUME_PPOLL): Likewise.
13107         (__ASSUME_O_CLOEXEC): Likewise.
13108         (__ASSUME_SOCK_CLOEXEC): Likewise.
13109         (__ASSUME_IN_NONBLOCK): Likewise.
13110         (__ASSUME_PIPE2): Likewise.
13111         (__ASSUME_EVENTFD2): Likewise.
13112         (__ASSUME_SIGNALFD4): Likewise.
13113         (__ASSUME_DUP3): Likewise.
13114         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13115         (__ASSUME_UTIMES): Likewise.
13116         (__ASSUME_O_CLOEXEC): Likewise.
13117         (__ASSUME_SOCK_CLOEXEC): Likewise.
13118         (__ASSUME_IN_NONBLOCK): Likewise.
13119         (__ASSUME_PIPE2): Likewise.
13120         (__ASSUME_EVENTFD2): Likewise.
13121         (__ASSUME_SIGNALFD4): Likewise.
13122         (__ASSUME_DUP3): Likewise.
13123         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13124         (__ASSUME_UTIMES): Likewise.
13125         (__ASSUME_O_CLOEXEC): Likewise.
13126         (__ASSUME_SOCK_CLOEXEC): Likewise.
13127         (__ASSUME_IN_NONBLOCK): Likewise.
13128         (__ASSUME_PIPE2): Likewise.
13129         (__ASSUME_EVENTFD2): Likewise.
13130         (__ASSUME_SIGNALFD4): Likewise.
13131         (__ASSUME_DUP3): Likewise.
13132         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
13133         Likewise.
13134         (__ASSUME_UTIMES): Likewise.
13135         (__ASSUME_EVENTFD2): Likewise.
13136         (__ASSUME_SIGNALFD4): Likewise.
13137         * sysdeps/unix/sysv/linux/tile/kernel-features.h
13138         (__ASSUME_O_CLOEXEC): Likewise.
13139         (__ASSUME_SOCK_CLOEXEC): Likewise.
13140         (__ASSUME_IN_NONBLOCK): Likewise.
13141         (__ASSUME_PIPE2): Likewise.
13142         (__ASSUME_EVENTFD2): Likewise.
13143         (__ASSUME_SIGNALFD4): Likewise.
13144         (__ASSUME_DUP3): Likewise.
13145         (__ASSUME_UTIMES): Undefine.
13147         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
13148         feclearexcept.  Remove symbol versioning code.
13149         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
13150         symbol versioning code.
13151         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
13152         symbol versioning code.
13153         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
13154         feupdateenv.  Remove symbol versioning code.
13155         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
13156         fegetexceptflag.  Remove symbol versioning code.
13157         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
13158         fesetexceptflag.  Remove symbol versioning code.
13159         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
13160         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
13161         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
13162         (__posix_fadvise64_l32): Remove prototype.
13163         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
13164         code.
13166 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13168         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
13169         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
13170         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
13171         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
13173 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
13175         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
13176         current working directory
13178 2014-05-13  Roland McGrath  <roland@hack.frob.com>
13180         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
13181         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
13182         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
13183         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
13184         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
13185         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
13186         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
13187         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
13188         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
13189         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
13190         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
13191         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
13192         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
13193         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
13194         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
13195         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
13196         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
13197         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
13198         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
13199         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
13200         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
13201         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
13202         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
13203         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
13204         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
13205         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
13206         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
13207         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
13208         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
13209         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
13210         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
13211         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
13212         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
13213         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
13214         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
13215         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
13216         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
13217         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
13218         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
13219         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
13220         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
13221         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
13223         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
13224         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
13226         * sysdeps/unix/sysv/linux/arm/Makefile
13227         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
13228         Add rt-aeabi_unwind_cpp_pr1.
13229         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
13230         Add nptl-aeabi_unwind_cpp_pr1.
13231         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
13232         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
13233         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
13234         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
13235         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
13236         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
13238         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
13239         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
13240         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
13241         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
13243         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
13244         Deconditionalize the code that was previously under [RESET_PID].
13245         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
13247         * sysdeps/generic/exit-thread.h: New file.
13248         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
13249         * include/unistd.h (__exit_thread): Remove declaration.
13250         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
13251         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
13252         * csu/libc-start.c: Include <exit-thread.h>.
13253         (LIBC_START_MAIN): Pass no argument to __exit_thread.
13254         * nptl/pthread_create.c: Include <exit-thread.h>.
13255         (start_thread): Call __exit_thread in place of __exit_thread_inline.
13256         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
13257         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
13258         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
13259         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
13260         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
13261         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
13262         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
13263         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
13264         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
13265         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
13266         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
13267         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
13268         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
13269         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
13270         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
13271         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
13273 2014-05-13  Andreas Schwab  <schwab@suse.de>
13275         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
13277 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
13279         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
13280         (__ASSUME_UTIMES): Do not condition on kernel version.
13281         (__ASSUME_PSELECT): Define unconditionally.
13282         (__ASSUME_PPOLL): Likewise.
13283         (__ASSUME_ATFCTS): Likewise.
13284         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
13285         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
13286         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
13287         (__ASSUME_UTIMENSAT): Define unconditionally.
13288         (__ASSUME_PRIVATE_FUTEX): Likewise.
13289         (__ASSUME_FALLOCATE): Likewise.
13290         (__ASSUME_O_CLOEXEC): Likewise.
13291         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
13292         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
13293         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
13294         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
13295         (__ASSUME_IN_NONBLOCK): Likewise.
13296         (__ASSUME_PIPE2): Likewise.
13297         (__ASSUME_EVENTFD2): Likewise.
13298         (__ASSUME_SIGNALFD4): Likewise.
13299         (__ASSUME_DUP3): Likewise.
13300         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13301         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
13302         (__ASSUME_AT_RANDOM): Likewise.
13303         (__ASSUME_PREADV): Likewise.
13304         (__ASSUME_PWRITEV): Likewise.
13305         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
13306         (__ASSUME_F_GETOWN_EX): Define unconditionally.
13307         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
13308         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
13309         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
13310         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13311         (__ASSUME_O_CLOEXEC): Define unconditionally.
13312         (__ASSUME_PSELECT): Do not undefine conditionally.
13313         (__ASSUME_PPOLL): Likewise.
13314         (__ASSUME_ATFCTS): Likewise.
13315         (__ASSUME_SET_ROBUST_LIST): Likewise.
13316         (__ASSUME_UTIMENSAT): Likewise.
13317         (__ASSUME_FDATASYNC): Define unconditionally.
13318         * sysdeps/unix/sysv/linux/arm/kernel-features.h
13319         (__ASSUME_SIGFRAME_V2): Likewise.
13320         )__ASSUME_EVENTFD2): Likewise.
13321         (__ASSUME_SIGNALFD4): Likewise.
13322         (__ASSUME_PSELECT): Do not undefine conditionally.
13323         (__ASSUME_PPOLL): Likewise.
13324         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13325         (__ASSUME_PSELECT): Define unconditionally.
13326         (__ASSUME_PPOLL): Likewise.
13327         (__ASSUME_O_CLOEXEC): Likewise.
13328         (__ASSUME_SOCK_CLOEXEC): Likewise.
13329         (__ASSUME_IN_NONBLOCK): Likewise.
13330         (__ASSUME_PIPE2): Likewise.
13331         (__ASSUME_EVENTFD2): Likewise.
13332         (__ASSUME_SIGNALFD4): Likewise.
13333         (__ASSUME_DUP3): Likewise.
13334         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13335         (__ASSUME_O_CLOEXEC): Likewise.
13336         (__ASSUME_SOCK_CLOEXEC): Likewise.
13337         (__ASSUME_IN_NONBLOCK): Likewise.
13338         (__ASSUME_PIPE2): Likewise.
13339         (__ASSUME_EVENTFD2): Likewise.
13340         (__ASSUME_SIGNALFD4): Likewise.
13341         (__ASSUME_DUP3): Likewise.
13342         * sysdeps/unix/sysv/linux/mips/kernel-features.h
13343         (__ASSUME_EVENTFD2): Likewise.
13344         (__ASSUME_SIGNALFD4): Likewise.
13345         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13347 2014-05-12  Andreas Schwab  <schwab@suse.de>
13349         [BZ #16932]
13350         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
13351         (_nss_nis_gethostbyname4_r): Return error if item length is larger
13352         than maximum RPC packet size.
13353         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
13354         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
13355         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
13356         (_nss_nis_getservbyport_r): Likewise.
13358 2014-05-12  Will Newton  <will.newton@linaro.org>
13360         * malloc/Makefile (tests): Add tst-mallopt.
13361         * malloc/tst-mallopt.c: New file.
13363 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13365         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
13366         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
13368 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13370         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
13371         (tst-tlsmod6.so): Likewise.
13373 2014-05-09  Roland McGrath  <roland@hack.frob.com>
13375         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
13377 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
13379         [BZ #16064]
13380         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
13381         and <dl-procinfo.h>.
13382         (__fegetenv): Save SSE state in envp->__eip if supported.
13383         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
13384         envp->__eip if supported.
13385         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
13386         and <dl-procinfo.h>.
13387         (__fesetenv): Always set __eip, __cs_selector, __opcode,
13388         __data_offset and __data_selector in environment to 0.  Set SSE
13389         state if supported.
13390         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
13391         test-fenv-sse.
13392         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
13393         -mfpmath=sse.
13394         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
13396 2014-05-09  Will Newton  <will.newton@linaro.org>
13398         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
13399         and libc_relro_required for ARM.
13400         * sysdeps/arm/preconfigure: Regenerate.
13402 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
13403             Stefan Liebler  <stli@linux.vnet.ibm.com>
13405         * config.make.in (enable-lock-elision): New Makefile variable.
13406         * configure.ac: Likewise.
13407         * configure: Regenerate.
13408         * sysdeps/s390/configure.ac:
13409         Add check for gcc transactions support.
13410         * sysdeps/s390/configure: Regenerate.
13411         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
13412         Build elision files if enabled.
13413         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
13414         Add lock elision support for s390.
13415         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
13416         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
13417         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
13418         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
13419         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
13420         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
13421         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
13422         Likewise.
13423         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
13424         Likewise.
13425         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
13426         Likewise.
13427         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
13428         Likewise.
13429         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
13430         (__lll_timedlock_elision, __lll_lock_elision)
13431         (__lll_unlock_elision, __lll_trylock_elision)
13432         (lll_timedlock_elision, lll_lock_elision)
13433         (lll_unlock_elision, lll_trylock_elision): Add.
13434         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
13435         (pthread_mutex_t): Add lock elision support for s390.
13437 2014-05-14  Wilco  <wdijkstr@arm.com>
13439         * sysdeps/arm/fclrexcpt.c: Cleanup.
13440         * sysdeps/arm/fedisblxcpt.c: Cleanup.
13441         * sysdeps/arm/feenablxcpt.c: Cleanup.
13442         * sysdeps/arm/fegetenv.c: Cleanup.
13443         * sysdeps/arm/fegetexcept.c: Cleanup.
13444         * sysdeps/arm/fegetround.c: Cleanup.
13445         * sysdeps/arm/feholdexcpt.c: Cleanup.
13446         * sysdeps/arm/fesetenv.c: Cleanup.
13447         * sysdeps/arm/fesetround.c: Cleanup.
13448         * sysdeps/arm/feupdateenv.c: Cleanup.
13449         * sysdeps/arm/fgetexcptflg.c: Cleanup.
13450         * sysdeps/arm/fraiseexcpt.c: Cleanup.
13451         * sysdeps/arm/fsetexcptflg.c: Cleanup.
13452         * sysdeps/arm/ftestexcept.c: Cleanup.
13453         * sysdeps/arm/get-rounding-mode.h: Cleanup.
13454         * sysdeps/arm/setfpucw.c: Cleanup.
13456 2014-05-09  Will Newton  <will.newton@linaro.org>
13458         * sysdeps/arm/armv7/strcmp.S: New file.
13459         * NEWS: Mention addition of ARMv7 optimized strcmp.
13461 2014-05-08  Roland McGrath  <roland@hack.frob.com>
13463         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
13464         look for %.ac rather than %.in.
13466         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
13467         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
13468         * sysdeps/mach/hurd/configure: Regenerated.
13469         * sysdeps/unix/sysv/linux/configure: Regenerated.
13471         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
13473 2014-05-07  Steve Ellcey  <sellcey@mips.com>
13475         [BZ# 16922]
13476         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
13477         (LONG_SUB): Ditto.
13478         (PTR_SUB): Ditto.
13480 2014-05-07  Andreas Schwab  <schwab@suse.de>
13482         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
13483         when skipping over non-matching result from nscd.
13485 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
13487         [BZ #16876]
13488         * nptl/sockperf.c (client): Check socket return value.
13490         [BZ #16877]
13491         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
13492         nscd security class.
13494 2014-05-06  Roland McGrath  <roland@hack.frob.com>
13496         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
13497         * sysdeps/arm/unwind.h: ... here.
13499 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
13501         [BZ# 16916]
13502         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
13503         Define.
13505 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13507         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
13508         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
13509         multiarch strncpy for PPC64.
13510         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
13511         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
13512         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
13513         multiarch optimizations.
13514         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13515         (__libc_ifunc_impl_list): Likewise.
13516         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
13517         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
13518         multiarch stpncpy for PPC64.
13519         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
13520         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
13522 2014-05-06  Andreas Schwab  <schwab@suse.de>
13524         [BZ #16912]
13525         * gmon/mcount.c (_MCOUNT_DECL): Use
13526         atomic_compare_and_exchange_bool_acq instead of
13527         catomic_compare_and_exchange_bool_acq.
13529 2014-05-05  Roland McGrath  <roland@hack.frob.com>
13531         * elf/Makefile (others, install-bin): Remove pldd.
13532         (pldd-modules): Variable removed.
13533         ($(objpfx)pldd): Target removed.
13534         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
13535         (others, install-bin): Append pldd here.
13536         ($(objpfx)pldd): New target.
13538         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
13539         to 0, so the first #if test emitted later doesn't see it undefined.
13540         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
13541         * sysdeps/gnu/errlist.c: Regenerated.
13543 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13545         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
13546         [libc_hidden_builtin_def]: Define to empty value.
13547         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
13548         [libc_hidden_builtin_def]: Likewise.
13549         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
13550         [libc_hidden_builtin_def]: Likewise.
13551         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
13552         [libc_hidden_builtin_def]: Likewise.
13553         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
13554         __redirect_memcpy and define ifunc as default hidden symbol.
13555         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
13556         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
13558 2014-05-04  Adam Conrad  <adconrad@0c3.net>
13560         * locale/iso-4217.def: Reintroduce XDR currency.
13562 2014-05-04  Allan McRae  <allan@archlinux.org>
13564         * po/eo.po: Update Esperanto translation from translation project.
13566 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
13568         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
13569         and FEATURE_INDEX_MAX to 1.
13570         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
13572 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13574         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
13575         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
13576         * iconvdata/big5.c (ONE_DIRECTION): Define.
13577         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
13578         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
13579         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
13580         * iconvdata/cp932.c (ONE_DIRECTION): Define.
13581         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
13582         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
13583         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
13584         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
13585         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
13586         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
13587         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
13588         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
13589         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
13590         * iconvdata/gbk.c (ONE_DIRECTION): Define.
13591         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
13592         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
13593         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
13594         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
13595         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
13596         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
13597         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
13598         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
13599         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
13600         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
13601         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
13602         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
13603         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
13604         * iconvdata/iso646.c (ONE_DIRECTION): Define.
13605         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
13606         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
13607         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
13608         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
13609         * iconvdata/johab.c (ONE_DIRECTION): Define.
13610         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
13611         * iconvdata/sjis.c (ONE_DIRECTION): Define.
13612         * iconvdata/t.61.c (ONE_DIRECTION): Define.
13613         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
13614         * iconvdata/tscii.c (ONE_DIRECTION): Define.
13615         * iconvdata/uhc.c (ONE_DIRECTION): Define.
13616         * iconvdata/unicode.c (ONE_DIRECTION): Define.
13617         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
13618         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
13619         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
13621 2014-05-01  Roland McGrath  <roland@hack.frob.com>
13623         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
13624         (_IO_JUMPS_OFFSET): Define to 0.
13626         * nptl/sysdeps/pthread/bits/libc-lock.h
13627         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
13628         (__libc_lock_define_initialized_recursive): Always define using
13629         initializer.  Modern compilers treat uninitialized (implicit zero) and
13630         explicit zero initializers the same (i.e. put the datum in bss).
13632 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13634         * nscd/nscd-client.h: Include <string.h>.
13636 2014-05-01  David S. Miller  <davem@davemloft.net>
13638         [BZ #16885]
13639         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
13640         multiple zero bytes exist at the end of a string.
13641         Reported by Aurelien Jarno <aurelien@aurel32.net>
13643         * string/test-strcmp.c (check): Add explicit test for situations where
13644         there are multiple zero bytes after the first.
13646 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
13648         [BZ #16890]
13649         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
13650         when compiling wprintf.
13651         * stdio-common/tstdiomisc.c (t3): New function.
13652         (main): Call it.
13654 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13656         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
13657         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
13658         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
13659         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
13661 2014-05-01  Steve Ellcey  <sellcey@mips.com>
13663         * stdlib/longlong.h: Updated from GCC.
13665 2014-05-01  Will Newton  <will.newton@linaro.org>
13666             Bernard Ogden  <bernie.ogden@linaro.org>
13668         * NEWS: Update fixed bug list.
13670         [BZ #15119]
13671         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
13673 2014-04-30  David S. Miller  <davem@davemloft.net>
13675         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
13676         (libc_feholdexcept_setround_sparc_ctx): New function.
13677         (libc_fesetenv_sparc_ctx): Likewise.
13678         (libc_feupdateenv_sparc_ctx): Likewise.
13679         (libc_feholdsetround_sparc_ctx): Likewise.
13680         (libc_feholdexcept_setround_ctx): Define.
13681         (libc_feholdexcept_setroundf_ctx): Likewise.
13682         (libc_feholdexcept_setroundl_ctx): Likewise.
13683         (libc_fesetenv_ctx): Likewise.
13684         (libc_fesetenvf_ctx): Likewise.
13685         (libc_fesetenvl_ctx): Likewise.
13686         (libc_feupdateenv_ctx): Likewise.
13687         (libc_feupdateenvf_ctx): Likewise.
13688         (libc_feupdateenvl_ctx): Likewise.
13689         (libc_feresetround_ctx): Likewise.
13690         (libc_feresetroundf_ctx): Likewise.
13691         (libc_feresetroundl_ctx): Likewise.
13692         (libc_feholdsetround_ctx): Likewise.
13693         (libc_feholdsetroundf_ctx): Likewise.
13694         (libc_feholdsetroundl_ctx): Likewise.
13696         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13697         with __USE_GNU instead of XOPEN cpp guards.
13699         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
13700         0.
13702         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
13703         with XOPEN cpp guards.
13705 2014-04-30  Julian Brown  <julian@codesourcery.com>
13707         [BZ #16888]
13708         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
13709         handling.
13711 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
13713         [BZ #9894]
13714         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
13715         Change to 2.6.32.
13716         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
13717         * sysdeps/unix/sysv/linux/configure: Regenerated.
13718         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
13719         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
13720         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
13721         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
13722         * README: Update reference to required Linux kernel version.
13723         * manual/install.texi (Linux): Update reference to required Linux
13724         kernel headers version.
13725         * INSTALL: Regenerated.
13727         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
13728         header inclusion.
13729         [POSIX] (limits.h): Likewise.
13730         [POSIX] (math.h): Likewise.
13731         [POSIX] (sys/wait.h): Likewise.
13732         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
13733         function.
13734         [POSIX] (stddef.h): Do not allow header inclusion.
13736 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13738         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
13740 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
13742         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
13743         Return immediately after lll_futex_wake.
13745 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13747         [BZ #16791]
13748         * nscd/nscd-client.h (datahead_init_common): Initialize entire
13749         structure.
13750         (datahead_init_pos): Call datahead_init_common early.
13751         (datahead_init_neg): Likewise.
13753         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
13754         datahead_init_neg): New functions.
13755         * nscd/aicache.c (addhstaiX): Use them.
13756         * nscd/grpcache.c (cache_addgr): Likewise.
13757         * nscd/hstcache.c (cache_addhst): Likewise.
13758         * nscd/initgrcache.c (addinitgroupsX): Likewise.
13759         * nscd/netgroupcache.c (do_notfound): Likewise.
13760         (addgetnetgrentX): Likewise.
13761         (addinnetgrX): Likewise.
13762         * nscd/pwdcache.c (cache_addpw): Likewise.
13763         * nscd/servicescache.c (cache_addserv): Likewise.
13765 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13766             Atsushi Onoe  <atsushi@onoe.org>
13768         [BZ #14308]
13769         [BZ #12994]
13770         [BZ #13651]
13771         * resolv/res_query.c (__libc_res_nsearch): Return if at least
13772         one response is valid.
13773         * resolv/res_send.c (send_dg): Check for validity of other
13774         response if the current response is a referral.
13776 2014-04-29  Steve Ellcey  <sellcey@mips.com>
13778         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
13780 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
13782         [BZ #16823]
13783         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
13784         Always divide by positive zero when computing -Inf result.
13785         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
13786         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13788 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13790         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
13791         FPSCR if value do not change.
13792         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
13793         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
13794         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
13795         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
13796         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
13797         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
13798         function.
13800 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
13802         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
13803         * sysdeps/unix/sysv/linux/hppa: Move directory from
13804         ports/systeps/unix/sysv/linux/hppa.
13805         * README: Update listing for hppa-*-linux-gnu.
13807 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
13809         [BZ #16754]
13810         * manual/stdio.texi (Hook functions): Fix types of stream hook
13811         functions.
13812         [BZ #16854]
13813         * socket/sys/socket.h: Fix typo in comment.
13815 2014-04-28  Wilco  <wdijkstr@arm.com>
13817         * sysdeps/arm/fenv_private.h: New file.
13818         * sysdeps/arm/math_private.h: New file.
13819         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
13821 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
13823         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
13824         with __int128_t.
13825         (La_x86_64_retval): Likewise.
13827 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
13829         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
13830         fpsr if value didn't change.
13831         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
13832         to fpcr if value didn't change.
13833         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
13834         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
13835         fpsr or fpcr if value didn't change.
13836         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13837         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
13838         fpcr if value didn't change.
13839         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
13840         to fpsr if value didn't change.
13842 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
13844         * nptl/tst-sem3.c: Use test-skeleton.c
13845         (main): Rename to do_test.  Use return instead of
13846         exit.
13847         * nptl/tst-sem4.c: Use test-skeleton.c
13848         (main): Rename to do_test.
13850 2014-04-22  David S. Miller  <davem@davemloft.net>
13852         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
13853         (struct sigaction): New struct member __glibc_reserved0, change
13854         type of sa_flags to int.
13856 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
13858         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
13859         (COUNT_LEADING_ZEROS_0): Define for AArch64.
13861 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
13863         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
13864         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
13866 2014-04-22  Will Newton  <will.newton@linaro.org>
13867             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
13869         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
13870         (__longjmp): Add longjmp and longjmp_target SystemTap
13871         probes.
13872         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
13873         (__sigsetjmp): Add setjmp SystemTap probe.
13875 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
13877         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
13878         match manual order.
13880 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13882         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
13884         * sysdeps/powerpc/fpu/fenv_private.h
13885         (libc_feholdexcept_setroundl_ctx): Define to
13886         libc_feholdexcept_setround_ppc_ctx.
13887         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
13888         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
13889         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
13890         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
13892 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13894         * sysdeps/aarch64/math-tests.h: New file.
13896 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
13898         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
13899         New.
13900         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13901         Check and set bit_AVX2_Usable.
13902         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
13903         macro.
13904         (bit_AVX2): Likewise.
13905         (index_AVX2_Usable): Likewise.
13906         (CPUID_AVX2): Likewise.
13907         (HAS_AVX2): Likewise.
13909 2014-04-17  Will Newton  <will.newton@linaro.org>
13911         * manual/setjmp.texi (System V contexts): Add note that
13912         calling setcontext on a context created by a call to a
13913         signal handler is undefined.  Update text to note that
13914         setcontext from a signal handler is possible but not
13915         recommended.
13917         [BZ #16629]
13918         * stdlib/tst-setcontext.c: Include signal.h.
13919         (main): Check that the signal stack before and
13920         after swapcontext is the same.
13922         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
13923         Re-implement to restore registers in user code and avoid
13924         rt_sigreturn system call.
13926 2014-04-17  Wilco  <wdijkstr@arm.com>
13928         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
13929         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
13930         * math/test-fenv.c: Skip exception trap tests on targets which only
13931         support non-stop mode.
13933 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
13934             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13936         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
13937         (libc_feholdsetround_aarch64_ctx)
13938         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
13939         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
13940         (libc_feresetround_ctx, libc_feresetroundf_ctx)
13941         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
13942         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
13943         (libc_feresetround_noexl_ctx): Define.
13945 2014-04-16  Richard Henderson  <rth@redhat.com>
13947         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
13949         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
13950         unwind tables.
13952         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
13953         const from the non-libc, non-ldso copy.
13955         * sysdeps/alpha/libm-test-ulps: Regenerate.
13957 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
13958             Wilco Dijkstra  <wilco.dijkstra@arm.com>
13960         * sysdeps/aarch64/fpu/math_private.h: New file.
13962 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13964         * sysdeps/aarch64/libm-test-ulps: Regenerate.
13966 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
13968         [BZ #16275]
13969         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
13970         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
13971         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
13972         Intel MPX bound registers before _dl_profile_fixup.
13973         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
13974         registers after _dl_profile_fixup.  Save and restore bound
13975         registers bnd0/bnd1 when calling _dl_call_pltexit.
13976         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
13977         (LR_BND_OFFSET): Likewise.
13978         (LRV_BND0_OFFSET): Likewise.
13979         (LRV_BND1_OFFSET): Likewise.
13981 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13983         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
13984         to...
13985         * sysdeps/mach/hurd/i386/tls.h: ... here.
13986         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
13987         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
13988         fields.
13990 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13992         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
13994 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
13996         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
13998 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
14000         [BZ #14770]
14001         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
14002         * sysdeps/s390/configure: Regenerate.
14004         [BZ #16824]
14005         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
14006         Set round-to-nearest internally to reduce error accumulation.
14008 2014-04-16  Alan Modra  <amodra@gmail.com>
14010         [BZ #16740]
14011         [BZ #16619]
14012         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
14013         * math/libm-test.inc (frexp_test_data): Add tests.
14014         * NEWS: Update fixed bug list.
14016 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
14018         * benchtests/Makefile: Depend on libraries in build directory.
14019         (bench-math): Separate out math tests.
14020         (bench-pthread): Separate out pthread tests.
14021         (bench): Include math and pthread tests.
14023 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
14025         [BZ #16831]
14026         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
14027         _dl_debug_initialize.
14029         * configure.ac: Remove SELinux header check.
14030         * configure: Regenerate.
14031         * nscd/selinux.c (perms): Array of const char* to permission names.
14032         (nscd_request_avc_has_perm): Call security_deny_unknown to find
14033         default policy. Call string_to_security_class and string_to_av_perm to
14034         translate strings. Enforce default policy and call avs_has_perm with
14035         results of translated strings.
14037 2014-04-13  David S. Miller  <davem@davemloft.net>
14039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14041 2014-04-12  Allan McRae  <allan@archlinux.org>
14043         [BZ #16838]
14044         * manual/string.texi (Collation Functions): Fix qsort argument
14045         order in example.
14046         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
14048 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
14050         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
14051         Make the test a no-op if there are no exceptions defined.
14053 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
14055         * elf/Makefile (tests): make tst-dlopen-aout conditional on
14056         enable-hardcoded-path-in-tests
14058 2014-04-11  Will Newton  <will.newton@linaro.org>
14060         * benchtests/Makefile (extra-objs): Add json-lib.o.
14061         (bench-func): Tidy up JSON output.
14062         * benchtests/bench-skeleton.c: Include json-lib.h.
14063         (main): Use JSON library functions to do output of
14064         benchmark results.
14065         * benchtests/bench-timing-type.c (main): Output the
14066         timing type simply, leaving formatting to the user.
14067         * benchtests/json-lib.c: New file.
14068         * benchtests/json-lib.h: Likewise.
14070 2014-04-11  Torvald Riegel  <triegel@redhat.com>
14072         [BZ #15215]
14073         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
14074         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
14075         memory barriers.  Add comments.
14076         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
14077         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
14078         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
14079         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
14080         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
14081         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
14083 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
14085         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
14086         * sysdeps/s390/s390-64/configure.ac: ... this ...
14087         * sysdeps/s390/configure.ac: ... to here.
14088         * sysdeps/s390/s390-32/configure: Delete file.
14089         * sysdeps/s390/s390-64/configure: Delete file.
14090         * sysdeps/s390/configure: Regenerate.
14092 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
14094         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
14096 2014-04-11  Will Newton  <will.newton@linaro.org>
14098         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
14099         to zero if it is not defined elsewhere.  (mtrim): Test
14100         the value of MALLOC_DEBUG with #if rather than #ifdef.
14102 2014-04-10 Torvald Riegel  <triegel@redhat.com>
14104         * benchtests/pthread_once-inputs: New file.
14105         * benchtests/pthread_once-source.c: New file.
14106         * benchtests/README: Update documentation.
14108 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
14109             H.J. Lu  <hongjiu.lu@intel.com>
14111         [BZ #16275]
14112         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
14113         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
14114         * sysdeps/x86_64/configure: Regenerated.
14115         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
14116         macro.
14117         (REGISTER_SAVE_RAX): Likewise.
14118         (REGISTER_SAVE_RCX): Likewise.
14119         (REGISTER_SAVE_RDX): Likewise.
14120         (REGISTER_SAVE_RSI): Likewise.
14121         (REGISTER_SAVE_RDI): Likewise.
14122         (REGISTER_SAVE_R8): Likewise.
14123         (REGISTER_SAVE_R9): Likewise.
14124         (REGISTER_SAVE_BND0): Likewise.
14125         (REGISTER_SAVE_BND1): Likewise.
14126         (REGISTER_SAVE_BND2): Likewise.
14127         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
14128         bound registers when calling _dl_fixup.
14130 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14132         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
14133         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
14134         of its definition.
14135         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
14136         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
14137         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
14138         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
14139         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
14140         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
14141         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
14143 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
14145         [BZ #15514]
14146         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
14147         pathconf(_PC_NAME_MAX).
14149 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14151         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
14152         Remove macro usage.
14153         (__PTHREAD_SPINS): Move definition to ...
14154         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14155         (__PTHREAD_SPINS): ... here.
14156         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14157         (__PTHREAD_SPIN): Likewise.
14158         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
14159         (__PTHREAD_SPIN): Likewise.
14160         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
14161         (__PTHREAD_SPIN): Likewise.
14162         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
14163         (__PTHREAD_SPIN): Likewise.
14164         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
14165         (__PTHREAD_SPIN): Likewise.
14166         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
14167         (__PTHREAD_SPIN): Likewise.
14168         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
14169         (__PTHREAD_SPIN): Likewise.
14170         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
14171         (__PTHREAD_SPIN): Likewise.
14172         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
14173         (__PTHREAD_SPIN): Likewise.
14174         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
14175         (__PTHREAD_SPIN): Likewise.
14176         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
14177         (__PTHREAD_SPIN): Likewise.
14178         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
14179         (__PTHREAD_SPIN): Likewise.
14181         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
14182         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
14183         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
14184         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
14185         imply folder.
14186         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
14187         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
14188         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
14189         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
14190         correct imply path.
14191         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
14192         strlen symbol for non multi-arch builds.
14193         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
14194         missing hidden_def and weak_alias.
14196 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
14198         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
14200 2014-04-07  Will Newton  <will.newton@linaro.org>
14202         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
14203         and contents.  [!_LIBC] Remove #ifndef and contents.
14204         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
14205         * string/memccpy.c (__memccpy): Use ANSI prototype.
14206         * string/memfrob.c (memfrob): Likewise.
14207         * string/strcoll.c (STRCOLL): Likewise.
14208         * string/strlen.c (strlen): Likewise.
14209         * string/strtok.c (STRTOK): Likewise.
14210         * string/strcat.c: Remove unused #include of memcopy.h.
14211         (strcat): Use ANSI prototype.
14212         * string/strchr.c: Remove unused #include of memcopy.h.
14213         (strchr): Use ANSI prototype.
14214         * string/strcmp.c: Remove unused #include of memcopy.h.
14215         (strcmp): Use ANSI prototype.
14216         * string/strcpy.c: Remove unused #include of memcopy.h.
14217         (strcpy): Use ANSI prototype.
14219 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14221         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
14222         * config.make.in (config-extra-cppflags): Set it from
14223         libc_extra_cppflags.
14224         * configure.ac (libc_extra_cflags): Make it accumulate over
14225         configure fragments.
14226         (libc_extra_cppflags): New flag.
14227         * configure. Regenerate.
14228         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
14229         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
14230         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
14231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
14233         [BZ #16815]
14234         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
14235         result for FE_DOWNWARD rounding mode.
14236         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
14237         Likewise.
14238         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14240 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
14242         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
14243         in function argument name.
14245 2014-04-03  David Svoboda  <svoboda@cert.org>
14247         [BZ #5666]
14248         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
14249         explicitly.
14251 2014-04-03  Roland McGrath  <roland@hack.frob.com>
14253         * elf/dl-unmap-segments.h: New file.
14254         * sysdeps/generic/ldsodefs.h
14255         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
14256         * elf/dl-close.c: Include <dl-unmap-segments.h>.
14257         * elf/dl-fptr.c: Likewise.
14258         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
14259         * sysdeps/aarch64/tlsdesc.c: Likewise.
14260         * sysdeps/arm/tlsdesc.c: Likewise.
14261         * sysdeps/i386/tlsdesc.c: Likewise.
14262         * sysdeps/tile/dl-runtime.c: Likewise.
14263         * sysdeps/x86_64/tlsdesc.c: Likewise.
14264         * elf/dl-load.h: New file.
14265         * elf/dl-load.c: Include it.
14266         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
14267         Macros moved to dl-load.h.
14268         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
14269         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
14270         Use _dl_unmap_segments in place of __munmap.
14271         Break out segment-mapping loop into ...
14272         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
14274 2014-04-03  Will Newton  <will.newton@linaro.org>
14276         * elf/dl-lookup.c (do_lookup_x): Remove comment
14277         referring to nested function and move variable
14278         declarations down to before first use.
14280 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
14282         [BZ #16799]
14283         [BZ #16800]
14284         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
14285         with 0 numerator.
14286         * math/s_catanf.c (__catanf): Likewise.
14287         * math/s_catanh.c (__catanh): Likewise.
14288         * math/s_catanhf.c (__catanhf): Likewise.
14289         * math/s_catanhl.c (__catanhl): Likewise.
14290         * math/s_catanl.c (__catanl): Likewise.
14291         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
14292         by positive zero when computing -Inf result.
14293         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
14294         (catanh_test): Likewise.
14295         * sysdeps/i386/fpu/libm-test-ulps: Update.
14296         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14298         [BZ #16789]
14299         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
14300         instead of using underflowing value in computing result.
14301         * math/s_clog10.c (__clog10): Likewise.
14302         * math/s_clog10f.c (__clog10f): Likewise.
14303         * math/s_clog10l.c (__clog10l): Likewise.
14304         * math/s_clogf.c (__clogf): Likewise.
14305         * math/s_clogl.c (__clogl): Likewise.
14306         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
14307         (clog10_test): Likewise.
14308         * sysdeps/i386/fpu/libm-test-ulps: Update.
14309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14311 2014-04-02  Alan Modra  <amodra@gmail.com>
14313         [BZ #16739]
14314         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
14315         output when value is near a power of two.  Use int64_t for lx and
14316         remove casts.  Use decimal rather than hex exponent constants.
14317         Don't use long double multiplication when double will suffice.
14318         * math/libm-test.inc (nextafter_test_data): Add tests.
14319         * NEWS: Add 16739 and 16786 to bug list.
14321         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
14323         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
14325 2014-04-01  Will Newton  <will.newton@linaro.org>
14327         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
14328         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
14330 2014-04-01  Florian Weimer  <fweimer@redhat.com>
14332         [BZ #13347]
14333         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
14334         * nptl/tst-setuid2.c: New file.
14335         * nptl/Makefile (xtests): Add tst-setuid2.
14337 2014-04-01  Alan Modra  <amodra@gmail.com>
14339         [BZ #16786]
14340         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
14342 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14344         [BZ #6803]
14345         [BZ #6804]
14346         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
14347         set errno as appropriate.
14348         * math/w_scalbf.c (__scalbf): Likewise.
14349         * math/w_scalbl.c (__scalbl): Likewise.
14350         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
14351         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
14352         * math/libm-test.inc (scalb_test_data): Add errno expectations.
14353         Add more NaN tests.
14355         [BZ #16349]
14356         * math/w_atan2.c: Include <errno.h>.
14357         (__atan2): Set errno for result underflowing to zero.
14358         * math/w_atan2f.c: Include <errno.h>.
14359         (__atan2f): Set errno for result underflowing to zero.
14360         * math/w_atan2l.c: Include <errno.h>.
14361         (__atan2l): Set errno for result underflowing to zero.
14362         * math/auto-libm-test-in: Don't allow missing errno for some atan2
14363         tests.
14364         * math/auto-libm-test-out: Regenerated.
14366 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14368         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
14369         Encode instruction correctly in little endian.
14370         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
14371         Likewise.
14372         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
14373         Likewise.
14374         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
14375         Likewise.
14376         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
14377         Likewise.
14379 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
14381         [BZ #9894]
14382         * sysdeps/unix/sysv/linux/kernel-features.h
14383         [__sparc__ && !__arch64__ && !__sparc_v9__]
14384         (__ASSUME_SET_ROBUST_LIST): Do not define.
14385         [__sparc__ && !__arch64__ && !__sparc_v9__]
14386         (__ASSUME_FUTEX_LOCK_PI): Likewise.
14387         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
14388         Likewise.
14389         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14390         (__ASSUME_FUTEX_LOCK_PI): Undefine.
14391         (__ASSUME_REQUEUE_PI): Likewise.
14392         (__ASSUME_SET_ROBUST_LIST): Likewise.
14393         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
14394         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
14395         Undefine.
14396         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14397         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
14398         Likewise.
14399         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
14400         Likewise.
14401         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
14402         Likewise.
14403         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14404         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
14405         Undefine.
14406         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
14407         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
14408         Likewise.
14410         [BZ #16648]
14411         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14412         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
14413         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
14415 2014-03-31  Will Newton  <will.newton@linaro.org>
14417         * benchtests/Makefile (bench): Add ffs and ffsll to list
14418         of tests.
14419         * benchtests/ffs-inputs: New file.
14420         * benchtests/ffsll-inputs: Likewise.
14422 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
14424         [BZ #16770]
14425         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
14426         too large before casting to int.
14427         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
14428         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
14429         * math/libm-test.inc (scalb_test_data): Add more tests.
14431 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14433         * benchtests/Makefile (DETAILED_OPT): New make option.
14434         (bench-func): Run benchmark program with -d if DETAILED_OPT is
14435         set.
14436         * benchtests/bench-skeleton.c: Include stdbool.h.
14437         (main): Store and print timings per input.
14438         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
14439         member to each argument value.
14440         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
14441         (_print_arg_data): Initialize per-input timing to 0.
14443         * benchtests/Makefile (timing-type): New binary.
14444         (bench-clean): Also remove bench-timing-type.
14445         (bench): New target for timing-type.
14446         (bench-func): Print output in JSON format.
14447         * benchtests/bench-skeleton.c (main): Print output in JSON
14448         format.
14449         * benchtests/bench-timing-type.c: New file.
14450         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
14451         (TIMING_PRINT_STATS): Remove.
14452         * benchtests/scripts/bench.py (_print_arg_data): Store variant
14453         name separately.
14455         * benchtests/bench-modf.c: Remove.
14456         * benchtests/modf-inputs: New inputs file.
14458 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
14460         [BZ #16362]
14461         * math/s_clog10.c (M_PI_LOG10E): New macro.
14462         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
14463         imaginary parts are 0.
14464         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
14465         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
14466         imaginary parts are 0.
14467         * math/s_clog10l.c (M_PI_LOG10El): New macro.
14468         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
14469         imaginary parts are 0.
14470         * math/libm-test.inc (clog10_test_data): Update expected results
14471         for when real and imaginary parts are 0.
14473 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
14475         * elf/dl-load.c: Finish conversion of __builtin_expect into
14476         __glibc_{un}likely.
14478 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
14480         [BZ #16348]
14481         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
14482         1+x for argument with exponent below -67.
14483         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
14484         Likewise.
14485         * math/auto-libm-test-in: Add more tests of exp.
14486         * math/auto-libm-test-out: Regenerated.
14488 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14490         [BZ #16759]
14491         * inet/getnetgrent_r.c (get_nonempty_val): New function.
14492         (nscd_getnetgrent): Use it.
14494         [BZ #16760]
14495         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
14496         of stpcpy.
14498 2014-03-27  Andi Kleen  <ak@linux.intel.com>
14500         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
14501         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14502         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14503         (lll_robust_unlock): Remove out of line section. Use cfi
14504         intrinsics.
14505         (LLL_STUB_UNWIND_INFO*): Remove.
14506         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
14507         (lll_robust_lock, lll_cond_lock, lll_timedlock)
14508         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
14509         (lll_robust_unlock): Remove out of line section. Use cfi
14510         intrinsics.
14511         (LLL_STUB_UNWIND_INFO*): Remove.
14513 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14515         [BZ #16758]
14516         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
14517         blank values.
14519 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
14521         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
14523 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
14525         [BZ #16198]
14526         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
14527         fnstenv.
14528         * math/test-fenv-preserve.c: New file.
14529         * math/Makefile (tests): Add test-fenv-preserve.
14531 2014-03-26  Will Newton <will.newton@linaro.org>
14533         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
14535 2014-03-25  Roland McGrath  <roland@hack.frob.com>
14537         * scripts/versionlist.awk: Partition the version sets and emit all
14538         GLIBC_* (sorted) before all others (sorted).
14540 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14542         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
14543         GLIBC_2.2.5 version.
14545 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14547         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
14548         calls.
14550         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
14551         previous change.
14553         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14555 2014-03-25  Andreas Schwab  <schwab@suse.de>
14557         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
14558         label to be used after in6ailist is initialized.
14560 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14562         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
14563         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14565 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
14567         [BZ #16357]
14568         [BZ #16599]
14569         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
14570         min_plus_half.
14571         (fp_formats): Update initializers.
14572         (init_fp_formats): Initialize new field.
14573         (output_for_one_input_case): Allow underflow for results up to
14574         min_plus_half.
14575         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
14576         * math/auto-libm-test-in: Don't mark some underflows from asin and
14577         atanh as spurious.
14578         * math/auto-libm-test-out: Regenerated.
14579         * sysdeps/i386/fpu/libm-test-ulps: Update.
14580         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14582 2014-03-25  Andreas Schwab  <schwab@suse.de>
14584         * libio/Makefile (tst-ftell-partial-wide-ENV)
14585         (tst-ftell-active-handler-ENV): Define.
14587 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
14589         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
14591 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14593         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
14595 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14597         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
14598         * sysdeps/x86_64/fpu/multiarch/e_exp.c
14599         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
14601 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
14603         [BZ #16634]
14604         * elf/dl-load.c (open_verify): Add mode parameter.
14605         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
14606         (open_path): Change from boolean 'secure' to complete flag 'mode'
14607         (_dl_map_object): Adjust.
14608         * elf/Makefile (tests): Add tst-dlopen-aout.
14609         * elf/tst-dlopen-aout.c: New test.
14611 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
14613         [BZ #16714]
14614         * sysdeps/unix/sysv/linux/s390/bits/stat.h
14615         (struct stat): Rename member pad0 to __glibc_reserved0.
14617         [BZ #16712]
14618         * sysdeps/s390/s390-32/bits/wordsize.h
14619         (__WORDSIZE32_SIZE_ULONG): New define.
14620         * sysdeps/s390/s390-64/bits/wordsize.h
14621         (__WORDSIZE32_SIZE_ULONG): Likewise.
14622         * sysdeps/generic/stdint.h (SIZE_MAX):
14623         Define as UL if __WORDSIZE32_SIZE_ULONG.
14625         [BZ #16713]
14626         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
14627         (__glibc_reserved0): New variable.
14628         (sa_flags): Change type to int.
14630         * posix/Makefile (before-compile): Use += before-compile instead
14631         of a :=.
14633         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
14634         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
14636 2014-03-20  Andreas Schwab  <schwab@suse.de>
14638         [BZ #16743]
14639         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
14640         non-matching result from nscd.
14642 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
14644         * scripts/bench.py: Moved to ...
14645         * benchtests/scripts/bench.py: ... here.
14646         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
14648 2014-03-24  Andreas Schwab  <schwab@suse.de>
14650         [BZ #16002]
14651         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
14652         alloca_account and account alloca use for struct in6ailist.
14654 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
14656         [BZ #16284]
14657         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
14658         rounding mode to recompute results that overflow to infinity or
14659         underflow to zero.
14660         * math/auto-libm-test-in: Don't mark tests as expected to fail for
14661         bug 16284.
14662         * math/auto-libm-test-out: Regenerated.
14663         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
14664         (ccosh_test): Likewise.
14665         (csin_test_data): Use plus_oflow.
14666         (csin_test): Use ALL_RM_TEST.
14667         (csinh_test_data): Use plus_oflow.
14668         (csinh_test): Use ALL_RM_TEST.
14669         * sysdeps/i386/fpu/libm-test-ulps: Update.
14670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14672 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
14674         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
14675         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
14676         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
14678         [BZ #16731]
14679         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
14680         when x - 1 is zero.
14681         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
14682         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
14683         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
14684         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
14685         argument is 1.
14686         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
14687         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
14688         zero.
14689         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
14690         * sysdeps/i386/fpu/libm-test-ulps: Update.
14691         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14693 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14695         * scripts/bench.pl: Remove file.
14696         * scripts/bench.py: New benchmark script.
14697         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
14698         * benchtests/README: Mention python dependency.
14699         * scripts/pylintrc: New file.
14700         * scripts/pylint: New file.
14702         * bits/mathdef.h: Use #ifdef instead of #if.
14703         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
14704         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14705         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
14706         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14707         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
14708         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
14710 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14711             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
14713         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
14714         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
14715         and strpbrk-ppc64 objects.
14716         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14717         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
14718         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
14719         multiarch strpbrk for POWER7.
14720         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
14721         multiarch strpbrk for PPC64.
14722         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
14723         ifunc selector.
14724         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
14725         strpbrk for POWER7.
14727 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14729         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
14730         (atan_test): Likewise.
14731         (atanh_test_data): Use NO_TEST_INLINE for two tests.
14732         (atanh_test): Use ALL_RM_TEST.
14733         (atan2_test_data): Likewise.
14734         (cabs_test): Likewise.
14735         (cacosh_test): Likewise.
14736         (carg_test): Likewise.
14737         (casin_test): Likewise.
14738         (casinh_test): Likewise.
14739         (cbrt_test): Likewise.
14740         (csqrt_test): Likewise.
14741         (erf_test): Likewise.
14742         (erfc_test): Likewise.
14743         (pow10_test): Likewise.
14744         (exp2_test): Likewise.
14745         (hypot_test): Likewise.
14746         (j0_test): Likewise.
14747         (j1_test): Likewise.
14748         (lgamma_test): Likewise.
14749         (gamma_test): Likewise.
14750         (sincos_test): Likewise.
14751         (tanh_test): Likewise.
14752         (y0_test): Likewise.
14753         (y1_test): Likewise.
14754         * sysdeps/i386/fpu/libm-test-ulps: Update.
14755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14757 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14759         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
14760         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
14761         and strcspn-ppc64 objects.
14762         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14763         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
14764         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
14765         multiarch strcspn for POWER7.
14766         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
14767         multiarch strcspn for PPC64.
14768         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
14769         ifunc selector.
14770         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
14771         strcspn for POWER7.
14773 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
14775         * math/gen-libm-test.pl (generate_testfile): Expect only function
14776         name as argument to AUTO_TESTS_* and pass results for all rounding
14777         modes to parse_args.
14778         (parse_auto_input): Separate inputs of automatic tests from
14779         outputs before storing in %auto_tests.
14780         * math/libm-test.inc (acos_test_data): Update call to
14781         AUTO_TESTS_f_f.
14782         (acos_test): Use ALL_RM_TEST.
14783         (acos_tonearest_test_data): Remove.
14784         (acos_test_tonearest): Likewise.
14785         (acos_towardzero_test_data): Likewise.
14786         (acos_test_towardzero): Likewise.
14787         (acos_downward_test_data): Likewise.
14788         (acos_test_downward): Likewise.
14789         (acos_upward_test_data): Likewise.
14790         (acos_test_upward): Likewise.
14791         (acosh_test_data): Update call to AUTO_TESTS_f_f.
14792         (asin_test_data): Likewise.
14793         (asin_test): Use ALL_RM_TEST.
14794         (asin_tonearest_test_data): Remove.
14795         (asin_test_tonearest): Likewise.
14796         (asin_towardzero_test_data): Likewise.
14797         (asin_test_towardzero): Likewise.
14798         (asin_downward_test_data): Likewise.
14799         (asin_test_downward): Likewise.
14800         (asin_upward_test_data): Likewise.
14801         (asin_test_upward): Likewise.
14802         (asinh_test_data): Update call to AUTO_TESTS_f_f.
14803         (atan_test_data): Likewise.
14804         (atanh_test_data): Likewise.
14805         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
14806         (cabs_test_data): Update call to AUTO_TESTS_c_f.
14807         (carg_test_data): Likewise.
14808         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
14809         (ccos_test_data): Update call to AUTO_TESTS_c_c.
14810         (ccosh_test_data): Likewise.
14811         (cexp_test_data): Likewise.
14812         (clog_test_data): Likewise.
14813         (clog10_test_data): Likewise.
14814         (cos_test_data): Update call to AUTO_TESTS_f_f.
14815         (cos_test): Use ALL_RM_TEST.
14816         (cos_tonearest_test_data): Remove.
14817         (cos_test_tonearest): Likewise.
14818         (cos_towardzero_test_data): Likewise.
14819         (cos_test_towardzero): Likewise.
14820         (cos_downward_test_data): Likewise.
14821         (cos_test_downward): Likewise.
14822         (cos_upward_test_data): Likewise.
14823         (cos_test_upward): Likewise.
14824         (cosh_test_data): Update call to AUTO_TESTS_f_f.
14825         (cosh_test): Use ALL_RM_TEST.
14826         (cosh_tonearest_test_data): Remove.
14827         (cosh_test_tonearest): Likewise.
14828         (cosh_towardzero_test_data): Likewise.
14829         (cosh_test_towardzero): Likewise.
14830         (cosh_downward_test_data): Likewise.
14831         (cosh_test_downward): Likewise.
14832         (cosh_upward_test_data): Likewise.
14833         (cosh_test_upward): Likewise.
14834         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
14835         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
14836         (ctan_test_data): Likewise.
14837         (ctan_test): Use ALL_RM_TEST.
14838         (ctan_tonearest_test_data): Remove.
14839         (ctan_test_tonearest): Likewise.
14840         (ctan_towardzero_test_data): Likewise.
14841         (ctan_test_towardzero): Likewise.
14842         (ctan_downward_test_data): Likewise.
14843         (ctan_test_downward): Likewise.
14844         (ctan_upward_test_data): Likewise.
14845         (ctan_test_upward): Likewise.
14846         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
14847         (ctanh_test): Use ALL_RM_TEST.
14848         (ctanh_tonearest_test_data): Remove.
14849         (ctanh_test_tonearest): Likewise.
14850         (ctanh_towardzero_test_data): Likewise.
14851         (ctanh_test_towardzero): Likewise.
14852         (ctanh_downward_test_data): Likewise.
14853         (ctanh_test_downward): Likewise.
14854         (ctanh_upward_test_data): Likewise.
14855         (ctanh_test_upward): Likewise.
14856         (erf_test_data): Update call to AUTO_TESTS_f_f.
14857         (erfc_test_data): Likewise.
14858         (exp_test_data): Likewise.
14859         (exp_test): Use ALL_RM_TEST.
14860         (exp_tonearest_test_data): Remove.
14861         (exp_test_tonearest): Likewise.
14862         (exp_towardzero_test_data): Likewise.
14863         (exp_test_towardzero): Likewise.
14864         (exp_downward_test_data): Likewise.
14865         (exp_test_downward): Likewise.
14866         (exp_upward_test_data): Likewise.
14867         (exp_test_upward): Likewise.
14868         (exp10_test_data): Update call to AUTO_TESTS_f_f.
14869         (exp10_test): Use ALL_RM_TEST.
14870         (exp10_tonearest_test_data): Remove.
14871         (exp10_test_tonearest): Likewise.
14872         (exp10_towardzero_test_data): Likewise.
14873         (exp10_test_towardzero): Likewise.
14874         (exp10_downward_test_data): Likewise.
14875         (exp10_test_downward): Likewise.
14876         (exp10_upward_test_data): Likewise.
14877         (exp10_test_upward): Likewise.
14878         (exp2_test_data): Update call to AUTO_TESTS_f_f.
14879         (expm1_test_data): Likewise.
14880         (expm1_test): Use ALL_RM_TEST.
14881         (expm1_tonearest_test_data): Remove.
14882         (expm1_test_tonearest): Likewise.
14883         (expm1_towardzero_test_data): Likewise.
14884         (expm1_test_towardzero): Likewise.
14885         (expm1_downward_test_data): Likewise.
14886         (expm1_test_downward): Likewise.
14887         (expm1_upward_test_data): Likewise.
14888         (expm1_test_upward): Likewise.
14889         (fma_test_data): Update call to AUTO_TESTS_fff_f.
14890         (fma_test): Use ALL_RM_TEST.
14891         (fma_towardzero_test_data): Remove.
14892         (fma_test_towardzero): Likewise.
14893         (fma_downward_test_data): Likewise.
14894         (fma_test_downward): Likewise.
14895         (fma_upward_test_data): Likewise.
14896         (fma_test_upward): Likewise.
14897         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
14898         (j0_test_data): Update call to AUTO_TESTS_f_f.
14899         (j1_test_data): Likewise.
14900         (jn_test_data): Update call to AUTO_TESTS_if_f.
14901         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
14902         (log_test_data): Update call to AUTO_TESTS_f_f.
14903         (log10_test_data): Likewise.
14904         (log1p_test_data): Likewise.
14905         (log2_test_data): Likewise.
14906         (pow_test_data): Update call to AUTO_TESTS_ff_f.
14907         (pow_tonearest_test_data): Likewise.
14908         (sin_test_data): Update call to AUTO_TESTS_f_f.
14909         (sin_test): Use ALL_RM_TEST.
14910         (sin_tonearest_test_data): Remove.
14911         (sin_test_tonearest): Likewise.
14912         (sin_towardzero_test_data): Likewise.
14913         (sin_test_towardzero): Likewise.
14914         (sin_downward_test_data): Likewise.
14915         (sin_test_downward): Likewise.
14916         (sin_upward_test_data): Likewise.
14917         (sin_test_upward): Likewise.
14918         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
14919         (sinh_test_data): Update call to AUTO_TESTS_f_f.
14920         (sinh_test): Use ALL_RM_TEST.
14921         (sinh_tonearest_test_data): Remove.
14922         (sinh_test_tonearest): Likewise.
14923         (sinh_towardzero_test_data): Likewise.
14924         (sinh_test_towardzero): Likewise.
14925         (sinh_downward_test_data): Likewise.
14926         (sinh_test_downward): Likewise.
14927         (sinh_upward_test_data): Likewise.
14928         (sinh_test_upward): Likewise.
14929         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
14930         (sqrt_test): Use ALL_RM_TEST.
14931         (sqrt_tonearest_test_data): Remove.
14932         (sqrt_test_tonearest): Likewise.
14933         (sqrt_towardzero_test_data): Likewise.
14934         (sqrt_test_towardzero): Likewise.
14935         (sqrt_downward_test_data): Likewise.
14936         (sqrt_test_downward): Likewise.
14937         (sqrt_upward_test_data): Likewise.
14938         (sqrt_test_upward): Likewise.
14939         (tan_test_data): Update call to AUTO_TESTS_f_f.
14940         (tan_test): Use ALL_RM_TEST.
14941         (tan_tonearest_test_data): Remove.
14942         (tan_test_tonearest): Likewise.
14943         (tan_towardzero_test_data): Likewise.
14944         (tan_test_towardzero): Likewise.
14945         (tan_downward_test_data): Likewise.
14946         (tan_test_downward): Likewise.
14947         (tan_upward_test_data): Likewise.
14948         (tan_test_upward): Likewise.
14949         (tanh_test_data): Update call to AUTO_TESTS_f_f.
14950         (tgamma_test_data): Likewise.
14951         (y0_test_data): Likewise.
14952         (y1_test_data): Likewise.
14953         (yn_test_data): Update call to AUTO_TESTS_if_f.
14954         (main): Do not call removed functions.
14956 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14958         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
14959         (ldexp_test_data): Remove.
14960         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
14961         scalbn_test_data.
14962         (scalb_test): Use ALL_RM_TEST.
14964 2014-03-19  Andreas Schwab  <schwab@suse.de>
14966         * nscd/nscd.service: Also invalidate netgroup cache on reload.
14968 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
14970         [BZ #16649]
14971         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14972         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
14973         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
14974         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14975         (__ASSUME_PREADV): Undefine.
14976         (__ASSUME_PWRITEV): Likewise.
14978 2014-03-18  Roland McGrath  <roland@hack.frob.com>
14980         * bits/mman-linux.h: Add comment about non-Linux use.
14981         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
14982         bits/mman-linux.h resting place.
14984         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
14985         * bits/mman-linux.h: ... here.
14987 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14989         * conform/conformtest.pl: Add standard definition when calling C
14990         preprocessor on data files.
14991         (checknamespace): Remove unused variable.
14993 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
14995         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
14996         minus_oflow, plus_uflow and minus_uflow in expected results.
14997         * math/libm-test.inc (scalbn_test_data): Add more tests of
14998         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
14999         minus_uflow.
15000         (scalbn_test): Use ALL_RM_TEST.
15001         (scalbln_test_data): Add more tests of negative arguments.  Use
15002         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
15003         (scalbln_test): Use ALL_RM_TEST.
15005 2014-03-18  Roland McGrath  <roland@hack.frob.com>
15007         * scripts/abilist.awk: Ignore symbols marked with .hidden.
15009 2014-03-18  Will Newton  <will.newton@linaro.org>
15011         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
15012         inaccurate comment.
15014 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
15016         * Makerules [!subdir] (check-abi): Exit with error status if a
15017         test failed.
15019 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
15021         * math/libm-test.inc (nearbyint_test_data): Include all tests used
15022         for rint.  Include results for all rounding modes.
15023         (nearbyint_test): Use ALL_RM_TEST.
15024         (rint_test_data): Include all tests used for nearbyint.
15026 2014-03-17  Will Newton  <will.newton@linaro.org>
15028         * nptl/sysdeps/pthread/pthread.h: Revert previous
15029         change.
15031         * sysdeps/generic/ldsodefs.h: Revert previous
15032         change.
15034         * libio/genops.c: Revert previous change.
15035         * libio/libioP.h: Likewise.
15036         * stdio-common/vfprintf.c: Likewise.
15038         * sysdeps/generic/math_private.h: Revert previous
15039         change.
15041         * sysdeps/generic/math_private.h: Check whether
15042         HAVE_RM_CTX is defined with #ifdef rather
15043         than #if.
15045         * argp/argp-fmtstream.h: Check whether
15046         __STRICT_ANSI__ is defined with #ifdef rather
15047         than #if.
15048         * argp/argp.h: Likewise.
15050         * libio/genops.c: Check whether
15051         _IO_JUMPS_OFFSET is defined with #ifdef rather
15052         than #if.
15053         * libio/libioP.h: Likewise.
15054         * stdio-common/vfprintf.c: Likewise.
15056         * sysdeps/generic/ldsodefs.h: Check whether
15057         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
15058         than #if.
15060         * nptl/sysdeps/pthread/pthread.h: Check
15061         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
15062         its value.
15064 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15066         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
15067         setting O_APPEND.
15068         * libio/tst-ftell-active-handler.c (do_append_test): Add a
15069         test case.
15071         [BZ #16680]
15072         * libio/fileops.c (_IO_file_open): Seek to end of file but
15073         don't cache the offset.
15074         (get_file_offset): Remove function.
15075         (do_ftell): Use cached offset when available.
15076         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
15077         don't cache the offset.
15078         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
15079         case.
15080         (do_one_test): Call it.
15081         (do_ftell_test): Fix up expected old offset for a+ mode.
15082         * libio/wfileops.c (do_ftell_wide): Used cached offset when
15083         available.
15085         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
15086         up test status with function return status.
15087         (do_write_test): Likewise.
15088         (do_append_test): Likewise.
15090         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
15091         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
15092         Remove.
15094 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
15096         * math/gen-libm-test.pl (parse_args): Handle results specified for
15097         each rounding mode separately.
15098         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
15099         tests and results from lrint_tonearest_test_data,
15100         lrint_towardzero_test_data, lrint_downward_test_data and
15101         lrint_upward_test_data.
15102         (lrint_test): Use ALL_RM_TEST.
15103         (lrint_tonearest_test_data): Remove.
15104         (lrint_test_tonearest): Likewise.
15105         (lrint_towardzero_test_data): Likewise.
15106         (lrint_test_towardzero): Likewise.
15107         (lrint_downward_test_data): Likewise.
15108         (lrint_test_downward): Likewise.
15109         (lrint_upward_test_data): Likewise.
15110         (lrint_test_upward): Likewise.
15111         (llrint_test_data): Merge in per-rounding-mode tests and results
15112         from llrint_tonearest_test_data, llrint_towardzero_test_data,
15113         llrint_downward_test_data and llrint_upward_test_data.
15114         (llrint_test): Use ALL_RM_TEST.
15115         (llrint_tonearest_test_data): Remove.
15116         (llrint_test_tonearest): Likewise.
15117         (llrint_towardzero_test_data): Likewise.
15118         (llrint_test_towardzero): Likewise.
15119         (llrint_downward_test_data): Likewise.
15120         (llrint_test_downward): Likewise.
15121         (llrint_upward_test_data): Likewise.
15122         (llrint_test_upward): Likewise.
15123         (rint_test_data): Merge in per-rounding-mode tests and results
15124         from rint_tonearest_test_data, rint_towardzero_test_data,
15125         rint_downward_test_data and rint_upward_test_data.  Add
15126         per-rounding-mode results for tests not in those arrays.
15127         (rint_test): Use ALL_RM_TEST.
15128         (rint_tonearest_test_data): Remove.
15129         (rint_test_tonearest): Likewise.
15130         (rint_towardzero_test_data): Likewise.
15131         (rint_test_towardzero): Likewise.
15132         (rint_downward_test_data): Likewise.
15133         (rint_test_downward): Likewise.
15134         (rint_upward_test_data): Likewise.
15135         (rint_test_upward): Likewise.
15136         (main): Don't call removed functions.
15138 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15140         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
15141         "Compiled on ..." crapola.  It is anti-useful.
15143 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
15145         * scripts/evaluate-test.sh: Handle fourth argument to determine
15146         whether test run should stop on failure.
15147         * Makeconfig (stop-on-test-failure): New variable.
15148         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
15149         $(stop-on-test-failure).
15150         * Makefile (tests): Give a summary of results from testing and
15151         exit with failure status if they include an ERROR or FAIL.
15152         (xtests): Likewise.
15153         * manual/install.texi (Configuring and compiling): Mention
15154         stop-on-test-failure=y.
15155         * INSTALL: Regenerated.
15157 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15159         * scripts/versionlist.awk: New file.
15160         * Makerules [$(build-shared) = yes]
15161         (postclean-generated): Add Versions.def, not Versions.def.v and
15162         Versions.def.v.i.
15163         ($(common-objpfx)Versions.def.v.i): Target removed.
15164         ($(common-objpfx)Versions.def): New target.
15165         ($(common-objpfx)Versions.all): Depend on that rather that
15166         $(common-objpfx)Versions.def.v.
15167         * Versions.def: File removed.
15169         * Makeconfig (+gccwarn): Add -Wundef.
15170         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
15171         a dl-sysdep.h breaking its contract.
15172         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
15173         * include/stackinfo.h: New file.
15174         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
15175         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
15176         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
15177         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
15178         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
15179         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
15180         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15181         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15182         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15183         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15184         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15185         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
15186         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15187         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15188         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
15190 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15192         [BZ #16707]
15193         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
15194         implementation.
15195         * math/libm-test.inc (round_test_data): Add more tests.
15197         [BZ #16706]
15198         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
15199         implementation.
15200         * math/libm-test.inc (nearbyint_test_data): Add more tests.
15202         [BZ #16701]
15203         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
15204         implementation.
15205         * math/libm-test.inc (ceil_test_data): Add more tests.
15207         * math/libm-test.inc (trunc_test_data): Add more tests related to
15208         BZ#16414.
15210 2014-03-14  Roland McGrath  <roland@hack.frob.com>
15212         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
15213         with #if rather than #ifdef.
15214         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
15216 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
15218         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
15219         first.  Disable AVX-512 GCC support if assembler doesn't support
15220         it.
15221         * sysdeps/x86_64/configure: Regenerated.
15223 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
15225         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
15226         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
15227         (__old_pthread_attr_setstack): Likewise.
15228         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
15229         [!_STACK_GROWS_DOWN]: Likewise.
15231 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
15233         * config.make.in (have-bash2): Delete.
15234         * configure.ac (libc_cv_have_bash2): Delete.
15235         * configure: Regenerate.
15236         * elf/Makefile (common-ldd-rewrite): Rename to ...
15237         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
15238         (sh-ldd-rewrite): Delete.
15239         (bash-ldd-rewrite): Delete.
15240         (have-bash2): Delete checks.
15241         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
15242         ldd-rewrite.
15244         * config.make.in (have-ksh): Delete.
15245         (KSH): Delete.
15246         * configure.ac (libc_cv_have_ksh): Delete.
15247         * configure: Regenerate.
15249         * elf/Makefile: Delete $(have-ksh) check.
15250         ($(objpfx)sotruss): Change KSH to BASH.
15251         * elf/sotruss.ksh: Rename to ...
15252         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
15253         function style to match POSIX.  Drop ksh vim mode setting.
15255         * manual/time.texi (Specifying the Time Zone with TZ): Change
15256         Tuesday to Thursday.
15258         * debug/tst-longjmp_chk2.c: Update header comment.
15259         (stackoverflow_handler): Add comment.  Call assert on pass value.
15261 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
15263         [BZ #16194]
15264         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
15265         (HAVE_AVX512_ASM_SUPPORT): Likewise.
15266         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
15267         (La_x86_64_vector): Add zmm.
15268         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
15269         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
15270         ($(objpfx)tst-audit10): New target.
15271         ($(objpfx)tst-audit10.out): Likewise.
15272         (tst-audit10-ENV): New.
15273         (AVX512-CFLAGS): Likewise.
15274         (CFLAGS-tst-audit10.c): Likewise.
15275         (CFLAGS-tst-auditmod10a.c): Likewise.
15276         (CFLAGS-tst-auditmod10b.c): Likewise.
15277         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
15278         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
15279         * sysdeps/x86_64/configure: Regenerated.
15280         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
15281         AVX-512 zmm register support.
15282         (_dl_x86_64_save_sse): Likewise.
15283         (_dl_x86_64_restore_sse): Likewise.
15284         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
15285         size vector registers.
15286         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
15287         (ZMM_SIZE): Likewise.
15288         * sysdeps/x86_64/tst-audit10.c: New file.
15289         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
15290         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
15292 2014-03-13  Roland McGrath  <roland@hack.frob.com>
15294         * configure.ac (HAVE_EHDR_START): New check.
15295         * configure: Regenerated.
15296         * config.h.in (HAVE_EHDR_START): New #undef.
15297         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
15298         assuming the lowest-addressed segment maps the start of the file.
15300 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
15302         * INSTALL: Regenerated.
15304 2014-03-13  Will Newton  <will.newton@linaro.org>
15306         * manual/setjmp.texi (System V contexts): Improve
15307         clarity and grammar of documentation.
15309 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
15311         [BZ #16381]
15312         * elf/Makefile (tests): Add tst-pie2.
15313         (tests-pie): Add tst-pie2.
15314         * elf/tst-pie2.c: New file.
15315         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
15316         for ET_EXEC.
15317         * elf/rtld.c (map_doit): Load executable as lt_executable.
15318         (dl_main): Likewise.
15320 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
15322         [BZ #16642]
15323         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15324         (__ASSUME_PSELECT): Undefine.
15326 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15328         [BZ #16689]
15329         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
15330         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
15331         static build.
15332         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
15333         selector for static builds.
15335 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
15337         [BZ #16695]
15338         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
15339         key in the buffer.
15341 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15343         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
15344         IFUNC selector for static builds.
15346 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
15348         * sysdeps/mips/math_private.h [__mips_hard_float]
15349         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
15350         libc_feresetround_mips_ctx.
15351         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
15352         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
15353         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
15355         [BZ #16677]
15356         * math/s_nextafter.c (__nextafter): Do not return value from
15357         overflowing computation.
15358         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
15359         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
15360         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
15361         Likewise.
15362         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
15363         Likewise.
15364         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
15365         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
15367 2014-03-11  Roland McGrath  <roland@hack.frob.com>
15369         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
15370         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
15371         Move sfi_sp use from the load-multiple (that no longer sets sp) to
15372         the new mov targetting sp.
15374 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15376         [BZ #16683]
15377         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
15378         Define it for static builds as well.
15379         (NO_BZERO_IMPL): Likewise.
15381 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15383         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
15384         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
15385         multiarch strspn for PPC64.
15386         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
15387         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
15388         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15389         (__libc_ifunc_impl_list): Likewise.
15390         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
15391         multiarch optimizations
15392         * string/strspn.c (strspn): Using macro to redefine symbol name.
15394 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
15395             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15397         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
15398         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
15399         multiarch strncat for PPC64.
15400         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
15401         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
15402         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
15403         (__libc_ifunc_impl_list): Likewise.
15404         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
15405         multiarch optimizations
15407 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
15409         [BZ #16639]
15410         * nscd/nscd.service: Make service type forking.
15412 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15414         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
15415         sign in non default rounding modes.
15416         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
15418 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
15420         * math/libm-test.inc (ALL_RM_TEST): New macro.
15421         (ceil_test): Use ALL_RM_TEST.
15422         (cimag_test): Likewise.
15423         (conj_test): Likewise.
15424         (copysign_test): Likewise.
15425         (cproj_test): Likewise.
15426         (creal_test): Likewise.
15427         (fabs_test): Likewise.
15428         (floor_test): Likewise.
15429         (fmax_test): Likewise.
15430         (fmin_test): Likewise.
15431         (fmod_test): Likewise.
15432         (fpclassify_test): Likewise.
15433         (frexp_test): Likewise.
15434         (ilogb_test): Likewise.
15435         (isfinite_test): Likewise.
15436         (finite_test): Likewise.
15437         (isgreater_test): Likewise.
15438         (isgreaterequal_test): Likewise.
15439         (isinf_test): Likewise.
15440         (isless_test): Likewise.
15441         (islessequal_test): Likewise.
15442         (islessgreater_test): Likewise.
15443         (isnan_test): Likewise.
15444         (isnormal_test): Likewise.
15445         (issignaling_test): Likewise.
15446         (isunordered_test): Likewise.
15447         (logb_test): Likewise.
15448         (logb_downward_test_data): Remove.
15449         (logb_test_downward): Likewise.
15450         (lround_test): Use ALL_RM_TEST.
15451         (llround_test): Likewise.
15452         (modf_test): Likewise.
15453         (nexttoward_test): Likewise.
15454         (remainder_test): Likewise.
15455         (drem_test): Likewise.
15456         (remainder_tonearest_test_data): Likewise.
15457         (remainder_test_tonearest): Likewise.
15458         (drem_test_tonearest): Likewise.
15459         (remainder_towardzero_test_data): Likewise.
15460         (remainder_test_towardzero): Likewise.
15461         (drem_test_towardzero): Likewise.
15462         (remainder_downward_test_data): Likewise.
15463         (remainder_test_downward): Likewise.
15464         (drem_test_downward): Likewise.
15465         (remainder_upward_test_data): Likewise.
15466         (remainder_test_upward): Likewise.
15467         (drem_test_upward): Likewise.
15468         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
15469         (round_test): Use ALL_RM_TEST.
15470         (signbit_test): Likewise.
15471         (trunc_test): Likewise.
15472         (significand_test): Likewise.
15473         (main): Don't call removed functions.
15475 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15477         [BZ #16674]
15478         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
15479         || __USE_XOPEN2K8].
15480         (ILL_ILLOPN): Likewise.
15481         (ILL_ILLADR): Likewise.
15482         (ILL_ILLTRP): Likewise.
15483         (ILL_PRVOPC): Likewise.
15484         (ILL_PRVREG): Likewise.
15485         (ILL_COPROC): Likewise.
15486         (ILL_BADSTK): Likewise.
15487         (FPE_INTDIV): Likewise.
15488         (FPE_INTOVF): Likewise.
15489         (FPE_FLTDIV): Likewise.
15490         (FPE_FLTOVF): Likewise.
15491         (FPE_FLTUND): Likewise.
15492         (FPE_FLTRES): Likewise.
15493         (FPE_FLTINV): Likewise.
15494         (FPE_FLTSUB): Likewise.
15495         (SEGV_MAPERR): Likewise.
15496         (SEGV_ACCERR): Likewise.
15497         (BUS_ADRALN): Likewise.
15498         (BUS_ADRERR): Likewise.
15499         (BUS_OBJERR): Likewise.
15500         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15501         (TRAP_TRACE): Likewise.
15502         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15503         __USE_XOPEN2K8].
15504         (CLD_KILLED): Likewise.
15505         (CLD_DUMPED): Likewise.
15506         (CLD_TRAPPED): Likewise.
15507         (CLD_STOPPED): Likewise.
15508         (CLD_CONTINUED): Likewise.
15509         (POLL_IN): Likewise.
15510         (POLL_OUT): Likewise.
15511         (POLL_MSG): Likewise.
15512         (POLL_ERR): Likewise.
15513         (POLL_PRI): Likewise.
15514         (POLL_HUP): Likewise.
15515         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
15516         Likewise.
15517         (ILL_ILLOPN): Likewise.
15518         (ILL_ILLADR): Likewise.
15519         (ILL_ILLTRP): Likewise.
15520         (ILL_PRVOPC): Likewise.
15521         (ILL_PRVREG): Likewise.
15522         (ILL_COPROC): Likewise.
15523         (ILL_BADSTK): Likewise.
15524         (FPE_INTDIV): Likewise.
15525         (FPE_INTOVF): Likewise.
15526         (FPE_FLTDIV): Likewise.
15527         (FPE_FLTOVF): Likewise.
15528         (FPE_FLTUND): Likewise.
15529         (FPE_FLTRES): Likewise.
15530         (FPE_FLTINV): Likewise.
15531         (FPE_FLTSUB): Likewise.
15532         (SEGV_MAPERR): Likewise.
15533         (SEGV_ACCERR): Likewise.
15534         (BUS_ADRALN): Likewise.
15535         (BUS_ADRERR): Likewise.
15536         (BUS_OBJERR): Likewise.
15537         (BUS_MCEERR_AR): Likewise.
15538         (BUS_MCEERR_AO): Likewise.
15539         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15540         (TRAP_TRACE): Likewise.
15541         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15542         __USE_XOPEN2K8].
15543         (CLD_KILLED): Likewise.
15544         (CLD_DUMPED): Likewise.
15545         (CLD_TRAPPED): Likewise.
15546         (CLD_STOPPED): Likewise.
15547         (CLD_CONTINUED): Likewise.
15548         (POLL_IN): Likewise.
15549         (POLL_OUT): Likewise.
15550         (POLL_MSG): Likewise.
15551         (POLL_ERR): Likewise.
15552         (POLL_PRI): Likewise.
15553         (POLL_HUP): Likewise.
15554         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
15555         (ILL_ILLOPN): Likewise.
15556         (ILL_ILLADR): Likewise.
15557         (ILL_ILLTRP): Likewise.
15558         (ILL_PRVOPC): Likewise.
15559         (ILL_PRVREG): Likewise.
15560         (ILL_COPROC): Likewise.
15561         (ILL_BADSTK): Likewise.
15562         (FPE_INTDIV): Likewise.
15563         (FPE_INTOVF): Likewise.
15564         (FPE_FLTDIV): Likewise.
15565         (FPE_FLTOVF): Likewise.
15566         (FPE_FLTUND): Likewise.
15567         (FPE_FLTRES): Likewise.
15568         (FPE_FLTINV): Likewise.
15569         (FPE_FLTSUB): Likewise.
15570         (SEGV_MAPERR): Likewise.
15571         (SEGV_ACCERR): Likewise.
15572         (BUS_ADRALN): Likewise.
15573         (BUS_ADRERR): Likewise.
15574         (BUS_OBJERR): Likewise.
15575         (BUS_MCEERR_AR): Likewise.
15576         (BUS_MCEERR_AO): Likewise.
15577         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15578         (TRAP_TRACE): Likewise.
15579         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15580         __USE_XOPEN2K8].
15581         (CLD_KILLED): Likewise.
15582         (CLD_DUMPED): Likewise.
15583         (CLD_TRAPPED): Likewise.
15584         (CLD_STOPPED): Likewise.
15585         (CLD_CONTINUED): Likewise.
15586         (POLL_IN): Likewise.
15587         (POLL_OUT): Likewise.
15588         (POLL_MSG): Likewise.
15589         (POLL_ERR): Likewise.
15590         (POLL_PRI): Likewise.
15591         (POLL_HUP): Likewise.
15592         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
15593         Likewise.
15594         (ILL_ILLOPN): Likewise.
15595         (ILL_ILLADR): Likewise.
15596         (ILL_ILLTRP): Likewise.
15597         (ILL_PRVOPC): Likewise.
15598         (ILL_PRVREG): Likewise.
15599         (ILL_COPROC): Likewise.
15600         (ILL_BADSTK): Likewise.
15601         (ILL_BADIADDR): Likewise.
15602         (ILL_BREAK): Likewise.
15603         (FPE_INTDIV): Likewise.
15604         (FPE_INTOVF): Likewise.
15605         (FPE_FLTDIV): Likewise.
15606         (FPE_FLTOVF): Likewise.
15607         (FPE_FLTUND): Likewise.
15608         (FPE_FLTRES): Likewise.
15609         (FPE_FLTINV): Likewise.
15610         (FPE_FLTSUB): Likewise.
15611         (FPE_DECOVF): Likewise.
15612         (FPE_DECDIV): Likewise.
15613         (FPE_DECERR): Likewise.
15614         (FPE_INVASC): Likewise.
15615         (FPE_INVDEC): Likewise.
15616         (SEGV_MAPERR): Likewise.
15617         (SEGV_ACCERR): Likewise.
15618         (SEGV_PSTKOVF): Likewise.
15619         (BUS_ADRALN): Likewise.
15620         (BUS_ADRERR): Likewise.
15621         (BUS_OBJERR): Likewise.
15622         (BUS_MCEERR_AR): Likewise.
15623         (BUS_MCEERR_AO): Likewise.
15624         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15625         (TRAP_TRACE): Likewise.
15626         (TRAP_BRANCH): Likewise.
15627         (TRAP_HWBKPT): Likewise.
15628         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15629         __USE_XOPEN2K8].
15630         (CLD_KILLED): Likewise.
15631         (CLD_DUMPED): Likewise.
15632         (CLD_TRAPPED): Likewise.
15633         (CLD_STOPPED): Likewise.
15634         (CLD_CONTINUED): Likewise.
15635         (POLL_IN): Likewise.
15636         (POLL_OUT): Likewise.
15637         (POLL_MSG): Likewise.
15638         (POLL_ERR): Likewise.
15639         (POLL_PRI): Likewise.
15640         (POLL_HUP): Likewise.
15641         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
15642         (ILL_ILLOPN): Likewise.
15643         (ILL_ILLADR): Likewise.
15644         (ILL_ILLTRP): Likewise.
15645         (ILL_PRVOPC): Likewise.
15646         (ILL_PRVREG): Likewise.
15647         (ILL_COPROC): Likewise.
15648         (ILL_BADSTK): Likewise.
15649         (FPE_INTDIV): Likewise.
15650         (FPE_INTOVF): Likewise.
15651         (FPE_FLTDIV): Likewise.
15652         (FPE_FLTOVF): Likewise.
15653         (FPE_FLTUND): Likewise.
15654         (FPE_FLTRES): Likewise.
15655         (FPE_FLTINV): Likewise.
15656         (FPE_FLTSUB): Likewise.
15657         (SEGV_MAPERR): Likewise.
15658         (SEGV_ACCERR): Likewise.
15659         (BUS_ADRALN): Likewise.
15660         (BUS_ADRERR): Likewise.
15661         (BUS_OBJERR): Likewise.
15662         (BUS_MCEERR_AR): Likewise.
15663         (BUS_MCEERR_AO): Likewise.
15664         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15665         (TRAP_TRACE): Likewise.
15666         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15667         __USE_XOPEN2K8].
15668         (CLD_KILLED): Likewise.
15669         (CLD_DUMPED): Likewise.
15670         (CLD_TRAPPED): Likewise.
15671         (CLD_STOPPED): Likewise.
15672         (CLD_CONTINUED): Likewise.
15673         (POLL_IN): Likewise.
15674         (POLL_OUT): Likewise.
15675         (POLL_MSG): Likewise.
15676         (POLL_ERR): Likewise.
15677         (POLL_PRI): Likewise.
15678         (POLL_HUP): Likewise.
15679         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
15680         (ILL_ILLOPN): Likewise.
15681         (ILL_ILLADR): Likewise.
15682         (ILL_ILLTRP): Likewise.
15683         (ILL_PRVOPC): Likewise.
15684         (ILL_PRVREG): Likewise.
15685         (ILL_COPROC): Likewise.
15686         (ILL_BADSTK): Likewise.
15687         (FPE_INTDIV): Likewise.
15688         (FPE_INTOVF): Likewise.
15689         (FPE_FLTDIV): Likewise.
15690         (FPE_FLTOVF): Likewise.
15691         (FPE_FLTUND): Likewise.
15692         (FPE_FLTRES): Likewise.
15693         (FPE_FLTINV): Likewise.
15694         (FPE_FLTSUB): Likewise.
15695         (SEGV_MAPERR): Likewise.
15696         (SEGV_ACCERR): Likewise.
15697         (BUS_ADRALN): Likewise.
15698         (BUS_ADRERR): Likewise.
15699         (BUS_OBJERR): Likewise.
15700         (BUS_MCEERR_AR): Likewise.
15701         (BUS_MCEERR_AO): Likewise.
15702         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15703         (TRAP_TRACE): Likewise.
15704         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15705         __USE_XOPEN2K8].
15706         (CLD_KILLED): Likewise.
15707         (CLD_DUMPED): Likewise.
15708         (CLD_TRAPPED): Likewise.
15709         (CLD_STOPPED): Likewise.
15710         (CLD_CONTINUED): Likewise.
15711         (POLL_IN): Likewise.
15712         (POLL_OUT): Likewise.
15713         (POLL_MSG): Likewise.
15714         (POLL_ERR): Likewise.
15715         (POLL_PRI): Likewise.
15716         (POLL_HUP): Likewise.
15717         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
15718         (ILL_ILLOPN): Likewise.
15719         (ILL_ILLADR): Likewise.
15720         (ILL_ILLTRP): Likewise.
15721         (ILL_PRVOPC): Likewise.
15722         (ILL_PRVREG): Likewise.
15723         (ILL_COPROC): Likewise.
15724         (ILL_BADSTK): Likewise.
15725         (FPE_INTDIV): Likewise.
15726         (FPE_INTOVF): Likewise.
15727         (FPE_FLTDIV): Likewise.
15728         (FPE_FLTOVF): Likewise.
15729         (FPE_FLTUND): Likewise.
15730         (FPE_FLTRES): Likewise.
15731         (FPE_FLTINV): Likewise.
15732         (FPE_FLTSUB): Likewise.
15733         (SEGV_MAPERR): Likewise.
15734         (SEGV_ACCERR): Likewise.
15735         (BUS_ADRALN): Likewise.
15736         (BUS_ADRERR): Likewise.
15737         (BUS_OBJERR): Likewise.
15738         (BUS_MCEERR_AR): Likewise.
15739         (BUS_MCEERR_AO): Likewise.
15740         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15741         (TRAP_TRACE): Likewise.
15742         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15743         __USE_XOPEN2K8].
15744         (CLD_KILLED): Likewise.
15745         (CLD_DUMPED): Likewise.
15746         (CLD_TRAPPED): Likewise.
15747         (CLD_STOPPED): Likewise.
15748         (CLD_CONTINUED): Likewise.
15749         (POLL_IN): Likewise.
15750         (POLL_OUT): Likewise.
15751         (POLL_MSG): Likewise.
15752         (POLL_ERR): Likewise.
15753         (POLL_PRI): Likewise.
15754         (POLL_HUP): Likewise.
15755         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
15756         (ILL_ILLOPN): Likewise.
15757         (ILL_ILLADR): Likewise.
15758         (ILL_ILLTRP): Likewise.
15759         (ILL_PRVOPC): Likewise.
15760         (ILL_PRVREG): Likewise.
15761         (ILL_COPROC): Likewise.
15762         (ILL_BADSTK): Likewise.
15763         (ILL_DBLFLT): Likewise.
15764         (ILL_HARDWALL): Likewise.
15765         (FPE_INTDIV): Likewise.
15766         (FPE_INTOVF): Likewise.
15767         (FPE_FLTDIV): Likewise.
15768         (FPE_FLTOVF): Likewise.
15769         (FPE_FLTUND): Likewise.
15770         (FPE_FLTRES): Likewise.
15771         (FPE_FLTINV): Likewise.
15772         (FPE_FLTSUB): Likewise.
15773         (SEGV_MAPERR): Likewise.
15774         (SEGV_ACCERR): Likewise.
15775         (BUS_ADRALN): Likewise.
15776         (BUS_ADRERR): Likewise.
15777         (BUS_OBJERR): Likewise.
15778         (BUS_MCEERR_AR): Likewise.
15779         (BUS_MCEERR_AO): Likewise.
15780         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15781         (TRAP_TRACE): Likewise.
15782         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15783         __USE_XOPEN2K8].
15784         (CLD_KILLED): Likewise.
15785         (CLD_DUMPED): Likewise.
15786         (CLD_TRAPPED): Likewise.
15787         (CLD_STOPPED): Likewise.
15788         (CLD_CONTINUED): Likewise.
15789         (POLL_IN): Likewise.
15790         (POLL_OUT): Likewise.
15791         (POLL_MSG): Likewise.
15792         (POLL_ERR): Likewise.
15793         (POLL_PRI): Likewise.
15794         (POLL_HUP): Likewise.
15795         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
15796         (ILL_ILLOPN): Likewise.
15797         (ILL_ILLADR): Likewise.
15798         (ILL_ILLTRP): Likewise.
15799         (ILL_PRVOPC): Likewise.
15800         (ILL_PRVREG): Likewise.
15801         (ILL_COPROC): Likewise.
15802         (ILL_BADSTK): Likewise.
15803         (FPE_INTDIV): Likewise.
15804         (FPE_INTOVF): Likewise.
15805         (FPE_FLTDIV): Likewise.
15806         (FPE_FLTOVF): Likewise.
15807         (FPE_FLTUND): Likewise.
15808         (FPE_FLTRES): Likewise.
15809         (FPE_FLTINV): Likewise.
15810         (FPE_FLTSUB): Likewise.
15811         (SEGV_MAPERR): Likewise.
15812         (SEGV_ACCERR): Likewise.
15813         (BUS_ADRALN): Likewise.
15814         (BUS_ADRERR): Likewise.
15815         (BUS_OBJERR): Likewise.
15816         (BUS_MCEERR_AR): Likewise.
15817         (BUS_MCEERR_AO): Likewise.
15818         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
15819         (TRAP_TRACE): Likewise.
15820         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
15821         __USE_XOPEN2K8].
15822         (CLD_KILLED): Likewise.
15823         (CLD_DUMPED): Likewise.
15824         (CLD_TRAPPED): Likewise.
15825         (CLD_STOPPED): Likewise.
15826         (CLD_CONTINUED): Likewise.
15827         (POLL_IN): Likewise.
15828         (POLL_OUT): Likewise.
15829         (POLL_MSG): Likewise.
15830         (POLL_ERR): Likewise.
15831         (POLL_PRI): Likewise.
15832         (POLL_HUP): Likewise.
15833         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
15834         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15836         [BZ #16670]
15837         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
15838         before #include of <time.h>.
15839         [!__USE_XOPEN2K] (__need_timespec): Likewise.
15840         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
15841         (test-xfail-UNIX98/sched.h/conform): Likewise.
15843 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15845         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
15846         error absence of trapping exception support.
15847         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
15849 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
15851         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
15852         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
15853         * timezone/Makefile (testdata): Move definition above include of
15854         Rules.
15855         (test-zones): New variable.
15856         (tests-special): Add zone files.
15857         (build-testdata): Use $(evaluate-test).
15859         * elf/Makefile (tests-special): Rename tests to end with .out.
15860         ($(objpfx)noload-mem): Likewise.
15861         ($(objpfx)tst-leaks1-mem): Likewise.
15862         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
15863         * iconv/Makefile (xtests-special): Change test-iconvconfig to
15864         $(objpfx)test-iconvconfig.out.
15865         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
15866         set -e inside subshell and redirect output to file.
15867         * iconvdata/Makefile (generated): Rename tests to end with .out.
15868         Correct type.
15869         (tests-special): Rename tests to end with .out.
15870         ($(objpfx)mtrace-tst-loading): Likewise.
15871         * intl/Makefile (generated): Likewise.
15872         (tests-special): Likewise.
15873         ($(objpfx)mtrace-tst-gettext): Likewise.
15874         * misc/Makefile (generated): Likewise.
15875         (tests-special): Likewise.
15876         ($(objpfx)tst-error1-mem): Likewise.
15877         * nptl/Makefile (tests-special): Likewise.
15878         ($(objpfx)tst-stack3-mem): Likewise.
15879         (generated): Likewise.
15880         * posix/Makefile (generated): Likewise.
15881         (tests-special): Likewise.
15882         (xtests-special): Likewise.
15883         ($(objpfx)tst-fnmatch-mem): Likewise.
15884         ($(objpfx)bug-regex2-mem): Likewise.
15885         ($(objpfx)bug-regex14-mem): Likewise.
15886         ($(objpfx)bug-regex21-mem): Likewise.
15887         ($(objpfx)bug-regex31-mem): Likewise.
15888         ($(objpfx)tst-vfork3-mem): Likewise.
15889         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
15890         ($(objpfx)tst-pcre-mem): Likewise.
15891         ($(objpfx)tst-boost-mem): Likewise.
15892         ($(objpfx)bug-ga2-mem): Likewise.
15893         ($(objpfx)bug-glob2-mem): Likewise.
15894         * resolv/Makefile (generate): Likewise.
15895         (tests-special): Likewise.
15896         (xtests-special): Likewise.
15897         (generated): Likewise.
15898         ($(objpfx)mtrace-tst-leaks): Likewise.
15899         ($(objpfx)mtrace-tst-leaks2): Likewise.
15901         * scripts/merge-test-results.sh: New file.
15902         * Makefile (tests-special-notdir): New variable.
15903         (tests): Run merge-test-results.sh.
15904         (xtests): Likewise.
15905         * Rules (tests-special-notdir): New variable.
15906         (xtests-special-notdir): Likewise.
15907         (tests): Run merge-test-results.sh
15908         (xtests): Likewise.
15910         * Makeconfig (test-xfail-name): New variable.
15911         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
15912         compute variable name for expected failures.
15913         * conform/Makefile (conformtest-headers-data): New variable.
15914         (conformtest-standards): Likewise.
15915         (conformtest-headers-ISO): Likewise.
15916         (conformtest-headers-ISO99): Likewise.
15917         (conformtest-headers-ISO11): Likewise.
15918         (conformtest-headers-POSIX): Likewise.
15919         (conformtest-headers-XPG3): Likewise.
15920         (conformtest-headers-XPG4): Likewise.
15921         (conformtest-headers-UNIX98): Likewise.
15922         (conformtest-headers-XOPEN2K): Likewise.
15923         (conformtest-headers-POSIX2008): Likewise.
15924         (conformtest-headers-XOPEN2K8): Likewise.
15925         (conformtest-header-list-base): Likewise.
15926         (conformtest-header-list-tests): Likewise.
15927         (conformtest-header-base): Likewise.
15928         (conformtest-header-tests): Likewise.
15929         (tests-special): Add $(conformtest-header-list-tests).  If
15930         [$(fast-check) && !$(cross-compiling)], add
15931         $(conformtest-header-tests) instead of
15932         $(objpfx)run-conformtest.out.
15933         (generated): Add $(conformtest-header-list-base).  If
15934         [$(fast-check) && !$(cross-compiling)], add
15935         $(conformtest-header-base).  Remove previous setting.
15936         ($(conformtest-header-list-tests)): New target.
15937         (test-xfail-run-conformtest): Remove variable.
15938         ($(objpfx)run-conformtest.out): Remove target.
15939         (test-xfail-ISO11/complex.h/conform): New variable.
15940         (test-xfail-ISO11/stdalign.h/conform): Likewise.
15941         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
15942         (test-xfail-XPG3/varargs.h/conform): Likewise.
15943         (test-xfail-XPG4/varargs.h/conform): Likewise.
15944         (test-xfail-UNIX98/varargs.h/conform): Likewise.
15945         (test-xfail-XPG4/ndbm.h/conform): Likewise.
15946         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
15947         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
15948         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
15949         (test-xfail-XPG3/fcntl.h/conform): Likewise.
15950         (test-xfail-XPG3/ftw.h/conform): Likewise.
15951         (test-xfail-XPG3/grp.h/conform): Likewise.
15952         (test-xfail-XPG3/langinfo.h/conform): Likewise.
15953         (test-xfail-XPG3/limits.h/conform): Likewise.
15954         (test-xfail-XPG3/pwd.h/conform): Likewise.
15955         (test-xfail-XPG3/search.h/conform): Likewise.
15956         (test-xfail-XPG3/signal.h/conform): Likewise.
15957         (test-xfail-XPG3/stdio.h/conform): Likewise.
15958         (test-xfail-XPG3/stdlib.h/conform): Likewise.
15959         (test-xfail-XPG3/string.h/conform): Likewise.
15960         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
15961         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
15962         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
15963         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
15964         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
15965         (test-xfail-XPG3/sys/types.h/conform): Likewise.
15966         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
15967         (test-xfail-XPG3/termios.h/conform): Likewise.
15968         (test-xfail-XPG3/time.h/conform): Likewise.
15969         (test-xfail-XPG3/unistd.h/conform): Likewise.
15970         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
15971         (test-xfail-XPG4/fcntl.h/conform): Likewise.
15972         (test-xfail-XPG4/langinfo.h/conform): Likewise.
15973         (test-xfail-XPG4/netdb.h/conform): Likewise.
15974         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
15975         (test-xfail-XPG4/signal.h/conform): Likewise.
15976         (test-xfail-XPG4/stdio.h/conform): Likewise.
15977         (test-xfail-XPG4/stdlib.h/conform): Likewise.
15978         (test-xfail-XPG4/stropts.h/conform): Likewise.
15979         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
15980         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
15981         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
15982         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
15983         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
15984         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
15985         (test-xfail-XPG4/sys/time.h/conform): Likewise.
15986         (test-xfail-XPG4/sys/types.h/conform): Likewise.
15987         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
15988         (test-xfail-XPG4/termios.h/conform): Likewise.
15989         (test-xfail-XPG4/ucontext.h/conform): Likewise.
15990         (test-xfail-XPG4/unistd.h/conform): Likewise.
15991         (test-xfail-XPG4/utmpx.h/conform): Likewise.
15992         (test-xfail-POSIX/sched.h/conform): Likewise.
15993         (test-xfail-POSIX/signal.h/conform): Likewise.
15994         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
15995         (test-xfail-POSIX/tar.h/conform): Likewise.
15996         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
15997         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
15998         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
15999         (test-xfail-UNIX98/netdb.h/conform): Likewise.
16000         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
16001         (test-xfail-UNIX98/sched.h/conform): Likewise.
16002         (test-xfail-UNIX98/signal.h/conform): Likewise.
16003         (test-xfail-UNIX98/stdio.h/conform): Likewise.
16004         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
16005         (test-xfail-UNIX98/stropts.h/conform): Likewise.
16006         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
16007         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
16008         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
16009         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
16010         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
16011         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
16012         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
16013         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
16014         (test-xfail-UNIX98/unistd.h/conform): Likewise.
16015         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
16016         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
16017         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
16018         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
16019         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
16020         (test-xfail-XOPEN2K/math.h/conform): Likewise.
16021         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
16022         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
16023         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
16024         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
16025         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
16026         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
16027         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
16028         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
16029         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
16030         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
16031         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
16032         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
16033         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
16034         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
16035         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
16036         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
16037         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
16038         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
16039         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
16040         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
16041         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
16042         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
16043         (test-xfail-POSIX2008/signal.h/conform): Likewise.
16044         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
16045         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
16046         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
16047         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
16048         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
16049         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
16050         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
16051         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
16052         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
16053         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
16054         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
16055         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
16056         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
16057         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
16058         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
16059         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
16060         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
16061         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
16062         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
16063         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
16064         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
16065         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
16066         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
16067         (conformtest-cc-flags): Likewise.
16068         ($(conformtest-header-tests): New target.
16069         * conform/check-header-lists.sh: New file.
16070         * conform/run-conformtest.sh: Remove.
16072         * conform/conformtest.pl: Allow ' and \ in values given for
16073         constants.
16074         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
16075         inclusion.
16076         [POSIX] (sys/types.h): Likewise.
16077         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
16078         inclusion.
16079         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
16080         inclusion.
16081         * conform/data/signal.h-data (SIGIO): Remove expectation.
16082         [XPG3] (SIGBUS): Do not expect.
16083         [POSIX || XPG3] (SIGPOLL): Likewise.
16084         [POSIX || XPG3] (SIGPROF): Likewise.
16085         [POSIX || XPG3] (SIGSYS): Likewise.
16086         [XPG3] (SIGTRAP): Likewise.
16087         [POSIX || XPG3] (SIGURG): Likewise.
16088         [POSIX || XPG3] (SIGVTALRM): Likewise.
16089         [POSIX || XPG3] (SIGXCPU): Likewise.
16090         [POSIX || XPG3] (SIGXFSZ): Likewise.
16091         [POSIX] (SA_SIGINFO): Expect.
16092         [XPG3] (siginfo_t): Do not expect type or contents.
16093         [POSIX] (si_pid): Do not expect element.
16094         [POSIX] (si_uid): Likewise.
16095         [POSIX] (si_addr): Likewise.
16096         [POSIX] (si_status): Likewise.
16097         [POSIX] (si_band): Likewise.
16098         [XPG4] (si_value): Likewise.
16099         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
16100         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
16101         [POSIX || XPG3] (ILL_ILLADR): Likewise.
16102         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
16103         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
16104         [POSIX || XPG3] (ILL_PRVREG): Likewise.
16105         [POSIX || XPG3] (ILL_COPROC): Likewise.
16106         [POSIX || XPG3] (ILL_BADSTK): Likewise.
16107         [POSIX || XPG3] (FPE_INTDIV): Likewise.
16108         [POSIX || XPG3] (FPE_INTOVF): Likewise.
16109         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
16110         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
16111         [POSIX || XPG3] (FPE_FLTUND): Likewise.
16112         [POSIX || XPG3] (FPE_FLTRES): Likewise.
16113         [POSIX || XPG3] (FPE_FLTINV): Likewise.
16114         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
16115         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
16116         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
16117         [POSIX || XPG3] (BUS_ADRALN): Likewise.
16118         [POSIX || XPG3] (BUS_ADRERR): Likewise.
16119         [POSIX || XPG3] (BUS_OBJERR): Likewise.
16120         [POSIX || XPG3] (CLD_EXITED): Likewise.
16121         [POSIX || XPG3] (CLD_KILLED): Likewise.
16122         [POSIX || XPG3] (CLD_DUMPED): Likewise.
16123         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
16124         [POSIX || XPG3] (CLD_STOPPED): Likewise.
16125         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
16126         [POSIX || XPG3] (POLL_IN): Likewise.
16127         [POSIX || XPG3] (POLL_OUT): Likewise.
16128         [POSIX || XPG3] (POLL_MSG): Likewise.
16129         [POSIX || XPG3] (POLL_ERR): Likewise.
16130         [POSIX || XPG3] (POLL_PRI): Likewise.
16131         [POSIX || XPG3] (POLL_HUP): Likewise.
16132         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
16133         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
16134         (SIG*): Do not allow.
16135         [XPG3] (si_*): Likewise.
16136         [XPG3] (SI_*): Likewise.
16137         [XPG3 || XPG4] (sigev_*): Likewise.
16138         [XPG3 || XPG4] (SIGEV_*): Likewise.
16139         [XPG3 || XPG4] (sival_*): Likewise.
16140         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
16141         [POSIX || XPG3] (BUS_*): Likewise.
16142         [POSIX || XPG3] (CLD_*): Likewise.
16143         [POSIX || XPG3] (FPE_*): Likewise.
16144         [POSIX || XPG3] (ILL_*): Likewise.
16145         [POSIX || XPG3] (POLL_*): Likewise.
16146         [POSIX || XPG3] (SEGV_*): Likewise.
16147         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
16148         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
16149         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
16150         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
16151         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
16152         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
16153         Specify type and value.
16154         (TVERSLEN): Likewise.
16155         (REGTYPE): Likewise.
16156         (AREGTYPE): Likewise.
16157         (LNKTYPE): Likewise.
16158         (SYMTYPE): Likewise.
16159         (CHRTYPE): Likewise.
16160         (BLKTYPE): Likewise.
16161         (DIRTYPE): Likewise.
16162         (FIFOTYPE): Likewise.
16163         (CONTTYPE): Likewise.
16164         (TSUID): Likewise.
16165         (TSGID): Likewise.
16166         (TSVTX): Likewise.
16167         (TUREAD): Likewise.
16168         (TUWRITE): Likewise.
16169         (TUEXEC): Likewise.
16170         (TGREAD): Likewise.
16171         (TGWRITE): Likewise.
16172         (TGEXEC): Likewise.
16173         (TOREAD): Likewise.
16174         (TOWRITE): Likewise.
16175         (TOEXEC): Likewise.
16176         [POSIX] (TSVTX): Expect constant.
16178 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
16180         * Makefile (tests): Change dependencies to ....
16181         (tests-special): ... additions to this variable.
16182         (tests): Depend on $(tests-special).
16183         * Makerules (check-abi-list): New variable.
16184         (check-abi): Depend on $(check-abi-list).
16185         [$(subdir) = elf] (tests-special): Add
16186         $(objpfx)check-abi-libc.out.
16187         [$(build-shared) = yes && subdir] (tests-special): Add
16188         $(check-abi-list).
16189         [$(build-shared) = yes && subdir] (tests): Do not depend on
16190         check-abi.
16191         * Rules (tests): Depend on $(tests-special).
16192         (xtests): Depend on $(xtests-special).
16193         * catgets/Makefile (tests): Change dependencies to ....
16194         (tests-special): ... additions to this variable.
16195         * conform/Makefile (tests): Change dependencies to ....
16196         (tests-special): ... additions to this variable.
16197         * elf/Makefile (tests): Change dependencies to ....
16198         (tests-special): ... additions to this variable.
16199         * grp/Makefile (tests): Change dependencies to ....
16200         (tests-special): ... additions to this variable.
16201         * iconv/Makefile (xtests): Change dependencies to ....
16202         (xtests-special): ... additions to this variable.
16203         * iconvdata/Makefile (tests): Change dependencies to ....
16204         (tests-special): ... additions to this variable.
16205         * intl/Makefile (tests): Change dependencies to ....
16206         (tests-special): ... additions to this variable.  Also add
16207         $(objpfx)tst-gettext.out.
16208         * io/Makefile (tests): Change dependencies to ....
16209         (tests-special): ... additions to this variable.
16210         * libio/Makefile (tests): Change dependencies to ....
16211         (tests-special): ... additions to this variable.
16212         * malloc/Makefile (tests): Change dependencies to ....
16213         (tests-special): ... additions to this variable.
16214         * misc/Makefile (tests): Change dependencies to ....
16215         (tests-special): ... additions to this variable.
16216         * nptl/Makefile (tests): Change dependencies to ....
16217         (tests-special): ... additions to this variable.
16218         * nptl_db/Makefile (tests): Change dependencies to ....
16219         (tests-special): ... additions to this variable.
16220         * posix/Makefile (tests): Change dependencies to ....
16221         (tests-special): ... additions to this variable.
16222         (xtests): Change dependencies to ....
16223         (xtests-special): ... additions to this variable.
16224         * resolv/Makefile (tests): Change dependencies to ....
16225         (tests-special): ... additions to this variable.
16226         (xtests): Change dependencies to ....
16227         (xtests-special): ... additions to this variable.
16228         * stdio-common/Makefile (tests): Change dependencies to ....
16229         (tests-special): ... additions to this variable.
16230         (do-tst-unbputc): Remove target.
16231         (do-tst-printf): Likewise.
16232         * stdlib/Makefile (tests): Change dependencies to ....
16233         (tests-special): ... additions to this variable.
16234         * string/Makefile (tests): Change dependencies to ....
16235         (tests-special): ... additions to this variable.
16236         * sysdeps/x86/Makefile (tests): Change dependencies to ....
16237         (tests-special): ... additions to this variable.
16239         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
16240         whole file.
16241         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
16242         whole file.
16243         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
16244         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
16246         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
16247         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
16248         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
16249         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
16250         * conform/data/libgen.h-data [XPG3]: Likewise.
16251         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
16252         * conform/data/ndbm.h-data [XPG3]: Likewise.
16253         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16254         * conform/data/netdb.h-data [XPG3]: Likewise.
16255         * conform/data/netinet/in.h-data [XPG3]: Likewise.
16256         * conform/data/poll.h-data [XPG3]: Likewise.
16257         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
16258         * conform/data/strings.h-data [XPG3]: Likewise.
16259         * conform/data/stropts.h-data [XPG3]: Likewise.
16260         * conform/data/sys/mman.h-data [XPG3]: Likewise.
16261         * conform/data/sys/resource.h-data [XPG3]: Likewise.
16262         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
16263         Likewise.
16264         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
16265         * conform/data/sys/time.h-data [XPG3]: Likewise.
16266         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
16267         * conform/data/sys/uio.h-data [XPG3]: Likewise.
16268         * conform/data/sys/un.h-data [XPG3]: Likewise.
16269         * conform/data/syslog.h-data [XPG3]: Likewise.
16270         * conform/data/ucontext.h-data [XPG3]: Likewise.
16271         * conform/data/utmpx.h-data [XPG3]: Likewise.
16272         * conform/data/varargs.h-data [UNIX98]: Enable file.
16274         * manual/Makefile (INSTALL_INFO): Remove variable setting.
16276         * math/libm-test.inc (struct test_f_f_data): Move expected results
16277         into structure for each rounding mode.
16278         (struct test_ff_f_data): Likewise.
16279         (struct test_ff_f_data_nexttoward): Likewise.
16280         (struct test_fi_f_data): Likewise.
16281         (struct test_fl_f_data): Likewise.
16282         (struct test_if_f_data): Likewise.
16283         (struct test_fff_f_data): Likewise.
16284         (struct test_c_f_data): Likewise.
16285         (struct test_f_f1_data): Likewise.
16286         (struct test_fF_f1_data): Likewise.
16287         (struct test_ffI_f1_data): Likewise.
16288         (struct test_c_c_data): Likewise.
16289         (struct test_cc_c_data): Likewise.
16290         (struct test_f_i_data): Likewise.
16291         (struct test_ff_i_data): Likewise.
16292         (struct test_f_l_data): Likewise.
16293         (struct test_f_L_data): Likewise.
16294         (struct test_fFF_11_data): Likewise.
16295         (RM_): New macro.
16296         (RM_FE_DOWNWARD): Likewise.
16297         (RM_FE_TONEAREST): Likewise.
16298         (RM_FE_TOWARDZERO): Likewise.
16299         (RM_FE_UPWARD): Likewise.
16300         (RUN_TEST_LOOP_f_f): Update references to expected results.
16301         (RUN_TEST_LOOP_2_f): Likewise.
16302         (RUN_TEST_LOOP_fff_f): Likewise.
16303         (RUN_TEST_LOOP_c_f): Likewise.
16304         (RUN_TEST_LOOP_f_f1): Likewise.
16305         (RUN_TEST_LOOP_fF_f1): Likewise.
16306         (RUN_TEST_LOOP_fI_f1): Likewise.
16307         (RUN_TEST_LOOP_ffI_f1): Likewise.
16308         (RUN_TEST_LOOP_c_c): Likewise.
16309         (RUN_TEST_LOOP_cc_c): Likewise.
16310         (RUN_TEST_LOOP_f_i): Likewise.
16311         (RUN_TEST_LOOP_f_i_tg): Likewise.
16312         (RUN_TEST_LOOP_ff_i_tg): Likewise.
16313         (RUN_TEST_LOOP_f_b): Likewise.
16314         (RUN_TEST_LOOP_f_b_tg): Likewise.
16315         (RUN_TEST_LOOP_f_l): Likewise.
16316         (RUN_TEST_LOOP_f_L): Likewise.
16317         (RUN_TEST_LOOP_fFF_11): Likewise.
16318         * math/gen-libm-test.pl (parse_args): Output four copies of
16319         expected results for each test.
16321         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
16322         (__ASSUME_UTIMES): Remove.
16323         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16324         (__ASSUME_UTIMES): Likewise.
16326         * math/gen-auto-libm-tests.c: Update comment on output format.
16327         (output_for_one_input_case): Generate before-rounding and
16328         after-rounding information as conditions on output flags not
16329         floating-point format.
16330         * math/auto-libm-test-out: Regenerated.
16331         * math/gen-libm-test.pl (cond_value): New function.
16332         (or_cond_value): Use cond_value.
16333         (generate_testfile): Handle conditional exceptions.
16335 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
16337         * math/libm-test.inc (max_valid_error): New variable.
16338         (init_max_error): Take new argument specifying whether function
16339         results are exactly determined.  Set max_valid_error and bound
16340         other variables for errors based on this argument.
16341         (set_max_error): Do not record results above max_valid_error.
16342         (check_float_internal): Only accept errors of up to 0.5ulps if
16343         also at most max_valid_error.
16344         (START): Take new argument EXACT and pass it to init_max_error.
16345         (acos_test): Update call to START.
16346         (acos_test_tonearest): Likewise.
16347         (acos_test_towardzero): Likewise.
16348         (acos_test_downward): Likewise.
16349         (acos_test_upward): Likewise.
16350         (acosh_test): Likewise.
16351         (asin_test): Likewise.
16352         (asin_test_tonearest): Likewise.
16353         (asin_test_towardzero): Likewise.
16354         (asin_test_downward): Likewise.
16355         (asin_test_upward): Likewise.
16356         (asinh_test): Likewise.
16357         (atan_test): Likewise.
16358         (atanh_test): Likewise.
16359         (atan2_test): Likewise.
16360         (cabs_test): Likewise.
16361         (cacos_test): Likewise.
16362         (cacosh_test): Likewise.
16363         (carg_test): Likewise.
16364         (casin_test): Likewise.
16365         (casinh_test): Likewise.
16366         (catan_test): Likewise.
16367         (catanh_test): Likewise.
16368         (cbrt_test): Likewise.
16369         (ccos_test): Likewise.
16370         (ccosh_test): Likewise.
16371         (ceil_test): Likewise.
16372         (cexp_test): Likewise.
16373         (cimag_test): Likewise.
16374         (clog_test): Likewise.
16375         (clog10_test): Likewise.
16376         (conj_test): Likewise.
16377         (copysign_test): Likewise.
16378         (cos_test): Likewise.
16379         (cos_test_tonearest): Likewise.
16380         (cos_test_towardzero): Likewise.
16381         (cos_test_downward): Likewise.
16382         (cos_test_upward): Likewise.
16383         (cosh_test): Likewise.
16384         (cosh_test_tonearest): Likewise.
16385         (cosh_test_towardzero): Likewise.
16386         (cosh_test_downward): Likewise.
16387         (cosh_test_upward): Likewise.
16388         (cpow_test): Likewise.
16389         (cproj_test): Likewise.
16390         (creal_test): Likewise.
16391         (csin_test): Likewise.
16392         (csinh_test): Likewise.
16393         (csqrt_test): Likewise.
16394         (ctan_test): Likewise.
16395         (ctan_test_tonearest): Likewise.
16396         (ctan_test_towardzero): Likewise.
16397         (ctan_test_downward): Likewise.
16398         (ctan_test_upward): Likewise.
16399         (ctanh_test): Likewise.
16400         (ctanh_test_tonearest): Likewise.
16401         (ctanh_test_towardzero): Likewise.
16402         (ctanh_test_downward): Likewise.
16403         (ctanh_test_upward): Likewise.
16404         (erf_test): Likewise.
16405         (erfc_test): Likewise.
16406         (exp_test): Likewise.
16407         (exp_test_tonearest): Likewise.
16408         (exp_test_towardzero): Likewise.
16409         (exp_test_downward): Likewise.
16410         (exp_test_upward): Likewise.
16411         (exp10_test): Likewise.
16412         (exp10_test_tonearest): Likewise.
16413         (exp10_test_towardzero): Likewise.
16414         (exp10_test_downward): Likewise.
16415         (exp10_test_upward): Likewise.
16416         (pow10_test): Likewise.
16417         (exp2_test): Likewise.
16418         (expm1_test): Likewise.
16419         (expm1_test_tonearest): Likewise.
16420         (expm1_test_towardzero): Likewise.
16421         (expm1_test_downward): Likewise.
16422         (expm1_test_upward): Likewise.
16423         (fabs_test): Likewise.
16424         (fdim_test): Likewise.
16425         (floor_test): Likewise.
16426         (fma_test): Likewise.
16427         (fma_test_towardzero): Likewise.
16428         (fma_test_downward): Likewise.
16429         (fma_test_upward): Likewise.
16430         (fmax_test): Likewise.
16431         (fmin_test): Likewise.
16432         (fmod_test): Likewise.
16433         (fpclassify_test): Likewise.
16434         (frexp_test): Likewise.
16435         (hypot_test): Likewise.
16436         (ilogb_test): Likewise.
16437         (isfinite_test): Likewise.
16438         (finite_test): Likewise.
16439         (isgreater_test): Likewise.
16440         (isgreaterequal_test): Likewise.
16441         (isinf_test): Likewise.
16442         (isless_test): Likewise.
16443         (islessequal_test): Likewise.
16444         (islessgreater_test): Likewise.
16445         (isnan_test): Likewise.
16446         (isnormal_test): Likewise.
16447         (issignaling_test): Likewise.
16448         (isunordered_test): Likewise.
16449         (j0_test): Likewise.
16450         (j1_test): Likewise.
16451         (jn_test): Likewise.
16452         (ldexp_test): Likewise.
16453         (lgamma_test): Likewise.
16454         (gamma_test): Likewise.
16455         (lrint_test): Likewise.
16456         (lrint_test_tonearest): Likewise.
16457         (lrint_test_towardzero): Likewise.
16458         (lrint_test_downward): Likewise.
16459         (lrint_test_upward): Likewise.
16460         (llrint_test): Likewise.
16461         (llrint_test_tonearest): Likewise.
16462         (llrint_test_towardzero): Likewise.
16463         (llrint_test_downward): Likewise.
16464         (llrint_test_upward): Likewise.
16465         (log_test): Likewise.
16466         (log10_test): Likewise.
16467         (log1p_test): Likewise.
16468         (log2_test): Likewise.
16469         (logb_test): Likewise.
16470         (logb_test_downward): Likewise.
16471         (lround_test): Likewise.
16472         (llround_test): Likewise.
16473         (modf_test): Likewise.
16474         (nearbyint_test): Likewise.
16475         (nextafter_test): Likewise.
16476         (nexttoward_test): Likewise.
16477         (pow_test): Likewise.
16478         (pow_test_tonearest): Likewise.
16479         (pow_test_towardzero): Likewise.
16480         (pow_test_downward): Likewise.
16481         (pow_test_upward): Likewise.
16482         (remainder_test): Likewise.
16483         (drem_test): Likewise.
16484         (remainder_test_tonearest): Likewise.
16485         (drem_test_tonearest): Likewise.
16486         (remainder_test_towardzero): Likewise.
16487         (drem_test_towardzero): Likewise.
16488         (remainder_test_downward): Likewise.
16489         (drem_test_downward): Likewise.
16490         (remainder_test_upward): Likewise.
16491         (drem_test_upward): Likewise.
16492         (remquo_test): Likewise.
16493         (rint_test): Likewise.
16494         (rint_test_tonearest): Likewise.
16495         (rint_test_towardzero): Likewise.
16496         (rint_test_downward): Likewise.
16497         (rint_test_upward): Likewise.
16498         (round_test): Likewise.
16499         (scalb_test): Likewise.
16500         (scalbn_test): Likewise.
16501         (scalbln_test): Likewise.
16502         (signbit_test): Likewise.
16503         (sin_test): Likewise.
16504         (sin_test_tonearest): Likewise.
16505         (sin_test_towardzero): Likewise.
16506         (sin_test_downward): Likewise.
16507         (sin_test_upward): Likewise.
16508         (sincos_test): Likewise.
16509         (sinh_test): Likewise.
16510         (sinh_test_tonearest): Likewise.
16511         (sinh_test_towardzero): Likewise.
16512         (sinh_test_downward): Likewise.
16513         (sinh_test_upward): Likewise.
16514         (sqrt_test): Likewise.
16515         (sqrt_test_tonearest): Likewise.
16516         (sqrt_test_towardzero): Likewise.
16517         (sqrt_test_downward): Likewise.
16518         (sqrt_test_upward): Likewise.
16519         (tan_test): Likewise.
16520         (tan_test_tonearest): Likewise.
16521         (tan_test_towardzero): Likewise.
16522         (tan_test_downward): Likewise.
16523         (tan_test_upward): Likewise.
16524         (tanh_test): Likewise.
16525         (tgamma_test): Likewise.
16526         (trunc_test): Likewise.
16527         (y0_test): Likewise.
16528         (y1_test): Likewise.
16529         (yn_test): Likewise.
16530         (significand_test): Likewise.
16532         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
16533         individual tests in comment.
16534         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
16535         (prev_max_error): New variable.
16536         (prev_real_max_error): Likewise.
16537         (prev_imag_max_error): Likewise.
16538         (compare_ulp_data): Don't refer to test names in comment.
16539         (find_test_ulps): Remove function.
16540         (find_function_ulps): Likewise.
16541         (find_complex_function_ulps): Likewise.
16542         (init_max_error): Take function name as argument.  Look up ulps
16543         for that function.
16544         (print_ulps): Remove function.
16545         (print_max_error): Use prev_max_error instead of calling
16546         find_function_ulps.
16547         (print_complex_max_error): Use prev_real_max_error and
16548         prev_imag_max_error instead of calling find_complex_function_ulps.
16549         (check_float_internal): Take max_ulp parameter instead of calling
16550         find_test_ulps.  Don't call print_ulps.
16551         (check_float): Update call to check_float_internal.
16552         (check_complex): Update calls to check_float_internal.
16553         (START): Pass argument to init_max_error.
16554         * math/gen-libm-test.pl (%results): Don't include "kind"
16555         information.
16556         (parse_ulps): Don't handle ulps of individual tests.
16557         (print_ulps_file): Likewise.
16558         (output_ulps): Likewise.
16559         * math/README.libm-test: Update.
16560         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
16561         individual tests.
16562         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
16563         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
16564         * sysdeps/arm/libm-test-ulps: Likewise.
16565         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
16566         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
16567         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
16568         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
16569         * sysdeps/microblaze/libm-test-ulps: Likewise.
16570         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
16571         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
16572         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
16573         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
16574         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
16575         * sysdeps/sh/libm-test-ulps: Likewise.
16576         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
16577         * sysdeps/tile/libm-test-ulps: Likewise.
16578         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16580 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
16582         * math/libm-test.inc (print_complex_max_error): Check separately
16583         whether real and imaginary errors are within allowed range and
16584         pass 0 to print_complex_function_ulps instead of value within
16585         allowed range.
16587 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
16589         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
16590         formatting.
16591         (get_handles_fopen): Likewise.
16592         (do_write_test): Likewise.
16594         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
16596         * libio/fileops.c (do_ftell): Use cached offset when
16597         available.
16598         * libio/iofwide.c (do_ftell_wide): Likewise.
16599         * libio/iofdopen.c (_IO_new_fdopen): Don't use
16600         _IO_file_attach.
16601         * libio/wfileops.c (_IO_fwide): Don't cache offset.
16603         [BZ #16532]
16604         * libio/libioP.h (get_file_offset): New function.
16605         * libio/fileops.c (get_file_offset): Likewise.
16606         (do_ftell): Likewise.
16607         (_IO_new_file_seekoff): Split out ftell logic.
16608         * libio/wfileops.c (do_ftell_wide): Likewise.
16609         (_IO_wfile_seekoff): Split out ftell logic.
16610         * libio/tst-ftell-active-handler.c: New test case.
16611         * libio/Makefile (tests): Add it.
16613 2014-03-03  Roland McGrath  <roland@hack.frob.com>
16615         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
16616         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
16618 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
16620         [BZ #16639]
16621         * nscd/connections.c (nscd_init): Call do_exit.
16622         (start_threads): Call do_exit and notify_parent.
16623         (begin_drop_privileges): Call do_exit.
16624         (finish_drop_privileges): Likewise.
16625         * nscd/selinux.c (preserve_capabilities): Likewise.
16626         (install_real_capabilities): Likewise.
16627         (nscd_selinux_enabled): Likewise.
16628         (avc_create_thread): Likewise.
16629         (avc_alloc_lock): Likewise.
16630         (nscd_avc_init): Likewise.
16631         * nscd/nscd.c (parent_fd): New static variable.
16632         (main): Create a pipe between parent and child processes.
16633         Skip closing parent_fd.
16634         (monitor_child): New function.
16635         (do_exit): Likewise.
16636         (notify_parent): Likewise.
16637         * nscd/nscd.h (notify_parent): Likewise.
16638         (do_exit): Likewise.
16640 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
16642         * malloc/malloc.c (__libc_calloc): Revert last change.
16644 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16646         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16648 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
16650         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
16651         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
16652         implementation.
16653         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16654         (__libc_ifunc_impl_list): Likewise.
16655         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
16656         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
16657         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
16658         * string/strrchr.c: Define STRRCHR.
16660 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
16662         * benchtest/bench-strtok.c (simple_strtok): Delete.
16663         (strtok_string): Use as benchmark.
16664         * string/strtok (STRTOK): New macro.
16666 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
16668         * manual/threads.texi: Add header and standard comments to all
16669         functions.
16671         * elf/dl-lookup.c (check_match): New function.
16672         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
16673         (do_lookup_x): Remove nested function check_match. Use non-nested
16674         function check_match.
16676 2014-02-28  Roland McGrath  <roland@hack.frob.com>
16678         * csu/Makefile (generated, before-compile): Use += rather than =.
16679         * catgets/Makefile (generated, generated-dirs): Likewise.
16680         * debug/Makefile (generated): Likewise.
16681         * dlfcn/Makefile (generated): Likewise.
16682         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
16683         * iconvdata/Makefile (before-compile, generated): Likewise.
16684         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
16685         * libio/Makefile (generated): Likewise.
16686         * malloc/Makefile (generated): Likewise.
16687         * manual/Makefile (generated, generated-dirs): Likewise.
16688         * misc/Makefile (generated): Likewise.
16689         * posix/Makefile (generated): Likewise.
16690         * resolv/Makefile (generated): Likewise.
16691         * sunrpc/Makefile (generated, generated-dirs): Likewise.
16692         * timezone/Makefile (generated, generated-dirs): Likewise.
16694         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
16696 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16698         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
16699         power8 implementation.
16700         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
16701         file: POWER8 llround ifunc implementation.
16702         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
16703         (__lllround): Add POWER8 implementation.
16704         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
16705         POWER8 llround implementation.
16707         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
16708         power8 implementation.
16709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
16710         file: POWER8 llrint ifunc implementation.
16711         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
16712         Add POWER8 implementation.
16713         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
16714         POWER8 llrint implementation.
16716         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
16717         power8 implementation.
16718         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
16719         file: POWER8 finite ifunc implementation.
16720         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
16721         Add POWER8 implementation.
16722         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
16723         Likewise.
16724         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
16725         POWER8 finite implementation.
16726         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
16728         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
16729         power8 implementation.
16730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
16731         file: POWER8 isinf ifunc implementation.
16732         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
16733         POWER8 implementation.
16734         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
16735         Likewise.
16736         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
16737         isinf implementation.
16738         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
16740         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
16741         (INIT_ARCH): Add hwcap2 initialization.
16742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
16743         power8 implementation.
16744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
16745         file: POWER8 isnan ifunc implementation.
16746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
16747         POWER8 implementation.
16748         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
16749         Likewise.
16750         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
16751         isnan implementation.
16752         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
16754 2014-02-27  Joey Ye  <joey.ye@arm.com>
16756         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
16757         (_FP_NANFRAC_Q): Set to zero.
16759 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16761         [BZ #16623]
16762         * math/auto-libm-test-in: New test inputs.
16763         * math/auto-libm-test-out: Regenerate.
16764         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
16765         and DA.
16766         (__cos): Likewise.
16767         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16769 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
16771         * scripts/evaluate-test.sh: Take new argument indicating whether
16772         failure is expected.
16773         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
16774         indicating whether failure is expected.
16775         * conform/Makefile (test-xfail-run-conformtest): New variable.
16776         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
16777         level.
16778         * posix/Makefile (test-xfail-annexc): New variable.
16779         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
16781 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
16783         * argp/Makefile: Include Makeconfig immediately after defining
16784         subdir.
16785         * assert/Makefile: Likewise.
16786         * benchtests/Makefile: Likewise.
16787         * catgets/Makefile: Likewise.
16788         * conform/Makefile: Likewise.
16789         * crypt/Makefile: Likewise.
16790         * csu/Makefile: Likewise.
16791         (all): Remove target.
16792         * ctype/Makefile: Include Makeconfig immediately after defining
16793         subdir.
16794         * debug/Makefile: Likewise.
16795         * dirent/Makefile: Likewise.
16796         * dlfcn/Makefile: Likewise.
16797         * gmon/Makefile: Likewise.
16798         * gnulib/Makefile: Likewise.
16799         * grp/Makefile: Likewise.
16800         * gshadow/Makefile: Likewise.
16801         * hesiod/Makefile: Likewise.
16802         * hurd/Makefile: Likewise.
16803         (all): Remove target.
16804         * iconvdata/Makefile: Include Makeconfig immediately after
16805         defining subdir.
16806         * inet/Makefile: Likewise.
16807         * intl/Makefile: Likewise.
16808         * io/Makefile: Likewise.
16809         * libio/Makefile: Likewise.
16810         (all): Remove target.
16811         * locale/Makefile: Include Makeconfig immediately after defining
16812         subdir.
16813         * login/Makefile: Likewise.
16814         * mach/Makefile: Likewise.
16815         (all): Remove target.
16816         * malloc/Makefile: Include Makeconfig immediately after defining
16817         subdir.
16818         (all): Remove target.
16819         * manual/Makefile: Include Makeconfig immediately after defining
16820         subdir.
16821         * math/Makefile: Likewise.
16822         * misc/Makefile: Likewise.
16823         * nis/Makefile: Likewise.
16824         * nss/Makefile: Likewise.
16825         * po/Makefile: Likewise.
16826         (all): Remove target.
16827         * posix/Makefile: Include Makeconfig immediately after defining
16828         subdir.
16829         * pwd/Makefile: Likewise.
16830         * resolv/Makefile: Likewise.
16831         * resource/Makefile: Likewise.
16832         * rt/Makefile: Likewise.
16833         * setjmp/Makefile: Likewise.
16834         * shadow/Makefile: Likewise.
16835         * signal/Makefile: Likewise.
16836         * socket/Makefile: Likewise.
16837         * soft-fp/Makefile: Likewise.
16838         * stdio-common/Makefile: Likewise.
16839         * stdlib/Makefile: Likewise.
16840         * streams/Makefile: Likewise.
16841         * string/Makefile: Likewise.
16842         * sunrpc/Makefile: Likewise.
16843         (all): Remove target.
16844         * sysvipc/Makefile: Include Makeconfig immediately after defining
16845         subdir.
16846         * termios/Makefile: Likewise.
16847         * time/Makefile: Likewise.
16848         * timezone/Makefile: Likewise.
16849         (all): Remove target.
16850         * wcsmbs/Makefile: Include Makeconfig immediately after defining
16851         subdir.
16852         * wctype/Makefile: Likewise.
16854 2014-02-26  Steve Ellcey  <sellcey@mips.com>
16856         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
16857         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
16858         (libc_feholdexcept_setround_mips): Ditto.
16859         (libc_feholdsetround): New.
16860         (libc_feholdsetroundf): New.
16861         (libc_feholdsetroundl): New.
16862         (libc_feupdateenv_test_mips): New.
16863         (libc_feupdateenv_test): New.
16864         (libc_feupdateenv_testf): New.
16865         (libc_feupdateenv_testl): New.
16866         (libc_feresetround): New.
16867         (libc_feresetroundf): New.
16868         (libc_feresetroundl): New.
16869         (libc_fetestexcept_mips): New.
16870         (libc_fetestexcept): New.
16871         (libc_fetestexceptf): New.
16872         (libc_fetestexceptl): New.
16873         (HAVE_RM_CTX): New.
16874         (libc_feholdexcept_setround_mips_ctx): New.
16875         (libc_feholdexcept_setround_ctx): New.
16876         (libc_feholdexcept_setroundf_ctx): New.
16877         (libc_feholdexcept_setroundl_ctx): New.
16878         (libc_fesetenv_mips_ctx): New.
16879         (libc_fesetenv_ctx): New.
16880         (libc_fesetenv_ctxf): New.
16881         (libc_fesetenv_ctxl): New.
16882         (libc_feupdateenv_mips_ctx): New.
16883         (libc_feupdateenv_ctx): New.
16884         (libc_feupdateenvf_ctx): New.
16885         (libc_feupdateenvl_ctx): New.
16886         (libc_feholdsetround_mips_ctx): New.
16887         (libc_feholdsetround_ctx): New.
16888         (libc_feholdsetroundf_ctx): New.
16889         (libc_feholdsetroundl_ctx): New.
16890         (libc_feresetround_mips_ctx): New.
16891         (libc_feresetround_ctx): New.
16892         (libc_feresetroundf_ctx): New.
16893         (libc_feresetroundl_ctx): New.
16895 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
16897         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
16899         * manual/ipc.texi: New file.
16900         * manual/Makefile (chapters): Add ipc.
16901         * manual/job.texi: Add "Inter-Process Communication" to next.
16902         * manual/process.texi: Add "Inter-Process Communication" to prev.
16904 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16908 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
16910         * malloc/malloc.c (__libc_calloc): Simplify implementation.
16912         * manual/arith.texi: Fix spaces after sentences.
16913         * manual/charset.texi: Likewise.
16914         * manual/errno.texi: Likewise.
16915         * manual/install.texi: Likewise.
16916         * manual/llio.texi: Likewise.
16917         * manual/locale.texi: Likewise.
16918         * manual/maint.texi: Likewise.
16919         * manual/math.texi: Likewise.
16920         * manual/memory.texi: Likewise.
16921         * manual/message.texi: Likewise.
16922         * manual/probes.texi: Likewise.
16923         * manual/resource.texi: Likewise.
16924         * manual/signal.texi: Likewise.
16925         * manual/socket.texi: Likewise.
16926         * manual/stdio.texi: Likewise.
16927         * manual/string.texi: Likewise.
16928         * manual/time.texi: Likewise.
16929         * manual/users.texi: Likewise.
16931 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
16933         [BZ #16632]
16934         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
16935         _DEFAULT_SOURCE is defined.
16937 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
16938             Carlos O'Donell  <carlos@redhat.com>
16940         [BZ #16613]
16941         * elf/dl-tls.c (_dl_count_modids): New function.
16942         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
16943         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
16944         audit library and increment generation counter.
16945         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
16946         * elf/tst-audit9.c: New file.
16947         * elf/tst-auditmod9a.c: New file.
16948         * elf/tst-auditmod9b.c: New file.
16949         * elf/Makefile: Add rules to build and run tst-audit9.
16951 2014-02-25  Florian Weimer  <fweimer@redhat.com>
16953         [BZ #15347]
16954         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
16956 2014-02-25  Will Newton  <will.newton@linaro.org>
16958         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
16959         (__longjmp): Restore sp and lr before restoring callee
16960         saved registers.  Add longjmp and longjmp_target
16961         SystemTap probe point.
16962         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
16963         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
16964         Define to zero to match jmpbuf layout.
16965         * sysdeps/arm/setjmp.S: Include stap-probe.h.
16966         (__sigsetjmp): Save sp and lr before saving callee
16967         saved registers.  Add setjmp SystemTap probe point.
16969 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
16971         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16973 2014-02-24  Andreas Schwab  <schwab@suse.de>
16975         [BZ #15804]
16976         * elf/pldd.c (wait_for_ptrace_stop): New function.
16977         (main): Call it after attaching.
16979 2014-02-22  Roland McGrath  <roland@hack.frob.com>
16981         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
16982         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
16983         Versions files is now verboten.
16984         * hurd/Versions (libc: GLIBC_2.0):
16985         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
16986         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
16987         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
16988         * mach/Versions: Likewise.
16990         * csu/Versions: Remove unused %include.
16991         * resolv/Versions: Likewise.
16993 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
16995         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
16996         ($(objpfx)check-local-headers.out): Likewise.
16997         ($(objpfx)begin-end-check.out): Likewise.
16998         * Makerules (check-abi-%.out): Likewise.
16999         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
17000         ($(objpfx)test2.cat): Likewise.
17001         ($(objpfx)de/libc.cat): Likewise.
17002         ($(objpfx)test-gencat.out): Likewise.
17003         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
17004         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
17005         ($(objpfx)noload-mem): Likewise.
17006         ($(objpfx)tst-pathopt.out): Likewise.
17007         ($(objpfx)tst-rtld-load-self.out): Likewise.
17008         ($(objpfx)tst-array1-cmp.out): Likewise.
17009         ($(objpfx)tst-array1-static-cmp.out): Likewise.
17010         ($(objpfx)tst-array2-cmp.out): Likewise.
17011         ($(objpfx)tst-array3-cmp.out): Likewise.
17012         ($(objpfx)tst-array4-cmp.out): Likewise.
17013         ($(objpfx)tst-array5-cmp.out): Likewise.
17014         ($(objpfx)tst-array5-static-cmp.out): Likewise.
17015         ($(objpfx)check-textrel.out): Likewise.
17016         ($(objpfx)check-execstack.out): Likewise.
17017         ($(objpfx)check-localplt.out): Likewise.
17018         ($(objpfx)order2-cmp.out): Likewise.
17019         ($(objpfx)tst-leaks1-mem): Likewise.
17020         ($(objpfx)tst-leaks1-static-mem): Likewise.
17021         ($(objpfx)tst-initorder-cmp.out): Likewise.
17022         ($(objpfx)tst-initorder2-cmp.out): Likewise.
17023         ($(objpfx)tst-unused-dep.out): Likewise.
17024         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
17025         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
17026         * iconv/Makefile (test-iconvconfig): Likewise.
17027         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
17028         ($(objpfx)iconv-test.out): Likewise.
17029         ($(objpfx)tst-tables.out): Likewise.
17030         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
17031         ($(objpfx)tst-gettext.out): Likewise.
17032         ($(objpfx)tst-translit.out): Likewise.
17033         ($(objpfx)tst-gettext2.out): Likewise.
17034         ($(objpfx)tst-gettext4.out): Likewise.
17035         ($(objpfx)tst-gettext6.out): Likewise.
17036         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
17037         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
17038         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
17039         ($(objpfx)tst-fopenloc-mem.out): Likewise.
17040         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
17041         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
17042         * posix/Makefile ($(objpfx)globtest.out): Likewise.
17043         ($(objpfx)wordexp-tst.out): Likewise.
17044         ($(objpfx)annexc.out): Likewise.
17045         ($(objpfx)tst-fnmatch-mem): Likewise.
17046         ($(objpfx)bug-regex2-mem): Likewise.
17047         ($(objpfx)bug-regex14-mem): Likewise.
17048         ($(objpfx)bug-regex21-mem): Likewise.
17049         ($(objpfx)bug-regex31-mem): Likewise.
17050         ($(objpfx)tst-vfork3-mem): Likewise.
17051         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
17052         ($(objpfx)tst-pcre-mem): Likewise.
17053         ($(objpfx)tst-boost-mem): Likewise.
17054         ($(objpfx)tst-getconf.out): Likewise.
17055         ($(objpfx)bug-ga2-mem): Likewise.
17056         ($(objpfx)bug-glob2-mem): Likewise.
17057         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
17058         ($(objpfx)mtrace-tst-leaks2): Likewise.
17059         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
17060         ($(objpfx)tst-printf.out): Likewise.
17061         ($(objpfx)tst-setvbuf1.out): Likewise.
17062         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
17063         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
17064         ($(objpfx)tst-fmtmsg.out): Likewise.
17065         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
17066         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
17068         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
17069         * bits/sigaction.h [__USE_MISC]: Likewise.
17070         * bits/waitstatus.h: Update #endif comments.
17071         * ctype/ctype.h: Likewise.
17072         * dirent/dirent.h: Likewise.
17073         [__USE_MISC]: Remove redundant conditionals.
17074         * grp/grp.h: Update #endif comments.
17075         [__USE_GNU]: Remove redundant conditionals.
17076         [__USE_MISC]: Likewise.
17077         * inet/netinet/in.h [__USE_GNU]: Likewise.
17078         * io/sys/stat.h [__USE_MISC]: Likewise.
17079         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
17080         * libio/bits/stdio.h: Update #endif comments.
17081         [__USE_MISC]: Remove redundant conditionals.
17082         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
17083         * libio/stdio.h: Update #endif comments.
17084         [__USE_MISC]: Remove redundant conditionals.
17085         * math/bits/math-finite.h [__USE_MISC]: Likewise.
17086         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
17087         * math/math.h: Update #else and #endif comments.
17088         [__USE_MISC]: Remove redundant conditionals.
17089         * misc/sys/uio.h: Update #endif comments.
17090         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
17091         * posix/glob.h [__USE_MISC]: Likewise.
17092         * posix/sys/types.h: Update #endif comments.
17093         [__USE_MISC]: Remove redundant conditionals.
17094         * posix/sys/wait.h: Update #endif comments.
17095         [__USE_MISC]: Remove redundant conditionals.
17096         * posix/unistd.h: Update #endif comments.
17097         [__USE_MISC]: Remove redundant conditionals.
17098         * pwd/pwd.h [__USE_GNU]: Likewise.
17099         [__USE_MISC]: Likewise.
17100         * resolv/netdb.h [__USE_GNU]: Likewise.
17101         * signal/signal.h: Update #endif comments.
17102         [__USE_MISC]: Remove redundant conditionals.
17103         * stdlib/stdlib.h: Update #else and #endif comments.
17104         [__USE_MISC]: Remove redundant conditionals.
17105         [__USE_GNU]: Likewise.
17106         * string/bits/string2.h [__USE_MISC]: Likewise.
17107         * string/string.h: Update #endif comments.
17108         [__USE_MISC]: Remove redundant conditionals.
17109         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
17110         Likewise.
17111         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
17112         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
17113         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
17114         Likewise.
17115         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
17116         Likewise.
17117         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
17118         comments.
17119         [__USE_MISC]: Remove redundant conditionals.
17120         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
17121         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
17122         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
17123         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
17124         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
17125         Likewise.
17126         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
17127         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
17128         Likewise.
17129         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
17130         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
17131         Likewise.
17132         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
17133         Likewise.
17134         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
17135         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
17136         Likewise.
17137         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
17138         Likewise.
17139         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
17140         * sysdeps/x86/bits/string.h: Update #endif comments.
17141         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
17142         conditionals.
17143         * time/sys/time.h: Update #endif comments.
17144         * time/time.h: Likewise.
17145         [__USE_MISC]: Remove redundant conditionals.
17147 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
17149         [BZ #16600]
17150         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
17152 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
17154         * Versions.def (librt): Add GLIBC_2.17.
17156 2014-02-21  Adam Conrad  <adconrad@0c3.net>
17158         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
17159         synonym for _SYS_AUXV_H to allow direct inclusion.
17160         * sysdeps/sparc/bits/hwcap.h: Likewise.
17161         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
17162         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
17163         * sysdeps/sparc/sysdep.h: Likewise.
17165 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17167         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
17169 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17171         * benchtests/bench-strrchr.c: Print length instead of position.
17173 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
17175         [BZ #16611]
17176         * sysdeps/unix/sysv/linux/kernel-features.h
17177         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
17178         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
17179         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
17180         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
17181         Likewise.
17182         [__i386__ || __powerpc__ || __sh__ || __sparc__]
17183         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17184         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
17185         (__ASSUME_SENDMMSG): Define instead of using previous
17186         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
17187         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17188         (__ASSUME_SENDMMSG_SYSCALL): Define.
17189         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17190         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
17191         Likewise.
17192         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17193         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17194         Likewise.
17195         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17196         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17197         Likewise.
17198         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
17199         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17200         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17201         [__ASSUME_SENDMMSG]: Change conditionals to
17202         [__ASSUME_SENDMMSG_SOCKETCALL].
17203         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17204         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
17205         Define.
17206         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17207         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
17208         Likewise.
17209         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
17210         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
17211         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
17212         [!__ASSUME_SENDMMSG]: Change conditional to
17213         [!__ASSUME_SENDMMSG_SOCKETCALL].
17214         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17215         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
17216         Define.
17218         [BZ #16610]
17219         * sysdeps/unix/sysv/linux/kernel-features.h
17220         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
17221         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
17222         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
17223         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
17224         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
17225         [__i386__ || __sparc__]
17226         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17227         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
17228         (__ASSUME_RECVMMSG): Define instead of using previous
17229         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
17230         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17231         (__ASSUME_RECVMMSG_SYSCALL): Define.
17232         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17233         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17234         Likewise.
17235         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17236         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17237         Likewise.
17238         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17239         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17240         Likewise.
17241         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
17242         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17243         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17244         [__ASSUME_RECVMMSG]: Change condition to
17245         [__ASSUME_RECVMMSG_SOCKETCALL].
17246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17247         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17248         Define.
17249         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
17250         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17251         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
17252         Likewise.
17253         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
17254         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
17255         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
17256         [!__ASSUME_RECVMMSG]: Change condition to
17257         [!__ASSUME_RECVMMSG_SOCKETCALL].
17258         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17259         (__ASSUME_RECVMMSG_SYSCALL): Define.
17261         [BZ #16609]
17262         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
17263         __powerpc__ || __s390__ || __sh__ || __sparc__]
17264         (__ASSUME_SOCKETCALL): Define.
17265         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
17266         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
17267         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
17268         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
17269         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
17270         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
17271         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
17272         (__ASSUME_ACCEPT4): Define instead of using previous
17273         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
17274         __powerpc__ || __sparc__ || __s390__)] condition.
17275         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
17276         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17277         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
17278         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17279         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17280         [!__ASSUME_ACCEPT4]: Change condition to
17281         [!__ASSUME_ACCEPT4_SOCKETCALL].
17282         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
17283         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
17284         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
17285         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17286         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
17287         __ASSUME_ACCEPT4_SYSCALL.
17288         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
17289         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
17290         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
17291         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
17292         __ASSUME_ACCEPT4_SYSCALL.
17293         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
17294         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
17295         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
17296         [__ASSUME_ACCEPT4]: Change condition to
17297         [__ASSUME_ACCEPT4_SOCKETCALL].
17298         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17299         (__ASSUME_SOCKETCALL): Define.
17300         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
17301         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
17302         (__ASSUME_SOCKETCALL): Define.
17303         (__ASSUME_ACCEPT4): Remove.
17304         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
17305         Define.
17306         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17307         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
17308         Likewise.
17309         * sysdeps/unix/sysv/linux/tile/kernel-features.h
17310         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
17312         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
17313         macro.
17314         (HWCAP_ARM_LPAE): Likewise.
17315         (HWCAP_ARM_EVTSTRM): Likewise.
17316         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
17317         Add vpfd32, lpae and evtstrm.
17318         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
17319         Increase to 22.
17321 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
17323         * math/auto-libm-test-in: Add tests of clog10.
17324         * math/auto-libm-test-out: Regenerated.
17325         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
17326         * sysdeps/i386/fpu/libm-test-ulps: Update.
17327         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17329 2014-02-18  Andreas Schwab  <schwab@suse.de>
17331         [BZ #16574]
17332         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
17333         Store non-zero if the second buffer was newly allocated.
17334         (send_dg): Likewise.
17335         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
17336         to send_vc and send_dg.
17337         (res_nsend): Pass NULL for ansp2_malloced.
17338         * resolv/res_query.c (__libc_res_nquery): Add parameter
17339         answerp2_malloced and pass it down to __libc_res_nsend.
17340         (res_nquery): Pass additional NULL to __libc_res_nquery.
17341         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
17342         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
17343         second answer buffer if answerp2_malloced was set.
17344         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
17345         (__libc_res_nquerydomain): Add parameter
17346         answerp2_malloced and pass it down to __libc_res_nquery.
17347         (res_nquerydomain): Pass additional NULL to
17348         __libc_res_nquerydomain.
17349         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
17350         additional NULL to __libc_res_nsend and __libc_res_nquery.
17351         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
17352         additional NULL to __libc_res_nsearch.
17353         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
17354         parameter of __libc_res_nsearch to check for separately allocated
17355         second buffer.
17356         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
17357         __libc_res_nquery.
17358         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
17359         additional NULL to __libc_res_nquery.
17360         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
17361         __libc_res_nsearch.
17362         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
17363         * include/resolv.h: Update prototypes of __libc_res_nquery,
17364         __libc_res_nsearch, __libc_res_nsend.
17366 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
17368         * math/auto-libm-test-in: Add tests of fma.
17369         * math/auto-libm-test-out: Regenerated.
17370         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
17371         (fma_towardzero_test_data): Likewise.
17372         (fma_downward_test_data): Likewise.
17373         (fma_upward_test_data): Likewise.
17374         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
17375         mpc_mode.
17376         (rounding_modes): Add values for new field.
17377         (func_calc_method): Add value mpfr_fff_f.
17378         (func_calc_desc): Add mpfr_fff_f union field.
17379         (test_function): Add field exact_args.
17380         (FUNC): Add macro argument EXACT_ARGS.
17381         (FUNC_mpfr_f_f): Update call to FUNC.
17382         (FUNC_mpfr_f_f): Likewise.
17383         (FUNC_mpfr_ff_f): Likewise.
17384         (FUNC_mpfr_if_f): Likewise.
17385         (FUNC_mpc_c_f): Likewise.
17386         (FUNC_mpc_c_c): Likewise.
17387         (test_functions): Add fma.  Update calls to FUNC.
17388         (handle_input_arg): Add argument exact_args.
17389         (add_test): Update call to handle_input_arg.
17390         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
17391         (output_for_one_input_case): Update call to calc_generic_results.
17392         Recalculate exact zero results in each rounding mode.
17394         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
17395         non-negative before setting low bit.
17396         * math/auto-libm-test-in: Mark one asin test possibly having
17397         spurious underflow.
17398         * math/auto-libm-test-out: Regenerated.
17399         * sysdeps/i386/fpu/libm-test-ulps: Update.
17400         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17402 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
17404         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
17405         * sysdeps/unix/sysv/linux/microblaze: Move directory from
17406         ports/sysdeps/unix/sysv/linux/microblaze.
17407         * README: Add missing listing for microblaze*-*-linux-gnu.
17409 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
17411         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
17412         duplicate code
17414 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
17416         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
17417         * sysdeps/unix/sysv/linux/ia64: Move directory from
17418         ports/sysdeps/unix/sysv/linux/ia64.
17419         * README: Update listing for ia64-*-linux-gnu.
17421 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
17422             Joseph Myers  <joseph@codesourcery.com>
17424         * Makeconfig (test-name): New variable.
17425         (evaluate-test): Likewise.
17426         * Makerules (do-test-clean): Remove .test-result files.
17427         (common-mostlyclean): Likewise.
17428         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
17429         * scripts/evaluate-test.sh: New file.
17431 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
17433         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
17434         separate $(objpfx)tst-fopenloc-cmp.out and
17435         $(objpfx)tst-fopenloc-mem.out targets.
17436         (tests): Update dependencies.
17437         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
17438         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
17439         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
17440         (tst-rxspencer-no-utf8-ARGS): New variable.
17441         (tst-rxspencer-no-utf8-ENV): Likewise.
17442         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
17443         instead of $(objpfx)tst-rxspencer-mem.
17444         ($(objpfx)tst-rxspencer-mem): Change target to
17445         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
17446         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
17447         * posix/tst-rxspencer-no-utf8.c: New file.
17449         * elf/Makefile ($(objpfx)order.out): Remove rule.
17450         [$(run-built-tests) = yes] (tests): Depend on
17451         $(objpfx)order-cmp.out.
17452         ($(objpfx)order-cmp.out): New rule.
17453         [$(run-built-tests) = yes] (tests): Depend on
17454         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
17455         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
17456         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
17457         $(objpfx)tst-array5-static-cmp.out.
17458         ($(objpfx)tst-array1.out): Remove rule.
17459         ($(objpfx)tst-array1-cmp.out): New rule.
17460         ($(objpfx)tst-array1-static.out): Remove rule.
17461         ($(objpfx)tst-array1-static-cmp.out): New rule.
17462         ($(objpfx)tst-array2.out): Remove rule.
17463         ($(objpfx)tst-array2-cmp.out): New rule.
17464         ($(objpfx)tst-array3.out): Remove rule.
17465         ($(objpfx)tst-array3-cmp.out): New rule.
17466         ($(objpfx)tst-array4.out): Remove rule.
17467         ($(objpfx)tst-array4-cmp.out): New rule.
17468         ($(objpfx)tst-array5.out): Remove rule.
17469         ($(objpfx)tst-array5-cmp.out): New rule.
17470         ($(objpfx)tst-array5-static.out): Remove rule.
17471         ($(objpfx)tst-array5-static-cmp.out): New rule.
17472         [$(run-built-tests) = yes] (tests): Depend on
17473         $(objpfx)order2-cmp.out.
17474         ($(objpfx)order2.out): Remove rule.
17475         ($(objpfx)order2-cmp.out): New rule.
17476         ($(objpfx)tst-initorder.out): Remove rule.
17477         [$(run-built-tests) = yes] (tests): Depend on
17478         $(objpfx)tst-initorder-cmp.out.
17479         ($(objpfx)tst-initorder-cmp.out): New rule.
17480         ($(objpfx)tst-initorder2.out): Remove rule.
17481         [$(run-built-tests) = yes] (tests): Depend on
17482         $(objpfx)tst-initorder2-cmp.out.
17483         ($(objpfx)tst-initorder2-cmp.out): New rule.
17484         [$(run-built-tests) = yes] (tests): Depend on
17485         $(objpfx)tst-unused-dep-cmp.out.
17486         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
17487         ($(objpfx)tst-unused-dep-cmp.out): New rule.
17488         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
17489         on $(objpfx)tst-setvbuf1-cmp.out.
17490         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
17491         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
17492         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
17493         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
17494         ($(objpfx)tst-svc.out): Remove rule.
17495         ($(objpfx)tst-svc-cmp.out): New rule.
17497 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
17499         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
17500         * ctype/ctype.h [__USE_MISC]: Likewise.
17501         * dirent/dirent.h [__USE_MISC]: Likewise.
17502         * grp/grp.h [__USE_MISC]: Likewise.
17503         * io/fcntl.h [__USE_MISC]: Likewise.
17504         * io/sys/stat.h [__USE_MISC]: Likewise.
17505         * libio/stdio.h [__USE_MISC]: Likewise.
17506         * posix/unistd.h [__USE_MISC]: Likewise.
17507         * pwd/pwd.h [__USE_MISC]: Likewise.
17508         * stdlib.h [__USE_MISC]: Likewise.
17509         * string/bits/string2.h [__USE_MISC]: Likewise.
17510         * string/string.h [__USE_MISC]: Likewise.
17511         * time/time.h [__USE_MISC]: Likewise.
17513 2014-02-13  Andreas Schwab  <schwab@suse.de>
17515         [BZ #16574]
17516         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
17517         second answer buffer if it was separately allocated.
17519 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
17521         * sysdeps/mips/math-tests.h: Include <features.h>.
17522         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17523         (ROUNDING_TESTS_long_double): Do not define.
17524         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
17525         (EXCEPTION_TESTS_long_double): Likewise.
17526         * sysdeps/mips/mips64/libm-test-ulps: Update.
17528         * include/features.h (__USE_BSD): Remove macro definitions.
17529         (__USE_SVID): Likewise.
17530         (_BSD_SOURCE): Likewise.
17531         (_SVID_SOURCE): Likewise.
17532         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
17533         from definition of _DEFAULT_SOURCE.
17534         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
17535         [_DEFAULT_SOURCE].
17536         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
17537         * bits/mman.h [__USE_BSD]: Likewise.
17538         * bits/termios.h [__USE_BSD]: Likewise.
17539         * bits/waitstatus.h [__USE_BSD]: Likewise.
17540         * ctype/ctype.h [__USE_SVID]: Likewise.
17541         * dirent/dirent.h [__USE_BSD]: Likewise.
17542         * grp/grp.h [__USE_SVID]: Likewise.
17543         [__USE_BSD]: Likewise.
17544         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
17545         * io/fcntl.h [__USE_BSD]: Likewise.
17546         * io/ftw.h [__USE_BSD]: Likewise.
17547         * io/sys/stat.h [__USE_BSD]: Likewise.
17548         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
17549         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
17550         * libio/stdio.h [__USE_SVID]: Likewise.
17551         [__USE_BSD]: Likewise.
17552         * math/math.h [__USE_SVID]: Likewise.
17553         [__USE_BSD]: Likewise.
17554         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
17555         * misc/bits/syslog.h [__USE_BSD]: Likewise.
17556         * misc/search.h [__USE_SVID]: Likewise.
17557         * misc/sys/mman.h [__USE_BSD]: Likewise.
17558         * misc/sys/syslog.h [__USE_BSD]: Likewise.
17559         * misc/sys/uio.h [__USE_BSD]: Likewise.
17560         * posix/bits/unistd.h [__USE_BSD]: Likewise.
17561         * posix/glob.h [__USE_BSD]: Likewise.
17562         * posix/regex.h [__USE_BSD]: Likewise.
17563         * posix/sys/types.h [__USE_BSD]: Likewise.
17564         [__USE_SVID]: Likewise.
17565         * posix/sys/utsname.h [__USE_SVID]: Likewise.
17566         * posix/sys/wait.h [__USE_BSD]: Likewise.
17567         [__USE_SVID]: Likewise.
17568         * posix/unistd.h [__USE_BSD]: Likewise.
17569         [__USE_SVID]: Likewise.
17570         * pwd/pwd.h [__USE_SVID]: Likewise.
17571         * resolv/netdb.h [__USE_BSD]: Likewise.
17572         * setjmp/setjmp.h [__USE_BSD]: Likewise.
17573         * signal/signal.h [__USE_BSD]: Likewise.
17574         [__USE_SVID]: Likewise.
17575         * socket/sys/socket.h [__USE_BSD]: Likewise.
17576         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
17577         * stdlib/stdlib.h [__USE_BSD]: Likewise.
17578         [__USE_SVID]: Likewise.
17579         * string/bits/string2.h [__USE_BSD]: Likewise.
17580         [__USE_SVID]: Likewise.
17581         * string/bits/string3.h [__USE_BSD]: Likewise.
17582         * string/endian.h [__USE_BSD]: Likewise.
17583         * string/string.h [__USE_SVID]: Likewise.
17584         [__USE_BSD]: Likewise.
17585         * string/strings.h [__USE_BSD]: Likewise.
17586         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
17587         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
17588         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
17589         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
17590         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
17591         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
17592         Likewise.
17593         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
17594         Likewise.
17595         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
17596         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
17597         Likewise.
17598         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
17599         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
17600         Likewise.
17601         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
17602         Likewise.
17603         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
17604         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
17605         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
17606         Likewise.
17607         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
17608         Likewise.
17609         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
17610         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
17611         * termios/termios.h [__USE_BSD]: Likewise.
17612         * time/sys/time.h [__USE_BSD]: Likewise.
17613         * time/time.h [__USE_BSD]: Likewise.
17614         [__USE_SVID]: Likewise.
17616         * Makefile (subdir_targets): Remove subdir_lint.out.
17618         * stdio-common/Makefile (do-tst-unbputc): Remove target.
17619         (do-tst-printf): Likewise.
17620         (tests): Depend directly on $(objpfx)tst-unbputc.out and
17621         $(objpfx)tst-printf.out.
17623         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
17625         * Makerules (check-abi-%): Change target to
17626         $(objpfx)check-abi-%.out.
17627         (check-abi target): Update dependencies.
17628         (check-abi-pattern variable): Redirect output of diff to $@.
17629         (check-abi variable): Likewise.
17630         * elf/Makefile (check-abi): Update dependencies.
17632         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
17633         unused.
17634         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
17635         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
17636         subnormal range.
17637         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
17638         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
17639         value has largest subnormal exponent.
17640         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
17641         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
17642         * sysdeps/aarch64/soft-fp/sfp-machine.h
17643         (_FP_TININESS_AFTER_ROUNDING): New macro.
17644         * sysdeps/alpha/soft-fp/sfp-machine.h
17645         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17646         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17647         Likewise.
17648         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
17649         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17650         * sysdeps/mips/soft-fp/sfp-machine.h
17651         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17652         * sysdeps/powerpc/soft-fp/sfp-machine.h
17653         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17654         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17655         Likewise.
17656         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
17657         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17658         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
17659         (_FP_TININESS_AFTER_ROUNDING): Likewise.
17660         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
17661         Likewise.
17663 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
17665         [BZ #16545]
17666         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
17667         model 1.
17669 2014-02-12  Richard Henderson  <rth@redhat.com>
17671         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
17672         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
17673         * sysdeps/unix/sysv/linux/alpha: Move directory from
17674         ports/sysdeps/unix/sysv/linux/alpha.
17675         * README: Update listing for alpha-*-linux-gnu.
17677 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
17679         * include/features.h: Update comment documenting feature test
17680         macros.
17681         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
17682         _DEFAULT_SOURCE.
17683         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
17684         (_SVID_SOURCE): Likewise.
17685         (_DEFAULT_SOURCE): Update description of default features.
17686         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
17687         with _GNU_SOURCE.
17688         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
17689         (S_ISVTX): Likewise.
17690         * manual/math.texi (Mathematical Constants): Likewise.
17691         * manual/signal.texi (Interrupted Primitives): Likewise.
17692         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
17693         * math/test-matherr.c (_SVID_SOURCE): Do not define.
17694         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
17695         Don't refer to _SVID_SOURCE in warning text.
17697         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17699         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
17700         already defined.
17701         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
17702         * sysdeps/mips/dl-lookup.c: Remove.
17703         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
17705 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
17707         [BZ #16447]
17708         * math/auto-libm-test-in: Add testcase for expl.
17709         * math/auto-libm-test-out: Regenerate.
17710         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
17711         calculation of unsafe.
17712         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
17714 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
17716         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
17717         * sysdeps/unix/sysv/linux/aarch64: Move directory from
17718         ports/sysdeps/unix/sysv/linux/aarch64.
17719         * README: Update listing for aarch64*-*-linux-gnu.
17721 2014-02-11  Will Newton  <will.newton@linaro.org>
17723         * manual/probes.texi (Mathematical Function Probes): Use
17724         "triggered" instead of "hit".
17726         * manual/probes.texi (Internal Probes): Add documentation
17727         of setjmp, longjmp and longjmp_target probes.
17729         * include/stap-probe.h: Add comment about probe argument
17730         format.
17732         * malloc/mtrace.c (attribute_hidden): Remove unused macro
17733         definition.  (tr_where, tr_freehook, tr_mallochook,
17734         tr_reallochook, tr_memalignhook): Use ANSI protoype.
17736 2014-02-11  David S. Miller  <davem@davemloft.net>
17738         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
17739         processing int_tests.
17741 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
17743         * sysdeps/mips: Move directory from ports/sysdeps/mips.
17744         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
17745         * sysdeps/unix/sysv/linux/mips: Move directory from
17746         ports/sysdeps/unix/sysv/linux/mips.
17747         * README: Update listing for mips-*-linux-gnu and
17748         mips64-*-linux-gnu.
17750 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
17752         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
17753         * sysdeps/unix/sysv/linux/m68k: Move directory from
17754         ports/sysdeps/unix/sysv/linux/m68k.
17755         * README: Update listing for m68k-*-linux-gnu.
17757 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
17759         * sysdeps/tile: Move directory from ports/sysdeps/tile.
17760         * sysdeps/unix/sysv/linux/generic: Move directory from
17761         ports/sysdeps/unix/sysv/linux/generic.
17762         * sysdeps/unix/sysv/linux/tile: Move directory from
17763         ports/sysdeps/unix/sysv/linux/tile.
17764         * README: Update listing for tile*-*-linux-gnu.
17766 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
17768         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
17769         __builtin_expect.
17770         * benchtests/bench-memmem.c (simple_memmem): Likewise.
17771         * catgets/open_catalog.c (__open_catalog): Likewise.
17772         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
17773         * debug/confstr_chk.c: Likewise.
17774         * debug/fread_chk.c (__fread_chk): Likewise.
17775         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
17776         * debug/getgroups_chk.c: Likewise.
17777         * debug/mbsnrtowcs_chk.c: Likewise.
17778         * debug/mbsrtowcs_chk.c: Likewise.
17779         * debug/mbstowcs_chk.c: Likewise.
17780         * debug/memcpy_chk.c: Likewise.
17781         * debug/memmove_chk.c: Likewise.
17782         * debug/mempcpy_chk.c: Likewise.
17783         * debug/memset_chk.c: Likewise.
17784         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
17785         * debug/strcat_chk.c (__strcat_chk): Likewise.
17786         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
17787         * debug/strncat_chk.c (__strncat_chk): Likewise.
17788         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
17789         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
17790         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
17791         * debug/wcpncpy_chk.c: Likewise.
17792         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
17793         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
17794         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
17795         * debug/wcsncpy_chk.c: Likewise.
17796         * debug/wcsnrtombs_chk.c: Likewise.
17797         * debug/wcsrtombs_chk.c: Likewise.
17798         * debug/wcstombs_chk.c: Likewise.
17799         * debug/wmemcpy_chk.c: Likewise.
17800         * debug/wmemmove_chk.c: Likewise.
17801         * debug/wmempcpy_chk.c: Likewise.
17802         * debug/wmemset_chk.c: Likewise.
17803         * dirent/scandirat.c (SCANDIRAT): Likewise.
17804         * dlfcn/dladdr1.c (dladdr1): Likewise.
17805         * dlfcn/dladdr.c (dladdr): Likewise.
17806         * dlfcn/dlclose.c (dlclose_doit): Likewise.
17807         * dlfcn/dlerror.c (__dlerror): Likewise.
17808         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
17809         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
17810         * dlfcn/dlopen.c (dlopen_doit): Likewise.
17811         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
17812         * dlfcn/dlsym.c (dlsym_doit): Likewise.
17813         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
17814         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
17815         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
17816         Likewise.
17817         * elf/dl-conflict.c: Likewise.
17818         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
17819         * elf/dl-dst.h: Likewise.
17820         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
17821         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
17822         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
17823         * elf/dl-init.c (call_init, _dl_init): Likewise.
17824         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
17825         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
17826         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
17827         Likewise.
17828         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
17829         Likewise.
17830         * elf/dl-minimal.c (__libc_memalign): Likewise.
17831         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
17832         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
17833         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
17834         * elf/dl-sym.c (do_sym): Likewise.
17835         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
17836         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
17837         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
17838         * elf/dl-writev.h (_dl_writev): Likewise.
17839         * elf/ldconfig.c (search_dir): Likewise.
17840         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
17841         (dl_main): Likewise.
17842         * elf/setup-vdso.h (setup_vdso): Likewise.
17843         * grp/compat-initgroups.c (compat_call): Likewise.
17844         * grp/fgetgrent.c (fgetgrent): Likewise.
17845         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
17846         * grp/putgrent.c (putgrent): Likewise.
17847         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17848         Likewise.
17849         * hurd/hurdinit.c: Likewise.
17850         * iconvdata/8bit-gap.c (struct): Likewise.
17851         * iconvdata/ansi_x3.110.c : Likewise.
17852         * iconvdata/big5.c : Likewise.
17853         * iconvdata/big5hkscs.c : Likewise.
17854         * iconvdata/cp1255.c: Likewise.
17855         * iconvdata/cp1258.c : Likewise.
17856         * iconvdata/cp932.c : Likewise.
17857         * iconvdata/euc-cn.c: Likewise.
17858         * iconvdata/euc-jisx0213.c : Likewise.
17859         * iconvdata/euc-jp.c: Likewise.
17860         * iconvdata/euc-jp-ms.c : Likewise.
17861         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
17862         * iconvdata/gb18030.c : Likewise.
17863         * iconvdata/gbbig5.c (const): Likewise.
17864         * iconvdata/gbgbk.c: Likewise.
17865         * iconvdata/gbk.c : Likewise.
17866         * iconvdata/ibm1364.c : Likewise.
17867         * iconvdata/ibm930.c : Likewise.
17868         * iconvdata/ibm932.c: Likewise.
17869         * iconvdata/ibm933.c : Likewise.
17870         * iconvdata/ibm935.c : Likewise.
17871         * iconvdata/ibm937.c : Likewise.
17872         * iconvdata/ibm939.c : Likewise.
17873         * iconvdata/ibm943.c: Likewise.
17874         * iconvdata/iso_11548-1.c: Likewise.
17875         * iconvdata/iso-2022-cn.c : Likewise.
17876         * iconvdata/iso-2022-cn-ext.c : Likewise.
17877         * iconvdata/iso-2022-jp-3.c: Likewise.
17878         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
17879         * iconvdata/iso-2022-kr.c : Likewise.
17880         * iconvdata/iso646.c (gconv_end): Likewise.
17881         * iconvdata/iso_6937-2.c : Likewise.
17882         * iconvdata/iso_6937.c : Likewise.
17883         * iconvdata/iso8859-1.c: Likewise.
17884         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
17885         * iconvdata/shift_jisx0213.c : Likewise.
17886         * iconvdata/sjis.c : Likewise.
17887         * iconvdata/t.61.c : Likewise.
17888         * iconvdata/tcvn5712-1.c : Likewise.
17889         * iconvdata/tscii.c: Likewise.
17890         * iconvdata/uhc.c : Likewise.
17891         * iconvdata/unicode.c (gconv_end): Likewise.
17892         * iconvdata/utf-16.c (gconv_end): Likewise.
17893         * iconvdata/utf-32.c (gconv_end): Likewise.
17894         * iconvdata/utf-7.c (base64): Likewise.
17895         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
17896         * iconv/gconv_close.c (__gconv_close): Likewise.
17897         * iconv/gconv_open.c (__gconv_open): Likewise.
17898         * iconv/gconv_simple.c (internal_ucs4_loop_single)
17899         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
17900         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
17901         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
17902         (ucs4le_internal_loop_single): Likewise.
17903         * iconv/iconv.c (iconv): Likewise.
17904         * iconv/iconv_close.c: Likewise.
17905         * iconv/loop.c (SINGLE): Likewise.
17906         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
17907         * include/atomic.h: Likewise.
17908         * inet/inet6_option.c (option_alloc): Likewise.
17909         * intl/bindtextdom.c (set_binding_values): Likewise.
17910         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
17911         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
17912         * intl/localealias.c (read_alias_file): Likewise.
17913         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
17914         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
17915         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
17916         * libio/fmemopen.c (fmemopen): Likewise.
17917         * libio/iofgets.c (_IO_fgets): Likewise.
17918         * libio/iofgets_u.c (fgets_unlocked): Likewise.
17919         * libio/iofgetws.c (fgetws): Likewise.
17920         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
17921         * libio/iogetdelim.c (_IO_getdelim): Likewise.
17922         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
17923         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
17924         * locale/findlocale.c (_nl_find_locale): Likewise.
17925         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
17926         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
17927         Likewise.
17928         * locale/setlocale.c (setlocale): Likewise.
17929         * login/programs/pt_chown.c (main): Likewise.
17930         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
17931         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
17932         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
17933         (mmap, mmap64, mremap, munmap): Likewise.
17934         * math/e_exp2l.c: Likewise.
17935         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
17936         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
17937         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
17938         * math/s_catan.c (__catan): Likewise.
17939         * math/s_catanf.c (__catanf): Likewise.
17940         * math/s_catanh.c (__catanh): Likewise.
17941         * math/s_catanhf.c (__catanhf): Likewise.
17942         * math/s_catanhl.c (__catanhl): Likewise.
17943         * math/s_catanl.c (__catanl): Likewise.
17944         * math/s_ccosh.c (__ccosh): Likewise.
17945         * math/s_ccoshf.c (__ccoshf): Likewise.
17946         * math/s_ccoshl.c (__ccoshl): Likewise.
17947         * math/s_cexp.c (__cexp): Likewise.
17948         * math/s_cexpf.c (__cexpf): Likewise.
17949         * math/s_cexpl.c (__cexpl): Likewise.
17950         * math/s_clog10.c (__clog10): Likewise.
17951         * math/s_clog10f.c (__clog10f): Likewise.
17952         * math/s_clog10l.c (__clog10l): Likewise.
17953         * math/s_clog.c (__clog): Likewise.
17954         * math/s_clogf.c (__clogf): Likewise.
17955         * math/s_clogl.c (__clogl): Likewise.
17956         * math/s_csin.c (__csin): Likewise.
17957         * math/s_csinf.c (__csinf): Likewise.
17958         * math/s_csinh.c (__csinh): Likewise.
17959         * math/s_csinhf.c (__csinhf): Likewise.
17960         * math/s_csinhl.c (__csinhl): Likewise.
17961         * math/s_csinl.c (__csinl): Likewise.
17962         * math/s_csqrt.c (__csqrt): Likewise.
17963         * math/s_csqrtf.c (__csqrtf): Likewise.
17964         * math/s_csqrtl.c (__csqrtl): Likewise.
17965         * math/s_ctan.c (__ctan): Likewise.
17966         * math/s_ctanf.c (__ctanf): Likewise.
17967         * math/s_ctanh.c (__ctanh): Likewise.
17968         * math/s_ctanhf.c (__ctanhf): Likewise.
17969         * math/s_ctanhl.c (__ctanhl): Likewise.
17970         * math/s_ctanl.c (__ctanl): Likewise.
17971         * math/w_pow.c: Likewise.
17972         * math/w_powf.c: Likewise.
17973         * math/w_powl.c: Likewise.
17974         * math/w_scalb.c (sysv_scalb): Likewise.
17975         * math/w_scalbf.c (sysv_scalbf): Likewise.
17976         * math/w_scalbl.c (sysv_scalbl): Likewise.
17977         * misc/error.c (error_tail): Likewise.
17978         * misc/pselect.c (__pselect): Likewise.
17979         * nis/nis_callback.c (__nis_create_callback): Likewise.
17980         * nis/nis_call.c (__nisfind_server): Likewise.
17981         * nis/nis_creategroup.c (nis_creategroup): Likewise.
17982         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
17983         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
17984         * nis/nis_getservlist.c (nis_getservlist): Likewise.
17985         * nis/nis_lookup.c (nis_lookup): Likewise.
17986         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
17987         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
17988         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
17989         * nis/nis_xdr.c (xdr_endpoint): Likewise.
17990         * nis/nss_compat/compat-grp.c (getgrent_next_file)
17991         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
17992         * nis/nss_compat/compat-initgroups.c (add_group)
17993         (internal_getgrent_r): Likewise.
17994         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
17995         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
17996         * nis/nss_compat/compat-spwd.c (getspent_next_file)
17997         (internal_getspnam_r): Likewise.
17998         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
17999         (_nss_nis_getaliasbyname_r): Likewise.
18000         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
18001         (_nss_nis_getntohost_r): Likewise.
18002         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
18003         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
18004         (_nss_nis_getgrgid_r): Likewise.
18005         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
18006         (internal_nis_gethostent_r, internal_gethostbyname2_r)
18007         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
18008         (_nss_nis_gethostbyname4_r): Likewise.
18009         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
18010         (initgroups_netid): Likewise.
18011         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
18012         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
18013         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
18014         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
18015         (_nss_nis_getprotobynumber_r): Likewise.
18016         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
18017         (_nss_nis_getsecretkey): Likewise.
18018         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
18019         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
18020         (_nss_nis_getpwuid_r): Likewise.
18021         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
18022         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
18023         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
18024         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
18025         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
18026         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
18027         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
18028         Likewise.
18029         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
18030         (_nss_nisplus_getntohost_r): Likewise.
18031         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
18032         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
18033         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
18034         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
18035         Likewise.
18036         * nis/nss_nisplus/nisplus-initgroups.c
18037         (_nss_nisplus_initgroups_dyn): Likewise.
18038         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
18039         (_nss_nisplus_getnetbyaddr_r): Likewise.
18040         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
18041         (_nss_nisplus_getprotobynumber_r): Likewise.
18042         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
18043         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
18044         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
18045         Likewise.
18046         * nis/nss_nisplus/nisplus-service.c
18047         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
18048         (_nss_nisplus_getservbyport_r): Likewise.
18049         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
18050         (_nss_nisplus_getspnam_r): Likewise.
18051         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
18052         Likewise.
18053         * nscd/aicache.c (addhstaiX): Likewise.
18054         * nscd/cache.c (cache_search, prune_cache): Likewise.
18055         * nscd/connections.c (register_traced_file, send_ro_fd)
18056         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
18057         (main_loop_epoll): Likewise.
18058         * nscd/grpcache.c (addgrbyX): Likewise.
18059         * nscd/hstcache.c (addhstbyX): Likewise.
18060         * nscd/initgrcache.c (addinitgroupsX): Likewise.
18061         * nscd/mem.c (gc, mempool_alloc): Likewise.
18062         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
18063         (addinnetgrX): Likewise.
18064         * nscd/nscd-client.h (__nscd_acquire_maplock)
18065         (__nscd_drop_map_ref): Likewise.
18066         * nscd/nscd_getai.c (__nscd_getai): Likewise.
18067         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
18068         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
18069         Likewise.
18070         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
18071         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
18072         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
18073         (__nscd_get_map_ref): Likewise.
18074         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
18075         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
18076         Likewise.
18077         * nscd/pwdcache.c (addpwbyX): Likewise.
18078         * nscd/selinux.c (preserve_capabilities): Likewise.
18079         * nscd/servicescache.c (addservbyX): Likewise.
18080         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
18081         * posix/fnmatch.c (fnmatch): Likewise.
18082         * posix/getopt.c (_getopt_internal_r): Likewise.
18083         * posix/glob.c (glob, glob_in_dir): Likewise.
18084         * posix/wordexp.c (exec_comm_child): Likewise.
18085         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
18086         (getanswer_r, gaih_getanswer_slice): Likewise.
18087         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
18088         * resolv/res_init.c: Likewise.
18089         * resolv/res_mkquery.c (res_nmkquery): Likewise.
18090         * resolv/res_query.c (__libc_res_nquery): Likewise.
18091         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
18092         Likewise.
18093         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
18094         * stdio-common/perror.c (perror): Likewise.
18095         * stdio-common/printf_fp.c (___printf_fp): Likewise.
18096         * stdio-common/tmpnam.c (tmpnam): Likewise.
18097         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
18098         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
18099         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
18100         Likewise.
18101         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
18102         * stdlib/putenv.c (putenv): Likewise.
18103         * stdlib/setenv.c (__add_to_environ): Likewise.
18104         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
18105         * stdlib/strtol_l.c (INTERNAL): Likewise.
18106         * string/memmem.c (memmem): Likewise.
18107         * string/strerror.c (strerror): Likewise.
18108         * string/strnlen.c (__strnlen): Likewise.
18109         * string/test-memmem.c (simple_memmem): Likewise.
18110         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
18111         * sunrpc/pm_getport.c (__get_socket): Likewise.
18112         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
18113         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
18114         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
18115         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
18116         Likewise.
18117         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
18118         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
18119         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
18120         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
18121         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
18122         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
18123         Likewise.
18124         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
18125         Likewise.
18126         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
18127         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
18128         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
18129         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
18130         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
18131         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
18132         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
18133         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
18134         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
18135         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
18136         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
18137         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
18138         Likewise.
18139         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
18140         Likewise.
18141         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
18142         Likewise.
18143         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
18144         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
18145         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
18146         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
18147         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
18148         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
18149         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
18150         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
18151         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
18152         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
18153         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
18154         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
18155         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
18156         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
18157         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
18158         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
18159         Likewise.
18160         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
18161         Likewise.
18162         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
18163         Likewise.
18164         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
18165         Likewise.
18166         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
18167         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
18168         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
18169         Likewise.
18170         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
18171         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
18172         * sysdeps/posix/opendir.c (__opendirat): Likewise.
18173         * sysdeps/posix/sleep.c: Likewise.
18174         * sysdeps/posix/tempname.c: Likewise.
18175         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
18176         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
18177         Likewise.
18178         * sysdeps/powerpc/powerpc32/dl-machine.h
18179         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
18180         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18181         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
18182         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
18183         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
18184         Likewise.
18185         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
18186         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
18187         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18188         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
18189         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
18190         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
18191         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
18192         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
18193         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
18194         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
18195         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
18196         (elf_machine_lazy_rel): Likewise.
18197         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
18198         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
18199         (elf_machine_lazy_rel): Likewise.
18200         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
18201         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
18202         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
18203         * sysdeps/unix/grantpt.c (grantpt): Likewise.
18204         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
18205         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
18206         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
18207         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
18208         Likewise.
18209         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
18210         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18211         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
18212         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
18213         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
18214         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
18215         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
18216         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
18217         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
18218         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
18219         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
18220         Likewise.
18221         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
18222         (__posix_fallocate64_l64): Likewise.
18223         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
18224         (posix_fallocate): Likewise.
18225         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
18226         Likewise.
18227         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
18228         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
18229         (getifaddrs_internal): Likewise.
18230         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
18231         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
18232         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
18233         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
18234         * sysdeps/unix/sysv/linux/posix_fallocate64.c
18235         (__posix_fallocate64_l64): Likewise.
18236         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
18237         Likewise.
18238         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
18239         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
18240         (__get_clockfreq): Likewise.
18241         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
18242         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
18243         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
18244         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
18245         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
18246         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
18247         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18248         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
18249         Likewise.
18250         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
18251         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
18252         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18253         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
18254         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
18255         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
18256         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
18257         Likewise.
18258         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
18259         (posix_fallocate): Likewise.
18260         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
18261         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
18262         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
18263         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
18264         (elf_machine_rela, elf_machine_rela_relative)
18265         (elf_machine_lazy_rel): Likewise.
18266         * time/asctime.c (asctime_internal): Likewise.
18267         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
18268         * time/tzset.c (__tzset_parse_tz): Likewise.
18269         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
18270         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
18271         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
18272         * wcsmbs/wcsmbsload.h: Likewise.
18274         [BZ #15894]
18275         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
18277         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
18278         (arena_get2): Remove THREAD_STATS conditionals.
18279         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
18280         (__malloc_stats, int): Likewise.
18282 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
18284         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
18285         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
18287         * manual/setjmp.texi: Fix typos/grammar errors.
18289         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
18290         Only return early when n is <= 0.  Delete unused return statement.
18292         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
18293         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
18294         * debug/tst-longjmp_chk3.c: New file.
18296         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
18297         (test_main): Replace code with set_fortify_handler call.
18298         * debug/test-strcpy_chk.c: Likewise.
18299         * debug/tst-chk1.c: Likewise.
18300         * debug/tst-longjmp_chk.c: Likewise.
18301         * test-skeleton.c: Include fcntl.h & paths.h
18302         (set_fortify_handler): Define.
18304         * debug/tst-longjmp_chk.c: Add header comment and include
18305         ../test-skeleton.c.
18306         (do_test): Mark static.
18307         (TEST_FUNCTION): Define.
18309         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
18310         (IP_PMTUDISC_INTERFACE): Likewise.
18311         (IP_MULTICAST_IF): Likewise.
18312         (IP_MULTICAST_TTL): Likewise.
18313         (IP_MULTICAST_LOOP): Likewise.
18314         (IP_ADD_MEMBERSHIP): Likewise.
18315         (IP_DROP_MEMBERSHIP): Likewise.
18316         (IP_UNBLOCK_SOURCE): Likewise.
18317         (IP_BLOCK_SOURCE): Likewise.
18318         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
18319         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
18320         (IP_MSFILTER): Likewise.
18321         (MCAST_JOIN_GROUP): Likewise.
18322         (MCAST_BLOCK_SOURCE): Likewise.
18323         (MCAST_UNBLOCK_SOURCE): Likewise.
18324         (MCAST_LEAVE_GROUP): Likewise.
18325         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18326         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18327         (MCAST_MSFILTER): Likewise.
18328         (IP_MULTICAST_ALL): Likewise.
18329         (IP_UNICAST_IF): Likewise.
18331         * timezone/Makefile: Delete $(have-ksh) check.
18332         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
18333         * timezone/tzselect.ksh: Add +x mode bits.
18335         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
18336         (ANON_INODE_FS_MAGIC): Likewise.
18337         (BDEVFS_MAGIC): Likewise.
18338         (BINFMTFS_MAGIC): Likewise.
18339         (BTRFS_TEST_MAGIC): Likewise.
18340         (CRAMFS_MAGIC_WEND): Likewise.
18341         (DEBUGFS_MAGIC): Likewise.
18342         (ECRYPTFS_SUPER_MAGIC): Likewise.
18343         (EXT3_SUPER_MAGIC): Likewise.
18344         (EXT4_SUPER_MAGIC): Likewise.
18345         (FUTEXFS_SUPER_MAGIC): Likewise.
18346         (HOSTFS_SUPER_MAGIC): Likewise.
18347         (HUGETLBFS_MAGIC): Likewise.
18348         (MINIX3_SUPER_MAGIC): Likewise.
18349         (MTD_INODE_FS_MAGIC): Likewise.
18350         (NILFS_SUPER_MAGIC): Likewise.
18351         (OPENPROM_SUPER_MAGIC): Likewise.
18352         (PIPEFS_MAGIC): Likewise.
18353         (PSTOREFS_MAGIC): Likewise.
18354         (QNX6_SUPER_MAGIC): Likewise.
18355         (RAMFS_MAGIC): Likewise.
18356         (REISERFS_SUPER_MAGIC_STRING): Likewise.
18357         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
18358         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
18359         (SECURITYFS_MAGIC): Likewise.
18360         (SELINUX_MAGIC): Likewise.
18361         (SMACK_MAGIC): Likewise.
18362         (SOCKFS_MAGIC): Likewise.
18363         (SQUASHFS_MAGIC): Likewise.
18364         (STACK_END_MAGIC): Likewise.
18365         (TMPFS_MAGIC): Likewise.
18366         (USBDEVICE_SUPER_MAGIC): Likewise.
18367         (V9FS_MAGIC): Likewise.
18368         (XENFS_SUPER_MAGIC): Likewise.
18369         (CRAMFS_MAGIC): Fix typo in comment.
18370         (EXT2_SUPER_MAGIC): Update comment.
18371         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
18373 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
18375         * sysdeps/arm: Move directory from ports/sysdeps/arm.
18376         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
18377         * sysdeps/unix/sysv/linux/arm: Move directory from
18378         ports/sysdeps/unix/sysv/linux/arm.
18379         * README: Update listing for arm-*-linux-gnueabi.
18381         * README: Remove mention of am33.
18383 2014-02-07  Roland McGrath  <roland@hack.frob.com>
18385         * bits/sigset.h (__sigemptyset): Use a statement expression rather
18386         than the comma operator, to avoid "rhs of comma has no effect"
18387         compiler warnings.
18388         (__sigfillset, __sigandset, __sigorset): Likewise.
18389         * include/signal.h (__sigemptyset): Likewise.
18390         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
18392 2014-02-07  Allan McRae  <allan@archlinux.org>
18394         * version.h (RELEASE): Set to "development".
18395         (VERSION): Set to "2.19.90"
18396         * NEWS: Add 2.20 section.
18398 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
18400         [BZ #16529]
18401         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
18403 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18405         * manual/contrib.texi: Update entry for Carlos O'Donell,
18406         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
18408 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
18410         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
18412         * sysdeps/unix/sysv/linux/kernel-features.h
18413         [__LINUX_KERNEL_VERSION >= 0x020621]
18414         (__ASSUME_PROC_PID_TASK_COMM): Define.
18416 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18418         [BZ #16398]
18419         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
18420         conversion when destination buffer does not have enough space.
18421         * libio/tst-ftell-partial-wide.c: New test case.
18422         * libio/Makefile (tests): Add tst-ftell-partial-wide.
18424         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
18425         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
18426         Leonard and Allan McRae.
18428 2014-02-04  David S. Miller  <davem@davemloft.net>
18430         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
18431         32-bit.
18433 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
18436         New file
18437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
18438         New file
18439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
18440         New file.
18441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
18442         New file.
18443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
18444         New file.
18445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
18446         New file.
18447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
18448         New file.
18449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
18450         New file.
18451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
18452         New file.
18453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
18454         New file.
18455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
18456         New file.
18457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
18458         New file.
18459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
18460         New file.
18462 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18464         * nptl/shlib-versions: Change powerpc*le start to 2.17.
18465         * shlib-versions: Likewise.
18467 2014-02-04  Roland McGrath  <roland@hack.frob.com>
18468             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18470         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
18471         (abilist-pattern): New variable, set to %-le.abilist.
18473         * Makerules (abilist-pattern): New variable.
18474         (vpath): Use $(abilist-pattern) in place of %.abilist.
18475         (check-abi-% pattern rule): Likewise.
18476         (check-abi, update-abi): Likewise.
18478 2014-02-04  Eric Wong  <normalperson@yhbt.net>
18480         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18482 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
18484         * manual/startup.texi: Add next, previous, and top entries for
18485         the `Program Arguments' and `Environment Variables' nodes.
18487 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
18489         * manual/macros.texi: Add comments before MTASC-safety macros.
18491         * manual/users.texi: Document MTASC-safety properties.
18493         * manual/threads.texi (pthread_key_create, pthread_key_delete)
18494         (pthread_getspecific, pthread_setspecific): Format with
18495         @deftypefun, and add @safety note.
18496         * manual/signal.texi: Move comments that analyze the above
18497         functions to their home place.
18499 2014-02-03  Allan McRae  <allan@archlinux.org>
18501         * po/sl.po: Update Slovenian translation from translation project.
18503 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
18505         * manual/time.texi (timegm): Add missing blank after @c.
18506         Reported by Joseph Myers <joseph@codesourcery.com>.
18508 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
18510         * manual/check-safety.sh: New.
18511         * manual/Makefile ($(objpfx)stamp-summary): Run it.
18513         * manual/terminal.texi: Document MTASC-safety properties.
18515         * manual/filesys.texi: Document MTASC-safety properties.
18517         * manual/errno.texi: Document MTASC-safety properties.
18519         * manual/intro.texi: Document safety identifiers and
18520         conditionals.
18522         * manual/string.texi (wcstok): Fix prototype.
18523         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
18525         * manual/time.texi: Document MTASC-safety properties.
18527         * manual/string.texi: Document MTASC-safety properties.
18529         * manual/threads.texi: Document MTASC-safety properties.
18531         * manual/stdio.texi: Document MTASC-safety properties.
18533         * manual/syslog.texi: Document MTASC-safety properties.
18535         * manual/sysinfo.texi: Document MTASC-safety properties.
18537         * manual/startup.texi: Document MTASC-safety properties.
18539         * manual/socket.texi: Document MTASC-safety properties.
18541         * manual/signal.texi: Document MTASC-safety properties.
18543 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
18545         * manual/setjmp.texi: Document MTASC-safety properties.
18547         * manual/search.texi: Document MTASC-safety properties.
18549         * manual/resource.texi: Document MTASC-safety properties.
18551         * manual/process.texi: Document MTASC-safety properties.
18553         * manual/platform.texi: Document MTASC-safety properties.
18555         * manual/pipe.texi: Document MTASC-safety properties.
18557         * manual/pattern.texi: Document MTASC-safety properties.
18559         * manual/message.texi: Document MTASC-safety properties.
18561         [BZ #12751]
18562         * manual/memory.texi: Document MTASC-safety properties.
18564         * manual/math.texi: Document MTASC-safety properties.
18566         * manual/locale.texi: Document MTASC-safety properties.
18568         * manual/llio.texi: Document MTASC-safety properties.
18570         * manual/libdl.texi: New.
18572         * manual/lang.texi: Document MTASC-safety properties.
18574         * manual/job.texi: Document MTASC-safety properties.
18576         * manual/getopt.texi: Document MTASC-safety properties.
18578         * manual/ctype.texi: Document MTASC-safety properties.
18580 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
18582         [BZ #16046]
18583         * csu/libc-tls.c (static_map): Remove variable.
18584         (__libc_setup_tls): Use main executable's link map for TLS data.
18585         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
18586         casing for LM_ID_BASE and GL(dl_nns).
18587         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
18588         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
18589         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
18590         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
18591         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
18592         member.
18593         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
18594         l_phnum members.
18596 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
18598         * manual/debug.texi: Document MTASC-safety properties.
18600 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
18602         [BZ #16510]
18603         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
18604         of __x86_64__ when disabling x87 inline functions.
18606 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
18608         * manual/charset.texi: Document MTASC-safety properties.
18610         * manual/crypt.texi: Document MTASC-safety properties.
18612         * manual/conf.texi: Document MTASC-safety properties.
18614         * manual/arith.texi: Document MTASC-safety properties.
18616         * manual/argp.texi: Document MTASC-safety properties.
18618         * manual/macros.texi: Introduce macros to document multi
18619         thread, asynchronous signal and asynchronous cancellation
18620         safety properties.
18621         * manual/intro.texi: Introduce the properties themselves.
18623 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18625         * sysdeps/sh/sh4/Makefile: New file.
18627 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
18629         * math/gen-libm-test.pl ($srcdir): New variable.
18630         ($auto_input): Use it.
18632 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18634         [BZ #16506]
18635         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
18636         access beyond array bounds when parsing netgroups file.
18638         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
18639         the old buffer before realloc.
18641 2014-01-27  Allan McRae  <allan@archlinux.org>
18643         * po/fr.po: Update French translation from translation project.
18645 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18647         * sysdeps/sh/libm-test-ulps: Regenerate.
18649 2014-01-24  David S. Miller  <davem@davemloft.net>
18651         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
18653 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18655         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
18656         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
18658 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
18660         [BZ #16474]
18661         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
18662         string pointers after reallocation.
18664 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18666         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
18667         __SH4A__ instead of __SH_FPU_ANY__.
18669 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18671         * sysdeps/sh/fpu_control.h: New file.
18672         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
18673         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
18674         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
18675         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
18676         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
18677         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
18678         * sysdeps/sh/sys/ucontext.h: Remove.
18679         * sysdeps/sh/sys: Remove directory.
18681 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18683         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
18684         s390/sys/ucontext.h.
18685         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
18686         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
18688 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
18690         [BZ #15605]
18691         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
18693 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18695         [BZ#16431]
18696         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
18697         Adjust the vDSO correctly for internal calls.
18698         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
18700 2014-01-20  Allan McRae  <allan@archlinux.org>
18702         * po/ca.po: Update Catalan translation from translation project.
18704 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
18706         * sysdeps/s390/sotruss-lib.c: New file.
18708 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18710         [BZ#16430]
18711         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
18712         (__GI___gettimeofday): Alias for a different internal symbol to avoid
18713         local calls issues by not having a PLT stub required for IFUNC calls.
18714         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
18716 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
18718         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
18719         * math/test-fpucw-static.c: Likewise.
18721 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
18723         [BZ #16453]
18724         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
18726 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18728         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
18729         implementation for powerpc.
18731 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
18733         [BZ #14782]
18734         * sysdeps/posix/system.c (__libc_system): Do not enable
18735         asynchronous cancellation.
18737 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18739         [BZ #16427]
18740         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
18741         handling only for numbers special also in the IEEE case.
18743 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18745         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
18747 2014-01-11  Allan McRae  <allan@archlinux.org>
18749         * po/bg.po: Update Bulgarian translation from translation project.
18751         * po/de.po: Update German translation from translation project.
18753 2014-01-10  Roland McGrath  <roland@hack.frob.com>
18755         * sysdeps/generic/gcc-compat.h: New file.
18757 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
18759         * benchtests/asin-inputs: Correct slow inputs.
18760         * benchtests/acos-inputs: Likewise.
18762 2014-01-10  Allan McRae  <allan@archlinux.org>
18764         * po:sv.po: Update Swedish translation from translation project.
18766         * po/vi.po: Update Vietnamese translation from translation project.
18768         * po/eo.po: Update Esperanto translation from translation project.
18770         * po/cs.po: Update Czech translation from translation project.
18772         * po/nl.po: Update Dutch translation from translation project.
18774         * po/pl.po: Update Polish translation from translation project.
18776         * po/ru.po: Update Russian translation from translation project.
18778         * po/uk.po: Update Ukrainian translation from translation project.
18780 2014-01-08  Brooks Moses  <bmoses@google.com>
18782         * elf/dl-load.c: Fix comment typo.
18784 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
18786         * po/header.pot: Rename to...
18787         * po/pot.header: ... this.
18788         * po/Makefile: Use pot.header.
18790 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
18791             Maxim Kuvyrkov  <maxim@kugelworks.com>
18793         [BZ #16394]
18794         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
18795         SRC and DEST against LEN.
18797 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18799         [BZ #16414]
18800         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
18801         implementation.
18802         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
18804 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18808 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
18810         [BZ #16408]
18811         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
18812         for large positive arguments.
18814 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
18816         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18818         * math/auto-libm-test-in: Mark various tests with
18819         xfail-rounding:ldbl-128ibm.
18820         * math/auto-libm-test-out: Regenerated.
18822         [BZ #16407]
18823         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
18824         Increase overflow threshold.
18826 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
18828         [BZ #14286]
18829         * stdio-common/vfprintf.c: Check for integer overflow.
18831 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18833         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
18834         the first argument and return value of __tls_get_addr_internal.
18836 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18838         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
18839         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
18841 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18843         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
18844         * sysdeps/s390/rtld-global-offsets.sym: New file.
18845         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
18846         GLIBC_2.19 symbol.
18847         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
18848         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
18849         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
18850         ... this.
18851         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
18852         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
18853         ... this.
18854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18855         Regenerate.
18856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18857         Regenerate.
18858         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
18859         halfs of GPRs for high_gprs contexts.
18860         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
18861         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
18862         field.
18863         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
18864         uc_flags field.
18865         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
18866         64 bit versions:
18867         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
18868         for high GPRs (uc_high_gprs) and for future extensions
18869         (__reserved).
18870         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
18871         for future extensions (__reserved).
18872         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
18873         64 bit versions:
18874         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
18875         SC_HIGHGPRS offset definition.
18876         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
18877         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
18879         * Versions.def: Add GLIBC_2.19 for libpthread.
18880         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
18881         siglongjmp for libpthread with GLIBC_2.19 symver.
18882         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
18883         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
18884         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
18885         * sysdeps/s390/__longjmp.c: New file.
18886         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
18887         * sysdeps/s390/longjmp.c: New file.
18888         * sysdeps/s390/setjmp.S: New file.
18889         * sysdeps/s390/sigjmp.S: New file.
18890         * sysdeps/s390/v1-longjmp.c: New file.
18891         * sysdeps/s390/v1-setjmp.h: New file.
18892         * sysdeps/s390/v1-sigjmp.c: New file.
18893         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
18894         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
18895         GLIBC_2.19 version.
18896         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
18897         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
18898         versioned symbols for ____longjmp_chk.
18899         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
18900         Likewise.
18901         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
18902         Regenerate.
18903         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
18904         Regenerate.
18905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
18906         Regenerate.
18907         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
18908         Regenerate.
18909         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
18910         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
18911         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
18912         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
18913         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
18914         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
18915         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
18916         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
18917         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
18918         * sysdeps/s390/rtld-__longjmp.c: New file.
18919         * sysdeps/s390/rtld-setjmp.S: New file.
18921 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
18923         [BZ #16400]
18924         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
18925         Return -__logl (x) for small positive arguments without evaluating
18926         a polynomial.
18928 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
18930         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
18931         Rename to ...
18932         (__ptrace_peeksiginfo_args): ... this.
18933         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
18934         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
18935         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
18937 2014-01-06  Allan McRae  <allan@archlinux.org>
18939         * inet/netinet/in.h: Fix typo in comment.
18941 2014-01-05  Andreas Jaeger  <aj@suse.de>
18943         * sysdeps/i386/fpu/libm-test-ulps: Update.
18945 2014-01-05  Allan McRae  <allan@archlinux.org>
18947         * po/libc.pot: Regenerated.
18949         * malloc/memusagestat.c: Fix gettext call formatting.
18951 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
18953         * nscd/nscd.c: Improve usage() output.
18955 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
18957         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
18958         * sysdeps/unix/sysv/linux/configure: Regenerated.
18959         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
18960         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
18962 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18964         [BZ #16390]
18965         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
18966         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
18968 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18970         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
18971         extra tokens at end of #undef directive.
18972         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
18973         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
18974         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
18976 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
18978         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
18980         * math/auto-libm-test-in: Mark various tests with
18981         xfail-rounding:ldbl-128ibm.
18982         * math/auto-libm-test-out: Regenerated.
18984 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
18986         [BZ #16386]
18987         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
18988         numbers with subnormal high part when calculating exponent.
18990         [BZ #16385]
18991         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
18992         fabs.
18994         [BZ #16384]
18995         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
18996         M_LN2l.
18997         (__ieee754_acoshl): Use __log1pl not __log1p.
18999 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
19001         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
19002         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
19003         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
19004         (grow_heap, heap_trim, _int_new_arena, get_free_list)
19005         (reused_arena, arena_get2): Convert to GNU style.
19006         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
19007         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
19008         (memalign_check, __malloc_set_state): Likewise.
19009         * malloc/mallocbug.c (main): Likewise.
19010         * malloc/malloc.c (__malloc_assert, malloc_init_state)
19011         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
19012         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
19013         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
19014         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
19015         (__posix_memalign, malloc_info): Likewise.
19016         * malloc/malloc.h: Likewise.
19017         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
19018         (mallochook, memalignhook, reallochook, mabort): Likewise.
19019         * malloc/mcheck.h: Likewise.
19020         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
19021         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
19022         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
19023         * malloc/morecore.c (__default_morecore): Likewise.
19024         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
19025         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
19026         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
19027         (print_and_abort): Likewise.
19028         * malloc/obstack.h: Likewise.
19029         * malloc/set-freeres.c (__libc_freeres): Likewise.
19030         * malloc/tst-mallocstate.c (main): Likewise.
19031         * malloc/tst-mtrace.c (main): Likewise.
19032         * malloc/tst-realloc.c (do_test): Likewise.
19034 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19036         [BZ #16366]
19037         * nscd/netgroupcache.c (do_notfound): New function.
19038         (addgetnetgrentX): Use it.
19040         [BZ # 16365]
19041         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
19042         NSS_STATUS_NOTFOUND.
19044 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
19046         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
19047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19049 2014-01-01  Allan McRae  <allan@archlinux.org>
19051         * scripts/update-copyrights: Update configure input file suffix.
19053         * NEWS: Update copyright year.
19054         * catgets/gencat.c: Likewise.
19055         * csu/version.c: Likewise.
19056         * debug/catchsegv.sh: Likewise.
19057         * debug/pcprofiledump.c: Likewise.
19058         * debug/xtrace.sh: Likewise.
19059         * elf/ldconfig.c: Likewise.
19060         * elf/ldd.bash.in: Likewise.
19061         * elf/pldd.c: Likewise.
19062         * elf/sotruss.ksh: Likewise.
19063         * elf/sprof.c: Likewise.
19064         * iconv/iconv_prog.c: Likewise.
19065         * iconv/iconvconfig.c: Likewise.
19066         * locale/programs/locale.c: Likewise.
19067         * locale/programs/localedef.c: Likewise.
19068         * login/programs/pt_chown.c: Likewise.
19069         * malloc/memusage.sh: Likewise.
19070         * malloc/memusagestat.c: Likewise.
19071         * malloc/mtrace.pl: Likewise.
19072         * manual/libc.texinfo: Likewise.
19073         * nscd/nscd.c: Likewise.
19074         * nss/getent.c: Likewise.
19075         * nss/makedb.c: Likewise.
19076         * posix/getconf.c: Likewise.
19077         * scripts/test-installation.pl: Likewise.
19079         * All files with FSF copyright notices: Update copyright dates
19080         using scripts/update-copyrights.
19081         * intl/plural.c: Regenerated.
19082         * locale/programs/charmap-kw.h: Likewise.
19083         * locale/programs/locfile-kw.h: Likewise.
19085 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
19087         * sysdeps/unix/sysv/linux/configure: Regenerated.
19088         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
19089         the linux/fanotify.h header.
19090         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
19091         HAVE_LINUX_FANOTIFY_H is defined.
19093 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
19095         * benchtests/cos-inputs: New inputs.
19096         * benchtests/sin-inputs: Likewise.
19098         * benchtests/atan-inputs: New inputs. Fix name of multiple
19099         precision fallback inputs.
19101         * benchtests/atanh-inputs: New inputs.
19102         * benchtests/tanh-inputs: Likewise.
19104         * benchtests/acosh-inputs: New inputs.
19105         * benchtests/asinh-inputs: Likewise.
19107         * benchtests/cosh-inputs: New inputs.
19108         * benchtests/sinh-inputs: Likewise.
19110         * benchtests/acos-inputs: Add more inputs.
19111         * benchtests/asin-inputs: Likewise.
19113 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
19115         [BZ #16375]
19116         * manual/arith.texi: Fix spelling.
19117         * manual/charset.texi: Likewise.
19118         * manual/errno.texi: Likewise.
19119         * manual/filesys.texi: Likewise.
19120         * manual/lang.texi: Likewise.
19121         * manual/llio.texi: Likewise.
19122         * manual/locale.texi: Likewise.
19123         * manual/message.texi: Likewise.
19124         * manual/resource.texi: Likewise.
19125         * manual/search.texi: Likewise.
19126         * manual/setjmp.texi: Likewise.
19127         * manual/stdio.texi: Likewise.
19128         * manual/string.texi: Likewise.
19129         * manual/sysinfo.texi: Likewise.
19130         * manual/time.texi: Likewise.
19132 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
19134         * po/sl.po: New file.
19136 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
19138         * .gitignore: Add core/.gdbinit/.gdb_history.
19140 2013-12-27  Allan McRae  <allan@archlinux.org>
19142         [BZ #16369]
19143         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
19144         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
19146 2013-12-24  Brooks Moses  <bmoses@google.com>
19148         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
19149         all compilers that claim C++98 compliance, not just GCC.
19150         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
19151         Likewise.
19153 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
19155         * NEWS: Restore accidentally deleted bug-fix entries.
19157 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
19158             Ondřej Bílka  <neleai@seznam.cz>
19160         [BZ #15073]
19161         * malloc/malloc.c (_int_free): Perform sanity check only if we
19162         have_lock.
19164 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
19166         [BZ #12986]
19167         * manual/stdio.texi (String Input Conversions): Clarify that character
19168         classes are not supported.
19170 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19174 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
19176         [BZ #16337]
19177         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
19178         Calculate results for small negative arguments directly rather
19179         than using reflection formula with special underflow handling.
19181         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
19182         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
19183         sysdeps/unix/bsd/bsd4.4/syscalls.list.
19184         (fchflags): Likewise.
19185         (revoke): Likewise.
19186         (setlogin): Likewise.
19187         (sigaltstack): Likewise.
19188         (wait4): Likewise.
19189         (sigblock): Remove.
19190         (sigsetmask): Likewise.
19191         (wait3): Likewise.
19192         (waitpid): Likewise.
19193         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
19194         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
19195         file.
19196         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
19197         * sysdeps/unix/bsd/Makefile: ... here.
19198         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
19199         * sysdeps/unix/bsd/Versions: ... here.
19200         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
19201         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
19202         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
19203         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
19204         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
19205         * sysdeps/unix/bsd/sigblock.c: ... here.
19206         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
19207         * sysdeps/unix/bsd/sigsetmask.c: ... here.
19208         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
19209         * sysdeps/unix/bsd/sigvec.c: ... here.
19210         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
19211         * sysdeps/unix/bsd/tcdrain.c: ... here.
19212         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
19213         * sysdeps/unix/bsd/tcgetattr.c: ... here.
19214         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
19215         * sysdeps/unix/bsd/tcsetattr.c: ... here.
19216         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
19217         * sysdeps/unix/bsd/wait.c: ... here.
19218         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
19219         * sysdeps/unix/bsd/wait3.c: ... here.
19220         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
19221         * sysdeps/unix/bsd/waitpid.c: ... here.
19223 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
19225         [BZ #16356]
19226         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
19227         round-to-nearest for [!USE_AS_EXPM1L].
19228         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
19229         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
19230         more tests of exp and exp10.  Expect some exp10 tests to miss
19231         exceptions or fail in directed rounding modes.
19232         * math/auto-libm-test-out: Regenerated.
19233         * math/libm-test.inc (exp10_tonearest_test_data): New array.
19234         (exp10_test_tonearest): New function.
19235         (exp10_towardzero_test_data): New array.
19236         (exp10_test_towardzero): New function.
19237         (exp10_downward_test_data): New array.
19238         (exp10_test_downward): New function.
19239         (exp10_upward_test_data): New array.
19240         (exp10_test_upward): New function.
19241         (main): Call the new functions.
19242         * sysdeps/i386/fpu/libm-test-ulps: Update.
19243         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19245 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
19247         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
19248         asinh, atan, atan2, atanh, cbrt, cos and cosh.
19249         * math/auto-libm-test-out: Regenerated.
19250         * math/libm-test.inc (acosh_test_data): Add more tests.
19251         (atanh_test_data): Likewise.
19252         (ceil_test_data): Likewise.
19253         (copysign_test_data): Likewise.
19254         * sysdeps/i386/fpu/libm-test-ulps: Update.
19255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19257         * timezone/checktab.awk: Update from tzcode 2013i.
19258         * timezone/private.h: Likewise.
19259         * timezone/scheck.c: Likewise.
19260         * timezone/tzfile.h: Likewise.
19261         * timezone/tzselect.ksh: Likewise.
19262         * timezone/zdump.c: Likewise.
19263         * timezone/zic.c: Likewise.
19265         * math/auto-libm-test-in: Add tests of cpow.
19266         * math/auto-libm-test-out: Regenerated.
19267         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
19268         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19269         mpc_cc_c.
19270         (func_calc_desc): Add mpc_cc_c union field.
19271         (test_functions): Add cpow.
19272         (special_fill_2pi): New function.
19273         (special_real_inputs): Add 2pi.
19274         (calc_generic_results): Handle mpc_cc_c.
19275         * sysdeps/i386/fpu/libm-test-ulps: Update.
19276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19278         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
19279         csqrt, ctan and ctanh.
19280         * math/auto-libm-test-out: Regenerated.
19281         * math/libm-test.inc (TEST_COND_x86_64): New macro.
19282         (TEST_COND_x86): Likewise.
19283         (ccos_test_data): Use AUTO_TESTS_c_c.
19284         (ccosh_test_data): Likewise.
19285         (cexp_test_data): Likewise.
19286         (clog_test_data): Likewise.
19287         (csqrt_test_data): Likewise.
19288         (ctan_test_data): Likewise.
19289         (ctan_tonearest_test_data): Likewise.
19290         (ctan_towardzero_test_data): Likewise.
19291         (ctan_downward_test_data): Likewise.
19292         (ctan_upward_test_data): Likewise.
19293         (ctanh_test_data): Likewise.
19294         (ctanh_tonearest_test_data): Likewise.
19295         (ctanh_towardzero_test_data): Likewise.
19296         (ctanh_downward_test_data): Likewise.
19297         (ctanh_upward_test_data): Likewise.
19298         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19299         mpc_c_c.
19300         (func_calc_desc): Add mpc_c_c union field.
19301         (FUNC_mpc_c_c): New macro.
19302         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
19303         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
19304         ctanh.
19305         (special_fill_min_subnorm_p120): New function.
19306         (special_real_inputs): Add min_subnorm_p120.
19307         (calc_generic_results): Handle mpc_c_c.
19308         * sysdeps/i386/fpu/libm-test-ulps: Update.
19309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19311 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19313         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
19314         (do_sin_slow): New functions.
19315         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
19316         (cslow2, csloww1, csloww2): Use the new functions.
19318         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
19319         Use M to change sign of result instead of X.  Assume X is
19320         positive.
19321         (csloww1): Likewise.
19322         (__sin): Adjust.
19323         (__cos): Adjust.
19325         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
19326         arguments A and DA.
19327         (__sin): Adjust.
19328         (__cos): Likewise.
19330         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
19331         (__cos): Likewise.
19332         (sloww1): Don't adjust sign of DX.
19333         (csloww1): Likewise.
19334         (sloww2): Use X directly and don't adjust sign of DX.
19335         (csloww2): Likewise.
19337 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19339         * math/auto-libm-test-in: Add tests of cabs and carg.
19340         * math/auto-libm-test-out: Regenerated.
19341         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
19342         (carg_test_data): Likewise.
19343         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19344         mpc_c_f.
19345         (func_calc_desc): Add mpc_c_f union field.
19346         (test_functions): Add cabs and carg.
19347         (calc_generic_results): Handle mpc_c_f.
19349         * sysdeps/powerpc/powerpc32/libgcc-compat.S
19350         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
19351         as a macro and a compat symbol.
19352         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
19353         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
19354         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
19355         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
19356         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
19357         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
19358         not use .hidden.
19359         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
19360         Likewise.
19361         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
19362         Likewise.
19363         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
19364         Likewise.
19365         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
19366         Likewise.
19367         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
19368         Likewise.
19369         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
19370         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
19371         from GLIBC_2.3.2.
19373 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19375         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19377 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19379         * manual/texinfo.tex: Update to version 2013-11-26.10 with
19380         trailing whitespace removed.
19381         * scripts/config.guess: Update to version 2013-11-29.
19382         * scripts/config.sub: Update to version 2013-10-01.
19384         * math/auto-libm-test-in: Add tests of sincos.
19385         * math/auto-libm-test-out: Regenerated.
19386         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
19387         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19388         mpfr_f_11.
19389         (func_calc_desc): Add mpfr_f_11 union field.
19390         (test_functions): Add sincos.
19391         (calc_generic_results): Handle mpfr_f_11.
19392         * sysdeps/i386/fpu/libm-test-ulps: Update.
19393         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19395 2013-12-19  Andreas Schwab  <schwab@suse.de>
19397         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
19398         CALL_MCOUNT.
19399         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
19400         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
19401         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
19403 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
19405         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
19406         * sysdeps/i386/fpu/libm-test-ulps: Update.
19407         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19409         [BZ #16293]
19410         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
19411         round-to-nearest mode when using frndint.
19412         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
19413         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
19414         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
19415         Likewise.
19416         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
19417         sinh test to fail.
19418         * math/auto-libm-test-out: Regenerated.
19419         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
19420         (TEST_COND_x86): Likewise.
19421         (expm1_tonearest_test_data): New array.
19422         (expm1_test_tonearest): New function.
19423         (expm1_towardzero_test_data): New array.
19424         (expm1_test_towardzero): New function.
19425         (expm1_downward_test_data): New array.
19426         (expm1_test_downward): New function.
19427         (expm1_upward_test_data): New array.
19428         (expm1_test_upward): New function.
19429         (main): Run the new test functions.
19430         * sysdeps/i386/fpu/libm-test-ulps: Update.
19431         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19433         * include/features.h: Update comment documenting feature test
19434         macros.  Mention _DEFAULT_SOURCE in comment.
19435         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
19436         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
19437         _BSD_SOURCE and _SVID_SOURCE.
19438         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
19439         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
19440         !_SVID_SOURCE]: Likewise.
19441         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19442         (__USE_POSIX_IMPLICITLY): Define.
19443         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19444         (_POSIX_SOURCE): Undefine and redefine.
19445         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
19446         (_POSIX_C_SOURCE): Likewise.
19447         * manual/creature.texi (_DEFAULT_SOURCE): Document.
19448         (Feature Test Macros): Update documentation of default features.
19450 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19452         * benchtests/Makefile: Add bench-strtok.
19453         * benchtests/bench-strtok.c: New file: strtok benchtest.
19455 2013-12-19  Allan McRae  <allan@archlinux.org>
19457         * manual/install.texi: Suppress menu for plain text output.
19458         * INSTALL: Regenerated.
19460 2013-12-18  Brooks Moses  <bmoses@google.com>
19462         [BZ #15846]
19463         * misc/getauxval.c: Include errno.h.
19464         (__getauxval): Set errno to ENOENT if the requested type is not
19465         found.
19466         * misc/sys/auxv.h (getauxval): Document that it may set errno;
19467         don't declare with __attribute_const__.
19468         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
19469         * manual/startup.texi: Document that getauxval sets errno.
19471 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19473         * math/auto-libm-test-in: Add tests of jn and yn.
19474         * math/auto-libm-test-out: Regenerated.
19475         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
19476         (yn_test_data): Likewise.
19477         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19478         mpfr_if_f.
19479         (func_calc_desc): Add mpfr_if_f union field.
19480         (FUNC_mpfr_if_f): New macro.
19481         (test_functions): Add jn and yn.
19482         (calc_generic_results): Assert type of second input for
19483         mpfr_ff_f.  Handle mpfr_if_f.
19484         (output_for_one_input_case): Disable all checking for arguments
19485         fitting floating-point types in case of an integer argument.
19486         * sysdeps/i386/fpu/libm-test-ulps: Update.
19487         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
19490         Don't expect fegetround reference in libm.so.
19492 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19494         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
19495         $(config-cflags-nofma).
19497 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
19499         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
19500         * math/auto-libm-test-out: Regenerated.
19502         [BZ #16338]
19503         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
19504         to determine exponent and adjust argument to have exponent of -1.
19505         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
19506         log2.
19507         * math/auto-libm-test-out: Regenerated.
19508         * sysdeps/i386/fpu/libm-test-ulps: Update.
19509         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19511 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
19513         * manual/probes.texi: Remove cases when per-thread arenas are
19514         disabled.
19516 2013-12-18  Andreas Schwab  <schwab@suse.de>
19518         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
19519         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
19520         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
19521         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
19522         * sysdeps/i386/i686/multiarch/Makefile: Update.
19523         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
19525 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19527         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
19528         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
19530 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
19532         [BZ #15968]
19533         Support TZ transition times < 00:00:00.
19534         This is needed for version-3 tz-format files; it supports time
19535         stamps past 2037 for America/Godthab (the only entry in the tz
19536         database for which this change is relevant).
19537         * manual/time.texi (TZ Variable): Document transition times
19538         from -167:59:59 through -00:00:01.
19539         * time/tzset.c (tz_rule): Time of day is now signed.
19540         (__tzset_parse_tz): Parse negative time of day.
19542         Document TZ transition times >= 25:00:00.
19543         * manual/time.texi (TZ Variable): Document transition times from
19544         25:00:00 through 167:59:59.  These are already supported, and this
19545         support will help with version-3 tz-format files.
19547         * manual/time.texi (TZ Variable): Modernize North America example
19548         to reflect current (i.e., 2007-and-later) daylight saving rules.
19550         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
19552 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19554         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
19555         * sysdeps/unix/bsd/bits/stat.h: Likewise.
19556         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
19557         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
19558         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
19559         * sysdeps/unix/bsd/bsdstat.h: Likewise.
19560         * sysdeps/unix/bsd/clock.c: Likewise.
19561         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
19562         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
19563         * sysdeps/unix/bsd/init-posix.c: Likewise.
19564         * sysdeps/unix/bsd/poll.c: Likewise.
19565         * sysdeps/unix/bsd/ptsname.c: Likewise.
19566         * sysdeps/unix/bsd/seekdir.c: Likewise.
19567         * sysdeps/unix/bsd/setegid.c: Likewise.
19568         * sysdeps/unix/bsd/seteuid.c: Likewise.
19569         * sysdeps/unix/bsd/setgid.c: Likewise.
19570         * sysdeps/unix/bsd/setrgid.c: Likewise.
19571         * sysdeps/unix/bsd/setruid.c: Likewise.
19572         * sysdeps/unix/bsd/setsid.c: Likewise.
19573         * sysdeps/unix/bsd/setuid.c: Likewise.
19574         * sysdeps/unix/bsd/sigaction.c: Likewise.
19575         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
19576         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
19577         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
19578         * sysdeps/unix/bsd/telldir.c: Likewise.
19579         * sysdeps/unix/bsd/times.c: Likewise.
19580         * sysdeps/unix/bsd/usleep.c: Likewise.
19582         * misc/Makefile (install-lib): Remove libbsd-compat.a.
19583         ($(objpfx)libbsd-compat.a): Remove rule.
19585         * include/features.h (__FAVOR_BSD): Do not define.
19586         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
19587         features conflicting with POSIX.
19588         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
19589         (_BSD_SOURCE): Remove description of not being a subset of other
19590         feature test macros.
19591         * manual/job.texi (getpgrp): Do not document BSD version.
19592         (getpgid): Do not document by reference to BSD getpgrp.
19593         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
19594         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
19595         * signal/signal.h [__FAVOR_BSD]: Likewise.
19596         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
19597         instead of making contents conditional on [__FAVOR_BSD].
19598         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
19600 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19604 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
19606         [BZ #16314]
19607         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
19608         values below 2**-450, not 2**-500.
19609         * math/auto-libm-test-in: Don't allow spurious underflow from
19610         hypot.
19611         * math/auto-libm-test-out: Regenerated.
19613         [BZ #16316]
19614         [BZ #16330]
19615         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
19616         values of ha and hb and sort them after adjusting subnormal
19617         arguments.
19618         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
19619         Likewise.
19620         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
19621         values of ea and eb and sort them after adjusting subnormal
19622         arguments.
19623         * math/auto-libm-test-in: Do not expect some hypot tests of
19624         subnormals to fail.  Add more hypot tests.
19625         * math/auto-libm-test-out: Regenerated.
19627 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19629         [BZ #13304]
19630         * sysdeps/sh/s_fma.c: New file.
19631         * sysdeps/sh/s_fmaf.c: New file.
19632         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
19633         version.
19634         * sysdeps/sh/Implies: Add sh/soft-fp.
19636 2013-12-16  Roland McGrath  <roland@hack.frob.com>
19638         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
19639         level of indirection to members `objname', `errstring', `malloced'.
19640         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
19641         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
19642         it as the __longjmp argument (just pass 1 instead).
19643         (_dl_catch_error): Initialize C with argument pointers and address of
19644         volatile local ERRCODE rather than copying values out of C at return.
19646 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
19648         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
19649         * math/auto-libm-test-out: Regenerated.
19650         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
19651         (hypot_test_data): Likewise.
19652         (pow_test_data): Likewise.
19653         (pow_tonearest_test_data): Likewise.
19654         * math/gen-auto-libm-tests.c (func_calc_method): Add value
19655         mpfr_ff_f.
19656         (func_calc_desc): Add mpfr_ff_f union field.
19657         (FUNC_mpfr_ff_f): New macro.
19658         (test_functions): Add atan2, hypot and pow.
19659         (special_fill_min): New function.
19660         (special_fill_minus_min): Likewise.
19661         (special_fill_min_subnorm): Likewise.
19662         (special_fill_minus_min_subnorm): Likewise.
19663         (special_real_inputs): Add min, -min, min_subnorm and
19664         -min_subnorm.
19665         (calc_generic_results): Handle mpfr_ff_f.
19666         * sysdeps/i386/fpu/libm-test-ulps: Update.
19667         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19669 2013-12-16  Will Newton  <will.newton@linaro.org>
19671         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
19672         (Aligned Memory Blocks): Add documentation for aligned_alloc
19673         and suggest it as an alternative to posix_memalign.
19674         (Hooks for Malloc): Document __memalign_hook is also called
19675         for aligned_alloc.  (Summary of Malloc): Add summary for
19676         aligned alloc.  Document __memalign_hook is also called
19677         for aligned_alloc.
19679 2013-12-16  Will Newton  <will.newton@linaro.org>
19681         * manual/memory.texi (Malloc Examples): Clarify default
19682         alignment documentation.  Suggest posix_memalign rather
19683         than memalign or valloc.
19684         (Aligned Memory Blocks): Remove suggestion to use memalign
19685         or valloc.  Remove obsolete comment about BSD.
19686         Document memalign errno values and mark the function obsolete.
19687         Document posix_memalign returned error codes.  Mark valloc
19688         as obsolete.  (Hooks for Malloc): __memalign_hook is also
19689         called for posix_memalign and valloc.
19690         (Summary of Malloc): Add posix_memalign to function summary.
19691         __memalign_hook is also called for posix_memalign and valloc.
19693 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
19695         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
19696         TAYLOR_SIN.
19697         (__sin): Adjust.
19698         (__cos): Likewise.
19699         (sloww): Use mynumber union.  Expand ternary operator into
19700         if-else statements.
19701         (cslow): use mynumber union.
19703 2013-12-16  Allan McRae  <allan@archlinux.org>
19705         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
19706         * configure: Regenerated.
19708         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
19710         [BZ #14120]
19711         * configure.ac: Added --enable-maintainer-mode. Check for
19712         autoconf when enabled.
19713         * configure: Regenerated.
19715         * nscd/nscd.service: New file.
19716         * nscd/nscd.tmpfiles: New file.
19718 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
19720         [BZ #12100]
19721         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
19722         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
19723         * sysdeps/x86_64/multiarch/strstr.c: ... here.
19724         (strstr): Add __strstr_sse2_unaligned ifunc.
19725         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
19726         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
19727         (strcasestr): Remove __strcasestr_sse42 ifunc.
19728         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
19729         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
19730         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
19732 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
19734         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
19735         * sysdeps/sh/bits/fenv.h: ... here.
19736         * sysdeps/sh/sh4/fpu/bits: Remove directory.
19738 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19740         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
19742         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
19743         hypotf multiarch implementations.
19744         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
19745         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
19746         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
19747         multiarch hypot for PPC64.
19748         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
19749         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
19750         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
19751         multiarch hypotf for PPC64.
19753         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
19754         modff multiarch implementations.
19755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
19756         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
19757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
19758         multiarch modf for PPC64.
19759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
19760         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
19761         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
19762         multiarch modff for PPC64.
19764         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
19765         and logl multiarch implementations.
19766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
19767         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
19768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
19769         multiarch logb for PPC64.
19770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
19771         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
19772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
19773         multiarch logb for PPC64.
19774         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
19775         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
19776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
19777         multiarch logb for PPC64.
19779         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
19780         isinff multiarch implementation.
19781         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
19782         file.
19783         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
19784         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
19785         multiarch isinf for PPC64.
19786         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
19787         file.
19788         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
19789         multiarch isinff for PPC64.
19791         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
19792         finitef multiarch implementation.
19793         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
19794         file.
19795         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
19796         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
19797         multiarch finite for PPC64.
19798         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
19799         file.
19800         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
19801         multiarch finitef for PPC64.
19803         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
19804         lrint multiarch implementation.
19805         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
19806         file.
19807         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
19808         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
19809         multiarch llrint for PPC64.
19810         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
19811         multiarch lrint for PPC64.
19813         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
19814         copysignf multiarch implementation.
19815         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
19816         file.
19817         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
19818         file.
19819         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
19820         multiarch copysign for PPC64.
19821         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
19822         multiarch copysignf for PPC64.
19824         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
19825         multiarch implementation.
19826         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
19827         file.
19828         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
19829         file.
19830         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
19831         file.
19832         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
19833         file.
19834         multiarch llround for PPC64.
19835         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
19836         multiarch trunc for PPC64.
19837         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
19838         multiarch truncf for PPC64.
19840         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
19841         multiarch implementation.
19842         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
19843         file.
19844         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
19845         file.
19846         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
19847         file.
19848         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
19849         file.
19850         multiarch llround for PPC64.
19851         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
19852         multiarch round for PPC64.
19853         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
19854         multiarch roundf for PPC64.
19856         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
19857         multiarch implementation.
19858         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
19859         file.
19860         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
19861         file.
19862         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
19863         file.
19864         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
19865         file.
19866         multiarch llround for PPC64.
19867         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
19868         multiarch floor for PPC64.
19869         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
19870         multiarch floorf for PPC64.
19872         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
19873         multiarch implementation.
19874         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
19875         file.
19876         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
19877         file.
19878         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
19879         file.
19880         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
19881         file.
19882         multiarch llround for PPC64.
19883         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
19884         multiarch ceil for PPC64.
19885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
19886         multiarch ceilf for PPC64.
19888         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
19889         multiarch implementation.
19890         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
19891         file.
19892         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
19893         file.
19894         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
19895         file.
19896         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
19897         multiarch llround for PPC64.
19898         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
19899         multiarch lround for PPC64.
19901         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
19902         multiarch implementation.
19903         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
19904         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
19905         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
19906         file.
19907         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
19908         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
19909         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
19910         multiarch isnan for PPC64.
19911         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
19912         multiarch isnanf for PPC64.
19914         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
19915         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
19916         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
19917         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
19918         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
19919         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
19921         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
19922         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
19923         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
19924         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
19926         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
19927         multiarch implementations.
19928         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19929         (__libc_ifunc_impl_list): Likewise.
19930         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
19931         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
19932         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
19933         multiarch stpcpy for PPC64.
19935         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
19936         multiarch implementations.
19937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19938         (__libc_ifunc_impl_list): Likewise.
19939         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
19940         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
19941         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
19942         multiarch strcpy for PPC64.
19944         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
19945         redefine function name.
19946         (_wordcopy_fwd_dest_aligned): Likewise.
19947         (_wordcopy_bwd_aligned): Likewise.
19948         (_wordcopy_bwd_dest_aligned): Likewise.
19949         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
19950         multiarch implementations.
19951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19952         (__libc_ifunc_impl_list): Likewise.
19953         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
19954         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
19955         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
19956         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
19957         multiarch wcscpy for PPC64.
19959         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
19960         multiarch implementations.
19961         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19962         (__libc_ifunc_impl_list): Likewise.
19963         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
19964         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
19965         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
19966         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
19967         multiarch wcscpy for PPC64.
19969         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
19970         multiarch implementations.
19971         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19972         (__libc_ifunc_impl_list): Likewise.
19973         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
19974         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
19975         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
19976         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
19977         multiarch wcsrchr for PPC64.
19979         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
19980         multiarch implementations.
19981         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19982         (__libc_ifunc_impl_list): Likewise.
19983         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
19984         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
19985         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
19986         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
19987         multiarch wcschr for PPC64.
19989         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
19990         multiarch implementations.
19991         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
19992         (__libc_ifunc_impl_list): Likewise.
19993         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
19994         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
19995         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
19996         multiarch strchrnul for PPC64.
19998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
19999         implementations.
20000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20001         (__libc_ifunc_impl_list): Likewise.
20002         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
20003         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
20004         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
20005         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
20006         strchr for PPC64.
20008         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
20009         implementations.
20010         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20011         (__libc_ifunc_impl_list): Likewise.
20012         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
20013         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
20014         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
20015         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
20016         strncmp for PPC64.
20018         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
20019         multiarch implementations.
20020         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20021         (__libc_ifunc_impl_list): Likewise.
20022         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
20023         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
20024         strncasecmp for PPC64.
20025         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
20026         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
20027         multiarch strncasecmp_l for PPC64.
20029         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
20030         multiarch implementations.
20031         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20032         (__libc_ifunc_impl_list): Likewise.
20033         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
20034         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
20035         multiarch strcasecmp for PPC64.
20036         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
20037         file.
20038         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
20039         multiarch strcasecmp_l for PPC64.
20041         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
20042         implementations.
20043         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20044         (__libc_ifunc_impl_list): Likewise.
20045         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
20046         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
20047         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
20048         strnlen for PPC64.
20050         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
20051         implementations.
20052         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20053         (__libc_ifunc_impl_list): Likewise.
20054         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
20055         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
20056         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
20057         strlen for PPC64.
20059         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
20060         implementations.
20061         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20062         (__libc_ifunc_impl_list): Likewise.
20063         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
20064         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
20065         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
20066         rawmemrchr for PPC64.
20068         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
20069         implementation.
20070         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20071         (__libc_ifunc_impl_list): Likewise.
20072         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
20073         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
20074         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
20075         memrchr for PPC64.
20077         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
20078         implementation.
20079         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20080         (__libc_ifunc_impl_list): Likewise.
20081         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
20082         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
20083         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
20084         memchr for PPC64.
20086         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
20087         implementation.
20088         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20089         (__libc_ifunc_impl_list): Likewise.
20090         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
20091         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
20092         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
20093         mempcpy for PPC64.
20095         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
20096         avoid cretion of __bzero symbol.
20097         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
20098         Likewise.
20099         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
20100         Likewise.
20101         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
20102         Likewise.
20103         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
20104         multiarch implementations.
20105         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20106         (__libc_ifunc_impl_list): Likewise.
20107         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
20108         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
20109         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
20110         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
20111         bzero for PPC32.
20112         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
20113         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
20114         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
20115         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
20116         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
20117         memset for PPC64.
20118         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
20120         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
20121         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
20122         implementations.
20123         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
20124         (__libc_ifunc_impl_list): Likewise.
20125         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
20126         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
20127         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
20128         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
20129         memcmp for PPC64.
20131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
20132         multiarch for POWER/PPC64.
20133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
20134         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
20135         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
20136         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
20137         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
20138         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
20139         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
20140         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
20141         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
20142         memcpy for PPC64.
20144         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
20145         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
20146         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
20147         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
20148         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
20149         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
20150         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
20151         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
20152         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
20153         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
20154         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
20155         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
20156         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
20157         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
20158         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
20159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
20160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
20162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
20163         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
20164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
20165         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
20167 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20169         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
20171 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
20173         * benchtests/Makefile (bench): Add exp2 and log2.
20174         (LDLIBS-bench-exp2): Add -lm.
20175         (LDLIBS-bench-log2): Likewise.
20176         * benchtests/exp2-inputs: New inputs file.
20177         * benchtests/log2-inputs: New inputs file.
20178         * benchtests/log-inputs: Add new inputs.
20179         * benchtests/tan-inputs: Likewise.
20181 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20183         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
20184         definition...
20185         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
20186         (csloww2): ... from here.
20188         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
20189         instead of structures.
20190         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
20191         (POLYNOMIAL): Likewise.
20192         (TAYLOR_SLOW): Likewise.
20193         (__sin): Likewise.
20194         (__cos): Likewise.
20195         (slow1): Likewise.
20196         (slow2): Likewise.
20197         (sloww): Likewise.
20198         (sloww1); Likewise.
20199         (sloww2): Likewise.
20200         (bsloww1): Likewise.
20201         (bsloww2): Likewise.
20202         (cslow2): Likewise.
20203         (csloww): Likewise.
20204         (csloww1): Likewise.
20205         (csloww2): Likewise.
20207 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
20209         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
20210         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
20211         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
20212         * malloc/hooks.c (realloc_check): Likewise.
20214         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
20215         * malloc/arena.c: Remove PER_THREAD conditional.
20216         [!PER_THREAD]: Remove code.
20217         (ptmalloc_unlock_all2): Likewise.
20218         (ptmalloc_init): Likewise.
20219         (_int_new_arena): Likewise.
20220         (arena_get2): Likewise.
20221         * malloc/hooks.c (__malloc_get_state): Likewise.
20222         (__malloc_set_state): Likewise.
20223         * malloc/malloc.c: Likewise.
20224         (struct malloc_state): Likewise.
20225         (struct malloc_par): Likewise.
20226         (__libc_realloc): Likewise.
20227         (__libc_mallopt): Likewise.
20229 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20231         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
20233 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
20235         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
20236         macro to a function.  Check for zero perturb_byte.
20237         (_int_malloc, _int_free): Remove zero perturb_byte checks.
20239         * malloc/malloc.c: (force_reg): Remove.
20240         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
20241         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
20242         force_reg by atomic_forced_read.
20243         * malloc/arena.c (ptmalloc_init): Likewise.
20244         * malloc/hooks.c (top_check): Likewise.
20246 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20248         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20250 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
20252         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20254 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
20256         * math/auto-libm-test-in: Add tests of lgamma.
20257         * math/auto-libm-test-out: Regenerated.
20258         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
20259         (M_LOG_2_SQRT_PIl): Likewise.
20260         (lgamma_test_data): Use AUTO_TESTS_f_f1.
20261         * math/gen-auto-libm-tests.c (func_calc_method): Add value
20262         mpfr_f_f1.
20263         (func_calc_desc): Add mpfr_f_f1 union field.
20264         (ARGS1): New macro.
20265         (ARGS2): Likewise.
20266         (ARGS3): Likewise.
20267         (ARGS4): Likewise.
20268         (RET1): Likewise.
20269         (RET2): Likewise.
20270         (CALC): Likewise.
20271         (FUNC): Likewise.
20272         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
20273         (test_functions): Add lgamma.
20274         (calc_generic_results): Handle mpfr_f_f1.
20275         * sysdeps/i386/fpu/libm-test-ulps: Update.
20276         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20278 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20280         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
20281         __mpn_add_n for PowerPC64/POWER7.
20282         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
20283         __mpn_sub_n for PowerPC64/POWER7.
20285         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
20286         __mpn_addmul_1 for PowerPC64.
20287         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
20288         __mpn_submul_1 for PowerPC64.
20289         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
20290         for PowerPC64.
20291         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
20292         for PowerPC64.
20294 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
20296         [BZ #15089]
20297         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
20299 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20301         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
20303         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
20304         add multiarch folders.
20305         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
20306         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
20307         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
20308         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
20309         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
20310         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
20311         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
20312         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
20313         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
20314         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
20315         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
20316         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
20317         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
20318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
20319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
20320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
20321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
20323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20324         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
20325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
20326         New file.
20327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
20328         New file.
20329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
20330         multiarch __ieee754_hypot for PowerPC32.
20331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
20332         New file.
20333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
20334         New file.
20335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
20336         multiarch __ieee754_hypotf for PowerPC32.
20338         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
20339         long_double_symbol only if __logbl is defined.
20340         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
20341         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
20342         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
20343         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
20344         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
20345         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
20346         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
20347         path for implementation.
20348         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
20349         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
20350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
20351         logb, and logbl multiarch implementations for PowerPC32.
20352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
20353         file.
20354         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
20355         file.
20356         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
20357         multiarch logb for PowerPC32.
20358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
20359         file.
20360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
20361         file.
20362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
20363         multiarch logbf for PowerPC32.
20364         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
20365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
20366         file.
20367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
20368         multiarch logbl implementation for PowerPC32.
20370         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
20371         and modff multiarch implementations.
20372         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
20373         New file.
20374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
20375         New file.
20376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
20377         multiarch modf for PowerPC32.
20378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
20379         New file.
20380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
20381         New file.
20382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
20383         multiarch modff for PowerPC32.
20385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
20386         and lrintf multiarch implementations.
20387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
20388         New file.
20389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
20390         New file.
20391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
20392         multiarch lrint for PowerPC32.
20393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
20394         file: multiarch lrintf for PowerPC32.
20396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
20397         and lroundf multiarch implementations.
20398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
20399         New file.
20400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
20401         New file.
20402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
20403         New file.
20404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
20405         multiarch lround for PowerPC32.
20406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
20407         file: multiarch lroundf for PowerPC32.
20409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
20410         copysign and copysignf multiarch implementations.
20411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
20412         New file.
20413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
20414         New file.
20415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
20416         file: multiarch copysign for PowerPC32.
20417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
20418         file: multiarch copysignf for PowerPC32.
20420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
20421         and truncf multiarch implementations.
20422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
20423         New file.
20424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
20425         file.
20426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
20427         multiarch trunc for PowerPC32.
20428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
20429         New file.
20430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
20431         New file.
20432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
20433         multiarch truncf for PowerPC32.
20435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
20436         and roundf multiarch implementations.
20437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
20438         New file.
20439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
20440         file.
20441         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
20442         multiarch round for PowerPC32.
20443         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
20444         New file.
20445         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
20446         New file.
20447         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
20448         multiarch roundf for PowerPC32.
20450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
20451         and floorf multiarch implementations.
20452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
20453         New file.
20454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
20455         file.
20456         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
20457         multiarch floor for PowerPC32.
20458         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
20459         New file.
20460         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
20461         New file.
20462         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
20463         multiarch floorf for PowerPC32.
20465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
20466         and ceilf multiarch implementations.
20467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
20468         New file.
20469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
20470         file.
20471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
20472         multiarch ceil for PowerPC32.
20473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
20474         New file.
20475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
20476         file.
20477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
20478         multiarch ceilf for PowerPC32.
20480         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
20481         is defined.
20482         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
20483         FINITEF is defined.
20484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
20485         and finitef multiarch implementations.
20486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
20487         New file.
20488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
20489         file.
20490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
20491         multiarch finite for PowerPC32.
20492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
20493         New file.
20494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
20495         file: multiarch finitef for PowerPC32.
20497         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
20498         and isinff multiarch implementations.
20499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
20500         file.
20501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
20502         file.
20503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
20504         multiarch isinf for PowerPC32.
20505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
20506         New file.
20507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
20508         multiarch isinff for PowerPC32.
20510         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
20511         alias when __isnan is defined.
20512         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
20513         and isnanf multiarch implementations.
20514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
20515         file.
20516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
20517         file.
20518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
20519         file.
20520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
20521         file.
20522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
20523         multiarch isnan for PowerPC32.
20524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
20525         New file.
20526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
20527         New file.
20528         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
20529         multiarch isnanf for PowerPC32.
20531         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
20532         and sqrtf multiarch implementations.
20533         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
20534         file.
20535         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
20536         file.
20537         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
20538         multiarch sqrt for PowerPC32.
20539         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
20540         file.
20541         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
20542         file.
20543         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
20544         multiarch sqrtf for PowerPC32.
20546         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
20547         and llroundf multiarch implementations.
20548         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
20549         New file.
20550         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
20551         New file.
20552         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
20553         New file.
20554         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
20555         file: multiarch llround for PowerPC32.
20556         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
20557         file: multiarch llroundf for PowerPC32.
20559         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
20560         multiarch PowerPC32 fpu implementations.
20561         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
20562         New file.
20563         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
20564         New file.
20565         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
20566         multiarch llrint for PowerPC32.
20567         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
20568         New file.
20569         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
20570         New file.
20571         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
20572         file.
20574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
20576         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
20577         file.
20578         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
20579         file.
20580         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
20581         file.
20582         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
20583         multiarch wordcopy for PPC32.
20584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20585         wordcopy objects.
20586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20587         (__libc_ifunc_impl_list): Likewise.
20588         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
20589         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
20590         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
20591         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
20592         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
20593         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
20595         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
20596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
20597         file.
20598         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
20599         file.
20600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
20601         file.
20602         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
20603         multiarch wcscpy for PPC32.
20604         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
20605         multiarch objects.
20606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20607         (__libc_ifunc_impl_list): Likewise.
20608         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20609         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20610         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
20611         sysdeps/powerpc/power6/wcscpy.c.
20613         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
20614         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
20615         file.
20616         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
20617         file.
20618         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
20619         file.
20620         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
20621         multiarch wcsrchr for PPC32.
20622         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20623         multiarch objects.
20624         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20625         (__libc_ifunc_impl_list): Likewise.
20626         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
20627         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
20628         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
20629         sysdeps/powerpc/power6/wcsrchr.c.
20631         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
20632         file.
20633         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
20634         file.
20635         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
20636         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
20637         multiarch wcschr for PPc32.
20638         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
20639         multiarch objects.
20640         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20641         (__libc_ifunc_impl_list): Likewise.
20642         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
20643         * sysdeps/powerpc/power6/wcschr.c: ... to here.
20644         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
20645         sysdeps/powerpc/power6/wcschr.c.
20647         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
20648         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
20649         file.
20650         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
20651         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
20652         file: multiarch strchr for PPC32.
20653         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
20654         multiarch objects.
20655         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20656         (__libc_ifunc_impl_list): Likewise.
20658         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
20659         name.
20660         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
20661         file.
20662         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
20663         file.
20664         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
20665         multiarch strchrnul for PPC32.
20666         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
20667         multiarch objects.
20668         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20669         (__libc_ifunc_impl_list): Likewise.
20671         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
20672         file.
20673         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
20674         multiarch strncasecmp for PPC32.
20675         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
20676         file.
20677         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
20678         multiarch strncasecmp_l for PPC32.
20679         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
20680         strncasecmp multiarch objects.
20681         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20682         (__libc_ifunc_impl_list): Likewise.
20684         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
20685         file.
20686         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
20687         multiarch strncasecmp for PPC32.
20688         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
20689         New file.
20690         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
20691         multiarch strcasecmp_l for PPC32.
20692         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
20693         multiarch objects.
20694         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20695         (__libc_ifunc_impl_list): Likewise.
20697         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
20698         file.
20699         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
20700         file.
20701         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
20702         multiarch strncmp for PPC32.
20703         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
20704         multiarch objects.
20705         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20706         (__libc_ifunc_impl_list): Likewise.
20708         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
20709         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
20710         file.
20711         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
20712         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
20713         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
20714         multiarch objects.
20715         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20716         (__libc_ifunc_impl_list): Likewise.
20718         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
20719         file.
20720         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
20721         file.
20722         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
20723         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
20724         multiarch objects.
20725         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20726         (__libc_ifunc_impl_list): Likewise.
20728         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
20729         file.
20730         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
20731         file.
20732         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
20733         multiarch rawmemchr for PPC32.
20734         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
20735         multiarch objects.
20736         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20737         (__libc_ifunc_impl_list): Likewise.
20739         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
20740         file.
20741         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
20742         file.
20743         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
20744         file: memrchr multiarch for PPC32.
20745         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
20746         multiarch objects.
20747         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
20748         (__libc_ifunc_impl_list): Likewise.
20750         * string/memchr.c (__memchr): Using macro to redefine symbol name.
20751         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
20752         file.
20753         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
20754         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
20755         multiarch memchr for PPC32.
20756         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
20757         multiarch objects.
20758         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20759         (__libc_ifunc_impl_list): Likewise.
20761         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
20762         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
20763         file.
20764         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
20765         file.
20766         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
20767         file: multiarch mempcpy for PPC32.
20768         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
20769         multiarch objects.
20770         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20771         (__libc_ifunc_impl_list): Likewise.
20773         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
20774         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
20775         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
20776         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
20777         multiarch bzero for PPC32.
20778         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
20779         file.
20780         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
20781         file.
20782         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
20783         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
20784         file: multiarch memset for PPC32.
20785         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
20786         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
20787         memset multiarch objects.
20788         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20789         (__libc_ifunc_impl_list): Likewise.
20791         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
20792         file.
20793         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
20794         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
20795         memcmp for PPC32.
20796         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
20797         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
20798         multiarch objects.
20799         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20800         (__libc_ifunc_impl_list): Likewise.
20802         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
20803         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
20804         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
20805         file.
20806         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
20807         file.
20808         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
20809         file.
20810         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
20811         multiarch memcpy for PPC32.
20812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
20813         multiarch objects.
20814         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
20815         (__libc_ifunc_impl_list): Likewise.
20817         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
20818         support multiarch for POWER/PPC32.
20819         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
20820         Likewise.
20821         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
20822         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
20823         Implies file to make multiarch folder appers before the fpu and
20824         default folder for power4 configuration.
20826 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20828         * scripts/bench.pl: Append volatile keyword to type.
20830 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20832         * sysdeps/sh/sotruss-lib.c: New file.
20833         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
20835 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20837         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20839 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
20841         [BZ #6810]
20842         * math/w_tgamma.c: Include <errno.h>.
20843         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
20844         * math/w_tgammaf.c: Include <errno.h>.
20845         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
20846         * math/w_tgammal.c: Include <errno.h>.
20847         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
20848         * math/auto-libm-test-in: Do not allow missing errno on tgamma
20849         underflow.  Add more tgamma tests.
20850         * math/auto-libm-test-out: Regenerated.
20851         * sysdeps/i386/fpu/libm-test-ulps: Update.
20852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20854         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
20855         sin, sinh, tan, tanh, tgamma, y0 and y1.
20856         * math/auto-libm-test-out: Regenerated.
20857         * math/libm-test.inc (TEST_COND_x86_64): New macro.
20858         (TEST_COND_x86): Likewise.
20859         (M_E2l): Remove macro.
20860         (M_E3l): Likewise.
20861         (M_2_SQRT_PIl): Likewise.
20862         (M_SQRT_PIl): Likewise.
20863         (M_1_DIV_El): Likewise.
20864         (log_test_data): Use AUTO_TESTS_f_f.
20865         (log10_test_data): Likewise.
20866         (log1p_test_data): Likewise.
20867         (log2_test_data): Likewise.
20868         (sin_test_data): Likewise.
20869         (sin_tonearest_test_data): Likewise.
20870         (sin_towardzero_test_data): Likewise.
20871         (sin_downward_test_data): Likewise.
20872         (sin_upward_test_data): Likewise.
20873         (sinh_test_data): Likewise.
20874         (sinh_tonearest_test_data): Likewise.
20875         (sinh_towardzero_test_data): Likewise.
20876         (sinh_downward_test_data): Likewise.
20877         (sinh_upward_test_data): Likewise.
20878         (tan_test_data): Likewise.
20879         (tan_tonearest_test_data): Likewise.
20880         (tan_towardzero_test_data): Likewise.
20881         (tan_downward_test_data): Likewise.
20882         (tan_upward_test_data): Likewise.
20883         (tanh_test_data): Likewise.
20884         (tgamma_test_data): Likewise.
20885         (y0_test_data): Likewise.
20886         (y1_test_data): Likewise.
20887         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
20888         (special_real_inputs): Add pi/4.
20889         * sysdeps/i386/fpu/libm-test-ulps: Update.
20890         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20892 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20894         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
20895         "longjmp_target" static probes.
20896         (__longjmp): Rename to __longjmp_symbol.
20897         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
20898         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
20899         on which longjmp to generate.
20900         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
20901         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
20902         probe.
20903         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20904         (__sigjmp_save): Rename to __sigjmp_save_symbol.
20905         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
20906         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
20907         and __sigjmp_save_symbol based on which sigsetjmp to generated.
20908         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
20909         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
20910         __longjmp_symbol based on which __longjmp to generate.
20911         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
20912         probe.
20913         (setjmp): Rename to setjmp_symbol.
20914         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20915         (_setjmp): Rename to _setjmp_symbol.
20916         (__sigsetjmp): Rename to __sigsetjmp_symbol.
20917         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
20918         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
20919         which setjmp to generate.
20920         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
20921         "longjmp_target" static probes.
20923 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
20925         * benchtests/README: Add note about output arguments.
20926         * benchtests/bench-sincos.c: Remove file.
20927         * benchtests/sincos-inputs: New file.
20928         * scripts/bench.pl: Identify output arguments and define
20929         static variables for them.
20931         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
20933         [BZ #15941]
20934         * Makefile (INSTALL): Add install-plain.texi as the primary
20935         dependency.
20936         * manual/install-plain.texi: New file.
20937         * manual/install.texi: Include node directive only for
20938         non-plaintext output.
20940 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
20942         * stdlib/longlong.h: Update from GCC.
20944         [BZ #6807]
20945         [BZ #15901]
20946         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
20947         * math/w_j0f.c (y0f): Likewise.
20948         * math/w_j0l.c (__y0l): Likewise.
20949         * math/w_j1.c (y1): Likewise.
20950         * math/w_j1f.c (y1f): Likewise.
20951         * math/w_j1l.c (__y1l): Likewise
20952         * math/w_jn.c (yn): Likewise.
20953         * math/w_jnf.c (ynf): Likewise.
20954         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
20955         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
20956         value for Bessel function domain errors outside _SVID_ mode.
20957         Adjust sign of return value for yn (negative integer, 0).
20958         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
20959         by zero in return for negative x and set sign appropriately for
20960         negative n.
20961         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
20962         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
20963         * math/libm-test.inc (y0_test_data): Add more tests and adjust
20964         expectations in error cases.
20965         (y1_test_data): Likewise.
20966         (yn_test_data): Likewise.
20967         * sysdeps/i386/fpu/libm-test-ulps: Update.
20968         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20970 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20972         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
20973         "64" to "64-v1".  Add "64-v2".
20974         (abi-64-options): Rename to ...
20975         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
20976         (abi-64-condition): Rename to ...
20977         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
20978         (abi-64-ld-soname): Rename to ...
20979         (abi-64-v1-ld-soname): ... this.
20980         (abi-64-v2-options): Define.
20981         (abi-64-v2-condition): Likewise.
20982         (abi-64-v2-ld-soname): Likewise.
20983         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
20984         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
20985         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
20986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
20987         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
20989 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
20990             Alan Modra  <amodra@gmail.com>
20992         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
20993         New versions for use with the ELFv2 ABI.
20994         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
20995         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
20996         declaration.
20997         (struct La_ppc64v2_retval): Likewise.
20998         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
20999         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
21000         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
21001         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
21002         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
21003         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
21004         Do not save or restore CR.
21005         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
21006         (_dl_profile_resolve): Do no save or restore CR.  Support extended
21007         return values for ELFv2 ABI.  Fix location of FPR return registers.
21008         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
21009         updated values for _CALL_ELF == 2.
21010         (La_regs, La_retval, int_retval): Likewise.
21012 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21014         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
21015         (FRAME_MIN_SIZE_PARM): Likewise.
21016         (FRAME_BACKCHAIN): Likewise.
21017         (FRAME_CR_SAVE): Likewise.
21018         (FRAME_LR_SAVE): Likewise.
21019         (FRAME_TOC_SAVE): Likewise.
21020         (FRAME_PARM_SAVE): Likewise.
21021         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
21022         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
21023         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21024         (call_mcount_parm_offset): New macro.
21025         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
21026         (PROF): Use symbolic stack frame offsets.
21027         (TAIL_CALL_SYSCALL_ERROR): Likewise.
21028         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
21029         Redefine in terms of FRAME_MIN_SIZE.
21030         (_dl_runtime_resolve): Use symbolic stack frame offsets.
21031         (_dl_profile_resolve): Likewise.  Update comment.
21032         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
21033         symbols stack frame offsets.
21034         (__sigsetjmp): Likewise.
21035         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
21036         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
21037         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
21038         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
21040         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
21041         (FRAME_BACKCHAIN): Remove.
21042         (FRAME_CR_SAVE): Likewise.
21043         (FRAME_LR_SAVE): Likewise.
21044         (FRAME_COMPILER_DW): Likewise.
21045         (FRAME_LINKER_DW): Likewise.
21046         (FRAME_TOC_SAVE): Likewise.
21047         (FRAME_PARM_SAVE): Likewise.
21048         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
21049         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
21050         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
21051         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
21052         (CHECK_SP): Use symbolic stack frame offsets.
21053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
21054         zone" instead of caller's parameter save area for temp storage.
21055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21056         Likewise.  Also, use symbolic stack frame offsets.
21057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
21058         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
21059         our own stack frame instead of the caller's.
21060         (__socket): Use symbolic stack frame offsets.
21062 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21063             Alan Modra  <amodra@gmail.com>
21065         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
21066         Define.
21067         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
21068         (PPC64_LOCAL_ENTRY_OFFSET): Define.
21069         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
21070         New function.
21071         (elf_machine_fixup_plt): Call it.
21072         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
21073         reloc arguments.
21074         (elf_machine_rela): Update call to elf_machine_plt_conflict.
21075         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21076         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
21077         r2 before calling target.
21079 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21080             Alan Modra  <amodra@gmail.com>
21082         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
21083         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
21084         versions of macros to support ELFv2 ABI.
21085         (LOCALENTRY): New macro.
21086         (ENTRY, EALIGN): Use it.
21087         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
21088         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
21089         fall through into ENTRY entry point.
21090         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
21091         Only define if _CALL_ELF != 2.
21093         (elf_machine_matches_host): Verify ABI version matches.
21094         (RTLD_START): Use LOCALENTRY.
21095         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
21096         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
21097         (PLT_ENTRY_WORDS): New macro.
21098         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
21099         (elf_machine_runtime_setup): Support ELFv2 ABI.
21100         (elf_machine_fixup_plt): Likewise.
21101         (elf_machine_plt_conflict): Likewise.
21102         (resolve_ifunc): Likewise.
21103         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
21104         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
21105         Likewise.
21106         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
21107         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
21108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21109         (makecontext): Support ELFv2 ABI.
21110         * elf/elf.h (EF_PPC64_ABI): Define.
21112 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21114         * sysdeps/powerpc/powerpc64/sysdep.h
21115         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
21116         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
21117         (ENTRY) [ASSEMBLER]: ... but instead here ...
21118         (EALIGN) [ASSEMBLER]: ... and here.
21119         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
21120         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
21121         (ENTRY_2) [!ASSEMBLER]: Use it.
21122         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
21123         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
21124         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
21125         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
21126         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
21127         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
21128         Use PPC64_LOAD_FUNCPTR.
21130         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
21132 2013-12-04  Alan Modra  <amodra@gmail.com>
21134         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
21135         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
21136         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
21137         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
21139         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
21140         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
21141         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
21142         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
21143         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
21144         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
21146 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
21148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
21149         (__makecontext): Fix incorrect CFI when backtracing out of
21150         context created via makecontext.
21151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
21152         (__setcontext): Fix incorrect CFI during switch to new context.
21153         (__novec_setcontext): Likewise.
21155 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
21157         [BZ #4772]
21158         * time/strptime_l.c (__strptime_internal): Allow modifiers
21159         in strptime.
21160         * time/tst-strptime.c (day_tests): Add testcase.
21162 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21164         * scripts/bench.pl: Skip over blank lines.
21166 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
21168         [BZ #926]
21169         * manual/time.texi (Calendar Time): Clarify what timezone functions
21170         use.
21172 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21174         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21176 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
21178         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
21179         implementation.
21180         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
21181         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
21182         * debug/memset_chk.c (__memset_chk): Likewise.
21183         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
21184         * debug/strncpy_chk.c: Likewise.
21186 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21188         [BZ #15268]
21189         [BZ #15425]
21190         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
21191         (__ieee754_exp): For possibly underflowing results, check size of
21192         result and force underflow exception if required.
21193         * math/auto-libm-test-in: Add more tests of exp.
21194         * math/auto-libm-test-out: Regenerated.
21195         * sysdeps/i386/fpu/libm-test-ulps: Update.
21196         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21198         [BZ #16283]
21199         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
21200         * math/w_exp2f.c (__exp2f): Likewise.
21201         * math/w_exp2l.c (__exp2l): Likewise.
21202         * math/auto-libm-test-in: Do not allow missing errno on exp2
21203         underflow.
21204         * math/auto-libm-test-out: Regenerated.
21206 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
21208         [BZ #16274]
21209         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
21210         handle filename validation.
21211         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
21212         (do_open): Delete.
21214 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
21216         [BZ #6786]
21217         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
21218         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
21219         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
21220         <float.h>.
21221         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
21222         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
21223         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21224         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
21225         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21226         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
21227         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
21228         * math/auto-libm-test-in: Don't allow missing errno from erfc.
21229         Add more erfc tests.
21230         * math/auto-libm-test-out: Regenerated.
21231         * sysdeps/i386/fpu/libm-test-ulps: Update.
21232         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21234         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
21235         exp2, expm1, j0 and j1.
21236         * math/auto-libm-test-out: Regenerated.
21237         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
21238         (erfc_test_data): Likewise.
21239         (exp_test_data): Likewise.
21240         (exp_tonearest_test_data): Likewise.
21241         (exp_towardzero_test_data): Likewise.
21242         (exp_downward_test_data): Likewise.
21243         (exp_upward_test_data): Likewise.
21244         (exp10_test_data): Likewise.
21245         (exp2_test_data): Likewise.
21246         (expm1_test_data): Likewise.
21247         (j0_test_data): Likewise.
21248         (j1_test_data): Likewise.
21249         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
21250         (input_flag_type): Add flag_xfail_rounding.
21251         (input_flags): Add xfail-rounding.
21252         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
21253         (output_for_one_input_case): Handle flag_xfail_rounding.
21254         * sysdeps/i386/fpu/libm-test-ulps: Update.
21255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21257 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
21259         [BZ #16289]
21260         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
21261         division by 0.
21263 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
21265         [BZ #16195]
21266         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
21267         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
21268         (STAP_PROBE0): New macro.
21269         (STAP_PROBE1): Likewise.
21270         (STAP_PROBE2): Likewise.
21271         (STAP_PROBE3): Likewise.
21272         (STAP_PROBE4): Likewise.
21274 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
21276         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
21278 2013-12-02  Steve Ellcey  <sellcey@mips.com>
21280         * benchtests/Makefile (bench): Add sqrt.
21281         (LDLIBS-bench-sqrt): New.
21282         * benchtests/sqrt-input: New.
21284 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
21286         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
21287         (GAIH_EAI): Likewise.
21288         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
21289         (gaih_inet): Likewise.
21290         (getaddrinfo): Don't use GAIH_EAI.
21292         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
21293         (struct gaih): Remove definition.
21295 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21297         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
21298         Use HERRNOP directly.
21300 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21302         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21304 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
21306         * math/gen-auto-libm-tests.c (test_functions): Add more
21307         single-argument functions.
21308         (special_fill_pi_2): New function.
21309         (special_fill_minus_pi_2): Likewise.
21310         (special_fill_pi_6): Likewise.
21311         (special_fill_minus_pi_6): Likewise.
21312         (special_fill_pi_3): Likewise.
21313         (special_fill_2pi_3): Likewise.
21314         (special_fill_e): Likewise.
21315         (special_fill_1_e): Likewise.
21316         (special_fill_e_minus_1): Likewise.
21317         (special_real_inputs): Add more special inputs.
21318         (output_for_one_input_case): Do not require ERANGE on underflow to
21319         zero if round-to-nearest result does not underflow to zero, unless
21320         exact results required.
21321         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
21322         atan, atanh, cbrt, cos and cosh.
21323         * math/auto-libm-test-out: Regenerated.
21324         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
21325         (acos_tonearest_test_data): Likewise.
21326         (acos_towardzero_test_data): Likewise.
21327         (acos_downward_test_data): Likewise.
21328         (acos_upward_test_data): Likewise.
21329         (acosh_test_data): Likewise.
21330         (asin_test_data): Likewise.
21331         (asin_tonearest_test_data): Likewise.
21332         (asin_towardzero_test_data): Likewise.
21333         (asin_upward_test_data): Likewise.
21334         (asinh_test_data): Likewise.
21335         (atan_test_data): Likewise.
21336         (atanh_test_data): Likewise.
21337         (cbrt_test_data): Likewise.
21338         (cos_test_data): Likewise.
21339         (cos_tonearest_test_data): Likewise.
21340         (cos_towardzero_test_data): Likewise.
21341         (cos_downward_test_data): Likewise.
21342         (cos_upward_test_data): Likewise.
21343         (cosh_test_data): Likewise.
21344         (cosh_tonearest_test_data): Likewise.
21345         (cosh_towardzero_test_data): Likewise.
21346         (cosh_downward_test_data): Likewise.
21347         (cosh_upward_test_data): Likewise.
21348         * sysdeps/i386/fpu/libm-test-ulps: Update.
21349         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21351 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
21353         [BZ #6787]
21354         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
21355         * math/w_exp10f.c (__exp10f): Likewise.
21356         * math/w_exp10l.c (__exp10l): Likewise.
21357         * math/libm-test.inc (exp10_test_data): Add more tests and expect
21358         errno settings in existing tests.
21360         [BZ #14032]
21361         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
21362         precision control set to double precision.
21363         * sysdeps/i386/fpu/w_sqrt.c: New file.
21364         * math/auto-libm-test-in: Add more tests.
21365         * math/auto-libm-test-out: Update.
21367         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
21368         (sqrt_test_tonearest): New function.
21369         (sqrt_towardzero_test_data): New variable.
21370         (sqrt_test_towardzero): New function.
21371         (sqrt_downward_test_data): New variable.
21372         (sqrt_test_downward): New function.
21373         (sqrt_upward_test_data): New variable.
21374         (sqrt_test_upward): New function.
21375         (main): Call the new functions.
21377         * math/gen-auto-libm-tests.c: New file.
21378         * math/auto-libm-test-in: Likewise.
21379         * math/auto-libm-test-out: New generated file.
21380         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
21381         variables.
21382         (%beautify): Add generated representations of zero.
21383         (top level): Set $auto_input and call parse_auto_input.
21384         (beautify): Remove trailing "f" from hex float constants.
21385         (parse_args): Handle XFAIL_TEST.
21386         (convert_condition): New function.
21387         (or_value): Likewise.
21388         (or_cond_value): Likewise.
21389         (generate_testfile): Handle AUTO_TESTS_* lines.
21390         (parse_auto_input): New function.
21391         * math/libm-test.inc (XFAIL_TEST): New macro.
21392         (ERRNO_UNCHANGED): Update value.
21393         (ERRNO_EDOM): Likewise.
21394         (ERRNO_ERANGE): Likewise.
21395         (IGNORE_RESULT): Likewise.
21396         (TEST_COND_flt_32): New macro.
21397         (TEST_COND_dbl_64): Likewise.
21398         (TEST_COND_ldbl_96_intel): Likewise.
21399         (TEST_COND_ldbl_96_m68k): Likewise.
21400         (TEST_COND_ldbl_128): Likewise.
21401         (TEST_COND_ldbl_128ibm): Likewise.
21402         (TEST_COND_long32): Likewise.
21403         (TEST_COND_long64): Likewise.
21404         (TEST_COND_before_rounding): Likewise.
21405         (TEST_COND_after_rounding): Likewise.
21406         (enable_test): Handle XFAIL_TEST flag.
21407         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
21408         with finite results.
21409         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
21410         auto-libm-test-out.
21412 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21413             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21415         [BZ #16214]
21416         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
21417         __tls_get_addr_internal instead of __tls_get_offset in order to
21418         avoid GOT pointer dependency.  Make rtld export
21419         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
21420         __tls_get_addr since we are a __tls_get_offset platform.
21421         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
21422         GOT pointer being set up before.
21423         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
21425 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
21427         * manual/math.texi (Errors in Math Functions): Document accuracy
21428         goals.
21430         [BZ #15004]
21431         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
21432         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
21433         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
21434         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
21435         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
21436         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
21437         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
21438         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
21439         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
21440         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
21441         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
21442         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
21443         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
21444         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
21445         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
21446         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
21448         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
21449         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
21450         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
21451         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
21452         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
21453         Likewise.
21454         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
21455         Likewise.
21456         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
21457         Likewise.
21458         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
21459         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
21460         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
21461         atomic-feupdateenv and flt-rounds.
21462         * sysdeps/powerpc/nofpu/Versions (libc): Add
21463         __atomic_feholdexcept, __atomic_feclearexcept,
21464         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
21465         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
21466         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
21467         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
21468         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
21469         here.
21470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
21471         Update.
21473         * manual/arith.texi (FP Exceptions): Document that exceptions may
21474         not be raised when matherr is used.
21475         (Math Error Reporting): Document overflow in directed rounding
21476         modes.  Document that errno may not be set when finite values are
21477         returned on overflow.  Document intent to set errno on underflow
21478         only for underflow to zero.
21480         [BZ #16271]
21481         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
21482         round-to-nearest then adjust result for other rounding modes.
21483         * include/fenv.h (fegetround): Use libm_hidden_proto.
21484         * math/fegetround.c (fegetround): Use libm_hidden_def.
21485         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
21486         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
21487         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21488         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
21489         Likewise.
21490         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
21491         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21492         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
21493         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
21495 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21497         [BZ #16077]
21498         * nss/Versions (libnss_files): Add
21499         _nss_files_gethostbyname3_r.
21500         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
21501         New function.
21502         (HOST_DB_LOOKUP): Remove macro.
21503         (_nss_files_gethostbyname_r): Implement function without the
21504         HOST_DB_LOOKUP macro.
21505         (_nss_files_gethostbyname2_r): Likewise.
21507 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
21509         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
21511 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
21513         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
21514         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
21515         warning.
21517 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21519         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
21520         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
21521         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
21522         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
21523         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
21524         __fe_nomask_env_priv and attribute_hidden.
21525         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
21526         (libc_feupdateenv_test_ppc): Likewise.
21527         (libc_feresetround_ppc): Likewise.
21528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
21529         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
21530         compat_symbol macro.
21531         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
21532         (__fe_nomask_env): Likewise.
21533         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
21535 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21537         * string/Makefile: Remove ifunc tests.
21538         * string/test-string.h: Define TEST_IFUNC.
21539         * string/test-bcopy-ifunc.c: Remove.
21540         * string/test-bzero-ifunc.c: Likewise.
21541         * string/test-memccpy-ifunc.c: Likewise.
21542         * string/test-memchr-ifunc.c: Likewise.
21543         * string/test-memcmp-ifunc.c: Likewise.
21544         * string/test-memcpy-ifunc.c: Likewise.
21545         * string/test-memmem-ifunc.c: Likewise.
21546         * string/test-memmove-ifunc.c: Likewise.
21547         * string/test-mempcpy-ifunc.c: Likewise.
21548         * string/test-memrchr-ifunc.c: Likewise.
21549         * string/test-memset-ifunc.c: Likewise.
21550         * string/test-rawmemchr-ifunc.c: Likewise.
21551         * string/test-stpcpy-ifunc.c: Likewise.
21552         * string/test-stpncpy-ifunc.c: Likewise.
21553         * string/test-strcasecmp-ifunc.c: Likewise.
21554         * string/test-strcasestr-ifunc.c: Likewise.
21555         * string/test-strcat-ifunc.c: Likewise.
21556         * string/test-strchr-ifunc.c: Likewise.
21557         * string/test-strchrnul-ifunc.c: Likewise.
21558         * string/test-strcmp-ifunc.c: Likewise.
21559         * string/test-strcpy-ifunc.c: Likewise.
21560         * string/test-strcspn-ifunc.c: Likewise.
21561         * string/test-strlen-ifunc.c: Likewise.
21562         * string/test-strncasecmp-ifunc.c: Likewise.
21563         * string/test-strncat-ifunc.c: Likewise.
21564         * string/test-strncmp-ifunc.c: Likewise.
21565         * string/test-strncpy-ifunc.c: Likewise.
21566         * string/test-strnlen-ifunc.c: Likewise.
21567         * string/test-strpbrk-ifunc.c: Likewise.
21568         * string/test-strrchr-ifunc.c: Likewise.
21569         * string/test-strspn-ifunc.c: Likewise.
21570         * string/test-strstr-ifunc.c: Likewise.
21572 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21574         * benchtests/Makefile: Remove ifunc tests.
21575         * benchtests/bench-string.h: Define TEST_IFUNC.
21576         * benchtests/bench-bcopy-ifunc.c: Remove.
21577         * benchtests/bench-bzero-ifunc.c: Likewise.
21578         * benchtests/bench-memccpy-ifunc.c: Likewise.
21579         * benchtests/bench-memchr-ifunc.c: Likewise.
21580         * benchtests/bench-memcmp-ifunc.c: Likewise.
21581         * benchtests/bench-memcpy-ifunc.c: Likewise.
21582         * benchtests/bench-memmem-ifunc.c: Likewise.
21583         * benchtests/bench-memmove-ifunc.c: Likewise.
21584         * benchtests/bench-mempcpy-ifunc.c: Likewise.
21585         * benchtests/bench-memrchr-ifunc.c: Likewise.
21586         * benchtests/bench-memset-ifunc.c: Likewise.
21587         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
21588         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
21589         * benchtests/bench-stpcpy-ifunc.c: Likewise.
21590         * benchtests/bench-stpncpy-ifunc.c: Likewise.
21591         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
21592         * benchtests/bench-strcasestr-ifunc.c: Likewise.
21593         * benchtests/bench-strcat-ifunc.c: Likewise.
21594         * benchtests/bench-strchr-ifunc.c: Likewise.
21595         * benchtests/bench-strchrnul-ifunc.c: Likewise.
21596         * benchtests/bench-strcmp-ifunc.c: Likewise.
21597         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
21598         * benchtests/bench-strcpy-ifunc.c: Likewise.
21599         * benchtests/bench-strcspn-ifunc.c: Likewise.
21600         * benchtests/bench-strlen-ifunc.c: Likewise.
21601         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
21602         * benchtests/bench-strncat-ifunc.c: Likewise.
21603         * benchtests/bench-strncmp-ifunc.c: Likewise.
21604         * benchtests/bench-strncpy-ifunc.c: Likewise.
21605         * benchtests/bench-strnlen-ifunc.c: Likewise.
21606         * benchtests/bench-strpbrk-ifunc.c: Likewise.
21607         * benchtests/bench-strrchr-ifunc.c: Likewise.
21608         * benchtests/bench-strsep-ifunc.c: Likewise.
21609         * benchtests/bench-strspn-ifunc.c: Likewise.
21610         * benchtests/bench-strstr-ifunc.c: Likewise.
21612 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21614         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
21616 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
21618         * resolv/netdb.h: Use __glibc_reserved instead __unused.
21619         * rt/aio.h: Likewise.
21620         * sysdeps/gnu/bits/utmp.h: Likewise.
21621         * sysdeps/gnu/bits/utmpx.h: Likewise.
21622         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21623         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
21624         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
21625         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
21626         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
21627         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
21628         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
21629         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
21630         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
21631         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
21632         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
21633         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
21634         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
21635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
21636         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
21637         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
21638         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
21639         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
21640         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
21641         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
21642         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
21643         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
21644         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
21645         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
21646         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
21647         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
21648         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
21649         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
21650         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
21651         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
21652         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
21653         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
21654         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
21655         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
21656         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
21657         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
21658         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
21659         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
21660         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
21661         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
21662         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
21663         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
21665 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
21667         [BZ #16245]
21668         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
21669         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
21671 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
21673         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
21674         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
21675         Likewise.
21677 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21679         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
21680         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
21681         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
21682         (__fesetround): Remove define.
21683         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
21684         rounding and exceptions handling.
21685         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
21686         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
21687         (__fe_nomask_env): Likewise.
21688         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
21689         __fegetround instead of fegetround.
21690         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
21691         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
21693 2013-11-21  Roland McGrath  <roland@hack.frob.com>
21695         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
21696         it's there.
21698         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
21700 2013-11-21  Meador Inge  <meadori@codesourcery.com>
21702         [BZ #11157]
21703         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
21704         (encrypt_r): Likewise.
21705         * malloc/obstack.h (obstack_free): Likewise.
21706         * posix/unistd.h (encrypt): Likewise.
21708 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
21710         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
21711         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
21712         DL_CALL_DT_FINI() that call the functions directly.
21713         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
21714         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
21715         * elf/dl-fini.c: Likewise.
21717 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
21719         * malloc/hooks.c (memalign_check): Add alignment rounding.
21720         * malloc/malloc.c (_mid_memalign): New function.
21721         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
21722         Implement by calling _mid_memalign.
21723         * manual/probes.texi (Memory Allocation Probes): Remove
21724         memory_valloc_retry and memory_pvalloc_retry.
21726 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
21728         * locale/programs/locarchive.c (open_archive): Add const
21729         qualifier to ARCHIVEFNAME and copy default fname to
21730         DEFAULT_FNAME.
21732         [BZ #15601]
21733         * libio/tst-widetext.input: Rename Oriya to Odia.
21734         * locale/iso-639.def: Likewise.
21736         * manual/probes.texi (Mathematical Function Probes): Add
21737         documentation for sin, cos, asin and acos probes.
21738         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
21739         (__sin32): Add slowasin probe.
21740         (__cos32): Add slowacos probe.
21741         (__mpsin): Add slowsin probe.
21742         (__mpcos): Add slowcos probe.
21744 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
21746         [BZ #15483]
21747         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
21748         thread-local __sim_exceptions_thread and global
21749         __sim_exceptions_global.
21750         (__sim_disabled_exceptions): Change to thread-local
21751         __sim_disabled_exceptions_thread and global
21752         __sim_disabled_exceptions_global.
21753         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21754         and global __sim_round_mode_global.
21755         (__simulate_exceptions): Use thread-local floating-point state and
21756         set global state from it as needed.
21757         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
21758         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
21759         __sim_round_mode_thread.
21760         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
21761         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
21762         and global __sim_exceptions_global.
21763         (__sim_disabled_exceptions): Change to thread-local
21764         __sim_disabled_exceptions_thread and global
21765         __sim_disabled_exceptions_global.
21766         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
21767         and global __sim_round_mode_global.
21768         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
21769         (SIM_SET_GLOBAL): Likewise.
21770         * sysdeps/powerpc/soft-fp/sfp-machine.h
21771         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
21772         __sim_round_mode_thread.
21773         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
21774         __sim_disabled_exceptions_thread.
21775         (__sim_exceptions): Change to __sim_exceptions_thread.
21776         (__sim_disabled_exceptions): Change to
21777         __sim_disabled_exceptions_thread.
21778         (__sim_round_mode): Change to __sim_round_mode_thread.
21779         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
21780         thread-local floating-point state and set global state from it as
21781         needed.
21782         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
21783         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
21784         (__sim_disabled_exceptions): Remove extern declaration.
21785         (feenableexcept): Use thread-local floating-point state and set
21786         global state from it as needed.
21787         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
21788         extern declaration.
21789         (__sim_disabled_exceptions): Likewise.
21790         (__sim_round_mode): Likewise.
21791         (__fegetenv): Use thread-local floating-point state.
21792         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
21793         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
21794         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
21795         floating-point state and set global state from it as needed.
21796         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
21797         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
21798         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
21799         Likewise.
21800         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
21801         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
21802         Likewise.
21803         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
21804         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
21805         Use __sim_round_mode_thread.
21806         * math/test-fenv-tls.c: New file.
21807         * math/Makefile (tests): Add test-fenv-tls.
21808         ($(objpfx)test-fenv-tls): Depend on
21809         $(common-objpfx)nptl/libpthread.so.
21811 2013-11-19  Andreas Schwab  <schwab@suse.de>
21813         * locale/programs/locale.c (show_info): Decode wordarray elements.
21814         * locale/categories.def (LC_MONETARY): Add element for
21815         _NL_MONETARY_CRNCYSTR.
21816         * locale/C-monetary.c (conversion_rate): New variable.
21817         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
21818         element.
21820 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
21822         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
21823         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
21825 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21827         * elf/Makefile (tst-auxv): New test.
21828         * elf/tst-auxv.c: New
21829         * elf/rtld.c (dl_main): Adjust AT_EXECFN
21831 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
21833         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
21834         (hidden_proto): Caller changed.
21835         (hidden_tls_proto): New macro.
21836         (libc_hidden_tls_proto): Likewise.
21837         (rtld_hidden_tls_proto): Likewise.
21838         (libm_hidden_tls_proto): Likewise.
21839         (libresolv_hidden_tls_proto): Likewise.
21840         (librt_hidden_tls_proto): Likewise.
21841         (libdl_hidden_tls_proto): Likewise.
21842         (libnss_files_hidden_tls_proto): Likewise.
21843         (libnsl_hidden_tls_proto): Likewise.
21844         (libnss_nisplus_hidden_tls_proto): Likewise.
21845         (libutil_hidden_tls_proto): Likewise.
21847 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
21849         [BZ #10253]
21850         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
21851         (decompose_rpath): Defer expansion to fillin_rpath.
21852         (_dl_init_paths): Pass linkmap to fillin_rpath.
21854 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21856         * benchtests/Makefile: Add strsep.
21857         * benchtests/bench-strsep.c: New file: strsep benchtest.
21858         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
21860 2013-11-18  Andreas Schwab  <schwab@suse.de>
21862         * locale/programs/locale.c (show_info) [case byte]: Check for
21863         '\377' instead of '\177'.
21864         * locale/C-monetary.c (not_available): Always use "\377".
21865         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
21866         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
21867         detect unavailable sign_posn locale elements.
21868         * locale/localeconv.c (__localeconv): For grouping and
21869         mon_grouping handle "\177" and "\377" like no grouping.
21870         (INT_ELEM): New macro.  Use it to set all numeric members.
21871         * locale/programs/ld-monetary.c (monetary_read)
21872         <tok_mon_grouping>: Normalize single -1 to the empty string.
21873         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
21874         Likewise.
21876 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
21878         [BZ #16055]
21879         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
21880         when we match (nil).
21881         * stdio-common/tst-sscanf.c (struct test): Add testcase.
21883 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
21885         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
21886         (NO_TEST_INLINE): Update value.
21887         (ERRNO_UNCHANGED): Likewise.
21888         (ERRNO_EDOM): Likewise.
21889         (ERRNO_ERANGE): Likewise.
21890         (IGNORE_RESULT): Likewise.
21891         (check_float_internal): Check signs of NaN results if
21892         TEST_NAN_SIGN used.
21893         (check_complex): Pass TEST_NAN_SIGN flag through to second
21894         check_float_internal call.
21895         (copysign_test_data): Add tests with quiet NaNs as second
21896         argument.  Use TEST_NAN_SIGN.
21897         (fabs_test_data): Add test of negative quiet NaN argument.  Use
21898         TEST_NAN_SIGN.
21899         (signbit_test_data): Add tests of quiet NaN argument.
21900         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
21902         * math/gen-libm-test.pl (show_exceptions): Take extra argument
21903         $ignore_result.
21904         (parse_args): Handle function results specified as IGNORE.
21905         * math/libm-test.inc (IGNORE_RESULT): New macro.
21906         (check_float_internal): Do not check numerical result if flag
21907         IGNORE_RESULT set.
21908         (check_complex): Pass through IGNORE_RESULT to second
21909         check_float_internal call.
21910         (check_int): Do not check numerical result if flag IGNORE_RESULT
21911         set.
21912         (check_long): Likewise.
21913         (check_bool): Likewise.
21914         (check_longlong): Likewise.
21915         (lrint_test_data): Add tests of infinite and NaN arguments.
21916         (lrint_tonearest_test_data): Likewise.
21917         (lrint_towardzero_test_data): Likewise.
21918         (lrint_downward_test_data): Likewise.
21919         (lrint_upward_test_data): Likewise.
21920         (llrint_test_data): Likewise.
21921         (llrint_tonearest_test_data): Likewise.
21922         (llrint_towardzero_test_data): Likewise.
21923         (llrint_downward_test_data): Likewise.
21924         (llrint_upward_test_data): Likewise.
21925         (lround_test_data): Likewise.
21926         (llround_test_data): Likewise.
21928         * math/libm-test.inc (NO_TEST_INLINE): New macro.
21929         (ERRNO_UNCHANGED): Update value.
21930         (ERRNO_EDOM): Likewise.
21931         (ERRNO_ERANGE): Likewise.
21932         (NO_TEST_INLINE_FLOAT): New macro.
21933         (NO_TEST_INLINE_DOUBLE): Likewise.
21934         (enable_test): New function.
21935         (RUN_TEST_f_f): Check enable_test before running test.
21936         (RUN_TEST_2_f): Likewise.
21937         (RUN_TEST_fff_f): Likewise.
21938         (RUN_TEST_c_f): Likewise.
21939         (RUN_TEST_f_f1): Likewise.
21940         (RUN_TEST_fF_f1): Likewise.
21941         (RUN_TEST_fI_f1): Likewise.
21942         (RUN_TEST_ffI_f1): Likewise.
21943         (RUN_TEST_c_c): Likewise.
21944         (RUN_TEST_cc_c): Likewise.
21945         (RUN_TEST_f_i): Likewise.
21946         (RUN_TEST_f_i_tg): Likewise.
21947         (RUN_TEST_ff_i_tg): Likewise.
21948         (RUN_TEST_f_b): Likewise.
21949         (RUN_TEST_f_b_tg): Likewise.
21950         (RUN_TEST_f_l): Likewise.
21951         (RUN_TEST_f_L): Likewise.
21952         (RUN_TEST_fFF_11): Likewise.
21953         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
21954         conditionals.
21955         (cosh_test_data): Likewise.
21956         (exp_test_data): Likewise.
21957         (expm1_test_data): Likewise.
21958         (hypot_test_data): Likewise.
21959         (pow_test_data): Likewise.
21960         (sinh_test_data): Likewise.
21961         (tanh_test_data): Likewise.
21962         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
21963         flags argument.
21965         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
21966         tests with quiet NaN input and output.
21967         (acosh_test_data): Likewise.
21968         (asin_test_data): Likewise.
21969         (asinh_test_data): Likewise.
21970         (atan_test_data): Likewise.
21971         (atanh_test_data): Likewise.
21972         (atan2_test_data): Likewise.
21973         (cbrt_test_data): Likewise.
21974         (cos_test_data): Likewise.
21975         (cosh_test_data): Likewise.
21976         (erf_test_data): Likewise.
21977         (erfc_test_data): Likewise.
21978         (exp_test_data): Likewise.
21979         (exp10_test_data): Likewise.
21980         (exp2_test_data): Likewise.
21981         (expm1_test_data): Likewise.
21982         (hypot_test_data): Likewise.
21983         (j0_test_data): Likewise.
21984         (j1_test_data): Likewise.
21985         (jn_test_data): Likewise.
21986         (lgamma_test_data): Likewise.
21987         (log_test_data): Likewise.
21988         (log10_test_data): Likewise.
21989         (log1p_test_data): Likewise.
21990         (log2_test_data): Likewise.
21991         (pow_test_data): Likewise.
21992         (scalb_test_data): Likewise.
21993         (sin_test_data): Likewise.
21994         (sincos_test_data): Likewise.
21995         (sinh_test_data): Likewise.
21996         (tan_test_data): Likewise.
21997         (tanh_test_data): Likewise.
21998         (tgamma_test_data): Likewise.
21999         (y0_test_data): Likewise.
22000         (y1_test_data): Likewise.
22001         (yn_test_data): Likewise.
22003         [BZ #16167]
22004         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
22005         argument being NaN and avoid computations with second argument in
22006         that case.
22007         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
22008         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
22009         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
22011 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
22013         * locale/iso-639.def: Add Chitwani Tharu (the).
22015 2013-11-14  Andreas Schwab  <schwab@suse.de>
22017         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
22018         word instead of empty string.
22020 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22022         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22023         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
22024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22025         (__fe_nomask_env): Likewise.
22027 2013-11-13  Steve Ellcey  <sellcey@mips.com>
22029         * benchtests/bench-timing.h: Include time.h.
22031 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
22033         [BZ #15997]
22034         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
22035         to 3.4.0 for x32.
22036         * sysdeps/unix/sysv/linux/configure: Regenerated.
22038 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
22040         [BZ #16151]
22041         * stdlib/strtod_l.c (round_and_return): Do not consider
22042         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
22043         exponent one less than half the least subnormal exponent.
22044         * stdlib/test-strtod-round-data: Add more tests.
22045         * stdlib/tst-strtod-round.c (tests): Regenerated.
22047 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22049         [BZ #14143]
22050         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
22051         (__fe_mask_env): Likewise.
22052         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
22053         libm_hidden_proto and add function prototype.
22054         (__fe_mask_env): Add function prototype.
22055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
22056         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
22057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
22058         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
22059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
22060         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
22062 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22064         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
22065         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
22067 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22069         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
22070         of htab_find_slot().
22072 2013-11-11  David S. Miller  <davem@davemloft.net>
22074         [BZ #16150]
22075         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
22076         symbol in the non-vis3 case in static builds.
22077         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
22078         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
22079         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
22080         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
22082 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
22084         [BZ #387]
22085         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
22086         it is empty.
22088 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22090         * benchtests/Makefile: Add bench-strtod.
22091         * benchtests/bench-strtod.c: New file: strtod benchtest
22093 2013-11-11  Andreas Schwab  <schwab@suse.de>
22095         [BZ #16153]
22096         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
22097         terminating NUL in key length.
22099 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22101         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
22102         Add artificial ODP entry for vDSO symbol for PPC64.
22103         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
22104         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
22106 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
22108         [BZ #15374]
22109         * nss/getent.c (services_keys): Recognize services starting with digit.
22111 2013-11-06  David S. Miller  <davem@davemloft.net>
22113         [BZ #15985]
22114         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
22115         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
22117 2013-11-06  Will Newton  <will.newton@linaro.org>
22119         * manual/memory.texi (Malloc Examples): Remove register
22120         keyword from examples.
22122 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
22124         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
22126 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
22128         [BZ #6981]
22129         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
22130         depending on [__GCC_IEC_559 > 0].
22131         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
22132         depending on [__GCC_IEC_559_COMPLEX > 0].
22134 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
22136         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
22137         to iso-639.def.
22139 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
22141         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
22143 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
22145         [BZ #16112]
22146         * malloc/malloc (malloc_info): Do not handle first bin as
22147         special case.
22149 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
22151         * locale/iso-639.def: Add Central Nahuatl (nhn).
22153 2013-11-01  Bruno Haible  <bruno@clisp.org>
22155         [BZ #7003]
22156         * manual/math.texi (BSD Random): Specify range upper bound as
22157         in POSIX.
22159 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
22161         * locale/iso-639.def: Add Meadow Mari (mhr).
22163 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
22165         [BZ #14752], [BZ #15763]
22166         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
22167         Validate name.
22168         * rt/tst_shm.c: Add test for escaping directory.
22170 2013-10-31  Andreas Schwab  <schwab@suse.de>
22172         [BZ #15917]
22173         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
22174         followed by 'x' as part of digit sequence.
22175         * stdio-common/tst-sscanf.c (double_tests2): New tests.
22177 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
22179         [BZ #16037]
22180         * configure.ac: allow GNU Make 4.0 and greater.
22181         * configure: Regenerated.
22183 2013-10-30  Will Newton  <will.newton@linaro.org>
22185         [BZ #16038]
22186         * malloc/hooks.c (memalign_check): Limit alignment to the
22187         maximum representable power of two.
22188         * malloc/malloc.c (__libc_memalign): Likewise.
22189         * malloc/tst-memalign.c (do_test): Add test for very
22190         large alignment values.
22191         * malloc/tst-posix_memalign.c (do_test): Likewise.
22193 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22195         [BZ #11087]
22196         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
22197         (munmap_chunk): Likewise.
22198         (mremap_chunk): Likewise.
22200 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
22202         [BZ #15799]
22203         * stdlib/div.c (div): Remove obsolete code.
22204         * stdlib/ldiv.c (ldiv): Likewise.
22205         * stdlib/lldiv.c (lldiv): Likewise.
22207 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
22209         [BZ #16071]
22210         * nss/nss_files/files-XXX.c (get_contents_ret): New
22211         enumerator.
22212         (get_contents): New function.
22213         (internal_getent): Use it.  Expand size of LINEBUFLEN.
22215 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
22217         * configure.in: Moved to ...
22218         * configure.ac: ... here. Change reference to configure.in
22219         to configure.ac.
22220         * sysdeps/arm/preconfigure.ac: ... here.
22221         configure.in to configure.ac.
22222         * sysdeps/gnu/configure.in: Moved to ...
22223         * sysdeps/gnu/configure.ac: ... here.
22224         * sysdeps/i386/configure.in: Moved to ...
22225         * sysdeps/i386/configure.ac: ... here.
22226         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
22227         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
22228         * sysdeps/mach/configure.in: Moved to ...
22229         * sysdeps/mach/configure.ac: ... here.
22230         * sysdeps/mach/hurd/configure.in: Moved to ...
22231         * sysdeps/mach/hurd/configure.ac: ... here.
22232         * sysdeps/powerpc/configure.in: Moved to ...
22233         * sysdeps/powerpc/configure.ac: ... here.
22234         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
22235         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
22236         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
22237         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
22238         * sysdeps/s390/s390-32/configure.in: Moved to ...
22239         * sysdeps/s390/s390-32/configure.ac: ... here.
22240         * sysdeps/s390/s390-64/configure.in: Moved to ...
22241         * sysdeps/s390/s390-64/configure.ac: ... here.
22242         * sysdeps/sh/configure.in: Moved to ...
22243         * sysdeps/sh/configure.ac: ... here.
22244         * sysdeps/sparc/configure.in: Moved to ...
22245         * sysdeps/sparc/configure.ac: ... here.
22246         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
22247         * sysdeps/unix/sysv/linux/configure.ac: ... here.
22248         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
22249         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
22250         * sysdeps/x86_64/configure.in: Moved to ...
22251         * sysdeps/x86_64/configure.ac: ... here.
22252         * sysdeps/x86_64/preconfigure.in: Moved to ...
22253         * sysdeps/x86_64/preconfigure.ac: ... here.
22254         * aclocal.m4: Change reference to configure.in to configure.ac.
22255         * config.h.in: Likewise.
22256         * manual/install.texi: Likewise.
22257         * manual/maint.texi: Likewise.
22258         * Makefile: Likewise.
22259         * malloc/Makefile: Likewise.
22260         * nscd/Makefile: Likewise.
22261         * Makeconfig: Change reference to configure.in and
22262         preconfigure.in to configure.ac and preconfigure.ac
22263         respectively.
22264         * INSTALL: Regenerated.
22265         * configure: Likewise.
22266         * sysdeps/gnu/configure: Likewise.
22267         * sysdeps/i386/configure: Likewise.
22268         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
22269         * sysdeps/mach/configure: Likewise.
22270         * sysdeps/mach/hurd/configure: Likewise.
22271         * sysdeps/powerpc/configure: Likewise.
22272         * sysdeps/powerpc/powerpc32/configure: Likewise.
22273         * sysdeps/powerpc/powerpc64/configure: Likewise.
22274         * sysdeps/s390/s390-32/configure: Likewise.
22275         * sysdeps/s390/s390-64/configure: Likewise.
22276         * sysdeps/sh/configure: Likewise.
22277         * sysdeps/sparc/configure: Likewise.
22278         * sysdeps/unix/sysv/linux/configure: Likewise.
22279         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
22280         * sysdeps/x86_64/configure: Likewise.
22281         * sysdeps/x86_64/preconfigure: Likewise.
22283 2013-10-29  Andreas Schwab  <schwab@suse.de>
22285         * stdio-common/Makefile (tst-swscanf-ENV): Define.
22287 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22289         * benchtests/pow-inputs: Add new inputs.
22291         * benchtests/exp-inputs: Add new inputs.
22293         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
22294         conditional check for return value.
22295         (__cos32): Likewise.
22297 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22299         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
22300         to provide a boost for large inputs with word alignment.
22301         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
22302         implementation based on optimized PPC64 strcpy.
22303         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
22304         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
22305         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
22306         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
22308 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22310         [BZ #2801]
22311         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
22313 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22315         [BZ #14876]
22316         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
22317         * time/tst-strptime.c (day_tests): Add testcase.
22319 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
22321         [BZ #14029]
22322         * manual/pattern.texi: Acknowledge that fnmatch can fail.
22324 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
22326         [BZ #16074]
22327         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
22328         MAP_FAILED on error.
22330 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
22332         [BZ #16072]
22333         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
22334         heap for large requests.
22336 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
22338         [BZ #9954]
22339         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
22340         result if the result has no associated interface.
22341         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
22342         interface for all 127.X.Y.Z addresses.
22344 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
22346         * locale/iso-639.def: Add Ligurian (lij)
22348 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
22350         [BZ #15825]
22351         * sunrpc/rpc_main.c: Document rpcgen -5.
22353 2013-10-19  Michael Stahl  <mstahl@redhat.com>
22355         * elf/rtld.c (do_preload): Print the reason why preloading failed.
22357 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22359         [BZ #10278]
22360         * posix/glob.c: Match only directories when trailing slash is present.
22361         * posix/tst-gnuglob.c (my_opendir): Do not open files.
22362         (main): Add testcase.
22364 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
22366         [BZ #15670]
22367         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
22369 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
22371         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
22372         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
22373         AUTH_DES and cindex for FIPS 140-2.
22374         (DES Encryption): Add cindex FIPS 46-3.
22376         * locale/locarchive.h (struct locarhandle): Add fname.
22377         * locale/programs/localedef.c (main): Pass ARGV[remaining]
22378         if an optional argument was specified to --list-archive,
22379         otherwise NULL.
22380         * locale/programs/locarchive.c (show_archive_content): Take new
22381         argument fname and pass it via ah.fname to open_archive.
22382         * locale/programs/localedef.h: Update decl.
22383         (open_archive): If AH->fname is non-null, open that file
22384         rather than the default file name, and don't ignore ENOENT.
22385         (create_archive): Set AH.fname to NULL.
22386         (delete_locales_from_archive): Likewise.
22387         (add_locales_to_archive): Likewise.
22388         * locale/programs/locfile.c (write_all_categories): Likewise.
22390 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
22391             Aldy Hernandez  <aldyh@redhat.com>
22393         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
22394         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
22395         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
22396         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
22397         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
22398         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
22399         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
22400         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
22401         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
22402         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
22403         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
22404         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
22405         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
22406         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
22407         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
22408         Likewise.
22409         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
22410         Likewise.
22411         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
22412         Likewise.
22413         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
22414         Likewise.
22415         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
22416         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
22417         Likewise.
22418         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
22419         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
22420         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
22421         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
22422         Likewise.
22423         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
22424         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
22425         * sysdeps/powerpc/preconfigure: Likewise.
22426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
22427         Likewise.
22428         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
22429         Replace contents of file by #include of <fenv_libc.h>.
22430         * sysdeps/powerpc/soft-fp/sfp-machine.h
22431         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
22432         and <sys/prctl.h>.
22433         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
22434         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
22435         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
22436         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
22437         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
22438         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
22439         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
22440         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
22441         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
22442         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
22443         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
22444         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
22445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
22446         Allow copysignl PLT reference to be missing.
22448 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
22449             Joseph Myers  <joseph@codesourcery.com
22451         [BZ #15948]
22452         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
22453         single character.
22454         (add_to_tablewc): Assert sequence of wide characters is nonempty.
22456 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22458         * elf/tst-tls-dlinfo.c: Don't include tls.h.
22459         * elf/tst-tls1.c: Likewise.
22460         * elf/tst-tls10.h: Likewise.
22461         * elf/tst-tls14.c: Likewise.
22462         * elf/tst-tls2.c: Likewise.
22463         * elf/tst-tls3.c: Likewise.
22464         * elf/tst-tls4.c: Likewise.
22465         * elf/tst-tls5.c: Likewise.
22466         * elf/tst-tls6.c: Likewise.
22467         * elf/tst-tls7.c: Likewise.
22468         * elf/tst-tls8.c: Likewise.
22469         * elf/tst-tls9.c: Likewise.
22470         * elf/tst-tlsmod1.c: Likewise.
22471         * elf/tst-tlsmod13.c: Likewise.
22472         * elf/tst-tlsmod13a.c: Likewise.
22473         * elf/tst-tlsmod14a.c: Likewise.
22474         * elf/tst-tlsmod16a.c: Likewise.
22475         * elf/tst-tlsmod16b.c: Likewise.
22476         * elf/tst-tlsmod2.c: Likewise.
22477         * elf/tst-tlsmod3.c: Likewise.
22478         * elf/tst-tlsmod4.c: Likewise.
22479         * elf/tst-tlsmod5.c: Likewise.
22480         * elf/tst-tlsmod6.c: Likewise.
22482 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
22484         [BZ #12486]
22485         * malloc/malloc.c: remove checks for statistics.
22487 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22489         [BZ #15277]
22490         * inet/inet_net.c (inet_network): Detect additional invalid strings.
22491         * inet/tst-network.c: Add testcase.
22493 2013-10-17  Andreas Schwab  <schwab@suse.de>
22495         [BZ #15218]
22496         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
22497         to determine canonical name.
22499 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
22501         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
22502         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
22503         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
22504         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
22505         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
22506         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
22507         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
22508         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
22509         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
22510         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
22511         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
22512         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
22513         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
22514         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
22515         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
22516         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
22517         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
22518         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
22519         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
22520         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
22521         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
22522         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
22523         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
22524         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
22525         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
22526         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
22527         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
22528         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
22529         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
22530         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
22531         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
22532         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
22533         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
22534         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
22535         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
22536         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
22537         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
22538         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
22539         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
22540         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
22541         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
22542         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22543         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
22544         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22545         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
22546         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
22547         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
22548         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
22549         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
22550         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
22551         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
22552         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
22553         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
22554         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
22555         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
22556         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
22557         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
22558         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
22560 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
22562         [BZ #16041]
22563         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
22564         make result into a quiet NaN.
22566 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
22568         * soft-fp/adddf3.c: Fix horizontal whitespace.
22569         * soft-fp/addsf3.c: Likewise.
22570         * soft-fp/addtf3.c: Likewise.
22571         * soft-fp/divdf3.c: Likewise.
22572         * soft-fp/divsf3.c: Likewise.
22573         * soft-fp/divtf3.c: Likewise.
22574         * soft-fp/double.h: Likewise.
22575         * soft-fp/eqdf2.c: Likewise.
22576         * soft-fp/eqsf2.c: Likewise.
22577         * soft-fp/eqtf2.c: Likewise.
22578         * soft-fp/extenddftf2.c: Likewise.
22579         * soft-fp/extended.h: Likewise.
22580         * soft-fp/extendsfdf2.c: Likewise.
22581         * soft-fp/extendsftf2.c: Likewise.
22582         * soft-fp/extendxftf2.c: Likewise.
22583         * soft-fp/fixdfdi.c: Likewise.
22584         * soft-fp/fixdfsi.c: Likewise.
22585         * soft-fp/fixdfti.c: Likewise.
22586         * soft-fp/fixsfdi.c: Likewise.
22587         * soft-fp/fixsfsi.c: Likewise.
22588         * soft-fp/fixsfti.c: Likewise.
22589         * soft-fp/fixtfdi.c: Likewise.
22590         * soft-fp/fixtfsi.c: Likewise.
22591         * soft-fp/fixtfti.c: Likewise.
22592         * soft-fp/fixunsdfdi.c: Likewise.
22593         * soft-fp/fixunsdfsi.c: Likewise.
22594         * soft-fp/fixunsdfti.c: Likewise.
22595         * soft-fp/fixunssfdi.c: Likewise.
22596         * soft-fp/fixunssfsi.c: Likewise.
22597         * soft-fp/fixunssfti.c: Likewise.
22598         * soft-fp/fixunstfdi.c: Likewise.
22599         * soft-fp/fixunstfsi.c: Likewise.
22600         * soft-fp/fixunstfti.c: Likewise.
22601         * soft-fp/floatdidf.c: Likewise.
22602         * soft-fp/floatdisf.c: Likewise.
22603         * soft-fp/floatditf.c: Likewise.
22604         * soft-fp/floatsidf.c: Likewise.
22605         * soft-fp/floatsisf.c: Likewise.
22606         * soft-fp/floatsitf.c: Likewise.
22607         * soft-fp/floattidf.c: Likewise.
22608         * soft-fp/floattisf.c: Likewise.
22609         * soft-fp/floattitf.c: Likewise.
22610         * soft-fp/floatundidf.c: Likewise.
22611         * soft-fp/floatundisf.c: Likewise.
22612         * soft-fp/floatunditf.c: Likewise.
22613         * soft-fp/floatunsidf.c: Likewise.
22614         * soft-fp/floatunsisf.c: Likewise.
22615         * soft-fp/floatunsitf.c: Likewise.
22616         * soft-fp/floatuntidf.c: Likewise.
22617         * soft-fp/floatuntisf.c: Likewise.
22618         * soft-fp/floatuntitf.c: Likewise.
22619         * soft-fp/fmadf4.c: Likewise.
22620         * soft-fp/fmasf4.c: Likewise.
22621         * soft-fp/fmatf4.c: Likewise.
22622         * soft-fp/gedf2.c: Likewise.
22623         * soft-fp/gesf2.c: Likewise.
22624         * soft-fp/getf2.c: Likewise.
22625         * soft-fp/ledf2.c: Likewise.
22626         * soft-fp/lesf2.c: Likewise.
22627         * soft-fp/letf2.c: Likewise.
22628         * soft-fp/muldf3.c: Likewise.
22629         * soft-fp/mulsf3.c: Likewise.
22630         * soft-fp/multf3.c: Likewise.
22631         * soft-fp/negdf2.c: Likewise.
22632         * soft-fp/negsf2.c: Likewise.
22633         * soft-fp/negtf2.c: Likewise.
22634         * soft-fp/op-1.h: Likewise.
22635         * soft-fp/op-2.h: Likewise.
22636         * soft-fp/op-4.h: Likewise.
22637         * soft-fp/op-8.h: Likewise.
22638         * soft-fp/op-common.h: Likewise.
22639         * soft-fp/quad.h: Likewise.
22640         * soft-fp/single.h: Likewise.
22641         * soft-fp/soft-fp.h: Likewise.
22642         * soft-fp/sqrtdf2.c: Likewise.
22643         * soft-fp/sqrtsf2.c: Likewise.
22644         * soft-fp/sqrttf2.c: Likewise.
22645         * soft-fp/subdf3.c: Likewise.
22646         * soft-fp/subsf3.c: Likewise.
22647         * soft-fp/subtf3.c: Likewise.
22648         * soft-fp/truncdfsf2.c: Likewise.
22649         * soft-fp/trunctfdf2.c: Likewise.
22650         * soft-fp/trunctfsf2.c: Likewise.
22651         * soft-fp/trunctfxf2.c: Likewise.
22652         * soft-fp/unorddf2.c: Likewise.
22653         * soft-fp/unordsf2.c: Likewise.
22654         * soft-fp/unordtf2.c: Likewise.
22656 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
22658         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
22659         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
22661 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
22663         * elf/dl-libc.c: Clear initfini list after freeing.
22665 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
22667         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
22668         * soft-fp/addsf3.c: Likewise.
22669         * soft-fp/addtf3.c: Likewise.
22670         * soft-fp/divdf3.c: Likewise.
22671         * soft-fp/divsf3.c: Likewise.
22672         * soft-fp/divtf3.c: Likewise.
22673         * soft-fp/double.h: Likewise.
22674         * soft-fp/eqdf2.c: Likewise.
22675         * soft-fp/eqsf2.c: Likewise.
22676         * soft-fp/eqtf2.c: Likewise.
22677         * soft-fp/extenddftf2.c: Likewise.
22678         * soft-fp/extended.h: Likewise.
22679         * soft-fp/extendsfdf2.c: Likewise.
22680         * soft-fp/extendsftf2.c: Likewise.
22681         * soft-fp/extendxftf2.c: Likewise.
22682         * soft-fp/fixdfdi.c: Likewise.
22683         * soft-fp/fixdfsi.c: Likewise.
22684         * soft-fp/fixdfti.c: Likewise.
22685         * soft-fp/fixsfdi.c: Likewise.
22686         * soft-fp/fixsfsi.c: Likewise.
22687         * soft-fp/fixsfti.c: Likewise.
22688         * soft-fp/fixtfdi.c: Likewise.
22689         * soft-fp/fixtfsi.c: Likewise.
22690         * soft-fp/fixtfti.c: Likewise.
22691         * soft-fp/fixunsdfdi.c: Likewise.
22692         * soft-fp/fixunsdfsi.c: Likewise.
22693         * soft-fp/fixunsdfti.c: Likewise.
22694         * soft-fp/fixunssfdi.c: Likewise.
22695         * soft-fp/fixunssfsi.c: Likewise.
22696         * soft-fp/fixunssfti.c: Likewise.
22697         * soft-fp/fixunstfdi.c: Likewise.
22698         * soft-fp/fixunstfsi.c: Likewise.
22699         * soft-fp/fixunstfti.c: Likewise.
22700         * soft-fp/floatdidf.c: Likewise.
22701         * soft-fp/floatdisf.c: Likewise.
22702         * soft-fp/floatditf.c: Likewise.
22703         * soft-fp/floatsidf.c: Likewise.
22704         * soft-fp/floatsisf.c: Likewise.
22705         * soft-fp/floatsitf.c: Likewise.
22706         * soft-fp/floattidf.c: Likewise.
22707         * soft-fp/floattisf.c: Likewise.
22708         * soft-fp/floattitf.c: Likewise.
22709         * soft-fp/floatundidf.c: Likewise.
22710         * soft-fp/floatundisf.c: Likewise.
22711         * soft-fp/floatunsidf.c: Likewise.
22712         * soft-fp/floatunsisf.c: Likewise.
22713         * soft-fp/floatuntidf.c: Likewise.
22714         * soft-fp/floatuntisf.c: Likewise.
22715         * soft-fp/floatuntitf.c: Likewise.
22716         * soft-fp/fmadf4.c: Likewise.
22717         * soft-fp/fmasf4.c: Likewise.
22718         * soft-fp/fmatf4.c: Likewise.
22719         * soft-fp/gedf2.c: Likewise.
22720         * soft-fp/gesf2.c: Likewise.
22721         * soft-fp/getf2.c: Likewise.
22722         * soft-fp/ledf2.c: Likewise.
22723         * soft-fp/lesf2.c: Likewise.
22724         * soft-fp/letf2.c: Likewise.
22725         * soft-fp/muldf3.c: Likewise.
22726         * soft-fp/mulsf3.c: Likewise.
22727         * soft-fp/multf3.c: Likewise.
22728         * soft-fp/negdf2.c: Likewise.
22729         * soft-fp/negsf2.c: Likewise.
22730         * soft-fp/negtf2.c: Likewise.
22731         * soft-fp/op-1.h: Likewise.
22732         * soft-fp/op-2.h: Likewise.
22733         * soft-fp/op-4.h: Likewise.
22734         * soft-fp/op-8.h: Likewise.
22735         * soft-fp/op-common.h: Likewise.
22736         * soft-fp/quad.h: Likewise.
22737         * soft-fp/single.h: Likewise.
22738         * soft-fp/soft-fp.h: Likewise.
22739         * soft-fp/sqrtdf2.c: Likewise.
22740         * soft-fp/sqrtsf2.c: Likewise.
22741         * soft-fp/sqrttf2.c: Likewise.
22742         * soft-fp/subdf3.c: Likewise.
22743         * soft-fp/subsf3.c: Likewise.
22744         * soft-fp/subtf3.c: Likewise.
22745         * soft-fp/truncdfsf2.c: Likewise.
22746         * soft-fp/trunctfdf2.c: Likewise.
22747         * soft-fp/trunctfsf2.c: Likewise.
22748         * soft-fp/trunctfxf2.c: Likewise.
22749         * soft-fp/unorddf2.c: Likewise.
22750         * soft-fp/unordsf2.c: Likewise.
22751         * soft-fp/unordtf2.c: Likewise.
22753 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
22755         [BZ #15672]
22756         * misc/error.c (error_tail): Fix possible buffer overflow.
22758 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
22760         [BZ #13028]
22761         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
22762         address.
22764 2013-10-14  P. J. McDermott  <pj@pehjota.net>
22766         [BZ #832]
22767         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
22768         testing pipefail option.
22770 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22772         * soft-fp/double.h: Indent preprocessor directives inside #if.
22773         * soft-fp/extended.h: Likewise.
22774         * soft-fp/op-2.h: Likewise.
22775         * soft-fp/op-4.h: Likewise.
22776         * soft-fp/op-common.h: Likewise.
22777         * soft-fp/quad.h: Likewise.
22778         * soft-fp/single.h: Likewise.
22779         * soft-fp/soft-fp.h: Likewise.
22781 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
22783         * iconv/iconv_prog.c: Fix typos.
22784         * stdio-common/psiginfo-data.h: Likewise.
22786 2013-10-12   Reuben Thomas <rrt@sc3d.org>
22788         [BZ #15764]
22789         * locale/setlocale.c: Fix typo.
22791 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
22793         [BZ #16036]
22794         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
22795         signaling NaN arguments.
22796         * soft-fp/unordsf2.c (__unordsf2): Likewise.
22797         * soft-fp/unordtf2.c (__unordtf2): Likewise.
22799         [BZ #14910]
22800         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
22801         unordered operands.
22802         * soft-fp/gesf2.c (__gesf2): Likewise.
22803         * soft-fp/getf2.c (__getf2): Likewise.
22804         * soft-fp/ledf2.c (__ledf2): Likewise.
22805         * soft-fp/lesf2.c (__lesf2): Likewise.
22806         * soft-fp/letf2.c (__letf2): Likewise.
22808         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
22809         * soft-fp/eqsf2.c (__eqsf2): Likewise.
22810         * soft-fp/eqtf2.c (__eqtf2): Likewise.
22811         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
22812         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
22813         * soft-fp/fixdfti.c (__fixdfti): Likewise.
22814         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
22815         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
22816         * soft-fp/fixsfti.c (__fixsfti): Likewise.
22817         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
22818         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
22819         * soft-fp/fixtfti.c (__fixtfti): Likewise.
22820         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
22821         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
22822         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
22823         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
22824         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
22825         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
22826         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
22827         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
22828         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
22829         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
22830         * soft-fp/floatdisf.c (__floatdisf): Likewise.
22831         * soft-fp/floatsisf.c (__floatsisf): Likewise.
22832         * soft-fp/floattidf.c (__floattidf): Likewise.
22833         * soft-fp/floattisf.c (__floattisf): Likewise.
22834         * soft-fp/floattitf.c (__floattitf): Likewise.
22835         * soft-fp/floatundidf.c (__floatundidf): Likewise.
22836         * soft-fp/floatundisf.c (__floatundisf): Likewise.
22837         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
22838         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
22839         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
22840         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
22841         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
22842         * soft-fp/gesf2.c (__gesf2): Likewise.
22843         * soft-fp/getf2.c (__getf2): Likewise.
22844         * soft-fp/ledf2.c (__ledf2): Likewise.
22845         * soft-fp/lesf2.c (__lesf2): Likewise.
22846         * soft-fp/letf2.c (__letf2): Likewise.
22848         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
22849         Undefine and redefine.
22850         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
22851         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
22852         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
22853         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
22854         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22855         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
22856         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22857         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
22858         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22859         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
22860         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22861         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
22862         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22863         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
22864         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
22866         [BZ #16032]
22867         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
22868         without decrementing exponent if mantissa >= that for the
22869         denominator, not >.
22870         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
22871         denominator, not >.  Decrement exponent in < case instead of
22872         incrementing in >= case.
22873         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
22874         without decrementing exponent if mantissa >= that for the
22875         denominator, not >.
22877         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
22878         computing saturated result for unsigned overflow.
22880 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
22881             Jeff Law  <law@redhat.com>
22883         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
22884         (atan2Mp): Add systemtap probe marker.
22885         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
22886         (__ieee754_log): Add systemtap probe marker.
22887         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
22888         (atanMp): Add systemtap probe marker.
22889         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
22890         (tanMp): Add systemtap probe marker.
22891         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
22892         (__slowexp): Add systemtap probe marker.
22893         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
22894         (__slowpow): Add systemtap probe marker.
22895         * manual/probes.texi: Document probes.
22897 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
22899         [BZ #15362]
22900         * libio/fileops.c (_IO_new_file_write): Return count of bytes
22901         written.
22902         (_IO_new_file_xsputn): Don't return EOF if nothing has been
22903         written.
22904         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
22905         written to buffer but not flushed.
22906         * libio/iofwrite_u.c:  Likewise.
22907         * libio/iopadn.c:  Return bytes returned even if EOF was
22908         encountered.
22909         * libio/iowpadn.c:  Likewise.
22910         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
22911         if _IO_padn does not write the whole buffer.
22912         [!COMPILE_WPRINTF] (PAD): Likewise.
22914 2013-10-10  David S. Miller  <davem@davemloft.net>
22916         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
22917         directory block.
22919 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22921         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
22922         instead of FSF address.
22923         * soft-fp/fixdfti.c: Likewise.
22924         * soft-fp/fixsfti.c: Likewise.
22925         * soft-fp/fixtfti.c: Likewise.
22926         * soft-fp/fixunsdfti.c: Likewise.
22927         * soft-fp/fixunssfti.c: Likewise.
22928         * soft-fp/fixunstfti.c: Likewise.
22929         * soft-fp/floattidf.c: Likewise.
22930         * soft-fp/floattisf.c: Likewise.
22931         * soft-fp/floattitf.c: Likewise.
22932         * soft-fp/floatuntidf.c: Likewise.
22933         * soft-fp/floatuntisf.c: Likewise.
22934         * soft-fp/floatuntitf.c: Likewise.
22935         * soft-fp/trunctfxf2.c: Likewise.
22937         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
22938         * soft-fp/fixdfti.c: Likewise.
22939         * soft-fp/fixsfti.c: Likewise.
22940         * soft-fp/fixtfti.c: Likewise.
22941         * soft-fp/fixunsdfti.c: Likewise.
22942         * soft-fp/fixunssfti.c: Likewise.
22943         * soft-fp/fixunstfti.c: Likewise.
22944         * soft-fp/floattidf.c: Likewise.
22945         * soft-fp/floattisf.c: Likewise.
22946         * soft-fp/floattitf.c: Likewise.
22947         * soft-fp/floatuntidf.c: Likewise.
22948         * soft-fp/floatuntisf.c: Likewise.
22949         * soft-fp/floatuntitf.c: Likewise.
22950         * soft-fp/trunctfxf2.c: Likewise.
22952 2013-10-10  David S. Miller  <davem@davemloft.net>
22954         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22956 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
22958         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
22959         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
22960         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
22961         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
22962         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
22963         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
22964         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
22966         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
22967         for NaNs before doing comparisons on argument.
22968         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
22969         Likewise.
22971 2013-10-10  Will Newton  <will.newton@linaro.org>
22973         * malloc/hooks.c (memalign_check): Ensure the value of bytes
22974         passed to _int_memalign does not overflow.
22976 2013-10-10  Torvald Riegel  <triegel@redhat.com>
22978         * scripts/bench.pl: Add include-sources directive.
22979         * benchtests/README: Update documentation.
22981 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
22983         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
22984         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
22985         instead of FP_INIT_ROUNDMODE.
22986         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
22987         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
22989         [BZ #16034]
22990         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
22991         copy class of input value.
22992         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
22993         not handle exceptions.
22994         * soft-fp/negsf2.c (__negsf2): Likewise.
22995         * soft-fp/negtf2.c (__negtf2): Likewise.
22996         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
22998 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
23000         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
23001         semicolon.  From Linux kernel.
23003 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
23005         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
23007 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
23009         [BZ #156]
23010         * manual/socket.texi: Added statement about buffer
23011         for gethostbyname2_r.
23013 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
23015         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
23016         Use .p2align directive instead, throughout.
23017         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
23018         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
23019         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
23020         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
23021         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
23022         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23023         * sysdeps/x86_64/strchr.S: Likewise.
23024         * sysdeps/x86_64/strrchr.S: Likewise.
23026 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
23028         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
23030         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
23032         * sysdeps/generic/math_private.h (__mpsin1): Remove
23033         declaration.
23034         (__mpcos1): Likewise.
23035         (__mpsin): New argument __range_reduce.
23036         (__mpcos): Likewise.
23037         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
23038         (slow): Use __mpsin and __mpcos.
23039         (slow1): Likewise.
23040         (slow2): Likewise.
23041         (sloww): Likewise.
23042         (sloww1): Likewise.
23043         (sloww2): Likewise.
23044         (bsloww): Likewise.
23045         (bsloww1): Likewise.
23046         (bsloww2): Likewise.
23047         (cslow2): Likewise.
23048         (csloww): Likewise.
23049         (csloww1): Likewise.
23050         (csloww2): Likewise.
23051         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
23052         range_reduce.  Merge in __mpsin1.
23053         (__mpcos): Likewise.
23054         (__mpsin1): Remove.
23055         (__mpcos1): Likewise.
23057 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
23059         * locale/loadlocale.c (_nl_intern_locale_data): Use
23060         LOCFILE_ALIGNED_P.
23061         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
23062         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
23063         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
23064         obstack data is appropriately aligned.
23065         (obstack_int32_grow_fast): Likewise.
23066         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
23067         * locale/programs/locfile.c (add_locale_uint32): Likewise.
23068         (add_locale_uint32_array): Likewise.
23070 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
23072         * benchtests/Makefile: Remove ARGLIST and RET variables.
23073         ($(objpfx)bench-%.c): Pass only function name to the script.
23074         * benchtests/README: Update documentation.
23075         * benchtests/acos-inputs: Add new directives.
23076         * benchtests/acosh-inputs: Likewise.
23077         * benchtests/asin-inputs: Likewise.
23078         * benchtests/asinh-inputs: Likewise.
23079         * benchtests/atan-inputs: Likewise.
23080         * benchtests/atanh-inputs: Likewise.
23081         * benchtests/cos-inputs: Likewise.
23082         * benchtests/cosh-inputs: Likewise.
23083         * benchtests/exp-inputs: Likewise.
23084         * benchtests/log-inputs: Likewise.
23085         * benchtests/pow-inputs: Likewise.
23086         * benchtests/rint-inputs: Likewise.
23087         * benchtests/sin-inputs: Likewise.
23088         * benchtests/sinh-inputs: Likewise.
23089         * benchtests/tan-inputs: Likewise.
23090         * benchtests/tanh-inputs: Likewise.
23091         * scripts/bench.pl: Add support for new directives.
23093 2013-10-07  Alan Modra  <amodra@gmail.com>
23095         * README: Fix careless merge.
23097 2013-10-05  Alan Modra  <amodra@gmail.com>
23099         * NEWS: Mention powerpc64le support and bugs fixed.
23100         * README: Both big-endian and little-endian powerpc64 supported.
23102 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23104         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
23105         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
23106         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
23107         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
23109 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
23111         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
23112         match prototype.
23114 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
23116         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
23117         Move -mhard-float appending from
23118         ports/sysdeps/powerpc/powerpc32/Makefile.
23119         [$(with-fp) = yes] (ASFLAGS): Likewise.
23120         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
23121         * sysdeps/powerpc/nofpu: Move directory from
23122         ports/sysdeps/powerpc/nofpu.
23123         * sysdeps/powerpc/soft-fp: Move directory from
23124         ports/sysdeps/powerpc/soft-fp.
23125         * sysdeps/powerpc/powerpc32/405: Move directory from
23126         ports/sysdeps/powerpc/powerpc32/405.
23127         * sysdeps/powerpc/powerpc32/440: Move directory from
23128         ports/sysdeps/powerpc/powerpc32/440.
23129         * sysdeps/powerpc/powerpc32/464: Move directory from
23130         ports/sysdeps/powerpc/powerpc32/464.
23131         * sysdeps/powerpc/powerpc32/476: Move directory from
23132         ports/sysdeps/powerpc/powerpc32/476.
23133         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
23134         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
23135         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
23136         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
23137         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
23138         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
23139         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
23140         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
23141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
23142         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
23143         * README: Update for powerpc-*-linux-gnu software floating point
23144         support in libc.
23146         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
23147         case to powerpc/powerpc32*.
23148         * sysdeps/unix/sysv/linux/configure: Regenerated.
23150         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
23151         (_FPU_MASK_OM): Define as 0x04.
23152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
23153         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
23154         0x00c10080.
23155         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
23156         0x0000003c.
23157         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
23159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
23160         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23161         getcontext_e500.
23162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
23163         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
23164         setcontext_e500.
23165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
23166         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
23167         and setcontext_e500.
23169 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
23171         * locale/iso-3166.def: Update iso-1366.def and related occurrences
23173 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
23175         * manual/threads.texi (Default Thread Attributes): Fix typo.
23177 2013-10-04  Will Newton  <will.newton@linaro.org>
23179         * malloc/Makefile: Add tst-memalign.
23180         * malloc/tst-memalign.c: New file.
23182         * malloc/tst-posix_memalign.c: Add comments.
23183         (do_test): Add comments and call free on all potentially
23184         allocated pointers. Add space after cast.
23186         * malloc/tst-pvalloc.c: Add comments.
23187         (do_test): Add comments and call free on all potentially
23188         allocated pointers. Remove duplicate check for NULL pointer.
23189         Add space after cast.
23191         * malloc/tst-valloc.c: Add comments.
23192         (do_test): Add comments and call free on all potentially
23193         allocated pointers. Remove duplicate check for NULL pointer.
23194         Add space after cast.
23196 2013-10-04  Alan Modra  <amodra@gmail.com>
23198         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23199         Use stdint types in rather than __attribute__((mode())).
23200         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23202 2013-10-04  Alan Modra  <amodra@gmail.com>
23204         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
23205         Correct handling of unaligned relocs for little-endian.
23206         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
23208 2013-10-04  Alan Modra  <amodra@gmail.com>
23210         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
23211         * configure: Regenerate.
23212         * nptl/shlib-versions: Powerpc*le starts at 2.18.
23213         * shlib-versions: Likewise.
23215 2013-10-04  Alan Modra  <amodra@gmail.com>
23217         * string/tester.c (test_memrchr): Increment reported test cycle.
23219 2013-10-04  Alan Modra  <amodra@gmail.com>
23221         * string/test-memcpy.c (do_one_test): When reporting errors, print
23222         string address and don't overrun end of string.
23224 2013-10-04  Alan Modra  <amodra@gmail.com>
23226         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
23227         insrdi.  Make better use of reg selection to speed exit slightly.
23228         Schedule entry path a little better.  Remove useless "are we done"
23229         checks on entry to main loop.  Handle wrapping around zero address.
23230         Correct main loop count.  Handle single left-over word from main
23231         loop inline rather than by using loop_small.  Remove extra word
23232         case in loop_small caused by wrong loop count.  Add little-endian
23233         support.
23234         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
23235         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
23236         cache hint.
23237         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
23238         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
23239         support.  Avoid rlwimi.
23240         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
23242 2013-10-04  Alan Modra  <amodra@gmail.com>
23244         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
23245         insrdi.  Formatting.
23246         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
23247         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
23248         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
23249         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
23250         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
23251         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
23253 2013-10-04  Alan Modra  <amodra@gmail.com>
23255         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
23256         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
23257         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
23258         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
23259         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
23260         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
23261         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
23262         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
23263         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
23264         use of regs.  Use power7 mtocrf.  Tidy function tails.
23266 2013-10-04  Alan Modra  <amodra@gmail.com>
23268         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
23269         Formatting.  Consistently use rXXX register defines or rN defines.
23270         Use early exit labels that avoid restoring unused non-volatile regs.
23271         Make cr field use more consistent with rWORDn compares.  Rename
23272         regs used as shift registers for unaligned loop, using rN defines
23273         for short lifetime/multiple use regs.
23274         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
23275         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
23276         addi 1,1,64 to pop stack frame.  Simplify return value code.
23277         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
23279 2013-10-04  Alan Modra  <amodra@gmail.com>
23281         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
23282         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
23283         rather than rlwimi.
23284         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
23285         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
23286         little-endian support.  Correct typos.
23287         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
23288         rather than rlwimi.
23289         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
23290         in loop and entry code to keep "and." results.
23291         (strchr): Add little-endian support.  Comment.  Move cntlzd
23292         earlier in tail.
23293         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
23295 2013-10-04  Alan Modra  <amodra@gmail.com>
23297         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
23298         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
23299         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23300         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
23302 2013-10-04  Alan Modra  <amodra@gmail.com>
23304         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
23305         (rTMP): Define as r11.
23306         (strcmp): Add little-endian support.  Optimise tail.
23307         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
23308         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
23309         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
23310         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
23311         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
23312         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
23313         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
23315 2013-10-04  Alan Modra  <amodra@gmail.com>
23317         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
23318         little-endian support.  Remove unnecessary "are we done" tests.
23319         Handle "s" wrapping around zero and extremely large "size".
23320         Correct main loop count.  Handle single left-over word from main
23321         loop inline rather than by using small_loop.  Correct comments.
23322         Delete "zero" tail, use "end_max" instead.
23323         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
23325 2013-10-04  Alan Modra  <amodra@gmail.com>
23327         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
23328         support.  Don't branch over align.
23329         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
23330         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
23331         support.  Rearrange tmp reg use to suit.  Comment.
23332         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
23334 2013-10-04  Alan Modra  <amodra@gmail.com>
23336         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
23338 2013-10-04  Alan Modra  <amodra@gmail.com>
23340         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
23341         conditional form of branch and link when obtaining pc.
23342         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
23344 2013-10-04  Alan Modra  <amodra@gmail.com>
23346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
23347         HIWORD/LOWORD.
23348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
23349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
23351 2013-10-04  Alan Modra  <amodra@gmail.com>
23353         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
23354         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
23355         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
23356         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
23357         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
23358         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
23359         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
23360         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
23361         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
23362         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
23364 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23365             Alistair Popple <alistair@ozlabs.au.ibm.com>
23366             Alan Modra <amodra@gmail.com>
23368         [BZ #15723]
23369         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
23370         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
23371         _dl_hwcap access for little-endian.
23372         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
23373         destroy vmx regs when saving unaligned.
23374         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
23375         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
23376         destroy vmx regs when saving unaligned.
23378 2013-10-04  Alan Modra  <amodra@gmail.com>
23380         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
23381         Don't use a union to pack hi/low value.
23383 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23385         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
23386         for little-endian.
23387         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
23388         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
23389         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
23390         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
23391         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
23393 2013-10-04  Alan Modra  <amodra@gmail.com>
23395         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
23396         constants to usual value for .cst8 section, and remove redundant
23397         high address load.
23398         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
23399         constant for 0x1p52.  Load little-endian words of double from
23400         correct stack offsets.
23402 2013-10-04  Alan Modra  <amodra@gmail.com>
23404         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
23405         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
23406         words of double from correct stack offsets.
23407         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
23408         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
23409         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23410         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
23411         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
23412         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
23413         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
23414         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
23415         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
23416         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
23417         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
23418         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
23419         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
23420         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
23421         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
23422         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
23423         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
23425 2013-10-04  Alan Modra  <amodra@gmail.com>
23427         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
23428         64-bit int/double union.
23429         (_FPU_SETCW): Likewise.
23430         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
23431         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
23433 2013-10-04  Alan Modra  <amodra@gmail.com>
23435         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
23436         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
23438 2013-10-04  Alan Modra  <amodra@gmail.com>
23440         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
23441         use vector int constants.
23442         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
23444 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23446         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
23447         array with long long.
23448         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
23449         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
23450         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
23451         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
23452         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
23453         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
23454         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
23455         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
23456         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
23457         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
23458         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
23459         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
23460         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
23462 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
23464         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
23465         (__signbit): Likewise.  Correct for little-endian.
23466         (__signbitl): Call __signbit.
23467         (lrint): Correct for little-endian.
23468         (lrintf): Call lrint.
23470 2013-10-04  Alan Modra  <amodra@gmail.com>
23472         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
23473         union 32-bit int array member with 64-bit int array.
23474         (t515, tm256): Double rather than long double.
23475         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
23477 2013-10-04  Alan Modra  <amodra@gmail.com>
23479         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
23480         Delete.
23481         (IEEE854_LONG_DOUBLE_BIAS): Delete.
23482         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
23483         version of math_ldbl.h.
23485 2013-10-04  Alan Modra  <amodra@gmail.com>
23487         [BZ #15734], [BZ #15735]
23488         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
23489         all uses of ieee875 long double macros and unions.  Simplify test
23490         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
23491         ldbl_extract_mantissa value for ix,iy exponents.  Properly
23492         normalize after ldbl_extract_mantissa, and don't add hidden bit
23493         already handled.  Don't treat low word of ieee854 mantissa like
23494         low word of IBM long double and mask off bit when testing for
23495         zero.
23496         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
23497         all uses of ieee875 long double macros and unions.  Simplify tests
23498         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
23499         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
23500         two1022, instead use their values.  Recognise that tests for large
23501         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
23502         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
23503         Rewrite all uses of ieee875 long double macros and unions.  Simplify
23504         test for 0.0L and nan.  Correct negation.
23505         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
23506         ieee875 long double macros and unions.  Correct output for large
23507         magnitude x.  Correct absolute value calculation.
23508         (__erfcl): Likewise.
23509         * math/libm-test.inc: Add tests for errors discovered in IBM long
23510         double versions of fmodl, remainderl, erfl and erfcl.
23512 2013-10-04  Alan Modra  <amodra@gmail.com>
23514         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
23515         all uses of ieee854 long double macros and unions.  Simplify tests
23516         for long doubles that are fully specified by the high double.
23517         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
23518         Likewise.
23519         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
23520         Remove dead code too.
23521         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
23522         (__ieee754_ynl): Likewise.
23523         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
23524         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
23525         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
23526         Remove dead code too.
23527         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
23528         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
23529         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
23530         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
23531         Simplify.
23532         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
23533         Simplify.
23534         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
23535         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
23536         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
23537         Comment on variable precision.
23538         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
23539         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
23540         Likewise.
23541         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
23542         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
23543         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
23544         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
23545         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
23547 2013-10-04  Alan Modra  <amodra@gmail.com>
23549         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
23550         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
23551         all uses of ieee854 long double macros and unions.
23552         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
23553         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23554         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
23555         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
23556         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
23557         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
23558         Likewise.
23559         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
23560         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
23561         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
23562         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
23563         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
23564         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
23565         Simplify sign and nan test too.
23566         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
23567         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
23568         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
23569         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
23570         Likewise.
23571         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
23572         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
23573         Likewise.
23574         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23575         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
23576         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
23577         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
23578         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
23579         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
23581 2013-10-04  Alan Modra  <amodra@gmail.com>
23583         * stdio-common/printf_size.c (__printf_size): Don't use
23584         union ieee854_long_double in fpnum union.
23585         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
23586         signbit macro to retrieve sign from long double.
23587         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
23588         retrieve sign from long double.
23589         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
23590         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
23591         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
23592         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
23593         * math/test-misc.c (main): Don't use union ieee854_long_double.
23595 2013-10-04  Alan Modra  <amodra@gmail.com>
23597         [BZ #15680]
23598         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
23599         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
23600         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
23601         calculation.  Remove unnecessary test for denormal exponent.
23602         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
23603         Correct handling of denormals.  Avoid undefined shift behaviour.
23604         Correct normalisation of low mantissa when low double is denormal.
23605         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
23606         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
23607         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
23608         Correct normalisation of low mantissa.  Test for overflow of high
23609         mantissa and normalise.
23610         (ldbl_nearbyint): Use more readable constant for two52.
23611         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
23612         (__mpn_construct_long_double): Fix test for overflow of high
23613         mantissa and correct normalisation.  Avoid undefined shift.
23615 2013-10-04  Alan Modra  <amodra@gmail.com>
23617         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
23618         (union ibm_extended_long_double): Define as an array of ieee754_double.
23619         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
23620         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
23621         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
23622         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23623         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23624         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
23625         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23626         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
23627         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
23628         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
23629         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
23631 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
23633         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
23634         page size instead of calling getpagesize.
23636         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
23637         (LOCFILE_ALIGN_MASK): Likewise.
23638         (LOCFILE_ALIGN_UP): Likewise.
23639         (LOCFILE_ALIGNED_P): Likewise.
23640         * locale/programs/ld-collate.c (collate_output): Use the new
23641         macros instead of __alignof__ (int32_t).
23642         * locale/weight.h (findidx): Likewise.
23644 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
23646         [BZ #431]
23647         * manual/string.texi: Fix strncat and wcsncat.
23649 2013-10-03  Brooks Moses  <bmoses@google.com>
23651         [BZ #15915]
23652         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
23653         * Makerules: ...here, and adjust associated comments.
23655 2013-10-02  Will Newton  <will.newton@linaro.org>
23657         * malloc/Makefile: Add tst-pvalloc.
23658         * malloc/tst-pvalloc.c: New file.
23660 2013-10-02  Will Newton  <will.newton@linaro.org>
23662         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
23663         improve test coverage.
23665 2013-10-02  Will Newton  <will.newton@linaro.org>
23667         * malloc/Makefile: Add tst-posix_memalign.
23668         * malloc/tst-posix_memalign.c: New file.
23670 2013-10-01  Eric Blake  <eblake@redhat.com>
23672         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
23673         Use __THROWNL rather than __THROW on static functions.
23675 2013-09-30  Petr Machata  <pmachata@redhat.com>
23677         * elf/elf.h (R_AARCH64_ABS16): New macro.
23678         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
23679         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
23680         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
23681         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
23682         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
23683         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
23684         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
23685         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
23686         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
23687         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
23688         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
23689         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
23690         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
23691         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
23692         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
23693         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
23694         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
23695         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
23696         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
23697         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
23698         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
23699         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
23700         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
23701         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
23702         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
23703         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
23704         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
23705         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
23706         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
23707         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
23708         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
23709         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
23710         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
23711         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
23712         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
23713         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
23714         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
23715         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
23716         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
23717         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
23718         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
23719         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
23720         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
23721         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
23722         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
23723         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
23724         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
23725         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
23726         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
23727         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
23728         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
23729         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
23730         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
23731         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
23732         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
23733         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
23734         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
23735         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
23736         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
23737         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
23738         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
23739         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
23740         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
23741         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
23742         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
23743         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
23744         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
23745         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
23746         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
23747         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
23748         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
23749         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
23750         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
23751         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
23752         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
23753         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
23754         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
23755         (R_AARCH64_TLSDESC_LDR): Likewise.
23756         (R_AARCH64_TLSDESC_ADD): Likewise.
23757         (R_AARCH64_TLSDESC_CALL): Likewise.
23759 2013-09-30  Andreas Schwab  <schwab@suse.de>
23761         [BZ #15048]
23762         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
23763         the nss database lookup.
23764         * nscd/initgrcache.c (addinitgroupsX): Likewise.
23765         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
23767 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
23769         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
23771 2013-09-28  P. J. McDermott  <pj@pehjota.net>
23773         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
23774         ${Bash-specific parameter/pattern/string} parameter expansion.
23775         * sysdeps/unix/make-syscalls.sh: Likewise.
23777 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23779         * sysdeps/sh/stackguard-macros.h: New file.
23781 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
23783         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
23784         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
23785         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
23786         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
23787         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
23788         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
23790 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23792         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
23793         Fix thread ID register.
23795 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
23797         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
23798         [POSIX || UNIX98]: Require rather than permitting all symbols from
23799         <time.h>.
23800         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
23801         element of struct sched_param.
23802         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
23803         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
23804         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
23805         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
23806         constant.
23808 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
23810         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
23811         argument calculation.
23813 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23815         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
23816         Expect macro.
23817         [POSIX] (pthread_attr_t): Do not require type.
23818         [POSIX] (pthread_cond_t): Likewise.
23819         [POSIX] (pthread_condattr_t): Likewise.
23820         [POSIX] (pthread_key_t): Likewise.
23821         [POSIX] (pthread_mutex_t): Likewise.
23822         [POSIX] (pthread_mutexattr_t): Likewise.
23823         [POSIX] (pthread_once_t): Likewise.
23824         [POSIX] (pthread_t): Likewise.
23825         [POSIX-based standards] (pthread_atfork): Expect function.
23827 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
23828             Richard Sandiford  <richard@codesourcery.com>
23830         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
23831         (swap_endianness_p): New extern variable.
23832         (set_big_endian): New inline function.
23833         (maybe_swap_uint32): Likewise.
23834         (maybe_swap_uint32_array): Likewise.
23835         (maybe_swap_uint32_obstack): Likewise.
23836         * locale/programs/locfile.c: Include <stdbool.h>.
23837         (swap_endianness_p): New variable.
23838         (add_locale_uint32): Call maybe_swap_uint32.
23839         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
23840         (write_locale_data): Call maybe_swap_uint32_array.
23841         * locale/programs/ld-collate.c (obstack_int32_grow): Call
23842         maybe_swap_uint32.
23843         (obstack_int32_grow_fast): Likewise.
23844         (output_weightwc): Call maybe_swap_uint32_obstack.
23845         (collate_output): Likewise.
23846         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
23847         (OPT_LITTLE_ENDIAN): Likewise.
23848         (options): Add --little-endian and --big-endian options.
23849         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
23850         * locale/programs/locarchive.c: Include "locfile.h".
23851         (GET): New macro.
23852         (SET): Likewise.
23853         (INC): Likewise.
23854         (create_archive): Use the new macros to access fields of
23855         structures directly mapped from or written to locale archives.
23856         (oldlocrecentcmp): Likewise.
23857         (enlarge_archive): Likewise.
23858         (insert_name): Likewise.
23859         (add_alias): Likewise.
23860         (add_locale): Likewise.
23861         (delete_locales_from_archive): Likewise.
23862         (show_archive_content): Likewise.
23863         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
23864         locale data.
23866 2013-09-24  Roland McGrath  <roland@hack.frob.com>
23868         * manual/freemanuals.texi: Updated from (newly) canonical copy at
23869         http://www.gnu.org/doc/freemanuals.texi.
23870         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
23872 2013-09-24  Will Newton  <will.newton@linaro.org>
23874         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
23875         macro.
23877 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
23879         * locale/hashval.h (compute_hashval): Interpret bytes of key as
23880         unsigned char.
23882 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
23884         * manual/threads.texi (POSIX Threads): Fix a typo.
23886 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
23888         [BZ #14547]
23889         * string/tst-strcoll-overflow.c: New test case.
23890         * string/Makefile (xtests): Add tst-strcoll-overflow.
23891         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
23892         cache if string sizes may cause integer overflow.
23894         [BZ #14547]
23895         * string/strcoll_l.c (coll_seq): New members rule, idx,
23896         save_idx and back_us.
23897         (get_next_seq_nocache): New function.
23898         (do_compare_nocache): New function.
23899         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
23900         when malloc fails.
23902 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
23904         [BZ #15754]
23905         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
23906         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
23907         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
23909         [BZ #15754]
23910         * elf/Makefile (tests): Add tst-ptrguard1.
23911         (tests-static): Add tst-ptrguard1-static.
23912         (tst-ptrguard1-ARGS): Define.
23913         (tst-ptrguard1-static-ARGS): Define.
23914         * elf/tst-ptrguard1.c: New file.
23915         * elf/tst-ptrguard1-static.c: New file.
23916         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
23917         * sysdeps/i386/stackguard-macros.h: Likewise.
23918         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
23919         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
23920         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23921         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23922         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
23923         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
23925 2013-09-23  Hector Marco  <hecmargi@upv.es>
23926             Ismael Ripoll  <iripoll@disca.upv.es>
23927             Carlos O'Donell  <carlos@redhat.com>
23929         [BZ #15754]
23930         * sysdeps/generic/stackguard-macros.h: Define
23931         __pointer_chk_guard_local and POINTER_CHK_GUARD.
23932         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
23933         Define __pointer_chk_guard_local.
23934         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
23935         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
23937 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
23939         [BZ #15859]
23940         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
23942 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
23944         * include/string.h (__ffs): Declare as hidden.
23945         * string/ffs.c (__ffs): Define as hidden.
23946         * sysdeps/i386/ffs.c (__ffs): Likewise.
23947         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
23948         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
23949         * sysdeps/s390/ffs.c (__ffs): Likewise.
23950         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
23952 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
23954         * NEWS: Mention malloc probes.
23956         * malloc/arena.c (new_heap): New memory_heap_new probe.
23957         (grow_heap): New memory_heap_more probe.
23958         (shrink_heap): New memory_heap_less probe.
23959         (heap_trim): New memory_heap_free probe.
23960         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
23961         (systrim): New memory_sbrk_less probe.
23962         * manual/probes.texi: Document them.
23964         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
23965         * manual/probes.texi: Document it.
23967         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
23968         (__libc_realloc): Add memory_realloc_retry probe.
23969         (__libc_memalign): Add memory_memalign_retry probe.
23970         (__libc_valloc): Add memory_valloc_retry probe.
23971         (__libc_pvalloc): Add memory_pvalloc_retry probe.
23972         (__libc_calloc): Add memory_calloc_retry probe.
23973         * manual/probes.texi: Document them.
23975         * malloc/arena.c (get_free_list): Add probe
23976         memory_arena_reuse_free_list.
23977         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
23978         and memory_arena_reuse.
23979         (arena_get2) [!PER_THREAD]: Likewise.
23980         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
23981         memory_arena_reuse_realloc.
23982         * manual/probes.texi: Document them.
23984         * malloc/malloc.c (__libc_free): Add
23985         memory_mallopt_free_dyn_thresholds probe.
23986         (__libc_mallopt): Add multiple memory_mallopt probes.
23987         * manual/probes.texi: Document them.
23989         * malloc/malloc.c: Include stap-probe.h.
23990         (__libc_mallopt): Add memory_mallopt probe.
23991         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
23992         * manual/probes.texi: New.
23993         * manual/Makefile (chapters): Add probes.
23994         * manual/threads.texi: Set next node.
23996 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
23998         [BZ #15963, #13985]
23999         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
24000         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
24001         Add `Chinese' to `nan' entry name.
24003 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24005         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
24006         (POLYNOMIAL): Likewise.
24007         (TAYLOR_SINCOS): Likewise.
24008         (TAYLOR_SLOW): Likewise.
24009         (__sin): Use TAYLOR_SINCOS.
24010         (__cos): Likewise.
24011         (slow): Use TAYLOR_SLOW.
24012         (sloww): Likewise.
24013         (bsloww): Likewise.
24014         (csloww): Likewise.
24016 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24018         * stdlib/strtod_l.c: Fix buffer overrun.
24020 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
24022         * benchtests/Makefile (bench): Add sincos.
24023         * benchtests/bench-sincos.c: New file.
24025         * math/libm-test.inc (cos_test_data): New test inputs.
24026         (sin_test_data): Likewise.
24028         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
24029         macro.
24030         (__sin): Use it.
24031         (__cos): Likewise.
24032         (slow1): Likewise.
24033         (slow2): Likewise.
24034         (sloww1): Likewise.
24035         (sloww2): Likewise.
24036         (bsloww1): Likewise.
24037         (bsloww2): Likewise.
24038         (cslow2): Likewise.
24039         (csloww1): Likewise.
24040         (csloww2): Likewise.
24042         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
24043         function.
24044         (__sin): Use it.
24045         (__cos): Likewise.
24047         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
24048         gotos.
24049         (__cos): Likewise.
24051 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
24053         * config.h.in (HAVE_MIPS_NAN2008): New macro.
24054         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
24055         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
24056         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
24057         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
24058         * elf/cache.c (print_entry): Handle the new cache flags.
24060 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24061             Aldy Hernandez  <aldyh@redhat.com>
24063         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
24064         Change condition to [_SOFT_FLOAT].
24065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
24066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
24067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
24068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
24069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
24070         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
24071         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
24072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
24073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
24074         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
24075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
24076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
24077         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
24078         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
24079         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
24080         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
24081         declaration.
24083 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
24085         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
24086         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24087         (__longjmp): Use LOAD_GP to load saved GPRs.
24088         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
24089         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
24090         (__sigsetjmp): Use SAVE_GP to save GPRs.
24092         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
24093         Do not append -msoft-float.
24094         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
24096 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24098         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
24100 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
24102         [BZ #15966]
24103         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
24104         (_FPU_GETCW): Use initial "__" on variable and field names but not
24105         on macro parameter name.
24106         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
24107         parentheses around reference to macro parameter.
24109 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
24111         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
24112         prototype.
24113         (ctype_startup): Use uint32_t in cast and sizeof for
24114         ctype->charnames.
24116 2013-09-11  Jia Liu  <proljc@gmail.com>
24118         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
24119         __daddr_t_defined.
24120         [__FreeBSD__]: Likewise.
24122 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
24124         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24125         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
24126         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
24127         (strchr): Remove __strchr_sse42 ifunc selection.
24128         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
24129         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
24131 2013-09-11  Will Newton  <will.newton@linaro.org>
24133         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
24134         parameter to RES. Remove hardcoded 1000 value.
24135         * benchtests/bench-skeleton.c (main): Pass RES parameter
24136         to TIMING_INIT and multiply result by 1000.
24138 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24140         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24142 2013-09-11  Andreas Schwab  <schwab@suse.de>
24144         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
24145         if not defined.
24146         (O_TMPFILE) [__USE_GNU]: Define.
24147         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
24148         Define.
24150 2013-09-11  Will Newton  <will.newton@linaro.org>
24152         [BZ #15857]
24153         * malloc/malloc.c (__libc_memalign): Check the value of bytes
24154         does not overflow.
24156 2013-09-11  Will Newton  <will.newton@linaro.org>
24158         [BZ #15856]
24159         * malloc/malloc.c (__libc_valloc): Check the value of bytes
24160         does not overflow.
24162 2013-09-11  Will Newton  <will.newton@linaro.org>
24164         [BZ #15855]
24165         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
24166         does not overflow.
24168 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
24170         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
24171         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
24172         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
24173         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
24174         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
24176 2013-09-10  Allan McRae  <allan@archlinux.org>
24178         [BZ #15748]
24179         * manual/arith.texi (Parsing of Floats): Clarify
24180         cross-reference.
24182         [BZ #15849]
24183         * manual/install.texi (Running make install): Mention
24184         --enable-pt-chown.
24185         * INSTALL: Regenerated.
24187 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
24189         * csu/init-first.c (_init): Remove the !SHARED condition around
24190         FPU control word initialization.
24191         * elf/dl-support.c (_dl_fpu_control): New variable.
24192         (_dl_aux_init) <AT_FPUCW>: Initialize it.
24193         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
24194         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
24195         * math/test-fpucw-static.c: New file.
24196         * math/test-fpucw-ieee.c: New file.
24197         * math/test-fpucw-ieee-static.c: New file.
24198         * math/Makefile (tests): Add `test-fpucw-ieee' and
24199         `$(tests-static)'.
24200         (tests-static): New variable.
24201         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
24202         dependency to...
24203         [($(build-shared),yes)]
24204         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
24205         ... this.
24206         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
24207         New dependency.
24209 2013-09-09  Allan McRae  <allan@archlinux.org>
24211         [BZ #15939]
24212         * manual/string.texi (Collation Functions): Fix typo in
24213         strcoll example.
24214         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
24216         [BZ #15893]
24217         * stdlib/isomac.c (get_null_defines): Fix memory leak.
24219         [BZ #15892]
24220         * libio/memstream.c (open_memstream): Fix memory leak.
24221         * libio/wmemstream.c (open_wmemstream): Likewise.
24223         [BZ #15895]
24224         * nscd/netgroupcache.c: Fix nesting of ifdefs.
24226 2013-09-09  Will Newton  <will.newton@linaro.org>
24228         * malloc/Makefile: Add tst-realloc to tests.
24229         * malloc/tst-realloc.c: New file.
24231 2013-09-09  Allan McRae  <allan@archlinux.org>
24233         [BZ #15844]
24234         * COPYING: Update from GNU website to fix FSF address.
24235         * COPYING.LIB: Likewise.
24237 2013-09-06  David S. Miller  <davem@davemloft.net>
24239         * po/zh_TW.po: Update Chinese (traditional) translation from
24240         translation project.
24242 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
24243             Joseph Myers  <joseph@codesourcery.com>
24245         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
24246         "localeinfo.h".
24247         (obstack_chunk_alloc): New macro.
24248         (obstack_chunk_free): Likewise.
24249         (record_offset): New function.
24250         (init_locale_data): Likewise.
24251         (align_locale_data): Likewise.
24252         (add_locale_empty): Likewise.
24253         (add_locale_raw_data): Likewise.
24254         (add_locale_raw_obstack): Likewise.
24255         (add_locale_string): Likewise.
24256         (add_locale_wstring): Likewise.
24257         (add_locale_uint32): Likewise.
24258         (add_locale_uint32_array): Likewise.
24259         (add_locale_char): Likewise.
24260         (start_locale_structure): Likewise.
24261         (end_locale_structure): Likewise.
24262         (start_locale_prelude): Likewise.
24263         (end_locale_prelude): Likewise.
24264         (write_locale_data): Take locale_file structure rather than an
24265         iovec.
24266         * locale/programs/locfile.h: Include "obstack.h".
24267         (struct locale_file): Change to store locale file contents instead
24268         of header.
24269         (init_locale_data): New prototype.
24270         (align_locale_data): Likewise.
24271         (add_locale_empty): Likewise.
24272         (add_locale_raw_data): Likewise.
24273         (add_locale_raw_obstack): Likewise.
24274         (add_locale_string): Likewise.
24275         (add_locale_wstring): Likewise.
24276         (add_locale_uint32): Likewise.
24277         (add_locale_uint32_array): Likewise.
24278         (add_locale_char): Likewise.
24279         (start_locale_structure): Likewise.
24280         (end_locale_structure): Likewise.
24281         (start_locale_prelude): Likewise.
24282         (end_locale_prelude): Likewise.
24283         (write_locale_data): Update prototype.
24284         * locale/programs/3level.h (struct TABLE): Remove result field.
24285         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
24286         Use new locale_file interface.
24287         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
24288         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
24289         * locale/programs/ld-address.c (address_output): Use new
24290         locale_file interface.
24291         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
24292         NO_ADD_LOCALE.
24293         (collate_finish): Don't call collseq_table_finalize.
24294         (collate_output): Use new locale_file interface.
24295         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
24296         in file.
24297         (NO_FINALIZE): Change to NO_ADD_LOCALE.
24298         (TABLE): Move defines earlier in file.
24299         (ELEMENT): Likewise.
24300         (DEFAULT): Likewise.
24301         (wctrans_table_add): Move macro and inline function earlier in
24302         file.
24303         (struct wctype_table): Move type earlier in file.
24304         (add_locale_wctype_table): New static prototype.
24305         (struct locale_ctype_t): Use logical types instead of struct iovec
24306         pointers for members.
24307         (ctype_output): Use new locale_file interface.
24308         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
24309         new locale_file interface.
24310         (allocate_arrays): Update for use of new locale_file interface.
24311         * locale/programs/ld-identification.c (identification_output): Use
24312         new locale_file interface.
24313         * locale/programs/ld-measurement.c (measurement_output): Likewise.
24314         * locale/programs/ld-messages.c (messages_output): Likewise.
24315         * locale/programs/ld-monetary.c (monetary_output): Likewise.
24316         * locale/programs/ld-name.c (name_output): Likewise.
24317         * locale/programs/ld-numeric.c (numeric_output): Likewise.
24318         * locale/programs/ld-paper.c (paper_output): Likewise.
24319         * locale/programs/ld-telephone.c (telephone_output): Likewise.
24320         * locale/programs/ld-time.c (time_output): Likewise.
24322 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24324         * benchtests/Makefile: Add memrchr benchmark.
24325         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
24326         benchmark as memrchr.
24327         * benchtests/bench-memrchr-ifunc.c: New file.
24328         * benchtests/bench-memrchr.c: New file.
24330 2013-09-06   Will Newton  <will.newton@linaro.org>
24332         * benchtests/Makefile (string-bench): Add memcpy.
24334 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
24335             Cong Wang  <amwang@redhat.com>
24337         [BZ #15850]
24338         * sysdeps/unix/sysv/linux/bits/in.h
24339         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
24340         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
24341         before __USE_KERNEL_IPV6_DEFS uses.
24342         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
24343         IPPROTO_BEETPH.
24344         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
24345         sockaddr_in6, or ipv6_mreq.
24347 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24349         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
24350         memory access for final bytes in some large inputs.
24351         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
24353 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24355         * string/test-memrchr.c: New file.
24356         * string/test-memrchr-ifunc.c: New file.
24357         * string/Makefile: Add new memrchr testcase.
24359 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
24361         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
24362         fanotify_init returns EPERM.
24364 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24366         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
24367         errors.
24368         (top level): Treat second token from macro or constant entries for
24369         allowed headers as allowed.
24370         * include/complex.h: Condition internal declarations on
24371         [!_ISOMAC].
24372         * include/fenv.h: Condition include of <stdbool.h> and internal
24373         declarations on [!_ISOMAC].
24375 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
24377         [BZ #15923]
24378         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
24380 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
24382         * configure.in (--enable-versioning): Remove configure option.
24383         (libc_cv_asm_symver_directive): Remove configure test.
24384         (libc_cv_ld_version_script_option): Likewise.
24385         (VERSIONING): Remove variable and AC_SUBST.
24386         (DO_VERSIONING): Remove AC_DEFINE.
24387         * configure: Regenerated.
24388         * config.h.in (DO_VERSIONING): Remove macro.
24389         * Makerules [$(versioning) = yes]: Change conditionals to
24390         [$(build-shared) = yes].
24391         * config.make.in (versioning): Remove variable.
24392         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
24393         [$(build-shared) = yes].
24394         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
24395         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
24396         * elf/Makefile [$(versioning) = yes]: Change conditionals to
24397         [$(build-shared) = yes].
24398         * extra-lib.mk [$(versioning) = yes]: Likewise.
24399         * hurd/Makefile [$(versioning) = yes]: Likewise.
24400         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
24401         [SHARED].
24402         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
24403         [SHARED].
24404         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24405         [SHARED && !NO_HIDDEN].
24406         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
24407         [SHARED].
24408         [SHARED && DO_VERSIONING]: Likewise..
24409         * libio/Makefile [$(versioning) = yes]: Change conditionals to
24410         [$(build-shared) = yes].
24411         * manual/install.texi (--disable-versioning): Remove
24412         documentation.
24413         * INSTALL: Regenerated.
24414         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
24415         to [SHARED].
24416         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
24417         [$(build-shared) = yes].
24418         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
24419         * sysdeps/i386/i686/multiarch/strstr-c.c
24420         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
24421         [SHARED && !NO_HIDDEN].
24422         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
24423         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
24424         * sysdeps/powerpc/powerpc32/dl-machine.c
24425         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
24426         * sysdeps/powerpc/powerpc32/sysdep.h
24427         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
24428         to [SHARED && PIC && !NO_HIDDEN].
24429         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
24430         conditional to [SHARED].
24432 2013-09-04   Will Newton  <will.newton@linaro.org>
24434         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
24435         * benchtests/bench-string.h: Include bench-timing.h instead
24436         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
24437         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
24438         call to HP_TIMING_DIFF_INIT.
24439         * benchtests/bench-memccpy.c: Use bench-timing.h macros
24440         instead of hp-timing.h macros.
24441         * benchtests/bench-memchr.c: Likewise.
24442         * benchtests/bench-memcmp.c: Likewise.
24443         * benchtests/bench-memcpy.c: Likewise.
24444         * benchtests/bench-memmem.c: Likewise.
24445         * benchtests/bench-memmove.c: Likewise.
24446         * benchtests/bench-memset.c: Likewise.
24447         * benchtests/bench-rawmemchr.c: Likewise.
24448         * benchtests/bench-strcasecmp.c: Likewise.
24449         * benchtests/bench-strcasestr.c: Likewise.
24450         * benchtests/bench-strcat.c: Likewise.
24451         * benchtests/bench-strchr.c: Likewise.
24452         * benchtests/bench-strcmp.c: Likewise.
24453         * benchtests/bench-strcpy.c: Likewise.
24454         * benchtests/bench-strcpy_chk.c: Likewise.
24455         * benchtests/bench-strlen.c: Likewise.
24456         * benchtests/bench-strncasecmp.c: Likewise.
24457         * benchtests/bench-strncat.c: Likewise.
24458         * benchtests/bench-strncmp.c: Likewise.
24459         * benchtests/bench-strncpy.c: Likewise.
24460         * benchtests/bench-strnlen.c: Likewise.
24461         * benchtests/bench-strpbrk.c: Likewise.
24462         * benchtests/bench-strrchr.c: Likewise.
24463         * benchtests/bench-strspn.c: Likewise.
24464         * benchtests/bench-strstr.c: Likewise.
24466 2013-09-04  Will Newton  <will.newton@linaro.org>
24468         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
24470 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
24472         [BZ #15427]
24473         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
24474         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
24475         * math/libm-test.inc (lgamma_test_data): Add more tests.
24476         * sysdeps/i386/fpu/libm-test-ulps: Update.
24477         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24479 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
24481         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
24482         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24483         Add ifunc.
24484         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24485         Add strcmp-sse2-unaligned
24486         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
24488 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24490         * Versions.def (libc): Add GLIBC_2.19.
24492 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
24494         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
24495         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
24497 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
24499         [BZ #14155]
24500         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
24501         intermediate calculations in recurrence.
24502         (__ieee754_ynf): Likewise.
24503         * math/libm-test.inc (jn_test_data): Do not allow spurious
24504         underflow exception.  Add more tests.
24505         (yn_test_data): Add more tests.
24506         * sysdeps/i386/fpu/libm-test-ulps: Update.
24507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24509 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
24511         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
24513 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24515         * csu/init-first.c: Fix then/than typos.
24516         * locale/programs/ld-collate.c: Likewise.
24517         * locale/programs/linereader.h: Likewise.
24518         * manual/charset.texi: Likewise.
24519         * manual/filesys.texi: Likewise.
24520         * manual/stdio.texi: Likewise.
24521         * manual/string.texi: Likewise.
24522         * stdlib/fmtmsg.c: Likewise.
24523         * sysdeps/i386/stpncpy.S: Likewise.
24524         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24525         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
24526         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24527         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
24529 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
24531         * elf/dl-open.c: Fix typos.
24532         * iconvdata/gbbig5.c: Likewise.
24533         * iconvdata/iso-2022-jp.c: Likewise.
24534         * iconv/gconv_int.h: Likewise.
24535         * iconv/loop.c: Likewise.
24536         * nis/rpcsvc/nis.h: Likewise.
24537         * resolv/ns_name.c: Likewise.
24538         * stdio-common/vfscanf.c: Likewise.
24539         * streams/stropts.h: Likewise.
24540         * sunrpc/rpc_thread.c: Likewise.
24541         * sysdeps/i386/strpbrk.S: Likewise.
24542         * sysdeps/ieee754/k_standard.c: Likewise.
24543         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
24544         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
24545         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
24546         * sysdeps/mach/hurd/profil.c: Likewise.
24547         * sysdeps/s390/dl-procinfo.h: Likewise.
24548         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
24549         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
24550         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
24551         * sysdeps/x86_64/dl-trampoline.S: Likewise.
24552         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
24554 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
24556         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
24557         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
24559 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
24561         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
24562         aix specific files.
24563         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
24564         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
24565         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
24566         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
24567         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
24568         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
24569         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
24570         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
24572 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24573             Roland McGrath  <roland@hack.frob.com>
24575         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
24576         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
24578 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
24580         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
24581         __executable_start symbol instead of _start.
24583 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
24585         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
24586         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
24587         Move macros to...
24588         * sysdeps/gnu/ldsodefs.h: ... this new file.
24590         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
24591         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
24592         instead of ELFOSABI_LINUX.
24594         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
24595         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
24596         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
24597         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
24598         Likewise.
24599         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
24600         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
24601         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
24602         Likewise.
24603         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
24604         (ibm_extended_long_double): Add ieee_nan member.
24605         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
24606         (do_test): New function.
24608         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
24609         TEST_TRUNC.
24610         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
24611         functions, renamed from truncdfsf_test, trunctfsf_test,
24612         trunctfdf_test.
24613         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
24614         functions.
24615         (do_test): Run all these.
24617 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
24619         * argp/argp-help.c: Fix typos.
24620         * argp/argp-parse.c: Likewise.
24621         * debug/backtracesyms.c: Likewise.
24622         * elf/elf.h: Likewise.
24623         * malloc/malloc.c: Likewise.
24624         * nis/nis_print.c: Likewise.
24625         * resolv/res_comp.c: Likewise.
24626         * stdlib/stdlib.h: Likewise.
24627         * sunrpc/clnt_tcp.c: Likewise.
24628         * sunrpc/clnt_udp.c: Likewise.
24629         * sunrpc/clnt_unix.c: Likewise.
24630         * sysdeps/unix/bsd/ptsname.c: Likewise.
24631         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
24632         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
24633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
24634         Likewise.
24635         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
24636         Likewise.
24637         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
24638         Likewise.
24639         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
24641 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
24643         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
24644         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
24646 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
24648         [BZ #15897]
24649         * dlfcn/Makefile (tests): Add bug-dl-leaf.
24650         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
24651         ($(objpfx)bug-dl-leaf): New rule.
24652         ($(objpfx)bug-dl-leaf.so): Likewise.
24653         ($(objpfx)bug-dl-leaf.out): Likewise.
24654         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
24655         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
24656         * dlfcn/bug-dl-leaf.c: New test.
24657         * dlfcn/bug-dl-leaf-lib.c: Likewise.
24658         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
24659         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
24660         (dlclose): Likewise.
24661         (dlmopen): Likewise.
24663 2013-08-27  Roland McGrath  <roland@hack.frob.com>
24665         * include/netdb.h [!_ISOMAC]:
24666         Don't include <tls.h>.
24667         (h_errno, __libc_h_errno): Move declaration and macros out of
24668         [_LIBC_REENTRANT].
24670         * include/resolv.h [_RESOLV_H_]:
24671         Don't include <tls.h>.
24672         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
24673         * resolv/res_libc.c: Don't include <tls.h>.
24674         (_res): Use __attribute__ ((nocommon)) in place of
24675         __attribute__ ((section (".bss"))).
24677         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
24678         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
24680         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
24682         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
24683         only under [SIOCGIFCONF && SIOCGIFNETMASK].
24685         * resolv/res_mkquery.c: Include <sys/time.h>.
24687         * inet/ifreq.c: Moved to ...
24688         * sysdeps/unix/ifreq.c: ... here.
24689         * inet/ifreq.c: New file, true stub version.
24691         * socket/sa_len.c: New file.
24692         * socket/Makefile (aux): Add it.
24693         * sysdeps/unix/sysv/linux/Makefile
24694         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
24695         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
24696         and #include <socket/sa_len.c>.
24697         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
24698         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
24700         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
24701         * bits/socket.h: ... here.
24703         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
24704         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
24705         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
24707 2013-08-27  Andreas Schwab  <schwab@suse.de>
24709         [BZ #15736]
24710         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
24711         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
24712         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
24713         * string/test-strcasecmp.c (test_main): Run tests in several
24714         locales.
24715         * string/test-strncasecmp.c (test_main): Likewise.
24717         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
24718         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
24719         to __strcasecmp_nonascii and __strncasecmp_nonascii.
24720         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
24721         (__strncasecmp_ssse3) [PIC]: Likewise.
24723 2013-08-26  Roland McGrath  <roland@hack.frob.com>
24725         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
24727         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
24728         instead of explicitly declaring xdecrypt.
24729         * nis/nss_nis/nis-publickey.c: Likewise.
24731 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24733         [BZ #15890]
24734         * nscd/aicache.c: Include res_hconf.h.
24735         (addhstaiX): Initialize res_hconf.
24737 2013-08-26  Andreas Schwab  <schwab@suse.de>
24739         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
24740         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
24742 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
24744         * nscd/aicache.c (addhstaiX): Fix indentation.
24746 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
24748         * configure.ac: Quote $build_pt_chown test.
24749         * configure: Regenerated.
24751 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
24753         [BZ #15532]
24754         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
24755         * math/s_cexpf.c (__cexpf): Likewise.
24756         * math/s_cexpl.c (__cexpl): Likewise.
24757         * math/libm-test.inc (cexp_test_data): Correct expected return
24758         value for NaN + i0.  Add another test.
24760 2013-08-22  David S. Miller  <davem@davemloft.net>
24762         * po/ca.po: Update Catalan translation from translation project.
24763         * po/uk.po: Add Ukrainian translations from translation project.
24765 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
24767         [BZ #15797]
24768         * math/s_fdim.c (__fdim): Check for infinite arguments if result
24769         is infinite, not alongside NaN test.
24770         * math/s_fdimf.c (__fdimf): Likewise.
24771         * math/s_fdiml.c (__fdiml): Likewise.
24772         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
24773         errno is unchanged.
24775 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
24777         * argp/argp-help.c: Fix typos.
24778         * crypt/speeds.c: Likewise.
24779         * csu/check_fds.c: Likewise.
24780         * elf/dl-load.c: Likewise.
24781         * elf/dl-open.c: Likewise.
24782         * elf/reldep3.c: Likewise.
24783         * elf/reldep.c: Likewise.
24784         * elf/sprof.c: Likewise.
24785         * iconv/iconv_charmap.c: Likewise.
24786         * iconv/skeleton.c: Likewise.
24787         * iconv/strtab.c: Likewise.
24788         * io/lockf64.c: Likewise.
24789         * libio/libioP.h: Likewise.
24790         * resolv/gai_notify.c: Likewise.
24791         * resolv/ns_name.c: Likewise.
24792         * resolv/ns_samedomain.c: Likewise.
24793         * resolv/res_send.c: Likewise.
24794         * stdlib/random.c: Likewise.
24795         * sunrpc/rpc/xdr.h: Likewise.
24796         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
24797         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
24798         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
24799         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
24800         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
24801         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
24802         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
24803         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
24804         * sysdeps/mach/hurd/check_fds.c: Likewise.
24805         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
24806         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
24807         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24808         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
24809         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
24810         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
24811         * sysdeps/pthread/aio_notify.c: Likewise.
24812         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
24813         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
24814         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
24815         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
24816         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
24818 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
24820         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
24821         version if bit_Slow_SSE4_2 is set.
24822         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24823         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24825 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24827         [BZ #15867]
24828         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
24829         trampoline stack frame information.
24830         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
24831         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
24832         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
24833         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
24834         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
24835         * sysdeps/unix/sysv/linux/powerpc/init-first.c
24836         (_libc_vdso_platform_setup): Initialize the signal trampolines.
24837         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
24838         sa_flags value.
24839         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
24840         interrupting a syscall and set with option SA_SIGINFO.
24842 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24844         [BZ #15531]
24845         * math/s_cproj.c (__cproj): Only return an infinity if one part of
24846         argument is infinite.
24847         * math/s_cprojf.c (__cprojf): Likewise.
24848         * math/s_cprojl.c (__cprojl): Likewise.
24849         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
24850         * math/libm-test.inc (cproj_test_data): Add more tests.
24852         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
24854         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
24855         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
24856         size.  Use __ffs to determine corresponding shift.
24858 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
24859             Roland McGrath  <roland@hack.frob.com>
24861         * Makefile (INSTALL): Remove trailing blank lines from output of
24862         makeinfo.
24864 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24866         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
24867         Align 32 bit compat elf_greg to 8 bytes.
24869 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
24871         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
24873 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24875         * string/strcoll_l.c (coll_seq): New structure.
24876         (get_next_seq_cached): New function.
24877         (get_next_seq): New function.
24878         (do_compare): New function.
24879         (STRCOLL): Use GNU style definition.  Simplify implementation
24880         by using get_next_seq, get_next_seq_cached and do_compare.
24882 2013-08-16  Florian Weimer  <fweimer@redhat.com>
24884         [BZ #14699]
24885         CVE-2013-4237
24886         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
24887         member.
24888         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
24889         member.
24890         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
24891         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
24892         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
24893         conditional.
24894         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
24895         GETDENTS_64BIT_ALIGNED.
24896         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
24897         * manual/filesys.texi (Reading/Closing Directory): Document
24898         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
24899         strongly.
24900         * manual/conf.texi (Limits for Files): Add portability note to
24901         NAME_MAX, PATH_MAX.
24902         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
24904 2013-08-13  Andreas Schwab  <schwab@suse.de>
24906         [BZ #15749]
24907         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
24908         of fabs.
24909         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
24910         LDBL_MAX_EXP >= 16384]: Add tests for it.
24912 2013-08-12  David S. Miller  <davem@davemloft.net>
24914         * version.h (RELEASE): Set to "development".
24915         (VERSION): Set to "2.18.90".
24916         * NEWS: Add 2.19 section.
24918 2013-08-03  David S. Miller  <davem@davemloft.net>
24920         * po/ko.po: Update Korean translation from translation project.
24922 2013-08-01  David S. Miller  <davem@davemloft.net>
24924         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
24925         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
24926         Bilka.
24928 2013-07-30  David S. Miller  <davem@davemloft.net>
24930         * po/fr.po: Update French translation from translation project.
24932 2013-07-28  David S. Miller  <davem@davemloft.net>
24934         * po/cs.po: Update Czech translation from translation project.
24936         * po/sv.po: Update Swedish translation from translation project.
24938 2013-07-27  David S. Miller  <davem@davemloft.net>
24940         * po/eo.po: Update Esperanto translation from translation project.
24942         * po/vi.po: Update Vietnamese translation from translation project.
24944         * po/de.po: Update German translation from translation project.
24946 2013-07-26  David S. Miller  <davem@davemloft.net>
24948         * po/bg.po: Update Bulgarian translation from translation project.
24950         * po/nl.po: Update Dutch translation from translation project.
24951         * po/pl.po: Update Polish translation from translation project.
24952         * po/ru.po: Update Russian translation from translation project.
24954 2013-07-24  David S. Miller  <davem@davemloft.net>
24956         * po/libc.pot: Update.
24958 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24960         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
24961         variable page size.
24962         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
24963         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
24964         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
24966 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24968         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
24970 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24971             Andreas Schwab  <schwab@suse.de>
24972             Roland McGrath  <roland@hack.frob.com>
24973             Joseph Myers  <joseph@codesourcery.com>
24974             Carlos O'Donell  <carlos@redhat.com>
24976         [BZ #15755]
24977         * config.h.in: Define HAVE_PT_CHOWN.
24978         * config.make.in (build-pt-chown): New variable.
24979         * configure.in (--enable-pt_chown): New configure option.
24980         * configure: Regenerate.
24981         * login/Makefile: Include Makeconfig.  Build pt_chown only if
24982         build-pt-chown is enabled.
24983         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
24984         pt_chown to fix pty ownership.
24985         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
24986         CLOSE_ALL_FDS.
24987         * manual/install.texi (Configuring and compiling): Mention
24988         --enable-pt_chown. Add @findex for grantpt.
24989         * INSTALL: Regenerate.
24991 2013-07-20  David S. Miller  <davem@davemloft.net>
24993         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
24994         difference between 32-bit and 64-bit.
24996 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
24998         [BZ #15711]
24999         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
25000         Avoid system header dependency with -ffreestanding.
25001         ($(objpfx)bits/syscall%d): Likewise.
25003 2013-07-13  David S. Miller  <davem@davemloft.net>
25005         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
25006         underflows from atanl/atan2l due to bug 15319.
25007         (casinh_test_data): Likewise.
25009 2013-07-07  David S. Miller  <davem@davemloft.net>
25011         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
25013 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
25015         * sysdeps/i386/fpu/libm-test-ulps: Update.
25016         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25018 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25020         * configure.in (--enable-lock-elision): Fix message text.
25021         * INSTALL: Regenerate.
25022         * configure: Regenerate.
25024 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25026         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
25028 2013-07-03  Andreas Jaeger  <aj@suse.de>
25030         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
25031         define.
25032         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
25033         (ptrace_peeksiginfo_args): Add.
25034         (__ptrace_peeksiginfo_flags): Add.
25035         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
25036         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
25037         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
25039 2013-07-03  Allan McRae  <allan@archlinux.org>
25041         * sysdeps/i386/fpu/libm-test-ulps: Update.
25043 2013-07-02  David S. Miller  <davem@davemloft.net>
25045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25047 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
25049         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25051 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25053         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
25054         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25056 2013-07-02  Andi Kleen <ak@linux.intel.com>
25058         * config.h.in (ENABLE_LOCK_ELISION): Add.
25059         * configure.in (--enable-lock-elision): Add option.
25060         * manual/install.texi: Document --enable lock elision.
25061         * configure: Regenerate
25062         * INSTALL: Regenerate.
25064 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
25066         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
25067         SSE4.2 strcasecmp for libc.a.
25068         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
25070 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
25072         [BZ #13304]
25073         * soft-fp/op-common.h (_FP_FMA): New macro.
25074         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
25075         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
25076         (_FP_MUL_MEAT_1_imm): ... here.
25077         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
25078         (_FP_MUL_MEAT_1_wide): ... here.
25079         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
25080         (_FP_MUL_MEAT_1_hard): ... here.
25081         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
25082         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
25083         (_FP_MUL_MEAT_2_wide): ... here.
25084         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
25085         (_FP_MUL_MEAT_2_wide_3mul): ... here.
25086         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
25087         (_FP_MUL_MEAT_2_gmp): ... here.
25088         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
25089         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
25090         (_FP_MUL_MEAT_4_wide): ... here.
25091         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
25092         (_FP_MUL_MEAT_4_gmp): ... here.
25093         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
25094         (_FP_WFRACBITS_DW_S): Likewise.
25095         (_FP_WFRACXBITS_DW_S): Likewise.
25096         (_FP_HIGHBIT_DW_S): Likewise.
25097         (FP_FMA_S): Likewise.
25098         (_FP_FRAC_HIGH_DW_S): Likewise.
25099         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
25100         (_FP_WFRACBITS_DW_D): Likewise.
25101         (_FP_WFRACXBITS_DW_D): Likewise.
25102         (_FP_HIGHBIT_DW_D): Likewise.
25103         (FP_FMA_D): Likewise.
25104         (_FP_FRAC_HIGH_DW_D): Likewise.
25105         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
25106         (_FP_WFRACBITS_DW_E): Likewise.
25107         (_FP_WFRACXBITS_DW_E): Likewise.
25108         (_FP_HIGHBIT_DW_E): Likewise.
25109         (FP_FMA_E): Likewise.
25110         (_FP_FRAC_HIGH_DW_E): Likewise.
25111         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
25112         (_FP_WFRACBITS_DW_Q): Likewise.
25113         (_FP_WFRACXBITS_DW_Q): Likewise.
25114         (_FP_HIGHBIT_DW_Q): Likewise.
25115         (FP_FMA_Q): Likewise.
25116         (_FP_FRAC_HIGH_DW_Q): Likewise.
25117         * soft-fp/fmasf4.c: New file.
25118         * soft-fp/fmadf4.c: Likewise.
25119         * soft-fp/fmatf4.c: Likewise.
25121 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25123         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
25124         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
25125         Silvermont.
25126         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
25127         macro.
25128         (index_Slow_SSE4_2): Likewise.
25129         (index_Prefer_PMINUB_for_stringop): Likewise.
25130         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
25131         bit_Slow_SSE4_2 is set.
25132         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
25133         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
25135 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25137         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
25138         rtld_global._dl_hwcap2.
25139         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
25140         POWER8.
25141         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
25142         POWER8 feature descriptions defined in _dl_hwcap2.
25143         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
25144         string handling for POWER8 feature bits.
25145         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
25146         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
25147         _dl_powerpc_cap_flags.
25148         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
25149         * sysdeps/powerpc/rtld-global-offsets.sym
25150         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
25151         _dl_hwcap2 in the rtld_global_ro structure.
25153 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25155         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
25156         hardware capabilities in support of AT_HWCAP2.
25157         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
25158         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
25159         GLRO(dl_hwcap2).
25160         (_dl_show_auxv): Add support for calling _dl_procinfo to display
25161         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
25162         explicitly the unknown a_type display mechanism is used.
25163         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
25164         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
25165         struct member.
25166         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
25167         to macro prototype for AT_HWCAP2 support.
25168         * sysdeps/i386/dl-procinfo.h: Likewise.
25169         * sysdeps/s390/dl-procinfo.h: Likewise.
25170         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
25171         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
25172         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
25173         return -1 for unknown a_type display fallback.
25174         * sysdeps/sparc/dl-procinfo.h: Likewise.
25175         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
25176         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
25178 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
25180         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
25181         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
25183 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
25185         [BZ #12492]
25186         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
25187         mprotect making __stack_prot writable.
25189 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
25190             Joseph Myers  <joseph@codesourcery.com>
25192         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
25193         as being properly aligned.
25195 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
25197         * dlfcn/modstatic5.c: New file.
25198         * dlfcn/tststatic5.c: New file.
25199         * dlfcn/Makefile (tests): Add tststatic5.
25200         (tests-static): Likewise.
25201         (modules-names): Add modstatic5.
25202         (tststatic5-ENV): New variable.
25203         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
25205         [BZ #15022]
25206         * elf/dl-support.c (_dl_main_map): New variable.
25207         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
25208         (_dl_nns, _dl_load_adds): Set to 1.
25209         (_dl_initial_searchlist): Refer to _dl_main_map.
25210         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
25211         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
25212         call to _dl_get_origin.
25213         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
25214         around call_map.
25215         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
25216         * dlfcn/modstatic3.c: New file.
25217         * dlfcn/tststatic3.c: New file.
25218         * dlfcn/tststatic4.c: New file.
25219         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
25220         (tests-static): Likewise.
25221         (modules-names): Add modstatic3.
25222         (tststatic3-ENV, tststatic4-ENV): New variables.
25223         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
25224         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
25226 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
25228         * configure.in (CC): Require GCC version 4.4 or later.
25229         * configure: Regenerated.
25230         * manual/install.texi (Tools for Compilation): Update GCC version
25231         requirement.
25232         * INSTALL: Regenerated.
25234 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25236         [BZ #15674]
25237         * string/test-memcmp.c (check2): New.
25238         (main): Call check2.
25240         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
25242 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
25244         [BZ #15022]
25245         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
25246         over to...
25247         (dl_open_worker) [!SHARED]: ... here.
25249 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25251         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
25253 2013-06-25  Richard Henderson  <rth@redhat.com>
25255         * locale/programs/locarchive.c: Include <libc-internal.h>
25257 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
25259         * manual/texinfo.tex: Update to version 2013-06-21.17, with
25260         trailing whitespace removed.
25262 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25264         [BZ #10283]
25265         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
25266         * locale/programs/locarchive.c: Include libc-mmap.h.
25267         (prepare_address_space): Take two new outputs (the mmap base and len).
25268         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
25269         values.
25270         (create_archive): Declare new mmap base and len values for
25271         prepare_address_space, and store the result in ah.
25272         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
25273         (enlarge_archive): If ah->mmap_base is not NULL, use that and
25274         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25275         Declare new mmap base and len values for
25276         prepare_address_space, and store the result in new_ah.
25277         (open_archive): Declare new mmap base and len values for
25278         prepare_address_space, and store the result in ah.
25279         (close_archive): If ah->mmap_base is not NULL, use that and
25280         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
25281         * sysdeps/generic/libc-mmap.h: New file.
25283 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
25285         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
25286         (ALIGN_UP): Likewise.
25287         (PTR_ALIGN_DOWN): Likewise.
25288         (PTR_ALIGN_UP): Likewise.
25290 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25292         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
25293         entry mapped to PPC_PLATFORM_POWER8.
25294         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
25295         POWER8.
25296         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
25297         (_dl_string_platform): Add case for exporting platform position for
25298         POWER8.
25299         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
25300         search path to sysdeps/powerpc/powerpc32/power8 directory.
25301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
25302         search path to sysdeps/powerpc/powerpc64/power8 directory.
25303         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
25304         power7 directories.
25305         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
25306         power7 directories.
25308 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
25310         * INSTALL: Regenerate.
25312         * nscd/connections.c (nscd_init): Fix comment.
25314 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
25316         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
25318         [BZ #15667]
25319         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
25320         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
25322 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25324         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
25325         DL_DST_REQ_STATIC.
25326         (DL_DST_REQ_STATIC): Remove macro.
25328 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
25330         [BZ #7006]
25331         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
25332         with a shift of 0 bits.
25334 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
25336         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
25337         $(tststatic-ENV).
25339 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25341         [BZ #15655]
25342         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
25344 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25346         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
25347         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
25348         accepts -fno-tree-loop-distribute-patterns.
25349         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
25350         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
25351         recursive call.
25352         * string/memset.c (memset): Likewise.
25353         * string/test-memmove.c (simple_memmove): Disable loop transformation
25354         to library calls.
25355         * string/test-memset.c (simple_memset): Likewise.
25356         * benchtests/bench-memmove.c (simple_memmove): Likewise.
25357         * benchtests/bench-memset.c (simple_memset): Likewise.
25358         * configure: Regenerated.
25360 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
25362         * math/test-misc.c (main): Ignore fesetround failure when failures
25363         of subsequent rounding tests would be ignored.
25365         [BZ #15654]
25366         * math/fedisblxcpt.c (fedisableexcept): Return 0.
25367         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
25368         * math/fegetenv.c (__fegetenv): Return 0.
25369         * math/fegetexcept.c (fegetexcept): Return 0.
25370         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
25371         FE_TONEAREST.
25372         * math/feholdexcpt.c (feholdexcept): Return 0.
25373         * math/fesetenv.c (__fesetenv): Return 0.
25374         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
25375         argument FE_TONEAREST.
25376         * math/feupdateenv.c (__feupdateenv): Return 0.
25377         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
25379 2013-06-18  Roland McGrath  <roland@hack.frob.com>
25381         * elf/rtld-Rules (rtld-compile-command.S): New variable.
25382         (rtld-compile-command.s, rtld-compile-command.c): New variables.
25383         ($(objpfx)rtld-%.os rules): Use them.
25385 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25387         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
25388         fields.
25390 2013-06-17  Roland McGrath  <roland@hack.frob.com>
25392         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
25393         length of target pattern, then descending length of dependency pattern.
25394         * configure.in (AWK): Require gawk 3.1.2 or newer.
25395         * manual/install.texi (Tools for Compilation): Say that we do.
25396         * configure: Regenerated.
25398         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
25399         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
25400         * scripts/sysd-rules.awk: ... this new script.
25401         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
25402         than a glob-style pattern.
25404 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
25406         * math/test-misc.c (main): Do not treat incorrectly rounded
25407         conversions as failure unless ROUNDING_TESTS passes.
25409 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
25411         [BZ #15631]
25412         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
25413         restore exception state around main square root computation, then
25414         check for inexactness explicitly.
25416         * math/libm-test.inc (fma_test_data): Add another test.
25418 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
25420         * manual/threads.texi (Non-POSIX Extensions): New document
25421         node.  Document pthread_getattr_default_np and
25422         pthread_setattr_default_np.
25424         * Versions.def (libpthread): Add GLIBC_2.18.
25425         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
25426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
25427         Likewise.
25428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
25429         Likewise.
25430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
25431         Likewise.
25432         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
25433         Likewise.
25434         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
25435         Likewise.
25436         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
25437         Likewise.
25438         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
25439         Likewise.
25440         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
25441         Likewise.
25442         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
25443         Likewise.
25445 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
25447         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25448         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
25450 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
25451             H.J. Lu  <hjl.tools@gmail.com>
25453         [BZ #15627]
25454         * sysdeps/x86_64/rtld-memset.c: Remove file.
25455         * sysdeps/x86_64/rtld-memset.S: New file.
25457 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
25459         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
25460         (test_in_one_mode): Take arguments for whether the rounding mode
25461         is supported for each floating-point type.
25462         (do_test): Pass new arguments to test_in_one_mode using
25463         ROUNDING_TESTS.
25465 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25467         * posix/tst-waitid.c (do_test): Distinguish different instances of
25468         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
25469         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
25470         before entering the kernel for waitpid.
25472 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25474         * NEWS: Fix note on clock function precision.  Text by Roland
25475         McGrath.
25477 2013-06-13  Roland McGrath  <roland@hack.frob.com>
25479         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
25480         it into place only when and if the sanity check passes.
25482 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
25484         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
25485         output for whether conversion result is exact.  Take argument
25486         indicating whether type is IBM long double.
25487         (round_for_all): Change need_exact field to ibm_ld.
25488         * stdlib/tst-strtod-round.c (struct exactness): New type.
25489         (struct test): Change bool ld_ok field to struct exactness exact.
25490         (TEST): Update all definitions for change to field.
25491         (tests): Regenerate array contents.
25492         (test_in_one_mode): Take pointer to new field instead of old ld_ok
25493         field value.  Check for IBM long double here.
25494         (do_test): Update calls to test_in_one_mode.
25496 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25498         [BZ #12515]
25499         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
25500         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
25502 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25504         [BZ #15605]
25505         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
25506         generated by the compiler on loop optimizations.
25507         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
25508         general definitions.
25510 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
25512         * math/bug-nextafter.c: Include <math-tests.h>.
25513         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25514         the relevant type.
25515         * math/bug-nexttoward.c: Include <math-tests.h>.
25516         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25517         the relevant type.
25518         * math/test-misc.c: Include <math-tests.h>.
25519         (main): Only test for exceptions if EXCEPTION_TESTS is true for
25520         the relevant type.
25522 2013-06-12  Andreas Jaeger  <aj@suse.de>
25524         * po/ia.po: Update Interlingua translation from translation
25525         project.
25527 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
25529         * include/fenv.h: Include stdbool.h.
25530         (struct rm_ctx): New structure.
25531         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
25532         Define macro.
25533         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
25534         (SET_RESTORE_ROUNDF): Likewise.
25535         (SET_RESTORE_ROUNDL): Likewise.
25536         (SET_RESTORE_ROUND_NOEX): Likewise.
25537         (SET_RESTORE_ROUND_NOEXF): Likewise.
25538         (SET_RESTORE_ROUND_NOEXL): Likewise.
25539         (SET_RESTORE_ROUND_53BIT): Likewise.
25540         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
25541         (libc_feresetround_noexf_ctx): Likewise.
25542         (libc_feresetround_noexl_ctx): Likewise.
25543         (libc_feholdsetround_53bit_ctx): Likewise.
25544         (libc_feresetround_53bit_ctx): Likewise.
25545         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
25546         (libc_feholdexcept_setround_sse_ctx): New function.
25547         (libc_fesetenv_sse_ctx): Likewise.
25548         (libc_feupdateenv_sse_ctx): Likewise.
25549         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
25550         (libc_feholdexcept_setround_387_ctx): Likewise.
25551         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
25552         (libc_feholdsetround_387_prec_ctx): Likewise.
25553         (libc_feholdsetround_387_ctx): Likewise.
25554         (libc_feholdsetround_387_53bit_ctx): Likewise.
25555         (libc_feholdsetround_sse_ctx): Likewise.
25556         (libc_feresetround_sse_ctx): Likewise.
25557         (libc_feresetround_387_ctx): Likewise.
25558         (libc_feupdateenv_387_ctx): Likewise.
25559         (libc_feholdexcept_setroundf_ctx): Define macro.
25560         (libc_fesetenvf_ctx): Likewise.
25561         (libc_feupdateenvf_ctx): Likewise.
25562         (libc_feholdsetroundf_ctx): Likewise.
25563         (libc_feresetroundf_ctx): Likewise.
25564         (libc_feholdexcept_setround_ctx): Likewise.
25565         (libc_fesetenv_ctx): Likewise.
25566         (libc_feupdateenv_ctx): Likewise.
25567         (libc_feholdsetround_ctx): Likewise.
25568         (libc_feresetround_ctx): Likewise.
25569         (libc_feholdexcept_setroundl_ctx): Likewise.
25570         (libc_feupdateenvl_ctx): Likewise.
25571         (libc_feholdsetroundl_ctx): Likewise.
25572         (libc_feresetroundl_ctx): Likewise.
25573         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
25574         (libc_feresetround_53bit_ctx): Likewise.
25576 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25578         * locale/iso-639.def: Convert to UTF-8.
25580 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
25582         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
25583         (EXCEPTION_TESTS_double): Likewise.
25584         (EXCEPTION_TESTS_long_double): Likewise.
25585         (EXCEPTION_TESTS): Likewise.
25586         * math/libm-test.inc (test_exceptions): Only test exceptions if
25587         EXCEPTION_TESTS (FLOAT).
25589 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25591         * benchtests/Makefile (string-bench): Add strcpy_chk and
25592         stpcpy_chk.
25593         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
25594         * benchtests/bench-stpcpy_chk.c: New file.
25595         * benchtests/bench-strcpy_chk-ifunc.c: New file.
25596         * benchtests/bench-strcpy_chk.c: New file.
25597         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
25598         code.
25599         (do_test): Likewise.
25601 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25603         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
25604         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
25605         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
25606         with tabs where appropriate.
25607         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
25608         dl-procinfo.h.
25609         [PPC_PLATFORM_PPC440]: Likewise.
25610         [PPC_PLATFORM_PPC464]: Likewise.
25611         [PPC_PLATFORM_PPC476]: Likewise.
25612         (_dl_string_platform): Add support for detecting ppc405, ppc440,
25613         ppc464, and ppc476 platform strings merging from ports/
25614         dl-procinfo.h.
25616 2013-06-11  Andreas Schwab  <schwab@suse.de>
25618         [BZ #14991]
25619         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
25620         (from_ucs4_idx): Regenerate.
25621         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
25622         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
25623         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
25624         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
25625         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
25626         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
25627         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
25628         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
25629         from FROM_LOOP and TO_LOOP specific macros.
25630         (BODY): Handle combining characters.
25631         * iconvdata/BIG5HKSCS.irreversible: Update.
25632         * iconvdata/BIG5HKSCS.precomposed: New file.
25633         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
25634         characters.
25635         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
25637 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25639         * include/sys/time.h: Fix indentation and add copyright header.
25641         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
25642         (do_test): Likewise.
25643         * string/test-memchr.c (do_one_test): Likewise.
25644         (do_test): Likewise.
25645         * string/test-memcmp.c (do_one_test): Likewise.
25646         (do_test): Likewise.
25647         * string/test-memcpy.c (do_one_test): Likewise.
25648         (do_test): Likewise.
25649         * string/test-memmem.c (do_one_test): Likewise.
25650         (do_test): Likewise.
25651         (do_random_tests): Likewise.
25652         * string/test-memmove.c (do_one_test): Likewise.
25653         (do_test): Likewise.
25654         * string/test-memset.c (do_one_test): Likewise.
25655         (do_test): Likewise.
25656         * string/test-rawmemchr.c (do_one_test): Likewise.
25657         (do_test): Likewise.
25658         * string/test-strcasecmp.c (do_one_test): Likewise.
25659         (do_test): Likewise.
25660         * string/test-strcasestr.c (do_one_test): Likewise.
25661         (do_test): Likewise.
25662         * string/test-strcat.c (do_one_test): Likewise.
25663         (do_test): Likewise.
25664         * string/test-strchr.c (do_one_test): Likewise.
25665         (do_test): Likewise.
25666         * string/test-strcmp.c (do_one_test): Likewise.
25667         (do_test): Likewise.
25668         * string/test-strcpy.c (do_one_test): Likewise.
25669         (do_test): Likewise.
25670         * string/test-string.h: Likewise.
25671         (test_init): Likewise.
25672         * string/test-strlen.c (do_one_test): Likewise.
25673         (do_test): Likewise.
25674         * string/test-strncasecmp.c (do_one_test): Likewise.
25675         (do_test): Likewise.
25676         * string/test-strncat.c (do_one_test): Likewise.
25677         (do_test): Likewise.
25678         * string/test-strncmp.c (do_one_test): Likewise.
25679         (do_test_limit): Likewise.
25680         (do_test): Likewise.
25681         * string/test-strncpy.c (do_one_test): Likewise.
25682         (do_test): Likewise.
25683         * string/test-strnlen.c (do_one_test): Likewise.
25684         (do_test): Likewise.
25685         * string/test-strpbrk.c (do_one_test): Likewise.
25686         (do_test): Likewise.
25687         * string/test-strrchr.c (do_one_test): Likewise.
25688         (do_test): Likewise.
25689         * string/test-strspn.c (do_one_test): Likewise.
25690         (do_test): Likewise.
25691         * string/test-strstr.c (do_one_test): Likewise.
25692         (do_test): Likewise.
25694         * benchtests/Makefile (string-bench): Add string benchmarks.
25695         * benchtests/bench-bcopy-ifunc.c: New file.
25696         * benchtests/bench-bcopy.c: New file.
25697         * benchtests/bench-bzero-ifunc.c: New file.
25698         * benchtests/bench-bzero.c: New file.
25699         * benchtests/bench-memccpy-ifunc.c: New file.
25700         * benchtests/bench-memccpy.c: New file.
25701         * benchtests/bench-memchr-ifunc.c: New file.
25702         * benchtests/bench-memchr.c: New file.
25703         * benchtests/bench-memcmp-ifunc.c: New file.
25704         * benchtests/bench-memcmp.c: New file.
25705         * benchtests/bench-memmem-ifunc.c: New file.
25706         * benchtests/bench-memmem.c: New file.
25707         * benchtests/bench-memmove-ifunc.c: New file.
25708         * benchtests/bench-memmove.c: New file.
25709         * benchtests/bench-mempcpy-ifunc.c: New file.
25710         * benchtests/bench-mempcpy.c: New file.
25711         * benchtests/bench-memset-ifunc.c: New file.
25712         * benchtests/bench-memset.c: New file.
25713         * benchtests/bench-rawmemchr-ifunc.c: New file.
25714         * benchtests/bench-rawmemchr.c: New file.
25715         * benchtests/bench-stpcpy-ifunc.c: New file.
25716         * benchtests/bench-stpcpy.c: New file.
25717         * benchtests/bench-stpncpy-ifunc.c: New file.
25718         * benchtests/bench-stpncpy.c: New file.
25719         * benchtests/bench-strcasecmp-ifunc.c: New file.
25720         * benchtests/bench-strcasecmp.c: New file.
25721         * benchtests/bench-strcasestr-ifunc.c: New file.
25722         * benchtests/bench-strcasestr.c: New file.
25723         * benchtests/bench-strcat-ifunc.c: New file.
25724         * benchtests/bench-strcat.c: New file.
25725         * benchtests/bench-strchr-ifunc.c: New file.
25726         * benchtests/bench-strchr.c: New file.
25727         * benchtests/bench-strchrnul-ifunc.c: New file.
25728         * benchtests/bench-strchrnul.c: New file.
25729         * benchtests/bench-strcmp-ifunc.c: New file.
25730         * benchtests/bench-strcmp.c: New file.
25731         * benchtests/bench-strcpy-ifunc.c: New file.
25732         * benchtests/bench-strcpy.c: New file.
25733         * benchtests/bench-strcspn-ifunc.c: New file.
25734         * benchtests/bench-strcspn.c: New file.
25735         * benchtests/bench-strlen-ifunc.c: New file.
25736         * benchtests/bench-strlen.c: New file.
25737         * benchtests/bench-strncasecmp-ifunc.c: New file.
25738         * benchtests/bench-strncasecmp.c: New file.
25739         * benchtests/bench-strncat-ifunc.c: New file.
25740         * benchtests/bench-strncat.c: New file.
25741         * benchtests/bench-strncmp-ifunc.c: New file.
25742         * benchtests/bench-strncmp.c: New file.
25743         * benchtests/bench-strncpy-ifunc.c: New file.
25744         * benchtests/bench-strncpy.c: New file.
25745         * benchtests/bench-strnlen-ifunc.c: New file.
25746         * benchtests/bench-strnlen.c: New file.
25747         * benchtests/bench-strpbrk-ifunc.c: New file.
25748         * benchtests/bench-strpbrk.c: New file.
25749         * benchtests/bench-strrchr-ifunc.c: New file.
25750         * benchtests/bench-strrchr.c: New file.
25751         * benchtests/bench-strspn-ifunc.c: New file.
25752         * benchtests/bench-strspn.c: New file.
25753         * benchtests/bench-strstr-ifunc.c: New file.
25754         * benchtests/bench-strstr.c: New file.
25756         * benchtests/Makefile: Disable parallel execution of targets.
25757         (string-bench): Add memcpy.
25758         (benchset): New variable to store a list of benchmark sets.
25759         (bench-func): Renamed from bench.
25760         (bench-set): New target.
25761         (bench): Depend on bench-func and bench-set.
25762         * benchtests/README: Add section on benchmark sets.
25763         * benchtests/bench-memcpy-ifunc.c: New file.
25764         * benchtests/bench-memcpy.c: New file.
25765         * benchtests/bench-string.h: New file.
25767 2013-06-11  Andreas Schwab  <schwab@suse.de>
25769         [BZ #15577]
25770         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
25771         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
25772         values in the triple.
25773         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
25774         terminator in the group key.
25776 2013-06-11  Andreas Jaeger  <aj@suse.de>
25778         * po/zh_TW.po: Update Chinese (traditional) translation from
25779         translation project.
25781 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
25783         * include/time.h (__clock_gettime): Add libc_hidden_proto.
25784         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
25785         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
25786         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25787         (clock_getcpuclockid): Likewise.
25788         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
25789         Add weak_alias and libc_hidden_def.
25790         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
25791         * rt/clock_gettime.c (clock_gettime): Rename to
25792         __clock_gettime.  Add weak_alias and libc_hidden_def.
25793         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
25794         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
25795         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
25796         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
25797         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
25798         Likewise.
25799         * rt/clock_settime.c (clock_settime): Rename to
25800         __clock_settime.  Add weak_alias and libc_hidden_def.
25801         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
25803 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
25805         * mach/err_boot.sub: Remove trailing whitespace.
25806         * mach/err_ipc.sub: Likewise.
25807         * mach/err_mach.sub: Likewise.
25809         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
25810         (ROUNDING_TESTS_double): Likewise.
25811         (ROUNDING_TESTS_long_double): Likewise.
25812         (ROUNDING_TESTS): Likewise.
25813         * math/libm-test.inc: Include <math-tests.h>.
25814         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
25815         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
25816         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
25817         (IF_ROUND_INIT_FE_UPWARD): Likewise.
25819 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25821         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
25822         of assigning.
25824 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
25826         * sysdeps/gnu/errlist.awk: Do not generate space at end of
25827         otherwise empty TRANS lines.
25828         * sysdeps/gnu/errlist.c: Regenerated.
25830         * catgets/gencat.c (error_print): Use (void) in function
25831         definition.
25832         * crypt/crypt_util.c (__init_des): Likewise.
25833         * crypt/speeds.c (Stop): Likewise.
25834         (main): Likewise.
25835         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
25836         * inet/ruserpass.c (token): Likewise.
25837         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
25838         * intl/localealias.c (extend_alias_table): Likewise.
25839         * intl/plural-exp.c (init_germanic_plural): Likewise.
25840         * libio/fcloseall.c (__fcloseall): Likewise.
25841         * libio/genops.c (_IO_flush_all): Likewise.
25842         (_IO_flush_all_linebuffered): Likewise.
25843         (_IO_cleanup): Likewise.
25844         (_IO_iter_begin): Likewise.
25845         (_IO_iter_end): Likewise.
25846         (_IO_list_lock): Likewise.
25847         (_IO_list_unlock): Likewise.
25848         (_IO_list_resetlock): Likewise.
25849         * libio/getchar.c (getchar): Likewise.
25850         * libio/getchar_u.c (getchar_unlocked): Likewise.
25851         * libio/getwchar.c (getwchar): Likewise.
25852         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
25853         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
25854         * login/getpt.c (__getpt): Likewise.
25855         * login/tst-utmp.c (main): Likewise.
25856         * malloc/hooks.c (__malloc_check_init): Likewise.
25857         * malloc/malloc.c (__malloc_stats): Likewise.
25858         * malloc/mtrace.c (tr_break): Likewise.
25859         (mtrace): Likewise.
25860         (muntrace): Likewise.
25861         * misc/fstab.c (endfsent): Likewise.
25862         * misc/getclktck.c (__getclktck): Likewise.
25863         * misc/getdtsz.c (__getdtablesize): Likewise.
25864         * misc/gethostid.c (gethostid): Likewise.
25865         * misc/getpagesize.c (__getpagesize): Likewise.
25866         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
25867         (__get_nprocs): Likewise.
25868         (__get_phys_pages): Likewise.
25869         (__get_avphys_pages): Likewise.
25870         * misc/getttyent.c (getttyent): Likewise.
25871         (setttyent): Likewise.
25872         (endttyent): Likewise.
25873         * misc/getusershell.c (getusershell): Likewise.
25874         (endusershell): Likewise.
25875         (setusershell): Likewise.
25876         (initshells): Likewise.
25877         * misc/hsearch.c (__hdestroy): Likewise.
25878         * misc/sync.c (sync): Likewise.
25879         * misc/syslog.c (closelog_internal): Likewise.
25880         (closelog): Likewise.
25881         * misc/ttyslot.c (ttyslot): Likewise.
25882         * misc/vhangup.c (vhangup): Likewise.
25883         * posix/fork.c (__fork): Likewise.
25884         * posix/getegid.c (__getegid): Likewise.
25885         * posix/geteuid.c (__geteuid): Likewise.
25886         * posix/getgid.c (__getgid): Likewise.
25887         * posix/getpid.c (__getpid): Likewise.
25888         * posix/getppid.c (__getppid): Likewise.
25889         * posix/getuid.c (__getuid): Likewise.
25890         * posix/pause.c (pause): Likewise.
25891         * posix/setpgrp.c (setpgrp): Likewise.
25892         * posix/setsid.c (__setsid): Likewise.
25893         * posix/test-vfork.c (noop): Likewise.
25894         * resolv/gethnamaddr.c (_endhtent): Likewise.
25895         (_gethtent): Likewise.
25896         (ht_endhostent): Likewise.
25897         (gethostent): Likewise.
25898         (dns_service): Likewise.
25899         * stdlib/drand48.c (drand48): Likewise.
25900         * stdlib/lrand48.c (lrand48): Likewise.
25901         * stdlib/mrand48.c (mrand48): Likewise.
25902         * stdlib/rand.c (rand): Likewise.
25903         * stdlib/random.c (__random): Likewise.
25904         * stdlib/setenv.c (clearenv): Likewise.
25905         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
25906         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
25907         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
25908         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
25909         (__get_nprocs): Likewise.
25910         (__get_phys_pages): Likewise.
25911         (__get_avphys_pages): Likewise.
25912         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
25913         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
25914         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
25915         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
25916         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
25917         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
25918         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
25919         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
25920         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
25921         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
25922         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
25923         * sysdeps/mach/hurd/sync.c (sync): Likewise.
25924         * sysdeps/posix/clock.c (clock): Likewise.
25925         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
25926         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
25927         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
25928         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
25929         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
25930         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
25931         (__get_nprocs_conf): Likewise.
25932         (__get_phys_pages): Likewise.
25933         (__get_avphys_pages): Likewise.
25934         * time/clock.c (clock): Likewise.
25935         * time/tzset.c (__tzname_max): Likewise.
25937 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
25939         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
25940         (__bswap_32): Do not use "register".
25941         * crypt/crypt.c (_ufc_doit_r): Likewise.
25942         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
25943         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
25944         * gmon/gmon.c (__monstartup): Likewise.
25945         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
25946         * hurd/hurdmalloc.c (more_memory): Likewise.
25947         (malloc): Likewise.
25948         (free): Likewise.
25949         (realloc): Likewise.
25950         (malloc_fork_prepare): Likewise.
25951         (malloc_fork_parent): Likewise.
25952         (malloc_fork_child): Likewise.
25953         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
25954         (_svcauth_des): Likewise.
25955         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25956         * inet/inet_net.c (inet_network): Likewise.
25957         * inet/inet_netof.c (inet_netof): Likewise.
25958         * inet/rcmd.c (__validuser2_sa): Likewise.
25959         * io/fts.c (fts_open): Likewise.
25960         (fts_load): Likewise.
25961         (fts_close): Likewise.
25962         (fts_read): Likewise.
25963         (fts_children): Likewise.
25964         (fts_build): Likewise.
25965         (fts_stat): Likewise.
25966         (fts_sort): Likewise.
25967         (fts_alloc): Likewise.
25968         (fts_lfree): Likewise.
25969         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
25970         (_IO_file_xsgetn): Likewise.
25971         (_IO_file_xsgetn_mmap): Likewise.
25972         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25973         (_IO_cookie_write): Likewise.
25974         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
25975         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
25976         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
25977         * malloc/obstack.c (_obstack_begin): Likewise.
25978         (_obstack_begin_1): Likewise.
25979         (_obstack_newchunk): Likewise.
25980         (_obstack_allocated_p): Likewise.
25981         (obstack_free): Likewise.
25982         (_obstack_memory_used): Likewise.
25983         * misc/getttyent.c (getttynam): Likewise.
25984         (getttyent): Likewise.
25985         (skip): Likewise.
25986         (value): Likewise.
25987         * misc/getusershell.c (initshells): Likewise.
25988         * misc/syslog.c (__vsyslog_chk): Likewise.
25989         * misc/ttyslot.c (ttyslot): Likewise.
25990         * nis/nis_hash.c (__nis_hash): Likewise.
25991         * posix/fnmatch_loop.c (FCT): Likewise.
25992         * posix/getconf.c (print_all): Likewise.
25993         (main): Likewise.
25994         * posix/getopt.c (exchange): Likewise.
25995         * posix/glob.c (globfree): Likewise.
25996         (prefix_array): Likewise.
25997         (__glob_pattern_type): Likewise.
25998         * resolv/arpa/nameser.h (NS_GET16): Likewise.
25999         (NS_GET32): Likewise.
26000         (NS_PUT16): Likewise.
26001         (NS_PUT32): Likewise.
26002         * resolv/gethnamaddr.c (getanswer): Likewise.
26003         (gethostbyname2): Likewise.
26004         (gethostbyaddr): Likewise.
26005         (_gethtent): Likewise.
26006         (_gethtbyname2): Likewise.
26007         (_gethtbyaddr): Likewise.
26008         * resolv/ns_print.c (dst_s_get_int16): Likewise.
26009         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
26010         * resolv/res_init.c (__res_vinit): Likewise.
26011         (net_mask): Likewise.
26012         * resolv/res_mkquery.c (outchar): Likewise.
26013         (PRINT): Likewise.
26014         * stdio-common/printf_fp.c (outchar): Likewise.
26015         (PRINT): Likewise.
26016         * stdio-common/printf_fphex.c (outchar): Likewise.
26017         (PRINT): Likewise.
26018         * stdio-common/printf_size.c (outchar): Likewise.
26019         (PRINT): Likewise.
26020         * stdio-common/test_rdwr.c (main): Likewise.
26021         * stdio-common/tfformat.c (matches): Likewise.
26022         * stdio-common/vfprintf.c (outchar): Likewise.
26023         (printf_unknown): Likewise.
26024         (buffered_vfprintf): Likewise.
26025         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
26026         * stdio-common/xbug.c (AppendToBuffer): Likewise.
26027         (ReadFile): Likewise.
26028         * stdlib/qsort.c (SWAP): Likewise.
26029         (_quicksort): Likewise.
26030         * stdlib/setenv.c (__add_to_environ): Likewise.
26031         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
26032         * stdlib/strtol_l.c (__strtol_l): Likewise.
26033         * stdlib/tst-strtod.c (main): Likewise.
26034         * stdlib/tst-strtol.c (main): Likewise.
26035         * stdlib/tst-strtoll.c (main): Likewise.
26036         * string/bits/string2.h (__strcmp_cc): Likewise.
26037         (__strcmp_cg): Likewise.
26038         (__strcspn_c1): Likewise.
26039         (__strcspn_c2): Likewise.
26040         (__strcspn_c3): Likewise.
26041         (__strspn_c1): Likewise.
26042         (__strspn_c2): Likewise.
26043         (__strspn_c3): Likewise.
26044         (__strsep_1c): Likewise.
26045         (__strsep_2c): Likewise.
26046         (__strsep_3c): Likewise.
26047         * string/memccpy.c (__memccpy): Likewise.
26048         * string/stpcpy.c (__stpcpy): Likewise.
26049         * string/strcmp.c (strcmp): Likewise.
26050         * string/strrchr.c (strrchr): Likewise.
26051         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
26052         Likewise.
26053         * sysdeps/mach/hurd/getcwd.c
26054         (_hurd_canonicalize_directory_name_internal): Likewise.
26055         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
26056         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
26057         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
26058         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
26059         Likewise, in both definitions.
26060         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
26061         definitions.
26062         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
26063         64] (__bswap_64): Likewise.
26064         * time/test_time.c (main): Likewise.
26065         * time/tzfile.c (__tzfile_read): Likewise.
26066         (__tzfile_compute): Likewise.
26067         * time/tzset.c (__tzset_parse_tz): Likewise.
26068         (tzset_internal): Likewise.
26069         (compute_change): Likewise.
26070         * wcsmbs/wcscat.c (__wcscat): Likewise.
26071         * wcsmbs/wcschr.c (wcschr): Likewise.
26072         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26073         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26074         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26075         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
26076         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26077         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26078         * wcsmbs/wmemchr.c (wmemchr): Likewise.
26079         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26080         * wcsmbs/wmemset.c (wmemset): Likewise.
26082 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
26084         * scripts/config.guess: Update to version 2013-05-16.
26085         * scripts/config.sub: Update to version 2013-04-24.
26086         * scripts/install-sh: Update to version 2011-11-20.07.
26087         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
26088         * scripts/move-if-change: Update to version 2012-01-06 07:23.
26090 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
26092         * debug/fgetws_u_chk.c: Fix leading whitespaces.
26093         * elf/sln.c: Likewise.
26094         * hurd/hurd/ioctl.h: Likewise.
26095         * hurd/hurdmalloc.c: Likewise.
26096         * hurd/xattr.c: Likewise.
26097         * include/shlib-compat.h: Likewise.
26098         * inet/ruserpass.c: Likewise.
26099         * libio/iofgets_u.c: Likewise.
26100         * libio/iofgetws_u.c: Likewise.
26101         * locale/programs/ld-identification.c: Likewise.
26102         * locale/programs/ld-time.c: Likewise.
26103         * mach/msg-destroy.c: Likewise.
26104         * nss/nss_files/files-netgrp.c: Likewise.
26105         * resolv/res_data.c: Likewise.
26106         * soft-fp/op-1.h: Likewise.
26107         * soft-fp/op-2.h: Likewise.
26108         * soft-fp/op-4.h: Likewise.
26109         * soft-fp/op-common.h: Likewise.
26110         * stdio-common/printf_fphex.c: Likewise.
26111         * stdlib/strtod_l.c: Likewise.
26112         * sunrpc/rpc/clnt.h: Likewise.
26113         * sysdeps/generic/framestate.c: Likewise.
26114         * sysdeps/i386/bsd-_setjmp.S: Likewise.
26115         * sysdeps/i386/bsd-setjmp.S: Likewise.
26116         * sysdeps/i386/__longjmp.S: Likewise.
26117         * sysdeps/i386/setjmp.S: Likewise.
26118         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
26119         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
26120         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26121         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26122         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26123         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
26124         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
26125         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
26126         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26127         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
26128         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
26129         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
26130         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
26131         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
26132         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
26133         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
26134         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
26135         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
26136         * sysdeps/ieee754/support.c: Likewise.
26137         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26138         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
26139         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
26140         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
26141         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
26142         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
26143         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
26144         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
26145         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
26146         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
26147         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
26148         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
26149         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
26150         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
26151         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
26152         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
26153         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
26154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
26156 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
26158         * posix/transbug.c: Remove executable mode.
26160 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
26162         * crypt/speeds.c: Remove trailing whitespace.
26163         * dlfcn/default.c: Likewise.
26164         * elf/ifuncdep2.c: Likewise.
26165         * elf/ifuncmain1.c: Likewise.
26166         * elf/ifuncmain1vis.c: Likewise.
26167         * elf/testobj.h: Likewise.
26168         * elf/tst-stackguard1.c: Likewise.
26169         * gmon/sys/gmon.h: Likewise.
26170         * hurd/hurdmsg.c: Likewise.
26171         * hurd/new-fd.c: Likewise.
26172         * hurd/ports-get.c: Likewise.
26173         * iconvdata/ibm1008_420.c: Likewise.
26174         * inet/tst-getni1.c: Likewise.
26175         * inet/tst-getni2.c: Likewise.
26176         * libio/ioungetc.c: Likewise.
26177         * libio/wfiledoalloc.c: Likewise.
26178         * manual/libm-err-tab.pl: Likewise.
26179         * math/w_dremf.c: Likewise.
26180         * misc/ftruncate.c: Likewise.
26181         * posix/bug-glob2.c: Likewise.
26182         * posix/tst-pcre.c: Likewise.
26183         * posix/wait4.c: Likewise.
26184         * resolv/README: Likewise.
26185         * resolv/res_debug.h: Likewise.
26186         * resolv/tst-inet_ntop.c: Likewise.
26187         * setjmp/bug269-setjmp.c: Likewise.
26188         * soft-fp/extended.h: Likewise.
26189         * soft-fp/op-1.h: Likewise.
26190         * soft-fp/op-2.h: Likewise.
26191         * soft-fp/op-4.h: Likewise.
26192         * soft-fp/op-8.h: Likewise.
26193         * soft-fp/testit.c: Likewise.
26194         * stdio-common/bug16.c: Likewise.
26195         * stdlib/random.c: Likewise.
26196         * sunrpc/rpcsvc/rquota.x: Likewise.
26197         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
26198         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
26199         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
26200         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
26201         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
26202         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
26203         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
26204         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
26205         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
26206         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
26207         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
26208         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
26209         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
26210         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
26211         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
26212         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
26213         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
26214         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
26215         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
26216         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
26217         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
26218         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
26219         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
26220         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
26221         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
26222         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
26223         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
26224         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
26225         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
26226         * sysdeps/ieee754/s_lib_version.c: Likewise.
26227         * sysdeps/mach/hurd/check_fds.c: Likewise.
26228         * sysdeps/mach/hurd/getsockname.c: Likewise.
26229         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
26230         * sysdeps/mach/hurd/recvfrom.c: Likewise.
26231         * sysdeps/powerpc/bits/link.h: Likewise.
26232         * sysdeps/powerpc/dl-procinfo.c: Likewise.
26233         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
26234         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
26235         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
26236         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
26237         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
26238         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
26239         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
26240         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
26241         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
26242         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26243         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
26244         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
26245         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
26246         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
26247         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
26248         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
26249         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
26250         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
26251         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
26252         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
26253         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
26254         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
26255         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
26256         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
26257         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
26258         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
26259         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
26260         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
26261         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
26262         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
26263         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
26264         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
26265         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
26266         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
26267         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
26268         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
26269         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
26270         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26271         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
26272         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
26273         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
26274         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
26275         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
26276         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
26277         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
26278         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
26279         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
26280         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
26281         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
26282         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
26283         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
26284         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
26285         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
26286         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
26287         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26288         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26289         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
26290         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
26291         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26292         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
26293         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
26294         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
26295         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
26296         * sysdeps/powerpc/sysdep.h: Likewise.
26297         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26298         * sysdeps/s390/s390-64/sub_n.S: Likewise.
26299         * sysdeps/sh/dl-trampoline.S: Likewise.
26300         * sysdeps/sh/memset.S: Likewise.
26301         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
26302         * sysdeps/sh/strlen.S: Likewise.
26303         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
26304         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
26305         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
26306         * sysdeps/sparc/sparc32/rem.S: Likewise.
26307         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
26308         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
26309         * sysdeps/sparc/sparc32/strchr.S: Likewise.
26310         * sysdeps/sparc/sparc32/udiv.S: Likewise.
26311         * sysdeps/sparc/sparc32/urem.S: Likewise.
26312         * sysdeps/sparc/sparc64/add_n.S: Likewise.
26313         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
26314         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
26315         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
26316         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
26317         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
26318         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
26319         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
26320         * sysdeps/unix/bsd/times.c: Likewise.
26321         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
26322         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
26323         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
26324         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
26325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
26326         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
26327         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
26328         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
26329         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
26330         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
26331         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
26332         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
26333         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
26334         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26335         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
26336         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
26337         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
26338         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
26339         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
26340         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
26341         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
26342         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
26343         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26344         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
26345         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
26346         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26347         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
26348         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26349         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
26350         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
26351         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
26352         * sysdeps/x86_64/strcspn.S: Likewise.
26354 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
26356         * locale/C-translit.h: Revert #include <stdint.h> because this is a
26357         generated file.  Regenerate properly from gen-translit.pl.
26358         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
26359         locale/C-translit.h.
26361 2013-06-05  Andreas Schwab  <schwab@suse.de>
26363         [BZ #15100]
26364         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
26365         week as 6 instead of -1.
26366         * time/tst-strptime.c (day_tests): Add test case.
26368 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
26370         * sysdeps/generic/math_private.h
26371         (libc_feholdexcept_setround_53bit): Replace with
26372         libc_feholdsetround_53bit.
26373         (libc_feupdateenv_53bit): Replace with
26374         libc_feresetround_53bit.
26375         (SET_RESTORE_ROUND_53BIT): Adjust.
26377 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
26379         * string/test-strchrnul.c: Add copyright header.
26381         * posix/tst-getaddrinfo4.c: Increase test timeout.
26383 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
26385         [BZ #15536]
26386         * math/libm-test.inc (MAX_EXP): Remove
26387         (MIN_EXP): Define.
26388         (ulp): Use MIN_EXP - MANT_DIG.
26389         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
26391 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
26393         * po/be.po: Revert last change.
26394         * po/zh_CN.po: Likewise.
26395         * po/header.pot: Likewise.
26397 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
26399         * Makefile ($(common-objpfx)linkobj/libc.so): Define
26400         link-libc-deps to empty as target-specific variable.
26401         * Makerules (link-libc-args): New variable.
26402         (libc-for-link): Likewise.
26403         (link-libc-deps): Likewise.
26404         (lib%.so): Depend on $(link-libc-deps).  Link with
26405         $(link-libc-args).
26406         (build-module): Link with $(link-libc-args).
26407         (build-module-asneeded): Likewise.
26408         (build-module-helper-objlist): Filter out $(link-libc-deps) from
26409         list of objects.
26410         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
26411         target-specific variable.
26412         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
26413         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
26414         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
26415         libc.
26416         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
26417         libc and ld.so.
26418         ($(objpfx)libpcprofile.so): Likewise.
26419         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
26420         libc_nonshared.a.
26421         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
26422         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
26423         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
26424         $(link-libc-deps).
26425         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
26426         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
26427         * login/Makefile ($(objpfx)libutil.so): Likewise.
26428         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
26429         * math/Makefile ($(objpfx)libm.so): Likewise.
26430         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
26431         $(objpfx)libnsl.so): Define libc-for-link as target-specific
26432         variable instead of depending directly on libc.
26433         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
26434         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
26435         $(link-libc-deps).
26436         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
26437         libc.
26438         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
26439         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
26440         ($(objpfx)libanl.so): Likewise.
26441         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
26442         ld.so.
26443         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
26444         $(link-libc-deps).
26445         * sysdeps/i386/fpu/Makefile: Remove file.
26446         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
26447         ($(objpfx)libm.so): Remove dependency on ld.so.
26449 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
26451         [BZ # 15553]
26452         * nis/yp_xdr.c (XDRMAXNAME): Define.
26453         (XDRMAXRECORD): Define.
26454         (xdr_domainname): Use XDRMAXNAME.
26455         (xdr_mapname): Likewise.
26456         (xdr_peername): Likewise.
26457         (xdr_keydat): Use XDRMAXRECORD.
26458         (xdr_valdat): Likewise.
26460 2013-05-30  Jeff Law  <law@redhat.com>
26462         [BZ #14256]
26463         * manual/errno.texi (ESTALE): Update to account for more than
26464         just NFS file systems.
26465         * sysdeps/gnu/errlist.c: Regenerated.
26467 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
26469         [BZ #15465]
26470         * elf/Makefile (tests): Add tst-null-argv.
26471         (modules-names):  Add tst-null-argv-lib.
26472         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
26473         (tst-null-argv-ENV): Set environment for tst-null-argv.
26474         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
26475         (RTLD_PROGNAME): New macro.
26476         * elf/tst-null-argv.c: New test case.
26477         * elf/tst-null-argv-lib.c: Library for test case.
26478         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
26479         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
26480         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
26481         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
26482         * elf/dl-init.c (call_init): Likewise.
26483         (_dl_init): Likewise.
26484         * elf/dl-load.c (print_search_path): Likewise.
26485         (_dl_map_object): Likewise.
26486         * elf/dl-lookup.c (do_lookup_x): Likewise.
26487         (add_dependency): Likewise.
26488         (_dl_lookup_symbol_x): Likewise.
26489         (_dl_debug_bindings): Likewise.
26490         * elf/dl-open.c (_dl_show_scope): Likewise.
26491         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
26492         * elf/dl-version.c (match_symbol): Likewise.
26493         (_dl_check_map_versions): Likewise.
26494         * elf/rtld.c (dl_main): Likewise.
26495         (print_unresolved): Use RTLD_PROGNAME.
26496         (print_missing_version): Likewise.
26497         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
26498         (elf_machine_rela): Likewise.
26499         * sysdeps/powerpc/powerpc32/dl-machine.c
26500         (__process_machine_rela): Likewise.
26501         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
26502         Likewise.
26503         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
26504         Likewise.
26505         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
26506         Likewise.
26507         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
26508         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
26509         Likewise.
26510         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
26511         Likewise.
26512         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
26514 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
26516         * po/be.po: Add descriptive title.
26517         * po/zh_CN.po: Likewise.
26518         * po/header.pot: Likewise.
26520 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
26522         * locale/programs/locarchive.c (create_archive): Inlucde fname in
26523         error message.
26524         (enlarge_archive): Likewise.
26526 2013-05-28  Ben North  <ben@redfrontdoor.org>
26528         * manual/arith.texi (frexp): It is the magnitude of the return
26529         value which lies in [0.5, 1), not the return value itself.
26531 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26533         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26535 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
26537         * stdio-common/bug26.c (main): Correct fscanf template.
26539         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
26540         declare _dl_skip_args.
26542         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
26543         Don't declare.
26545         * manual/platform.texi: Add missing @end deftypefun.
26547 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26549         [BZ #15529]
26550         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
26551         bit of mantissa of 2^16382.
26552         * math/libm-test.inc (hypot_test_data): Add more tests.
26554         * math/libm-test.inc: Add drem and pow10 to list of tested
26555         functions.
26556         (pow10_test): New function.
26557         (drem_test): Likewise.
26558         (drem_test_tonearest): Likewise.
26559         (drem_test_towardzero): Likewise.
26560         (drem_test_downward): Likewise.
26561         (drem_test_upward): Likewise.
26562         (main): Call the new functions.
26564         * math/libm-test.inc (finite_test_data): Remove.
26565         (finite_test): Run tests from isfinite_test_data.
26566         (gamma_test_data): Remove.
26567         (gamma_test): Run tests from lgamma_test_data.
26568         * sysdeps/i386/fpu/libm-test-ulps: Update.
26569         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26571 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26573         * manual/platform.texi: Add PowerPC PPR function set documentation.
26574         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
26575         implementation.
26577 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
26579         * math/libm-test.inc (MAX_EXP): Define.
26580         (ULPDIFF): Define.
26581         (ulp): New function.
26582         (check_float_internal): Use ULPDIFF.
26583         (cpow_test): Disable failing test.
26584         (check_ulp): Test ulp() implemetnation.
26585         (main): Call check_ulp before starting tests.
26587 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
26589         * math/gen-libm-test.pl (generate_testfile): Do not handle
26590         START_DATA and END_DATA.
26591         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
26592         END_DATA.
26593         (acos_tonearest_test_data): Likewise.
26594         (acos_towardzero_test_data): Likewise.
26595         (acos_downward_test_data): Likewise.
26596         (acos_upward_test_data): Likewise.
26597         (acosh_test_data): Likewise.
26598         (asin_test_data): Likewise.
26599         (asin_tonearest_test_data): Likewise.
26600         (asin_towardzero_test_data): Likewise.
26601         (asin_downward_test_data): Likewise.
26602         (asin_upward_test_data): Likewise.
26603         (asinh_test_data): Likewise.
26604         (atan_test_data): Likewise.
26605         (atanh_test_data): Likewise.
26606         (atan2_test_data): Likewise.
26607         (cabs_test_data): Likewise.
26608         (cacos_test_data): Likewise.
26609         (cacosh_test_data): Likewise.
26610         (carg_test_data): Likewise.
26611         (casin_test_data): Likewise.
26612         (casinh_test_data): Likewise.
26613         (catan_test_data): Likewise.
26614         (catanh_test_data): Likewise.
26615         (cbrt_test_data): Likewise.
26616         (ccos_test_data): Likewise.
26617         (ccosh_test_data): Likewise.
26618         (ceil_test_data): Likewise.
26619         (cexp_test_data): Likewise.
26620         (cimag_test_data): Likewise.
26621         (clog_test_data): Likewise.
26622         (clog10_test_data): Likewise.
26623         (conj_test_data): Likewise.
26624         (copysign_test_data): Likewise.
26625         (cos_test_data): Likewise.
26626         (cos_tonearest_test_data): Likewise.
26627         (cos_towardzero_test_data): Likewise.
26628         (cos_downward_test_data): Likewise.
26629         (cos_upward_test_data): Likewise.
26630         (cosh_test_data): Likewise.
26631         (cosh_tonearest_test_data): Likewise.
26632         (cosh_towardzero_test_data): Likewise.
26633         (cosh_downward_test_data): Likewise.
26634         (cosh_upward_test_data): Likewise.
26635         (cpow_test_data): Likewise.
26636         (cproj_test_data): Likewise.
26637         (creal_test_data): Likewise.
26638         (csin_test_data): Likewise.
26639         (csinh_test_data): Likewise.
26640         (csqrt_test_data): Likewise.
26641         (ctan_test_data): Likewise.
26642         (ctan_tonearest_test_data): Likewise.
26643         (ctan_towardzero_test_data): Likewise.
26644         (ctan_downward_test_data): Likewise.
26645         (ctan_upward_test_data): Likewise.
26646         (ctanh_test_data): Likewise.
26647         (ctanh_tonearest_test_data): Likewise.
26648         (ctanh_towardzero_test_data): Likewise.
26649         (ctanh_downward_test_data): Likewise.
26650         (ctanh_upward_test_data): Likewise.
26651         (erf_test_data): Likewise.
26652         (erfc_test_data): Likewise.
26653         (exp_test_data): Likewise.
26654         (exp_tonearest_test_data): Likewise.
26655         (exp_towardzero_test_data): Likewise.
26656         (exp_downward_test_data): Likewise.
26657         (exp_upward_test_data): Likewise.
26658         (exp10_test_data): Likewise.
26659         (exp2_test_data): Likewise.
26660         (expm1_test_data): Likewise.
26661         (fabs_test_data): Likewise.
26662         (fdim_test_data): Likewise.
26663         (finite_test_data): Likewise.
26664         (floor_test_data): Likewise.
26665         (fma_test_data): Likewise.
26666         (fma_towardzero_test_data): Likewise.
26667         (fma_downward_test_data): Likewise.
26668         (fma_upward_test_data): Likewise.
26669         (fmax_test_data): Likewise.
26670         (fmin_test_data): Likewise.
26671         (fmod_test_data): Likewise.
26672         (fpclassify_test_data): Likewise.
26673         (frexp_test_data): Likewise.
26674         (gamma_test_data): Likewise.
26675         (hypot_test_data): Likewise.
26676         (ilogb_test_data): Likewise.
26677         (isfinite_test_data): Likewise.
26678         (isgreater_test_data): Likewise.
26679         (isgreaterequal_test_data): Likewise.
26680         (isinf_test_data): Likewise.
26681         (isless_test_data): Likewise.
26682         (islessequal_test_data): Likewise.
26683         (islessgreater_test_data): Likewise.
26684         (isnan_test_data): Likewise.
26685         (isnormal_test_data): Likewise.
26686         (issignaling_test_data): Likewise.
26687         (isunordered_test_data): Likewise.
26688         (j0_test_data): Likewise.
26689         (j1_test_data): Likewise.
26690         (jn_test_data): Likewise.
26691         (ldexp_test_data): Likewise.
26692         (lgamma_test_data): Likewise.
26693         (lrint_test_data): Likewise.
26694         (lrint_tonearest_test_data): Likewise.
26695         (lrint_towardzero_test_data): Likewise.
26696         (lrint_downward_test_data): Likewise.
26697         (lrint_upward_test_data): Likewise.
26698         (llrint_test_data): Likewise.
26699         (llrint_tonearest_test_data): Likewise.
26700         (llrint_towardzero_test_data): Likewise.
26701         (llrint_downward_test_data): Likewise.
26702         (llrint_upward_test_data): Likewise.
26703         (log_test_data): Likewise.
26704         (log10_test_data): Likewise.
26705         (log1p_test_data): Likewise.
26706         (log2_test_data): Likewise.
26707         (logb_test_data): Likewise.
26708         (logb_downward_test_data): Likewise.
26709         (lround_test_data): Likewise.
26710         (llround_test_data): Likewise.
26711         (modf_test_data): Likewise.
26712         (nearbyint_test_data): Likewise.
26713         (nextafter_test_data): Likewise.
26714         (nexttoward_test_data): Likewise.
26715         (pow_test_data): Likewise.
26716         (pow_tonearest_test_data): Likewise.
26717         (pow_towardzero_test_data): Likewise.
26718         (pow_downward_test_data): Likewise.
26719         (pow_upward_test_data): Likewise.
26720         (remainder_test_data): Likewise.
26721         (remainder_tonearest_test_data): Likewise.
26722         (remainder_towardzero_test_data): Likewise.
26723         (remainder_downward_test_data): Likewise.
26724         (remainder_upward_test_data): Likewise.
26725         (remquo_test_data): Likewise.
26726         (rint_test_data): Likewise.
26727         (rint_tonearest_test_data): Likewise.
26728         (rint_towardzero_test_data): Likewise.
26729         (rint_downward_test_data): Likewise.
26730         (rint_upward_test_data): Likewise.
26731         (round_test_data): Likewise.
26732         (scalb_test_data): Likewise.
26733         (scalbn_test_data): Likewise.
26734         (scalbln_test_data): Likewise.
26735         (signbit_test_data): Likewise.
26736         (sin_test_data): Likewise.
26737         (sin_tonearest_test_data): Likewise.
26738         (sin_towardzero_test_data): Likewise.
26739         (sin_downward_test_data): Likewise.
26740         (sin_upward_test_data): Likewise.
26741         (sincos_test_data): Likewise.
26742         (sinh_test_data): Likewise.
26743         (sinh_tonearest_test_data): Likewise.
26744         (sinh_towardzero_test_data): Likewise.
26745         (sinh_downward_test_data): Likewise.
26746         (sinh_upward_test_data): Likewise.
26747         (sqrt_test_data): Likewise.
26748         (tan_test_data): Likewise.
26749         (tan_tonearest_test_data): Likewise.
26750         (tan_towardzero_test_data): Likewise.
26751         (tan_downward_test_data): Likewise.
26752         (tan_upward_test_data): Likewise.
26753         (tanh_test_data): Likewise.
26754         (tgamma_test_data): Likewise.
26755         (trunc_test_data): Likewise.
26756         (y0_test_data): Likewise.
26757         (y1_test_data): Likewise.
26758         (yn_test_data): Likewise.
26759         (significand_test_data): Likewise.
26761         * math/gen-libm-test.pl (@functions): Remove variable.
26762         (generate_testfile): Don't handle START and END lines.
26763         * math/libm-test.inc (START): New macro.
26764         (END): Likewise.
26765         (END_COMPLEX): Likewise.
26766         (acos_test): Use END macro without arguments.
26767         (acos_test_tonearest): Likewise.
26768         (acos_test_towardzero): Likewise.
26769         (acos_test_downward): Likewise.
26770         (acos_test_upward): Likewise.
26771         (acosh_test): Likewise.
26772         (asin_test): Likewise.
26773         (asin_test_tonearest): Likewise.
26774         (asin_test_towardzero): Likewise.
26775         (asin_test_downward): Likewise.
26776         (asin_test_upward): Likewise.
26777         (asinh_test): Likewise.
26778         (atan_test): Likewise.
26779         (atanh_test): Likewise.
26780         (atan2_test): Likewise.
26781         (cabs_test): Likewise.
26782         (cacos_test): Use END_COMPLEX macro without arguments.
26783         (cacosh_test): Likewise.
26784         (carg_test): Use END macro without arguments.
26785         (casin_test): Use END_COMPLEX macro without arguments.
26786         (casinh_test): Likewise.
26787         (catan_test): Likewise.
26788         (catanh_test): Likewise.
26789         (cbrt_test): Use END macro without arguments.
26790         (ccos_test): Use END_COMPLEX macro without arguments.
26791         (ccosh_test): Likewise.
26792         (ceil_test): Use END macro without arguments.
26793         (cexp_test): Use END_COMPLEX macro without arguments.
26794         (cimag_test): Use END macro without arguments.
26795         (clog_test): Use END_COMPLEX macro without arguments.
26796         (clog10_test): Likewise.
26797         (conj_test): Likewise.
26798         (copysign_test): Use END macro without arguments.
26799         (cos_test): Likewise.
26800         (cos_test_tonearest): Likewise.
26801         (cos_test_towardzero): Likewise.
26802         (cos_test_downward): Likewise.
26803         (cos_test_upward): Likewise.
26804         (cosh_test): Likewise.
26805         (cosh_test_tonearest): Likewise.
26806         (cosh_test_towardzero): Likewise.
26807         (cosh_test_downward): Likewise.
26808         (cosh_test_upward): Likewise.
26809         (cpow_test): Use END_COMPLEX macro without arguments.
26810         (cproj_test): Likewise.
26811         (creal_test): Use END macro without arguments.
26812         (csin_test): Use END_COMPLEX macro without arguments.
26813         (csinh_test): Likewise.
26814         (csqrt_test): Likewise.
26815         (ctan_test): Likewise.
26816         (ctan_test_tonearest): Likewise.
26817         (ctan_test_towardzero): Likewise.
26818         (ctan_test_downward): Likewise.
26819         (ctan_test_upward): Likewise.
26820         (ctanh_test): Likewise.
26821         (ctanh_test_tonearest): Likewise.
26822         (ctanh_test_towardzero): Likewise.
26823         (ctanh_test_downward): Likewise.
26824         (ctanh_test_upward): Likewise.
26825         (erf_test): Use END macro without arguments.
26826         (erfc_test): Likewise.
26827         (exp_test): Likewise.
26828         (exp_test_tonearest): Likewise.
26829         (exp_test_towardzero): Likewise.
26830         (exp_test_downward): Likewise.
26831         (exp_test_upward): Likewise.
26832         (exp10_test): Likewise.
26833         (exp2_test): Likewise.
26834         (expm1_test): Likewise.
26835         (fabs_test): Likewise.
26836         (fdim_test): Likewise.
26837         (finite_test): Likewise.
26838         (floor_test): Likewise.
26839         (fma_test): Likewise.
26840         (fma_test_towardzero): Likewise.
26841         (fma_test_downward): Likewise.
26842         (fma_test_upward): Likewise.
26843         (fmax_test): Likewise.
26844         (fmin_test): Likewise.
26845         (fmod_test): Likewise.
26846         (fpclassify_test): Likewise.
26847         (frexp_test): Likewise.
26848         (gamma_test): Likewise.
26849         (hypot_test): Likewise.
26850         (ilogb_test): Likewise.
26851         (isfinite_test): Likewise.
26852         (isgreater_test): Likewise.
26853         (isgreaterequal_test): Likewise.
26854         (isinf_test): Likewise.
26855         (isless_test): Likewise.
26856         (islessequal_test): Likewise.
26857         (islessgreater_test): Likewise.
26858         (isnan_test): Likewise.
26859         (isnormal_test): Likewise.
26860         (issignaling_test): Likewise.
26861         (isunordered_test): Likewise.
26862         (j0_test): Likewise.
26863         (j1_test): Likewise.
26864         (jn_test): Likewise.
26865         (ldexp_test): Likewise.
26866         (lgamma_test): Likewise.
26867         (lrint_test): Likewise.
26868         (lrint_test_tonearest): Likewise.
26869         (lrint_test_towardzero): Likewise.
26870         (lrint_test_downward): Likewise.
26871         (lrint_test_upward): Likewise.
26872         (llrint_test): Likewise.
26873         (llrint_test_tonearest): Likewise.
26874         (llrint_test_towardzero): Likewise.
26875         (llrint_test_downward): Likewise.
26876         (llrint_test_upward): Likewise.
26877         (log_test): Likewise.
26878         (log10_test): Likewise.
26879         (log1p_test): Likewise.
26880         (log2_test): Likewise.
26881         (logb_test): Likewise.
26882         (logb_test_downward): Likewise.
26883         (lround_test): Likewise.
26884         (llround_test): Likewise.
26885         (modf_test): Likewise.
26886         (nearbyint_test): Likewise.
26887         (nextafter_test): Likewise.
26888         (nexttoward_test): Likewise.
26889         (pow_test): Likewise.
26890         (pow_test_tonearest): Likewise.
26891         (pow_test_towardzero): Likewise.
26892         (pow_test_downward): Likewise.
26893         (pow_test_upward): Likewise.
26894         (remainder_test): Likewise.
26895         (remainder_test_tonearest): Likewise.
26896         (remainder_test_towardzero): Likewise.
26897         (remainder_test_downward): Likewise.
26898         (remainder_test_upward): Likewise.
26899         (remquo_test): Likewise.
26900         (rint_test): Likewise.
26901         (rint_test_tonearest): Likewise.
26902         (rint_test_towardzero): Likewise.
26903         (rint_test_downward): Likewise.
26904         (rint_test_upward): Likewise.
26905         (round_test): Likewise.
26906         (scalb_test): Likewise.
26907         (scalbn_test): Likewise.
26908         (scalbln_test): Likewise.
26909         (signbit_test): Likewise.
26910         (sin_test): Likewise.
26911         (sin_test_tonearest): Likewise.
26912         (sin_test_towardzero): Likewise.
26913         (sin_test_downward): Likewise.
26914         (sin_test_upward): Likewise.
26915         (sincos_test): Likewise.
26916         (sinh_test): Likewise.
26917         (sinh_test_tonearest): Likewise.
26918         (sinh_test_towardzero): Likewise.
26919         (sinh_test_downward): Likewise.
26920         (sinh_test_upward): Likewise.
26921         (sqrt_test): Likewise.
26922         (tan_test): Likewise.
26923         (tan_test_tonearest): Likewise.
26924         (tan_test_towardzero): Likewise.
26925         (tan_test_downward): Likewise.
26926         (tan_test_upward): Likewise.
26927         (tanh_test): Likewise.
26928         (tgamma_test): Likewise.
26929         (trunc_test): Likewise.
26930         (y0_test): Likewise.
26931         (y1_test): Likewise.
26932         (yn_test): Likewise.
26933         (significand_test): Likewise.
26935 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
26937         [BZ #15381]
26938         * libio/genops.c (_IO_no_init): Initialize wide struct info.
26940 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
26942         [BZ #14894]
26943         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
26944         __ppc_mdoio and __ppc_mdoom.
26945         * manual/platform.texi: Document new functions __ppc_yield,
26946         __ppc_mdoio and __ppc_mdoom.
26948 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
26950         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
26951         (main): Mention "tls" pseudo-hwcap is legacy.
26952         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
26954 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
26956         * math/gen-libm-test.pl (parse_args): Output only string of
26957         arguments as text for test name, not full call or descriptions of
26958         tests for extra outputs.
26959         (generate_testfile): Do not pass function name to parse_args.
26960         Generate this_func variable from START.
26961         * math/libm-test.inc (struct test_f_f_data): Rename test_name
26962         field to arg_str.
26963         (struct test_ff_f_data): Likewise.
26964         (test_ff_f_data_nexttoward): Likewise.
26965         (struct test_fi_f_data): Likewise.
26966         (struct test_fl_f_data): Likewise.
26967         (struct test_if_f_data): Likewise.
26968         (struct test_fff_f_data): Likewise.
26969         (struct test_c_f_data): Likewise.
26970         (struct test_f_f1_data): Likewise.  Remove field extra_name.
26971         (struct test_fF_f1_data): Likewise.
26972         (struct test_ffI_f1_data): Likewise.
26973         (struct test_c_c_data): Rename test_name field to arg_str.
26974         (struct test_cc_c_data): Likewise.
26975         (struct test_f_i_data): Likewise.
26976         (struct test_ff_i_data): Likewise.
26977         (struct test_f_l_data): Likewise.
26978         (struct test_f_L_data): Likewise.
26979         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
26980         and extra2_name.
26981         (COMMON_TEST_SETUP): New macro.
26982         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
26983         (COMMON_TEST_CLEANUP): Likewise.
26984         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
26985         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
26986         macros.
26987         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
26988         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
26989         macros.
26990         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
26991         (RUN_TEST_fff_f): Take argument string.  Call new setup and
26992         cleanup macros.
26993         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
26994         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
26995         macros.
26996         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
26997         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
26998         macros.
26999         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27000         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
27001         cleanup macros.
27002         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27003         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
27004         cleanup macros.
27005         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27006         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
27007         cleanup macros.
27008         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27009         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
27010         macros.
27011         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
27012         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
27013         macros.
27014         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
27015         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
27016         macros.
27017         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
27018         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
27019         cleanup macros.
27020         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
27021         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
27022         cleanup macros.
27023         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
27024         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
27025         macros.
27026         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
27027         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
27028         cleanup macros.
27029         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
27030         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
27031         macros.
27032         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
27033         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
27034         macros.
27035         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
27036         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
27037         cleanup macros.
27038         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
27040 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
27042         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
27043         to _sifields.sigfault.
27044         (si_addr_lsb): Define new macro.
27045         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27046         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
27047         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
27049 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
27051         [BZ #15441]
27052         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
27053         returns -1.
27054         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
27055         null return -1.
27056         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
27057         loading the domain.
27059 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
27061         * math/gen-libm-test.pl (parse_args): Do not include expected
27062         result in test name.
27063         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
27064         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27065         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27066         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27067         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27068         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27070 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
27072         * benchtests/Makefile: Sort function entries.
27074         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
27075         tanh, asinh, acosh, atanh.
27076         * benchtests/acos-inputs: New file.
27077         * benchtests/acosh-inputs: New file.
27078         * benchtests/asin-inputs: New file.
27079         * benchtests/asinh-inputs: New file.
27080         * benchtests/atanh-inputs: New file.
27081         * benchtests/cosh-inputs: New file.
27082         * benchtests/log-inputs: New file.
27083         * benchtests/sinh-inputs: New file.
27084         * benchtests/tanh-inputs: New file.
27086 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
27088         [BZ #15339]
27089         * posix/tst-getaddrinfo4.c: New test.
27090         * posix/Makefile (tests): Add it.
27092 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27094         [BZ #15339]
27095         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
27096         when no services were used.
27097         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
27098         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
27100 2013-05-21  Andreas Schwab  <schwab@suse.de>
27102         [BZ #15014]
27103         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
27104         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
27105         successful.
27106         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
27107         redundant variable declarations and reallocation of buffer when
27108         parsing as IPv6 address.  Always set NSS status when called from
27109         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
27110         buffer too small.  Correct computation of needed size.
27111         * nss/Makefile (tests): Add test-digits-dots.
27112         * nss/test-digits-dots.c: New test.
27114 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27116         * benchtests/Makefile: Remove instructions for adding
27117         benchmark tests.
27118         * benchtests/README: New file to explain how to execute and
27119         enhance the benchmark tests.
27121 2013-05-21  Andreas Schwab  <schwab@suse.de>
27123         [BZ #15493]
27124         * setjmp/Makefile (tests): Add tst-sigsetjmp.
27125         * setjmp/tst-sigsetjmp.c: New test.
27127 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
27129         * sysdeps/x86_64/memset.S (memset): New implementation.
27130         (__bzero): Likewise.
27131         (__memset_tail): New function.
27133 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
27135         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
27136         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
27137         __memcpy_sse2_unaligned ifunc selection.
27138         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27139         Add memcpy-sse2-unaligned.S.
27140         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27141         Add: __memcpy_sse2_unaligned.
27143 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
27145         [BZ #15490]
27146         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
27147         math_force_eval before restoring floating-point envrionment.
27148         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
27149         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
27150         Likewise.
27151         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
27152         <math_private.h>.
27153         (__nearbyintl): Use math_force_eval before restoring
27154         floating-point environment.
27155         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
27157         * math/gen-libm-test.pl (special_functions): Remove.
27158         (parse_args): Don't handle TEST_extra.  Handle functions with no
27159         return value.
27160         * math/libm-test.inc (struct test_sincos_data): Replace with
27161         struct test_fFF_11_data.
27162         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
27163         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
27164         (sincos_test_data): Change element type to struct
27165         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
27166         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
27167         RUN_TEST_LOOP_sincos.
27168         * math/README.libm-test: Don't mention special handling of
27169         individual functions.
27170         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
27171         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
27172         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
27173         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
27174         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
27175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27177         * math/gen-libm-test.pl (get_variable): Remove function.
27178         (parse_args): Don't show pointer parameters to call in test
27179         names.  Use "extra output N" in test names for extra outputs
27180         rather than naming variables.
27182 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
27184         [BZ #15488]
27185         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
27186         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
27187         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
27188         double tests.
27189         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
27190         disable.
27191         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
27192         check_long_double.
27194         * math/gen-libm-test.pl (@tests): Remove variable.
27195         ($count): Likewise.
27196         (new_test): Remove function.
27197         (show_exceptions): New function.
27198         (special_functions): Use show_exceptions instead of new_test.
27199         (parse_args): Likewise.
27200         (generate_testfile): Pass only function name in generated call to
27201         print_max_error or print_complex_max_error.
27202         (get_ulps): Do not handle complex tests specially.
27203         (output_test): Rename to ...
27204         (get_all_ulps_for_test): ... this.  Return a string rather than
27205         printing to a file.  Require ulps to be present.
27206         (output_ulps): Generate arrays rather than #defines.
27207         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
27208         (struct ulp_data): New type.
27209         (BUILD_COMPLEX_ULP): Remove macro.
27210         (compare_ulp_data): New function.
27211         (find_ulps): Likewise.
27212         (find_test_ulps): Likewise.
27213         (find_function_ulps): Likewise.
27214         (find_complex_function_ulps): Likewise.
27215         (print_max_error): Determine allowed ulps using
27216         find_function_ulps.
27217         (print_complex_max_error): Determine allowed ulps using
27218         find_complex_function_ulps.
27219         (check_float_internal): Determine max ulps using find_test_ulps.
27220         (check_float): Do not take max_ulp parameter.  Update call to
27221         check_float_internal.
27222         (check_complex): Likewise.
27223         (check_int): Do not take max_ulp parameter.
27224         (check_long): Likewise.
27225         (check_bool): Likewise.
27226         (check_longlong): Likewise.
27227         (struct test_f_f_data): Remove max_ulp field.
27228         (struct test_ff_f_data): Likewise.
27229         (struct test_ff_f_data_nexttoward): Likewise.
27230         (struct test_fi_f_data): Likewise.
27231         (struct test_fl_f_data): Likewise.
27232         (struct test_if_f_data): Likewise.
27233         (struct test_fff_f_data): Likewise.
27234         (struct test_c_f_data): Likewise.
27235         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
27236         (struct test_fF_f1_data): Likewise.
27237         (struct test_ffI_f1_data): Likewise.
27238         (struct test_c_c_data): Remove max_ulp field.
27239         (struct test_cc_c_data): Likewise.
27240         (struct test_f_i_data): Likewise.
27241         (struct test_ff_i_data): Likewise.
27242         (struct test_f_l_data): Likewise.
27243         (struct test_f_L_data): Likewise.
27244         (struct test_sincos_data): Likewise.
27245         (RUN_TEST_f_f): Do not handle ulps.
27246         (RUN_TEST_LOOP_f_f): Likewise.
27247         (RUN_TEST_2_f): Likewise.
27248         (RUN_TEST_LOOP_2_f): Likewise.
27249         (RUN_TEST_fff_f): Likewise.
27250         (RUN_TEST_LOOP_fff_f): Likewise.
27251         (RUN_TEST_c_f): Likewise.
27252         (RUN_TEST_LOOP_c_f): Likewise.
27253         (RUN_TEST_f_f1): Likewise.
27254         (RUN_TEST_LOOP_f_f1): Likewise.
27255         (RUN_TEST_fF_f1): Likewise.
27256         (RUN_TEST_LOOP_fF_f1): Likewise.
27257         (RUN_TEST_fI_f1): Likewise.
27258         (RUN_TEST_LOOP_fI_f1): Likewise.
27259         (RUN_TEST_ffI_f1): Likewise.
27260         (RUN_TEST_LOOP_ffI_f1): Likewise.
27261         (RUN_TEST_c_c): Likewise.
27262         (RUN_TEST_LOOP_c_c): Likewise.
27263         (RUN_TEST_cc_c): Likewise.
27264         (RUN_TEST_LOOP_cc_c): Likewise.
27265         (RUN_TEST_f_i): Likewise.
27266         (RUN_TEST_LOOP_f_i): Likewise.
27267         (RUN_TEST_f_i_tg): Likewise.
27268         (RUN_TEST_LOOP_f_i_tg): Likewise.
27269         (RUN_TEST_ff_i_tg): Likewise.
27270         (RUN_TEST_LOOP_ff_i_tg): Likewise.
27271         (RUN_TEST_f_b): Likewise.
27272         (RUN_TEST_LOOP_f_b): Likewise.
27273         (RUN_TEST_f_b_tg): Likewise.
27274         (RUN_TEST_LOOP_f_b_tg): Likewise.
27275         (RUN_TEST_f_l): Likewise.
27276         (RUN_TEST_LOOP_f_l): Likewise.
27277         (RUN_TEST_f_L): Likewise.
27278         (RUN_TEST_LOOP_f_L): Likewise.
27279         (RUN_TEST_sincos): Likewise.
27280         (RUN_TEST_LOOP_sincos): Likewise.
27282 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
27284         [BZ #15480]
27285         [BZ #15485]
27286         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
27287         main case of finite arguments, set rounding mode to FE_TONEAREST
27288         and discard exceptions.
27289         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
27290         exceptions.
27291         (remainder_tonearest_test_data): New variable.
27292         (remainder_test_tonearest): New function.
27293         (remainder_towardzero_test_data): New variable.
27294         (remainder_test_towardzero): New function.
27295         (remainder_downward_test_data): New variable.
27296         (remainder_test_downward): New function.
27297         (remainder_upward_test_data): New variable.
27298         (remainder_test_upward): New function.
27299         (main): Call the new test functions.
27301         * math/libm-test.inc (struct test_f_f1_data): Remove field
27302         extra_init.
27303         (struct test_fF_f1_data): Likewise.
27304         (struct test_ffI_f1_data): Likewise.
27305         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
27306         based on value of EXTRA_EXPECTED.
27307         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
27308         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
27309         EXTRA_VAR based on value of EXTRA_EXPECTED.
27310         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
27311         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
27312         EXTRA_VAR based on value of EXTRA_EXPECTED.
27313         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
27314         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
27315         EXTRA_VAR based on value of EXTRA_EXPECTED.
27316         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
27317         * math/gen-libm-test.pl (parse_args): Don't output initializers
27318         for extra output values.
27320         * math/libm-test.inc (check_int): Expect result to be exactly
27321         equal to expected value and do not handle ulps.
27322         (check_long): Likewise.
27323         (check_longlong): Likewise.
27325         * math/libm-test.inc (ceil_test_data): Test for "inexact"
27326         exceptions.
27327         (cimag_test_data): Likewise.
27328         (conj_test_data): Likewise.
27329         (copysign_test_data): Likewise.
27330         (cproj_test_data): Likewise.
27331         (creal_test_data): Likewise.
27332         (fabs_test_data): Likewise.
27333         (fdim_test_data): Likewise.
27334         (finite_test_data): Likewise.
27335         (floor_test_data): Likewise.
27336         (fmax_test_data): Likewise.
27337         (fmin_test_data): Likewise.
27338         (fmod_test_data): Likewise.
27339         (fpclassify_test_data): Likewise.
27340         (frexp_test_data): Likewise.
27341         (ilogb_test_data): Likewise.
27342         (isfinite_test_data): Likewise.
27343         (isgreater_test_data): Likewise.
27344         (isgreaterequal_test_data): Likewise.
27345         (isinf_test_data): Likewise.
27346         (isless_test_data): Likewise.
27347         (islessequal_test_data): Likewise.
27348         (islessgreater_test_data): Likewise.
27349         (isnan_test_data): Likewise.
27350         (isnormal_test_data): Likewise.
27351         (issignaling_test_data): Likewise.
27352         (isunordered_test_data): Likewise.
27353         (ldexp_test_data): Likewise.
27354         (lrint_test_data): Likewise.
27355         (lrint_test_data) [TEST_FLOAT]: Disable one test.
27356         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
27357         (lrint_tonearest_test_data): Test for "inexact" exceptions.
27358         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27359         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
27360         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27361         test input.
27362         (lrint_towardzero_test_data): Test for "inexact" exceptions.
27363         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27364         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
27365         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
27366         that test input.
27367         (lrint_downward_test_data): Test for "inexact" exceptions.
27368         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27369         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
27370         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
27371         test input.
27372         (lrint_upward_test_data): Test for "inexact" exceptions.
27373         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
27374         test input.
27375         (llrint_test_data): Test for "inexact" exceptions.
27376         (llrint_test_data) [TEST_FLOAT]: Disable one test.
27377         (llrint_tonearest_test_data): Test for "inexact" exceptions.
27378         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
27379         (llrint_towardzero_test_data): Test for "inexact" exceptions.
27380         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
27381         (llrint_downward_test_data): Test for "inexact" exceptions.
27382         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
27383         (llrint_upward_test_data): Test for "inexact" exceptions.
27384         (logb_test_data): Likewise.
27385         (logb_downward_test_data): Likewise.
27386         (nextafter_test_data): Likewise.
27387         (nexttoward_test_data): Likewise.
27388         (remainder_test_data): Likewise.
27389         (remquo_test_data): Likewise.
27390         (scalbn_test_data): Likewise.
27391         (scalbln_test_data): Likewise.
27392         (signbit_test_data): Likewise.
27393         (sqrt_test_data): Likewise.
27394         (significand_test_data): Likewise.
27396 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
27398         [BZ #15424]
27399         * benchtests/bench-modf.c (struct args): Mark arg0 as
27400         volatile.
27401         * scripts/bench.pl: Mark members of struct args as volatile.
27403 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27405         [BZ # 15497]
27406         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
27407         negative infinity on POWER6 or lower.
27408         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
27410 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
27412         [BZ #15442]
27413         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
27414         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
27415         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
27416         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
27417         (_FP_SETQNAN): New macro.
27418         (_FP_SETQNAN_SEMIRAW): Likewise.
27419         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
27420         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
27421         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
27422         (FP_EXTEND): Use _FP_FRAC_SNANP.
27423         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
27424         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
27425         into account.
27426         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27427         New macro.
27428         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
27429         Likewise.
27431 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27433         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
27434         with DIVIDE_BY_ZERO_EXCEPTION.
27435         (gamma_test_data): Likewise.
27436         (lgamma_test_data): Likewise.
27437         (log_test_data): Likewise.
27438         (log10_test_data): Likewise.
27439         (log2_test_data): Likewise.
27440         (tgamma_test_data): Likewise.
27442         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
27443         (acos_test_tonearest): Likewise.
27444         (acos_test_towardzero): Likewise.
27445         (acos_test_downward): Likewise.
27446         (acos_test_upward): Likewise.
27447         (acosh_test): Likewise.
27448         (asin_test): Likewise.
27449         (asin_test_tonearest): Likewise.
27450         (asin_test_towardzero): Likewise.
27451         (asin_test_downward): Likewise.
27452         (asin_test_upward): Likewise.
27453         (asinh_test): Likewise.
27454         (atan_test): Likewise.
27455         (atanh_test): Likewise.
27456         (atan2_test): Likewise.
27457         (cabs_test): Likewise.
27458         (cacos_test): Likewise.
27459         (cacosh_test): Likewise.
27460         (casin_test): Likewise.
27461         (casinh_test): Likewise.
27462         (catan_test): Likewise.
27463         (catanh_test): Likewise.
27464         (cbrt_test): Likewise.
27465         (ccos_test): Likewise.
27466         (ccosh_test): Likewise.
27467         (cexp_test): Likewise.
27468         (clog_test): Likewise.
27469         (clog10_test): Likewise.
27470         (cos_test): Likewise.
27471         (cos_test_tonearest): Likewise.
27472         (cos_test_towardzero): Likewise.
27473         (cos_test_downward): Likewise.
27474         (cos_test_upward): Likewise.
27475         (cosh_test): Likewise.
27476         (cosh_test_tonearest): Likewise.
27477         (cosh_test_towardzero): Likewise.
27478         (cosh_test_downward): Likewise.
27479         (cosh_test_upward): Likewise.
27480         (cpow_test): Likewise.
27481         (csin_test): Likewise.
27482         (csinh_test): Likewise.
27483         (csqrt_test): Likewise.
27484         (ctan_test): Likewise.
27485         (ctan_test_tonearest): Likewise.
27486         (ctan_test_towardzero): Likewise.
27487         (ctan_test_downward): Likewise.
27488         (ctan_test_upward): Likewise.
27489         (ctanh_test): Likewise.
27490         (ctanh_test_tonearest): Likewise.
27491         (ctanh_test_towardzero): Likewise.
27492         (ctanh_test_downward): Likewise.
27493         (ctanh_test_upward): Likewise.
27494         (erf_test): Likewise.
27495         (erfc_test): Likewise.
27496         (exp_test): Likewise.
27497         (exp_test_tonearest): Likewise.
27498         (exp_test_towardzero): Likewise.
27499         (exp_test_downward): Likewise.
27500         (exp_test_upward): Likewise.
27501         (exp10_test): Likewise.
27502         (exp2_test): Likewise.
27503         (expm1_test): Likewise.
27504         (fmod_test): Likewise.
27505         (gamma_test): Likewise.
27506         (hypot_test): Likewise.
27507         (j0_test): Likewise.
27508         (j1_test): Likewise.
27509         (jn_test): Likewise.
27510         (lgamma_test): Likewise.
27511         (log_test): Likewise.
27512         (log10_test): Likewise.
27513         (log1p_test): Likewise.
27514         (log2_test): Likewise.
27515         (logb_test_downward): Likewise.
27516         (pow_test): Likewise.
27517         (pow_test_tonearest): Likewise.
27518         (pow_test_towardzero): Likewise.
27519         (pow_test_downward): Likewise.
27520         (pow_test_upward): Likewise.
27521         (remainder_test): Likewise.
27522         (remquo_test): Likewise.
27523         (sin_test): Likewise.
27524         (sin_test_tonearest): Likewise.
27525         (sin_test_towardzero): Likewise.
27526         (sin_test_downward): Likewise.
27527         (sin_test_upward): Likewise.
27528         (sincos_test): Likewise.
27529         (sinh_test): Likewise.
27530         (sinh_test_tonearest): Likewise.
27531         (sinh_test_towardzero): Likewise.
27532         (sinh_test_downward): Likewise.
27533         (sinh_test_upward): Likewise.
27534         (sqrt_test): Likewise.
27535         (tan_test): Likewise.
27536         (tan_test_tonearest): Likewise.
27537         (tan_test_towardzero): Likewise.
27538         (tan_test_downward): Likewise.
27539         (tan_test_upward): Likewise.
27540         (tanh_test): Likewise.
27541         (tgamma_test): Likewise.
27542         (y0_test): Likewise.
27543         (y1_test): Likewise.
27544         (yn_test): Likewise.
27546         * math/gen-libm-test.pl (adjust_arg): Remove function.
27547         (special_function): Remove argument $in_func.  Only handle
27548         generating output for tables of tests, not inside functions.
27549         (parse_args): Likewise.
27550         (generate_testfile): Remove variable $in_func.  Update call to
27551         parse_args.
27552         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
27553         (MINUS_ZERO_INIT): Rename macro to minus_zero.
27554         (PLUS_INFTY_INIT): Rename macro to plus_infty.
27555         (MINUS_INFTY_INIT): Rename macro to minus_infty.
27556         (QNAN_VALUE_INIT): Rename macro to qnan_value.
27557         (MAX_VALUE_INIT): Rename macro to max_value.
27558         (MIN_VALUE_INIT): Rename macro to min_value.
27559         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
27560         (plus_zero): Remove variable.
27561         (minus_zero): Likewise.
27562         (plus_infty): Likewise.
27563         (minus_infty): Likewise.
27564         (qnan_value): Likewise.
27565         (max_value): Likewise.
27566         (min_value): Likewise.
27567         (min_subnorm_value): Likewise.
27569 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
27571         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
27572         uint64_t or uint32_t usage.
27573         * crypt/sha256-block.c: Likewise.
27574         * crypt/sha256-crypt.c: Likewise.
27575         * crypt/sha256.c: Likewise.
27576         * crypt/sha512-block.c: Likewise.
27577         * crypt/sha512-crypt.c: Likewise.
27578         * crypt/sha512.c: Likewise.
27579         * debug/backtrace-tst.c: Likewise.
27580         * debug/pcprofiledump.c: Likewise.
27581         * elf/cache.c: Likewise.
27582         * elf/dl-cache.c: Likewise.
27583         * elf/dl-misc.c: Likewise.
27584         * elf/dl-profile.c: Likewise.
27585         * elf/dl-support.c: Likewise.
27586         * elf/ldconfig.c: Likewise.
27587         * elf/sprof.c: Likewise.
27588         * iconv/dummy-repertoire.c: Likewise.
27589         * iconv/iconv_charmap.c: Likewise.
27590         * iconv/skeleton.c: Likewise.
27591         * iconvdata/8bit-generic.c: Likewise.
27592         * iconvdata/cp737.h: Likewise.
27593         * iconvdata/cp775.h: Likewise.
27594         * iconvdata/ibm1008.h: Likewise.
27595         * iconvdata/ibm1025.h: Likewise.
27596         * iconvdata/ibm1046.h: Likewise.
27597         * iconvdata/ibm1097.h: Likewise.
27598         * iconvdata/ibm1112.h: Likewise.
27599         * iconvdata/ibm1122.h: Likewise.
27600         * iconvdata/ibm1123.h: Likewise.
27601         * iconvdata/ibm1124.h: Likewise.
27602         * iconvdata/ibm1129.h: Likewise.
27603         * iconvdata/ibm1130.h: Likewise.
27604         * iconvdata/ibm1132.h: Likewise.
27605         * iconvdata/ibm1133.h: Likewise.
27606         * iconvdata/ibm1137.h: Likewise.
27607         * iconvdata/ibm1140.h: Likewise.
27608         * iconvdata/ibm1141.h: Likewise.
27609         * iconvdata/ibm1142.h: Likewise.
27610         * iconvdata/ibm1143.h: Likewise.
27611         * iconvdata/ibm1144.h: Likewise.
27612         * iconvdata/ibm1145.h: Likewise.
27613         * iconvdata/ibm1146.h: Likewise.
27614         * iconvdata/ibm1147.h: Likewise.
27615         * iconvdata/ibm1148.h: Likewise.
27616         * iconvdata/ibm1149.h: Likewise.
27617         * iconvdata/ibm1153.h: Likewise.
27618         * iconvdata/ibm1154.h: Likewise.
27619         * iconvdata/ibm1155.h: Likewise.
27620         * iconvdata/ibm1156.h: Likewise.
27621         * iconvdata/ibm1157.h: Likewise.
27622         * iconvdata/ibm1158.h: Likewise.
27623         * iconvdata/ibm1160.h: Likewise.
27624         * iconvdata/ibm1161.h: Likewise.
27625         * iconvdata/ibm1162.h: Likewise.
27626         * iconvdata/ibm1163.h: Likewise.
27627         * iconvdata/ibm1164.h: Likewise.
27628         * iconvdata/ibm1166.h: Likewise.
27629         * iconvdata/ibm1167.h: Likewise.
27630         * iconvdata/ibm12712.h: Likewise.
27631         * iconvdata/ibm1390.h: Likewise.
27632         * iconvdata/ibm1399.h: Likewise.
27633         * iconvdata/ibm16804.h: Likewise.
27634         * iconvdata/ibm4517.h: Likewise.
27635         * iconvdata/ibm4899.h: Likewise.
27636         * iconvdata/ibm4909.h: Likewise.
27637         * iconvdata/ibm4971.h: Likewise.
27638         * iconvdata/ibm5347.h: Likewise.
27639         * iconvdata/ibm803.h: Likewise.
27640         * iconvdata/ibm856.h: Likewise.
27641         * iconvdata/ibm901.h: Likewise.
27642         * iconvdata/ibm902.h: Likewise.
27643         * iconvdata/ibm9030.h: Likewise.
27644         * iconvdata/ibm9066.h: Likewise.
27645         * iconvdata/ibm921.h: Likewise.
27646         * iconvdata/ibm922.h: Likewise.
27647         * iconvdata/ibm9448.h: Likewise.
27648         * iconvdata/isiri-3342.h: Likewise.
27649         * iconvdata/jis0201.h: Likewise.
27650         * include/link.h: Likewise.
27651         * include/netdb.h: Likewise.
27652         * inet/check_native.c: Likewise.
27653         * inet/check_pf.c: Likewise.
27654         * inet/getipv4sourcefilter.c: Likewise.
27655         * inet/getnameinfo.c: Likewise.
27656         * inet/getsourcefilter.c: Likewise.
27657         * inet/htonl.c: Likewise.
27658         * inet/setipv4sourcefilter.c: Likewise.
27659         * inet/setsourcefilter.c: Likewise.
27660         * inet/test-inet6_opt.c: Likewise.
27661         * inet/tst-network.c: Likewise.
27662         * locale/C-collate.c: Likewise.
27663         * locale/C-ctype.c: Likewise.
27664         * locale/C-time.c: Likewise.
27665         * locale/C-translit.h: Likewise.
27666         * locale/loadarchive.c: Likewise.
27667         * locale/programs/3level.h: Likewise.
27668         * locale/programs/charmap.c: Likewise.
27669         * locale/programs/charmap.h: Likewise.
27670         * locale/programs/ld-address.c: Likewise.
27671         * locale/programs/ld-collate.c: Likewise.
27672         * locale/programs/ld-ctype.c: Likewise.
27673         * locale/programs/ld-identification.c: Likewise.
27674         * locale/programs/ld-measurement.c: Likewise.
27675         * locale/programs/ld-messages.c: Likewise.
27676         * locale/programs/ld-monetary.c: Likewise.
27677         * locale/programs/ld-name.c: Likewise.
27678         * locale/programs/ld-numeric.c: Likewise.
27679         * locale/programs/ld-paper.c: Likewise.
27680         * locale/programs/ld-telephone.c: Likewise.
27681         * locale/programs/ld-time.c: Likewise.
27682         * locale/programs/linereader.c: Likewise.
27683         * locale/programs/locale.c: Likewise.
27684         * locale/programs/locarchive.c: Likewise.
27685         * locale/programs/locfile.h: Likewise.
27686         * locale/programs/repertoire.c: Likewise.
27687         * locale/programs/simple-hash.c: Likewise.
27688         * locale/programs/simple-hash.h: Likewise.
27689         * malloc/memusage.c: Likewise.
27690         * malloc/memusagestat.c: Likewise.
27691         * nis/nis_defaults.c: Likewise.
27692         * nis/nis_hash.c: Likewise.
27693         * nis/nis_print.c: Likewise.
27694         * nis/nis_xdr.c: Likewise.
27695         * nscd/connections.c: Likewise.
27696         * nscd/hstcache.c: Likewise.
27697         * nscd/nscd_gethst_r.c: Likewise.
27698         * nscd/nscd_getserv_r.c: Likewise.
27699         * nscd/nscd_helper.c: Likewise.
27700         * nscd/servicescache.c: Likewise.
27701         * nss/makedb.c: Likewise.
27702         * nss/nss_db/db-XXX.c: Likewise.
27703         * nss/nss_db/db-initgroups.c: Likewise.
27704         * nss/nss_db/db-netgrp.c: Likewise.
27705         * nss/nss_files/files-network.c: Likewise.
27706         * nss/nss_files/files-parse.c: Likewise.
27707         * posix/bug-regex5.c: Likewise.
27708         * posix/fnmatch_loop.c: Likewise.
27709         * posix/regcomp.c: Likewise.
27710         * posix/regexec.c: Likewise.
27711         * posix/tst-rfc3484-2.c: Likewise.
27712         * posix/tst-rfc3484-3.c: Likewise.
27713         * posix/tst-rfc3484.c: Likewise.
27714         * resolv/nss_dns/dns-canon.c: Likewise.
27715         * resolv/nss_dns/dns-network.c: Likewise.
27716         * resolv/res_init.c: Likewise.
27717         * resolv/res_mkquery.c: Likewise.
27718         * resolv/tst-aton.c: Likewise.
27719         * stdlib/cxa_atexit.c: Likewise.
27720         * stdlib/cxa_finalize.c: Likewise.
27721         * stdlib/gen-fpioconst.c: Likewise.
27722         * stdlib/strtol_l.c: Likewise.
27723         * string/tst-endian.c: Likewise.
27724         * sunrpc/auth_des.c: Likewise.
27725         * sunrpc/clnt_udp.c: Likewise.
27726         * sunrpc/rtime.c: Likewise.
27727         * sunrpc/svcauth_des.c: Likewise.
27728         * sunrpc/xdr.c: Likewise.
27729         * sunrpc/xdr_intXX_t.c: Likewise.
27730         * sunrpc/xdr_rec.c: Likewise.
27731         * sysdeps/generic/ldconfig.h: Likewise.
27732         * sysdeps/generic/ldsodefs.h: Likewise.
27733         * sysdeps/generic/memusage.h: Likewise.
27734         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27735         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
27736         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
27737         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27738         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27739         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27740         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27741         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27742         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27743         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
27744         * sysdeps/posix/getaddrinfo.c: Likewise.
27745         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27746         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27747         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
27748         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
27749         * sysdeps/powerpc/test-gettimebase.c: Likewise.
27750         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
27751         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
27752         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
27753         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
27754         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
27755         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
27756         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
27757         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
27758         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
27759         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
27760         * sysdeps/x86_64/dl-tls.h: Likewise.
27761         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
27762         * time/alt_digit.c: Likewise.
27763         * time/era.c: Likewise.
27764         * wcsmbs/tst-c16c32-1.c: Likewise.
27766 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27768         * math/libm-test.inc (struct test_sincos_data): New type.
27769         (RUN_TEST_LOOP_sincos): New macro.
27770         (sincos_test_data): New variable.
27771         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
27773 2013-05-16  Richard Henderson  <rth@redhat.com>
27775         * math/atest-exp2.c (LIMB64): New macro.
27776         (CONSTSZ): New macro.
27777         (mp_exp1, mp_exp_m1, mp_log2): New variables.
27778         (hexdig): Move ...
27779         (print_mpn_fp): ... to function scope.
27780         (read_mpn_hex): Remove.
27781         (get_log2): Remove.
27782         (exp2_mpn): Use mp_log2.
27783         (main): Use mp_exp1.
27785 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
27787         * math/libm-test.inc: Remove comment about not testing "inexact"
27788         exceptions.
27789         (INEXACT_EXCEPTION): New macro.
27790         (NO_INEXACT_EXCEPTION): Likewise.
27791         (INVALID_EXCEPTION_OK): Update value.
27792         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
27793         (OVERFLOW_EXCEPTION_OK): Likewise.
27794         (UNDERFLOW_EXCEPTION_OK): Likewise.
27795         (IGNORE_ZERO_INF_SIGN): Likewise.
27796         (ERRNO_UNCHANGED): Likewise.
27797         (ERRNO_EDOM): Likewise.
27798         (ERRNO_ERANGE): Likewise.
27799         (test_exceptions): Handle testing "inexact" exceptions.
27800         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
27801         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
27802         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
27803         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
27804         INEXACT_EXCEPTION.
27805         (rint_towardzero_test_data): Likewise.
27806         (rint_downward_test_data): Likewise.
27807         (rint_upward_test_data): Likewise.
27809         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
27810         with OVERFLOW_EXCEPTION.
27811         (exp10_test_data): Likewise.
27812         (exp2_test_data): Likewise.
27813         (expm1_test_data): Likewise.
27814         (lgamma_test_data): Likewise.
27815         (pow_test_data): Likewise.
27816         (tgamma_test_data): Likewise.
27817         (yn_test_data): Remove duplicate test of overflow.
27819         * math/libm-test.inc (struct test_cc_c_data): New type.
27820         (RUN_TEST_LOOP_cc_c): New macro.
27821         (cpow_test_data): New variable.
27822         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
27824         * math/libm-test.inc (struct test_f_L_data): New type.
27825         (RUN_TEST_LOOP_f_L): New macro.
27826         (llrint_test_data): New variable.
27827         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
27828         (llrint_tonearest_test_data): New variable.
27829         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
27830         (llrint_towardzero_test_data): New variable.
27831         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
27832         (llrint_downward_test_data): New variable.
27833         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
27834         (llrint_upward_test_data): New variable.
27835         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
27836         (llround_test_data): New variable.
27837         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
27839 2013-05-13  Peter Collingbourne  <pcc@google.com>
27841         * math/atest-exp2.c (get_log2): Remove const attribute.
27843 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27845         * math/libm-test.inc (struct test_f_l_data): New type.
27846         (RUN_TEST_LOOP_f_l): New macro.
27847         (lrint_test_data): New variable.
27848         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
27849         (lrint_tonearest_test_data): New variable.
27850         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
27851         (lrint_towardzero_test_data): New variable.
27852         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
27853         (lrint_downward_test_data): New variable.
27854         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
27855         (lrint_upward_test_data): New variable.
27856         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
27857         (lround_test_data): New variable.
27858         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
27860 2013-05-15  Peter Collingbourne  <pcc@google.com>
27862         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
27863         (EXTRACT_WORDS64) Use where appropriate.
27864         (INSERT_WORDS64) Likewise.
27866         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
27867         constraints with x constraints.
27868         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
27870         * malloc/obstack.c (_obstack_compat): Add initializer.
27872 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
27874         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
27875         si_trapno and add si_addr_lsb to _sifields.sigfault.
27876         (si_trapno): Remove macro.
27877         (si_addr_lsb): Define new macro.
27878         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
27880 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
27882         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
27883         instead of TEST_f_l.
27884         (llrint_test_tonearest): Likewise.
27885         (llrint_test_towardzero): Likewise.
27886         (llrint_test_downward): Likewise.
27887         (llrint_test_upward): Likewise.
27888         (llround_test): Likewise.
27890         * math/libm-test.inc (struct test_f_i_data): Add comment.
27891         (RUN_TEST_LOOP_f_b): New macro.
27892         (RUN_TEST_LOOP_f_b_tg): Likewise.
27893         (finite_test_data): New variable.
27894         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
27895         (isfinite_test_data): New variable.
27896         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27897         (isinf_test_data): New variable.
27898         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27899         (isnan_test_data): New variable.
27900         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27901         (isnormal_test_data): New variable.
27902         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27903         (issignaling_test_data): New variable.
27904         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27905         (signbit_test_data): New variable.
27906         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
27908         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
27909         with INVALID_EXCEPTION.
27910         (acosh_test_data): Likewise.
27911         (asin_test_data): Likewise.
27912         (atanh_test_data): Likewise.
27913         (fmod_test_data): Likewise.
27914         (log_test_data): Likewise.
27915         (log10_test_data): Likewise.
27916         (log2_test_data): Likewise.
27917         (pow_test_data): Likewise.
27918         (sqrt_test_data): Likewise.
27919         (y0_test_data): Likewise.
27920         (y1_test_data): Likewise.
27921         (yn_test_data): Likewise.
27923         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
27924         function contents.
27926         * math/libm-test.inc (struct test_ff_i_data): New type.
27927         (RUN_TEST_LOOP_ff_i_tg): New macro.
27928         (isgreater_test_data): New variable.
27929         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27930         (isgreaterequal_test_data): New variable.
27931         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27932         (isless_test_data): New variable.
27933         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27934         (islessequal_test_data): New variable.
27935         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27936         (islessgreater_test_data): New variable.
27937         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27938         (isunordered_test_data): New variable.
27939         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
27941 2013-05-14  David S. Miller  <davem@davemloft.net>
27943         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27945 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
27947         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
27949         * math/libm-test.inc (struct test_fF_f1_data): Change type of
27950         extra_test to int.
27951         (struct test_f_i_data): Change type of max_ulp to int.
27953         * math/libm-test.inc (test_ffI_f1_data): New type.
27954         (RUN_TEST_LOOP_ffI_f1): New macro.
27955         (remquo_test_data): New variable.
27956         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
27958         * setjmp/tst-setjmp-fp.c: New file.
27959         * setjmp/Makefile (tests): Add tst-setjmp-fp.
27960         (link-libm): New variable.
27961         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
27963         * math/libm-test.inc (struct test_f_i_data): New type.
27964         (RUN_TEST_LOOP_f_i): New macro.
27965         (RUN_TEST_LOOP_f_i_tg): Likewise.
27966         (fpclassify_test_data): New variable.
27967         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
27968         (ilogb_test_data): New variable.
27969         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
27971         * math/libm-test.inc (scalbln_test): Correct function name in END
27972         call.
27974         * math/libm-test.inc (struct test_f_f1_data): Add comment.
27975         (RUN_TEST_LOOP_fI_f1): New macro.
27976         (frexp_test_data): New variable.
27977         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
27979         * math/libm-test.inc (struct test_fF_f1_data): New type.
27980         (RUN_TEST_LOOP_fF_f1): New macro.
27981         (modf_test_data): New variable.
27982         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
27984         * math/libm-test.inc (struct test_f_f1_data): New type.
27985         (RUN_TEST_LOOP_f_f1): New macro.
27986         (gamma_test_data): New variable.
27987         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27988         (lgamma_test_data): New variable.
27989         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
27991 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
27993         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
27994         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
27995         (main): Comment "tls" pseudo-hwcap.
27997 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
27999         * math/libm-test.inc (struct test_fl_f_data): New type.
28000         (RUN_TEST_LOOP_fl_f): New variable.
28001         (scalbln_test_data): New variable.
28002         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
28004         * math/libm-test.inc (struct test_fi_f_data): New type.
28005         (RUN_TEST_LOOP_fi_f): New macro.
28006         (ldexp_test_data): New variable.
28007         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
28008         (scalbn_test_data): New variable.
28009         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
28011         * math/libm-test.inc (struct test_c_f_data): New type.
28012         (RUN_TEST_LOOP_c_f): New macro.
28013         (cabs_test_data): New variable.
28014         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
28015         (carg_test_data): New variable.
28016         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
28017         (cimag_test_data): New variable.
28018         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
28019         (creal_test_data): New variable.
28020         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
28022         * math/libm-test.inc (struct test_if_f_data): New type.
28023         (RUN_TEST_LOOP_if_f): New macro.
28024         (jn_test_data): New variable.
28025         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
28026         (yn_test_data): New variable.
28027         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
28029         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
28031 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28033         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
28034         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
28036 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
28038         * benchtests/Makefile (CPPFLAGS-nonlib): Add
28039         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
28040         (bench-deps): Add bench-timing.h.
28041         * benchtests-bench-skeleton.c: Include bench-timing.h.
28042         (main): Use TIMING_* macros instead of clock_gettime.
28043         * benchtests/bench-timing.h: New file.
28045         [BZ #14582]
28046         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
28047         Renamed from _LIB_VERSION.
28048         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
28050 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
28052         * math/libm-test.inc (struct test_fff_f_data): New type.
28053         (RUN_TEST_LOOP_fff_f): New macro.
28054         (fma_test_data): New variable.
28055         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
28056         (fma_towardzero_test_data): New variable.
28057         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
28058         (fma_downward_test_data): New variable.
28059         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
28060         (fma_upward_test_data): New variable.
28061         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
28063         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
28064         (struct test_c_c_data): New type.
28065         (RUN_TEST_LOOP_c_c): New macro.
28066         (cacos_test_data): New variable.
28067         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
28068         (cacosh_test_data): New variable.
28069         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
28070         (casin_test_data): New variable.
28071         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
28072         (casinh_test_data): New variable.
28073         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
28074         (catan_test_data): New variable.
28075         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
28076         (catanh_test_data): New variable.
28077         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
28078         (ccos_test_data): New variable.
28079         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
28080         (ccosh_test_data): New variable.
28081         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
28082         (cexp_test_data): New variable.
28083         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
28084         (clog_test_data): New variable.
28085         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
28086         (clog10_test_data): New variable.
28087         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
28088         (conj_test_data): New variable.
28089         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
28090         (cproj_test_data): New variable.
28091         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
28092         (csin_test_data): New variable.
28093         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
28094         (csinh_test_data): New variable.
28095         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
28096         (csqrt_test_data): New variable.
28097         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
28098         (ctan_test_data): New variable.
28099         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
28100         (ctan_tonearest_test_data): New variable.
28101         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28102         (ctan_towardzero_test_data): New variable.
28103         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28104         (ctan_downward_test_data): New variable.
28105         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28106         (ctan_upward_test_data): New variable.
28107         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28108         (ctanh_test_data): New variable.
28109         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
28110         (ctanh_tonearest_test_data): New variable.
28111         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
28112         (ctanh_towardzero_test_data): New variable.
28113         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
28114         (ctanh_downward_test_data): New variable.
28115         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
28116         (ctanh_upward_test_data): New variable.
28117         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
28118         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
28119         of BUILD_COMPLEX.
28121         * math/libm-test.inc (struct test_ff_f_data): New type.
28122         (struct test_ff_f_data_nexttoward): Likewise.
28123         (RUN_TEST_LOOP_2_f): New macro.
28124         (RUN_TEST_LOOP_ff_f): Likewise.
28125         (atan2_test_data): New variable.
28126         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
28127         (copysign_test_data): New variable.
28128         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
28129         (fdim_test_data): New variable.
28130         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
28131         (fmax_test_data): New variable.
28132         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
28133         (fmin_test_data): New variable.
28134         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
28135         (fmod_test_data): New variable.
28136         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
28137         (hypot_test_data): New variable.
28138         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
28139         (nextafter_test_data): New variable.
28140         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
28141         (nexttoward_test_data): New variable.
28142         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
28143         (pow_test_data): New variable.
28144         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
28145         (pow_tonearest_test_data): New variable.
28146         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
28147         (pow_towardzero_test_data): New variable.
28148         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
28149         (pow_downward_test_data): New variable.
28150         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
28151         (pow_upward_test_data): New variable.
28152         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
28153         (remainder_test_data): New variable.
28154         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
28155         (scalb_test_data): New variable.
28156         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
28157         * sysdeps/i386/fpu/libm-test-ulps: Update.
28159 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
28161         * math/libm-test.inc (fma_test): Use max_value instead of local
28162         variable fltmax.
28163         (nextafter_test): Likewise.
28165         * math/libm-test.inc (acos_towardzero_test_data): New variable.
28166         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28167         (acos_downward_test_data): New variable.
28168         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28169         (acos_upward_test_data): New variable.
28170         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28171         (acosh_test_data): New variable.
28172         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
28173         (asin_test_data): New variable.
28174         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
28175         (asin_tonearest_test_data): New variable.
28176         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28177         (asin_towardzero_test_data): New variable.
28178         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28179         (asin_downward_test_data): New variable.
28180         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28181         (asin_upward_test_data): New variable.
28182         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28183         (asinh_test_data): New variable.
28184         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
28185         (atan_test_data): New variable.
28186         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
28187         (atanh_test_data): New variable.
28188         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
28189         (cbrt_test_data): New variable.
28190         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
28191         (ceil_test_data): New variable.
28192         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
28193         (cos_test_data): New variable.
28194         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
28195         (cos_tonearest_test_data): New variable.
28196         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28197         (cos_towardzero_test_data): New variable.
28198         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28199         (cos_downward_test_data): New variable.
28200         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28201         (cos_upward_test_data): New variable.
28202         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28203         (cosh_test_data): New variable.
28204         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
28205         (cosh_tonearest_test_data): New variable.
28206         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28207         (cosh_towardzero_test_data): New variable.
28208         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28209         (cosh_downward_test_data): New variable.
28210         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28211         (cosh_upward_test_data): New variable.
28212         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28213         (erf_test_data): New variable.
28214         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
28215         (erfc_test_data): New variable.
28216         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
28217         (exp_test_data): New variable.
28218         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
28219         (exp_tonearest_test_data): New variable.
28220         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28221         (exp_towardzero_test_data): New variable.
28222         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28223         (exp_downward_test_data): New variable.
28224         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28225         (exp_upward_test_data): New variable.
28226         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28227         (exp10_test_data): New variable.
28228         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
28229         (exp2_test_data): New variable.
28230         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
28231         (expm1_test_data): New variable.
28232         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
28233         (fabs_test_data): New variable.
28234         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
28235         (floor_test_data): New variable.
28236         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
28237         (j0_test_data): New variable.
28238         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
28239         (j1_test_data): New variable.
28240         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
28241         (log_test_data): New variable.
28242         (log_test): Run tests with RUN_TEST_LOOP_f_f.
28243         (log10_test_data): New variable.
28244         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
28245         (log1p_test_data): New variable.
28246         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
28247         (log2_test_data): New variable.
28248         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
28249         (logb_test_data): New variable.
28250         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
28251         (logb_downward_test_data): New variable.
28252         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28253         (nearbyint_test_data): New variable.
28254         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
28255         (rint_test_data): New variable.
28256         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
28257         (rint_tonearest_test_data): New variable.
28258         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28259         (rint_towardzero_test_data): New variable.
28260         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28261         (rint_downward_test_data): New variable.
28262         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28263         (rint_upward_test_data): New variable.
28264         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28265         (round_test_data): New variable.
28266         (round_test): Run tests with RUN_TEST_LOOP_f_f.
28267         (sin_test_data): New variable.
28268         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
28269         (sin_tonearest_test_data): New variable.
28270         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28271         (sin_towardzero_test_data): New variable.
28272         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28273         (sin_downward_test_data): New variable.
28274         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28275         (sin_upward_test_data): New variable.
28276         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28277         (sinh_test_data): New variable.
28278         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
28279         (sinh_tonearest_test_data): New variable.
28280         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28281         (sinh_towardzero_test_data): New variable.
28282         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28283         (sinh_downward_test_data): New variable.
28284         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28285         (sinh_upward_test_data): New variable.
28286         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28287         (sqrt_test_data): New variable.
28288         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
28289         (tan_test_data): New variable.
28290         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
28291         (tan_tonearest_test_data): New variable.
28292         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28293         (tan_towardzero_test_data): New variable.
28294         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
28295         (tan_downward_test_data): New variable.
28296         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
28297         (tan_upward_test_data): New variable.
28298         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
28299         (tanh_test_data): New variable.
28300         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
28301         (tgamma_test_data): New variable.
28302         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
28303         (trunc_test_data): New variable.
28304         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
28305         (y0_test_data): New variable.
28306         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
28307         (y1_test_data): New variable.
28308         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
28309         (significand_test_data): New variable.
28310         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
28312 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
28314         [BZ #12387]
28315         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
28317 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
28319         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
28321 2013-05-10  Andreas Jaeger  <aj@suse.de>
28323         [BZ #15448]
28324         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
28325         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
28327 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28329         * math/gen-libm-test.pl (adjust_arg): New function.
28330         (special_functions): Handle generating output in both functions
28331         and arrays.
28332         (parse_args): Likewise.
28333         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
28334         $in_func argument to parse_args.
28335         * math/libm-test.inc (struct test_f_f_data): New type.
28336         (IF_ROUND_INIT_): New macro.
28337         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
28338         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
28339         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
28340         (IF_ROUND_INIT_FE_UPWARD): Likewise.
28341         (ROUND_RESTORE_): Likewise.
28342         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
28343         (ROUND_RESTORE_FE_TONEAREST): Likewise.
28344         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
28345         (ROUND_RESTORE_FE_UPWARD): Likewise.
28346         (RUN_TEST_LOOP_f_f): New macro.
28347         (acos_test_data): New variable.
28348         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
28349         (acos_tonearest_test_data): New variable.
28350         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
28352 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
28354         * benchtests/bench-skeleton.c (startup): Fix coding style.
28356 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
28358         [BZ #6809]
28359         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
28360         negative infinity argument.
28361         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
28362         negative infinity argument.
28363         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
28364         negative infinity argument.
28365         * math/libm-test.inc (tgamma_test): Expect errno to be set for
28366         domain errors.
28368 2013-05-10  Florian Weimer  <fweimer@redhat.com>
28370         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
28371         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
28372         * iconv/iconv_prog.c (main): Likewise.
28373         * locale/programs/charmap-dir.c (charmap_readdir)
28374         (fopen_uncompressed): Likewise.
28375         * locale/programs/locfile.c (siblings_uncached)
28376         (write_locale_data): Use lstat64 instead of lstat.
28377         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
28378         stat.
28380 2013-05-10  Andreas Jaeger  <aj@suse.de>
28382         [BZ #15395]
28383         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
28384         localization.
28385         Include <locale.h>.
28387 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
28389         * elf/dl-close.c (_dl_close_worker): Add comments.
28391 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
28393         [BZ #15359]
28394         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
28395         high part of pi/2.
28396         (__ieee754_rem_pio2l): Update comments.
28398         [BZ #15429]
28399         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
28400         high part of pi/2.
28401         (__ieee754_rem_pio2l): Update comments.
28403         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
28404         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
28406         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
28407         M_PI_4l.
28409         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
28410         (M_PI_34_LOG10El): Likewise.
28411         (M_PI2_LOG10El): Likewise.
28412         (M_PI4_LOG10El): Likewise.
28413         (M_PI_LOG10El): Likewise.
28415 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28419 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
28421         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
28422         (MINUS_ZERO_INIT): Likewise.
28423         (PLUS_INFTY_INIT): Likewise.
28424         (MINUS_INFTY_INIT): Likewise.
28425         (QNAN_VALUE_INIT): Likewise.
28426         (MAX_VALUE_INIT): Likewise.
28427         (MIN_VALUE_INIT): Likewise.
28428         (MIN_SUBNORM_VALUE_INIT): Likewise.
28429         (plus_zero): Initialize with PLUS_ZERO_INIT.
28430         (minus_zero): Initialize with MINUS_ZERO_INIT.
28431         (plus_infty): Initialize with PLUS_INFTY_INIT.
28432         (minus_infty): Initialize with MINUS_INFTY_INIT.
28433         (qnan_value): Initialize with QNAN_VALUE_INIT.
28434         (max_value): Initialize with MAX_VALUE_INIT.
28435         (min_value): Initialize with MIN_VALUE_INIT.
28436         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
28438         * math/libm-test.inc (RUN_TEST_if_f): New macro.
28439         (jn_test): Use TEST_if_f instead of TEST_ff_f.
28440         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
28441         (yn_test): Use TEST_if_f instead of TEST_ff_f.
28443         * math/libm-test.inc (RUN_TEST_f_f): New macro.
28444         (RUN_TEST_2_f): Likewise.
28445         (RUN_TEST_ff_f): Likewise.
28446         (RUN_TEST_fi_f): Likewise.
28447         (RUN_TEST_fl_f): Likewise.
28448         (RUN_TEST_fff_f): Likewise.
28449         (RUN_TEST_c_f): Likewise.
28450         (RUN_TEST_f_f1): Likewise.
28451         (RUN_TEST_fF_f1): Likewise.
28452         (RUN_TEST_fI_f1): Likewise.
28453         (RUN_TEST_ffI_f1): Likewise.
28454         (RUN_TEST_c_c): Likewise.
28455         (RUN_TEST_cc_c): Likewise.
28456         (RUN_TEST_f_i): Likewise.
28457         (RUN_TEST_f_i_tg): Likewise.
28458         (RUN_TEST_ff_i_tg): Likewise.
28459         (RUN_TEST_f_b): Likewise.
28460         (RUN_TEST_f_b_tg): Likewise.
28461         (RUN_TEST_f_l): Likewise.
28462         (RUN_TEST_f_L): Likewise.
28463         (RUN_TEST_sincos): Likewise.
28464         * math/gen-libm-test.pl (new_test): Take new argument to indicate
28465         whether to show exceptions.  Do not include ");\n" in return
28466         value.
28467         (special_functions): Output call to RUN_TEST_sincos instead of
28468         check_float calls.  Update calls to new_test.
28469         (parse_args): Output call to single RUN_TEST_* macro instead of
28470         check_* calls and other assignments.  Update calls to new_test.
28472         [BZ #2546]
28473         [BZ #2560]
28474         [BZ #5159]
28475         [BZ #15426]
28476         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
28477         input to result for tgamma overflow.
28478         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
28479         (gamma_coeff): New variable.
28480         (NCOEFF): New macro.
28481         (gamma_positive): New function.
28482         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
28483         underflow here.  Use gamma_positive instead of exp (lgamma) for
28484         other arguments.
28485         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
28486         (gamma_coeff): New variable.
28487         (NCOEFF): New macro.
28488         (gammaf_positive): New function.
28489         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
28490         underflow here.  Use gamma_positive instead of exp (lgamma) for
28491         other arguments.
28492         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
28493         (gamma_coeff): New variable.
28494         (NCOEFF): New macro.
28495         (gammal_positive): New function.
28496         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
28497         underflow here.  Use gamma_positive instead of exp (lgamma) for
28498         other arguments.
28499         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
28500         (gamma_coeff): New variable.
28501         (NCOEFF): New macro.
28502         (gammal_positive): New function.
28503         (__ieee754_gammal_r): Handle positive infinity, overflow and
28504         underflow here.  Handle NaN the same as positive infinity.  Remove
28505         check x < 0xffffffff for negative integers.  Use gamma_positive
28506         instead of exp (lgamma) for other arguments.
28507         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
28508         (gamma_coeff): New variable.
28509         (NCOEFF): New macro.
28510         (gammal_positive): New function.
28511         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
28512         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
28513         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
28514         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
28515         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
28516         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
28517         * sysdeps/generic/math_private.h (__gamma_productf): New
28518         prototype.
28519         (__gamma_product): Likewise.
28520         (__gamma_productl): Likewise.
28521         * math/Makefile (libm-calls): Add gamma_product.
28522         * math/libm-test.inc (tgamma_test): Add more tests.
28523         * sysdeps/i386/fpu/libm-test-ulps: Update.
28524         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28526 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
28528         * benchtests/bench-skeleton.c (main): Preheat CPU.
28530 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
28532         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
28534 2013-05-07  Roland McGrath  <roland@hack.frob.com>
28536         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
28537         and _dl_skip_args_internal.
28539 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
28541         * manual/message.texi (Message Translation): Talk about users.
28542         Message to key mapping impacts design.
28544 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28546         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
28548         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
28550         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
28551         * sysdeps/wordsize-64/glob64.c: ... here.
28553         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
28554         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
28555         New macros.
28557         * debug/getlogin_r_chk.c: Moved to ...
28558         * login/getlogin_r_chk.c: ... here.
28559         * debug/Makefile (routines): Move getlogin_r_chk to ...
28560         * login/Makefile (routines): ... here.
28561         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
28562         * login/Versions (libc: GLIBC_2.4): ... here.
28564         * io/poll.c (__poll): Renamed from poll.
28565         Add libc_hidden_def.
28566         (poll): Define as weak alias.
28568         * debug/ptsname_r_chk.c: Moved to ...
28569         * login/ptsname_r_chk.c: ... here.
28570         * debug/Makefile (routines): Move ptsname_r_chk to ...
28571         * login/Makefile (routines): ... here.
28572         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
28573         * login/Versions (libc: GLIBC_2.4): ... here.
28575         * posix/getlogin.c: Moved to ...
28576         * login/getlogin.c: ... here.
28577         * posix/getlogin_r.c: Moved to ...
28578         * login/getlogin_r.c: ... here.
28579         * posix/getlogin_r.c: Moved to ...
28580         * login/getlogin_r.c: ... here.
28581         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
28582         * login/Makefile (routines): ... here.
28583         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
28584         * login/Versions (libc: GLIBC_2.0): ... here.
28586         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
28587         (setrlimit): Define as weak alias.
28589         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
28590         Call __ names for open, ftruncate, and close.
28591         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
28592         (truncate): Define as weak alias.
28594 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
28596         * math/gen-libm-test.pl (parse_args): Initialize x before each
28597         test of frexp, modf and remquo.
28599         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
28600         test signgam value.
28602 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28604         [BZ #15418]
28605         [BZ #15419]
28606         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
28607         internal tests.
28608         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
28610 2013-05-06  Roland McGrath  <roland@hack.frob.com>
28612         * elf/dl-writev.h: New file.
28613         * elf/dl-misc.c: Include it.
28614         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
28615         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
28617 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
28619         * math/libm-test.inc (noXFails): Remove variable.
28620         (noXPasses): Likewise.
28621         (BUILD_COMPLEX_INT): Remove macro.
28622         (print_screen): Remove xfail argument.
28623         (print_screen_max_error): Likewise.
28624         (update_stats): Likewise.
28625         (print_max_error): Likewise.  Update calls to other affected
28626         functions.
28627         (print_complex_max_error): Likewise.
28628         (test_single_exception): Update calls to print_screen.
28629         (test_single_errno): Likewise.
28630         (check_float_internal): Remove xfail argument.  Update calls to
28631         other affected functions.
28632         (check_float): Likewise.
28633         (check_complex): Likewise.
28634         (check_int): Likewise.
28635         (check_long): Likewise.
28636         (check_bool): Likewise.
28637         (check_longlong): Likewise.
28638         (main): Don't print noXFails and noXPasses.
28639         * math/gen-libm-test.pl (top level): Don't mention expected
28640         failure handling in comment.
28641         (new_test): Don't handle expected failures.
28642         (parse_args): Don't mention expected failure handling in comment.
28643         (generate_testfile): Don't handle expected failures.
28644         (parse_ulps): Likewise.
28645         (print_ulps_file): Likewise.
28646         (get_failure): Remove function.
28647         (output_test): Don't handle expected failures.
28648         * make/README.libm-test: Don't mention expected failure handling.
28650         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
28651         (minus_zero): Likewise.
28652         (plus_infty): Likewise.
28653         (minus_infty): Likewise.
28654         (qnan_value): Likewise.
28655         (max_value): Likewise.
28656         (min_value): Likewise.
28657         (min_subnorm_value): Likewise.
28658         (initialize): Do not initialize those variables dynamically.
28660 2013-05-03  Roland McGrath  <roland@hack.frob.com>
28662         * io/open.c (__open_2): Moved to ...
28663         * io/open_2.c: ... this new file.
28664         * io/open64.c (__open64_2): Moved to ...
28665         * io/open64_2.c: ... this new file.
28666         * io/openat.c (__openat_2): Moved to ...
28667         * io/openat_2.c: ... this new file.
28668         * io/openat64.c (__openat64_2): Moved to ...
28669         * io/openat64_2.c: ... this new file.
28670         * io/Makefile (routines): Add them.
28671         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
28672         * sysdeps/unix/sysv/linux/open_2.c: File removed.
28673         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
28674         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
28675         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
28676         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
28677         (__openat64): Add hidden_ver.
28678         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
28679         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
28681         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
28682         Separately conditionalize setting of GLRO(dl_sysinfo) so
28683         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
28684         as well, but the actual setting is only under [NEED_DL_SYSINFO].
28686 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28688         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
28689         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
28690         definition.
28691         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
28692         * sysdeps/unix/sysv/linux/powerpc/init-first.c
28693         (_libc_vdso_platform_setup): Add __vdso_time initialization.
28694         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
28695         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
28697 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
28699         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
28700         test signgam value.
28702         * math/libm-test.inc (hypot_test): Do not use
28703         IGNORE_ZERO_INF_SIGN.
28705 2013-05-03  Andreas Jaeger  <aj@suse.de>
28707         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
28708         Linux 3.9.
28709         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
28710         (PF_MAX): Adjust for VSOCK change.
28712 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28714         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28716 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
28718         [BZ #15264]
28719         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
28720         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
28721         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
28723 2013-05-02  David S. Miller  <davem@davemloft.net>
28725         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28727 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
28729         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
28731 2013-05-01  Roland McGrath  <roland@hack.frob.com>
28733         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
28735 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
28737         [BZ #14952]
28738         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
28739         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28740         Use __attribute__ ((__gnu_inline__)).
28741         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
28742         Don't use __attribute__ ((__gnu_inline__)).
28744 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
28746         [BZ #15423]
28747         * math/s_catan.c (__catan): Handle small real or imaginary part of
28748         input specially to avoid spurious underflow.
28749         * math/s_catanf.c (__catanf): Likewise.
28750         * math/s_catanh.c (__catanh): Likewise.
28751         * math/s_catanhf.c (__catanhf): Likewise.
28752         * math/s_catanhl.c (__catanhl): Likewise.
28753         * math/s_catanl.c (__catanl): Likewise.
28754         * math/libm-test.inc (catan_test): Add more tests.
28755         (catanh_test): Likewise.
28756         * sysdeps/i386/fpu/libm-test-ulps: Update.
28757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28759 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28761         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28763 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
28765         [BZ #15416]
28766         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
28767         accurately for denominator in atan2.
28768         * math/s_catanf.c (__catanf): Likewise.
28769         * math/s_catanh.c (__catanh): Likewise.
28770         * math/s_catanhf.c (__catanhf): Likewise.
28771         * math/s_catanhl.c (__catanhl): Likewise.
28772         * math/s_catanl.c (__catanl): Likewise.
28773         * math/libm-test.inc (catan_test): Add more tests.
28774         (catanh_test): Likewise.
28775         * sysdeps/i386/fpu/libm-test-ulps: Update.
28776         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28778 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
28780         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
28782         * benchtests/Makefile (bench): Remove slow benchmarks.
28783         * benchtests/atan-inputs: Add slow benchmark inputs.
28784         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
28785         (BENCH_FUNC): Accept variant offset.
28786         (VARIANT): Define.
28787         * benchtests/bench-skeleton.c (main): Run benchmark for each
28788         variant.
28789         * benchtests/cos-inputs: Add slow benchmark inputs.
28790         * benchtests/exp-inputs: Likewise.
28791         * benchtests/pow-inputs: Likewise.
28792         * benchtests/sin-inputs: Likewise.
28793         * benchtests/slowatan-inputs: Remove.
28794         * benchtests/slowatan.c: Remove.
28795         * benchtests/slowcos-inputs: Remove.
28796         * benchtests/slowcos.c: Remove.
28797         * benchtests/slowexp-inputs: Remove.
28798         * benchtests/slowexp.c: Remove.
28799         * benchtests/slowpow-inputs: Remove.
28800         * benchtests/slowpow.c: Remove.
28801         * benchtests/slowsin-inputs: Remove.
28802         * benchtests/slowsin.c: Remove.
28803         * benchtests/slowtan-inputs: Remove.
28804         * benchtests/slowtan.c: Remove.
28805         * benchtests/tan-inputs: Add slow benchmark inputs.
28806         * scripts/bench.pl: Parse comments and directives.
28808         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
28809         in CPPFLAGS.
28810         ($(objpfx)bench-%.c): Remove *-ITER.
28811         * benchtests/bench-modf.c: Remove definition of ITER.
28812         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
28813         (main): Loop for DURATION seconds instead of fixed number of
28814         iterations.
28815         * scripts/bench.pl: Don't expect iterations in parameters.
28817 2013-04-29  Roland McGrath  <roland@hack.frob.com>
28819         * io/fchdir.c (__fchdir): Renamed from fchdir.
28820         (fchdir): Define as weak alias.
28822 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28824         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
28825         (ERRNO_EDOM): Likewise.
28826         (ERRNO_ERANGE): Likewise.
28827         (noErrnoTests): New variable.
28828         (init_max_error): Set errno to 0.
28829         (test_single_errno): New function.
28830         (test_errno): Likewise.
28831         (check_float_internal): Call test_errno.  Set errno to 0.
28832         (check_complex): Refer to errno tests in comment.
28833         (check_int): Call test_errno.  Set errno to 0.
28834         (check_long): Likewise.
28835         (check_bool): Likewise.
28836         (check_longlong): Likewise.
28837         (cos_test): Use ERRNO_* flags for errno tests instead of
28838         check_int.
28839         (expm1_test): Likewise.
28840         (fmod_test): Likewise.
28841         (ilogb_test): Likewise.
28842         (lgamma_test): Likewise.
28843         (pow_test): Likewise.
28844         (remainder_test): Likewise.
28845         (sin_test): Likewise.
28846         (tan_test): Likewise.
28847         (yn_test): Likewise.
28848         (initialize): Set errno to 0.
28849         (main): Print number of errno tests.
28850         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
28852 2013-04-29  Andreas Jaeger  <aj@suse.de>
28854         [BZ #15084]
28855         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
28856         and RES_USEVC.
28858         [BZ #15085]
28859         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
28860         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
28861         unimplemented.
28863         [BZ #15380]
28864         * stdlib/random.c (__initstate): Return NULL if
28865         __initstate fails.
28867         [BZ #15086]
28868         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
28869         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
28870         RES_SNGLKUPREOP.
28872 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28874         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
28876 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
28878         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
28879         of individual tests.
28880         (casin_test): Likewise.
28881         (casinh_test): Likewise.
28883 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
28885         [BZ #15409]
28886         * math/s_catan.c (__catan): Handle arguments with large real or
28887         imaginary part separately without squaring.
28888         * math/s_catanf.c (__catanf): Likewise.
28889         * math/s_catanh.c (__catanh): Likewise.
28890         * math/s_catanhf.c (__catanhf): Likewise.
28891         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28892         and redefine.
28893         (__catanhl): Handle arguments with large real or imaginary part
28894         separately without squaring.
28895         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
28896         and redefine.
28897         (__catanl): Handle arguments with large real or imaginary part
28898         separately without squaring.
28899         * math/libm-test.inc (catan_test): Add more tests.
28900         (catanh_test): Likewise.
28901         * sysdeps/i386/fpu/libm-test-ulps: Update.
28902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28904 2013-04-27  Andreas Jaeger  <aj@suse.de>
28906         [BZ #15007]
28907         * stdlib/stdlib.h: Update guards for qecvt.
28908         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
28909         <stdlib.h>.
28911 2013-04-27  Allan McRae  <allan@archlinux.org>
28913         * sysdeps/i386/fpu/libm-test-ulps: Update.
28915 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
28917         [BZ #15406]
28918         * math/s_catan.c: Include <float.h>.
28919         (__catan): Ensure underflow exception occurs for underflowed
28920         result.
28921         * math/s_catanf.c: Include <float.h>.
28922         (__catanf): Ensure underflow exception occurs for underflowed
28923         result.
28924         * math/s_catanh.c: Include <float.h>.
28925         (__catanh): Ensure underflow exception occurs for underflowed
28926         result.
28927         * math/s_catanhf.c: Include <float.h>.
28928         (__catanhf): Ensure underflow exception occurs for underflowed
28929         result.
28930         * math/s_catanhl.c: Include <float.h>.
28931         (__catanhl): Ensure underflow exception occurs for underflowed
28932         result.
28933         * math/s_catanl.c: Include <float.h>.
28934         (__catanl): Ensure underflow exception occurs for underflowed
28935         result.
28936         * math/libm-test.inc (catan_test): Add more tests.
28937         (catanh_test): Likewise.
28939         [BZ #15405]
28940         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
28941         underflowed result.
28942         * math/s_ccoshf.c (__ccoshf): Likewise.
28943         * math/s_ccoshl.c (__ccoshl): Likewise.
28944         * math/s_csin.c (__csin): Likewise.
28945         * math/s_csinf.c (__csinf): Likewise.
28946         * math/s_csinh.c (__csinh): Likewise.
28947         * math/s_csinhf.c (__csinhf): Likewise.
28948         * math/s_csinhl.c (__csinhl): Likewise.
28949         * math/s_csinl.c (__csinl): Likewise.
28950         * math/libm-test.inc (ccos_test): Add more tests.
28951         (ccosh_test): Likewise.
28952         (csin_test): Likewise.
28953         (csinh_test): Likewise.
28955 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28957         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
28958         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
28959         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
28960         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
28961         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
28962         powerpc/power5+/fpu folders.
28963         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
28966 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
28968         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28970 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
28972         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
28973         additions to variable.
28974         [$(config-machine) = x86_64] (modules-names): Likewise.
28975         ($(objpfx)tst-audit3): Remove dependency.
28976         ($(objpfx)tst-audit3.out): Likewise.
28977         ($(objpfx)tst-audit4): Likewise.
28978         ($(objpfx)tst-audit4.out): Likewise.
28979         ($(objpfx)tst-audit5): Likewise.
28980         ($(objpfx)tst-audit5.out): Likewise.
28981         ($(objpfx)tst-audit6): Likewise.
28982         ($(objpfx)tst-audit6.out): Likewise.
28983         ($(objpfx)tst-audit7): Likewise.
28984         ($(objpfx)tst-audit7.out): Likewise.
28985         (tst-audit3-ENV): Remove variable.
28986         (tst-audit4-ENV): Likewise.
28987         (tst-audit5-ENV): Likewise.
28988         (tst-audit6-ENV): Likewise.
28989         (tst-audit7-ENV): Likewise.
28990         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
28991         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
28992         addition to variable.
28993         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
28994         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
28995         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
28996         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
28997         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
28998         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
28999         tst-audit3, tst-audit4 and tst-audit5.
29000         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
29001         tst-audit6 and tst-audit7.
29002         [$(subdir) = elf] (modules-names): Add audit modules for those
29003         tests.
29004         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
29005         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
29006         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
29007         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
29008         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
29009         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
29010         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
29011         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
29012         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
29013         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
29014         [$(subdir) = elf] (tst-audit3-ENV): New variable.
29015         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
29016         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
29017         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
29018         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
29019         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
29020         Likewise.
29021         [$(subdir) = elf && $(config-cflags-avx) = yes]
29022         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
29023         [$(subdir) = elf && $(config-cflags-avx) = yes]
29024         (CFLAGS-tst-auditmod4a.c): Likewise.
29025         [$(subdir) = elf && $(config-cflags-avx) = yes]
29026         (CFLAGS-tst-auditmod4b.c): Likewise.
29027         [$(subdir) = elf && $(config-cflags-avx) = yes]
29028         (CFLAGS-tst-auditmod6b.c): Likewise.
29029         [$(subdir) = elf && $(config-cflags-avx) = yes]
29030         (CFLAGS-tst-auditmod6c.c): Likewise.
29031         [$(subdir) = elf && $(config-cflags-avx) = yes]
29032         (CFLAGS-tst-auditmod7b.c): Likewise.
29033         * elf/tst-audit3.c: Move to ...
29034         * sysdeps/x86_64/tst-audit3.c: ... here.
29035         * elf/tst-audit4.c: Move to ...
29036         * sysdeps/x86_64/tst-audit4.c: ... here.
29037         * elf/tst-audit5.c: Move to ...
29038         * sysdeps/x86_64/tst-audit5.c: ... here.
29039         * elf/tst-audit6.c: Move to ...
29040         * sysdeps/x86_64/tst-audit6.c: ... here.
29041         * elf/tst-audit7.c: Move to ...
29042         * sysdeps/x86_64/tst-audit7.c: ... here.
29043         * elf/tst-auditmod3a.c: Move to ...
29044         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
29045         * elf/tst-auditmod3b.c: Move to ...
29046         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
29047         * elf/tst-auditmod4a.c: Move to ...
29048         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
29049         * elf/tst-auditmod4b.c: Move to ...
29050         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
29051         * elf/tst-auditmod5a.c: Move to ...
29052         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
29053         * elf/tst-auditmod5b.c: Move to ...
29054         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
29055         * elf/tst-auditmod6a.c: Move to ...
29056         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
29057         * elf/tst-auditmod6b.c: Move to ...
29058         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
29059         * elf/tst-auditmod6c.c: Move to ...
29060         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
29061         * elf/tst-auditmod7a.c: Move to ...
29062         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
29063         * elf/tst-auditmod7b.c: Move to ...
29064         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
29066 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
29068         [BZ #15366]
29069         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
29070         define unconditionally.
29071         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
29072         define unconditionally.
29073         (INT8_C, INT16_C, etc.): Likewise.
29075 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
29077         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
29078         __ehdr_start with hidden visibility.
29080         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
29082 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
29084         * math/libm-test.inc (cos_test): Use accurate hex constants.
29085         (sincost_test): Likewise.
29087 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
29089         * math/libm-test.inc (catan_test): Add more tests.
29090         (catanh_test): Likewise.
29092         * math/s_catanf.c (__catanf): Use suffixed floating-point
29093         constants.
29094         * math/s_catanhf.c (__catanhf): Likewise.
29095         * math/s_catanhl.c (__catanhl): Likewise.
29096         * math/s_catanl.c (__catanl): Likewise.
29098         [BZ #15394]
29099         * math/s_catan.c (__catan): Calculate imaginary part of result
29100         with log1p not log unless computing log of number close to 0.
29101         * math/s_catanf.c (__catanf): Likewise.
29102         * math/s_catanl.c (__catanl): Likewise.
29103         * math/s_catanh.c (__catanh): Calculate real part of result with
29104         log1p not log unless computing log of number close to 0.
29105         * math/s_catanhf.c (__catanhf): Likewise.
29106         * math/s_catanhl.c (__catanhl): Likewise.
29107         * math/libm-test.inc (catan_test): Add more tests.
29108         (catanh_test): Likewise.
29109         * sysdeps/i386/fpu/libm-test-ulps: Update.
29110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29112 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29114         * benchtests/Makefile: Mention files in which fast and slow
29115         paths of math functions are implemented.
29117 2013-04-23  Roland McGrath  <roland@hack.frob.com>
29119         * sysdeps/posix/timespec_get.c: New file.
29121 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29123         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
29124         POWER.
29125         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
29126         for POWER.
29127         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
29128         powerpc/power5/fpu folders.
29129         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
29130         * benchtests/Makefile: Add modf testcase.
29131         * benchtests/bench-modf.c: New file: Benchmark test for mo
29133 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
29135         [BZ #14888]
29136         * time/Makefile (tests): Add tst-strptime-whitespace.
29137         * time/strptime_l.c (get_number): Use ISSPACE.
29138         (__strptime_internal): Likewise.
29139         * time/tst-strptime-whitespace.c: New test case.
29141 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
29143         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
29144         member.
29145         (_nss_files_init): Set it here.
29147 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
29149         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
29150         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
29151         unsigned.
29153 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
29155         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
29157 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
29159         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
29160         size just once.
29162 2013-04-21  David S. Miller  <davem@davemloft.net>
29164         * po/ru.po: Update Russion translation from translation project.
29166 2013-04-17  Adam Conrad  <adconrad@0c3.net>
29168         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
29169         and setfsgid.
29171 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
29173         * configure.in: Remove i386 configure warning. Remove i386 case.
29174         * configure: Regenerate.
29175         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
29176         Add example to error message.
29177         * sysdeps/i386/configure: Regenerate.
29179 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
29181         * benchtests/Makefile (bench): Add cos, tan, slowcos and
29182         slowtan.
29183         * benchtests/cos-inputs: New file.
29184         * benchtests/slowcos-inputs: New file.
29185         * benchtests/slowcos.c: New file.
29186         * benchtests/slowtan-inputs: New file.
29187         * benchtests/slowtan.c: New file.
29188         * benchtests/tan-inputs: New file.
29190 2013-04-16  Roland McGrath  <roland@hack.frob.com>
29192         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
29193         considered kosher.
29195 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29197         * benchtests/Makefile: Include cppflags-iterator.mk to add
29198         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
29200         * Makefile.in (bench-clean): New target.
29201         * benchtests/Makefile (bench-clean): Likewise.
29203 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
29205         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
29207 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
29209         * stdio-common/tstdiomisc.c: Fix coding-style violation.
29211 2013-04-15  Andreas Schwab  <schwab@suse.de>
29213         * nscd/grpcache.c (cache_addgr): Properly check for short write.
29214         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29215         * nscd/pwdcache.c (cache_addpw): Likewise.
29216         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
29217         more than recsize.
29219 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29221         * benchtests/Makefile (bench): Write all output to
29222         bench-out.tmp together.
29224 2013-04-15  Andreas Schwab  <schwab@suse.de>
29226         * nscd/nscd.c (main): Don't fork again after closing files.
29228 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29230         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
29232         * benchtests/Rules (bench-deps): Collect dependencies into a
29233         single variable.  Add Makefile to dependencies.
29234         ($(objpfx)bench-%.c): Depend on bench-deps.
29236 2013-04-12  Roland McGrath  <roland@hack.frob.com>
29237             Xavier Roche  <roche+kml2@exalead.com>
29239         [BZ #15361]
29240         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
29241         just that it's a file descriptor.
29242         * manual/llio.texi (Synchronizing AIO Operations): Update description
29243         for EBADF error from aio_fsync.
29245 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29247         * Rules (bench): Move target definition...
29248         * benchtests/Makefile: ... here.
29250 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
29252         * math/libm-test.inc (cos_test): Fix PI/2 test.
29253         (sincos_test): Likewise.
29254         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
29255         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
29257 2013-04-11  Andreas Schwab  <schwab@suse.de>
29259         [BZ #13988]
29260         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
29261         accept exponent character only when digits were seen.
29262         * stdio-common/Makefile (tests): Add bug26.
29263         * stdio-common/bug26.c: New file.
29265         [BZ #14293]
29266         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
29267         non-freeable.
29269 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
29271         * Makeconfig (rtld-prefix): Define built linker prefix.
29272         * Rules (run-bench): Use it.
29273         * math/Makefile (run-regen-ulps): Likewise.
29275         * Rules (bench): Remove eval.
29277 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29278             Roland McGrath  <roland@hack.frob.com>
29279             Ondrej Bilka  <neleai@seznam.cz>
29281         [BZ #15346]
29282         * time/getdate.c: Include ctype.h and alloca.h.
29283         (__getdate_r): Trim leading and trailing spaces of input.
29284         * time/tst-getdate.c (tests): Add tests with leading and
29285         trailing spaces.
29287 2013-04-08  Roland McGrath  <roland@hack.frob.com>
29289         [BZ #14280]
29290         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
29291         when computing value.
29293 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29295         * math/README.libm-test (How can I generate "libm-test-ulps"?):
29296         Use testrun.sh to run libm tests.
29298         [BZ #15309]
29299         * elf/dl-open.c (dl_open_worker): memset all of seen array.
29301 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
29303         [BZ #15264]
29304         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
29306 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29308         * Makefile.in (regen-ulps): New target.
29309         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
29310         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
29311         [ifneq (no,$(PERL)] (regen-ulps): New target.
29312         [ifeq (no,$(PERL)] (regen-ulps): New target.
29313         * math/libm-test.inc (ulps_file_name): Define.
29314         (output_dir): New variable.
29315         (options): Add "output-dir" option.
29316         (parse_opt): Handle 'o' case.
29317         (main): If output_dir is non-NULL use it as a prefix
29318         otherwise use "".
29319         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
29321 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29323         [BZ #10060, #10062]
29324         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
29325         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
29326         fail configure if __sync_val_compare_and_swap is not inlined.
29327         * sysdeps/i386/configure: Regenerate.
29328         * configure.in: Build for i686 when configured for i386.
29329         * configure: Regenerate.
29330         * README: Remove i386 reference.
29332 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
29334         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
29335         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29337 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
29339         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
29340         (lmsnanval): New variables.
29341         (F): Add conversion tests.
29342         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
29343         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
29345         * stdio-common/tstdiomisc.c (F): Properly collect individual
29346         tests' results.
29348         [BZ #14686, #15336]
29349         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
29350         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
29351         Instead, use input NaN values or generate a qNaN by arithmetic
29352         operation.  Also fix bugs to comply with the standard.
29353         * math/libm-test.inc (remainder_test): Add more tests.
29355         [BZ #15335, #15342]
29356         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
29357         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
29358         input NaN values or generate a qNaN by arithmetic operation.
29360         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
29361         unreachable code.
29363         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
29364         definitions.
29366 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
29368         [BZ #14478]
29369         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
29370         underflowed result.
29371         * math/s_cexpf.c (__cexpf): Likewise.
29372         * math/s_cexpl.c (__cexpl): Likewise.
29373         * math/libm-test.inc (cexp_test): Add more tests.
29375 2013-04-03  Andreas Schwab  <schwab@suse.de>
29377         [BZ #15330]
29378         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
29379         order arrays from heap if bigger than alloca cutoff.
29381 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
29383         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
29384         (SNAN_TESTS_double): Refer to GCC PR56831.
29385         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
29386         GCC PR56828.
29388 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
29390         * Rules (bench): Move bench.out after the run is complete.
29392         * Rules (bench): Echo currently running benchmark.
29394         * benchtests/Makefile (bench): Add atan and slowatan.
29395         * benchtests/atan-inputs: New file.
29396         * benchtests/slowatan-inputs: New file.
29397         * benchtests/slowatan.c: New file.
29399         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
29400         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
29401         its value.
29403         [BZ #15305]
29404         * sysdeps/unix/sysv/linux/kernel-features.h
29405         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
29406         __ASSUME_XFS_RESTRICTED_CHOWN.
29407         * sysdeps/unix/sysv/linux/pathconf.c
29408         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
29409         Save and restore errno.
29411 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
29413         [BZ #15327]
29414         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
29415         arguments using __kernel_casinh.
29416         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
29417         arguments using __kernel_casinhf.
29418         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
29419         arguments using __kernel_casinhl.
29420         * math/libm-test.inc (cacosh_test): Add more tests.
29421         * sysdeps/i386/fpu/libm-test-ulps: Update.
29422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29424 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
29426         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
29427         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
29429         * bench/Makefile (bench): Add sin and slowsin.
29430         * benchtests/sin-inputs: New file.
29431         * benchtests/slowsin-inputs: New file.
29432         * benchtests/slowsin.c: New file.
29434         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
29435         (bench): Add slowexp and slowpow.
29436         (exp-ITER): Increase iterations.
29437         (pow-ITER): Likewise.
29438         * benchtests/exp-inputs: Change input.
29439         * benchtests/pow-inputs: Likewise.
29440         * benchtests/slowexp-inputs: New file.
29441         * benchtests/slowexp.c: New file.
29442         * benchtests/slowpow-inputs: New file.
29443         * benchtests/slowpow.c: New file.
29445 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29447         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
29448         instructions.
29449         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
29450         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
29451         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
29452         * benchtests/Makefile: Add rint benchtest.
29453         * benchtests/rint-inputs: Input for rint benchtest.
29455 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
29457         * Versions.def (libm): Add GLIBC_2.18.
29458         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
29459         hidden libm prototypes.
29460         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
29461         * math/Makefile (libm-calls): Add s_issignaling.
29462         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
29463         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
29464         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
29465         declaration.
29466         * math/math.h [__USE_GNU] (issignaling): New macro.
29467         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
29468         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
29469         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
29470         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
29471         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
29472         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
29473         * manual/arith.texi (issignaling): New section.
29474         * manual/libm-err-tab.pl (@all_functions): Update comment.
29475         * math/gen-libm-test.pl (parse_args): Apply special handling for
29476         issignaling.
29477         * math/libm-test.inc (print_float, issignaling_test): New
29478         functions.
29479         (check_float_internal): Add issignaling checks.
29480         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
29481         default definition.
29482         * sysdeps/powerpc/math-tests.h: New file.
29483         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
29484         tests.
29485         * math/test-snan.c (TEST_FUNC): Likewise.
29487 2013-03-30  David S. Miller  <davem@davemloft.net>
29489         * po/de.po: Update from translation team.
29491 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
29493         [BZ #10357]
29494         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29495         imaginary part less than 1.0 and real part less than 0.5
29496         specially.
29497         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29498         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29499         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
29500         (cacos_test): Add more tests.
29501         (casin_test): Likewise.
29502         (casinh_test): Likewise.
29503         * sysdeps/i386/fpu/libm-test-ulps: Update.
29504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29506 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
29508         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
29509         ONE with its value.
29511         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
29512         (__pow_mp): Replace ONE and MONE with their values.
29513         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29514         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
29515         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29516         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
29517         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29518         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29520         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
29522         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
29523         (__pow_mp): Replace ZERO and MZERO with their values.
29524         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29525         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29526         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
29527         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
29528         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29529         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
29530         (__sqr): Likewise.
29532         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
29534         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
29536 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29538         * include/stdlib.h [!SHARED] (__call_tls_dtors):
29539         Declare with __attribute__ ((weak)).
29540         * stdlib/exit.c (__libc_atexit) [!SHARED]:
29541         Call __call_tls_dtors only if it's not NULL.
29543 2013-03-28  Roland McGrath  <roland@hack.frob.com>
29545         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
29546         didn't do it already, then set _dl_phdr and _dl_phnum based on the
29547         magic __ehdr_start linker symbol if it's defined.
29548         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
29549         them up here if it was already done.
29551         * elf/dl-support.c (_dl_phdr): Make pointer to const.
29552         (_dl_aux_init): Use const in cast when setting it.
29553         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
29554         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
29555         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
29557         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
29558         Declare them here.
29559         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
29560         * csu/libc-tls.c: Nor here.
29561         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
29563         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
29564         (__libc_message): Never call vsyslog.
29566 2013-03-28  Alan Modra  <amodra@gmail.com>
29568         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
29569         Define as empty.
29570         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
29571         Likewise.
29573 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29575         [BZ #15214]
29576         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
29577         underflow.
29578         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29580 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
29582         [BZ #15304]
29583         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
29584         Don't add gid passed as argument.
29586         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
29588 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
29590         [BZ #15307]
29591         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29592         imaginary part between 1.0 and 1.5 and real part less than 0.5
29593         specially.
29594         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29595         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29596         * math/libm-test.inc (cacos_test): Add more tests.
29597         (casin_test): Likewise.
29598         (casinh_test): Likewise.
29599         * sysdeps/i386/fpu/libm-test-ulps: Update.
29600         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29602 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29604         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
29605         constants.
29606         (norm): Likewise.
29607         (denorm): Likewise.
29608         (__dbl_mp): Likewise.
29609         (add_magnitudes): Likewise.
29610         (sub_magnitudes): Likewise.
29611         (__add): Likewise.
29612         (__sub): Likewise.
29613         (__mul): Likewise.
29614         (__sqr): Likewise.
29615         (__inv): Likewise.
29616         (__dvd): Likewise.
29618         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
29619         commented code.
29620         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
29621         (__dubcos): Likewise.
29622         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
29623         (__ieee754_acos): Likewise.
29624         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
29625         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
29626         (__exp1): Likewise.
29627         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
29628         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
29629         (log1): Likewise.
29630         (my_log2): Likewise.
29631         (checkint): Likewise.
29632         * sysdeps/ieee754/dbl-64/e_remainder.c
29633         (__ieee754_remainder): Likewise.
29634         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
29635         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
29636         (bsloww): Likewise.
29637         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
29639         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
29640         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
29641         MANTISSA_STORE_T to store computations on mantissa.  Use
29642         macros for rounding and division.
29643         (denorm): Likewise.
29644         (__dbl_mp): Likewise.
29645         (add_magnitudes): Likewise.
29646         (sub_magnitudes): Likewise.
29647         (__mul): Likewise.
29648         (__sqr): Likewise.
29649         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
29650         powers of two in terms of TWOPOW macro.
29651         (mp_no): Make type of mantissa as MANTISSA_T.
29652         [!RADIXI]: Define RADIXI.
29653         [!TWO52]: Define TWO52.
29654         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
29656 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29658         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
29659         llroundl symbol when building for PPC32.
29661 2013-03-24  Mark H Weaver  <mhw@netris.org>
29663         * manual/arith.texi (Normalization Functions): Fix prototypes for
29664         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
29666 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29668         [BZ #13889]
29669         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
29670         high value to check if expl overflow.
29671         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
29672         to check for underflow and overflow.
29673         * math/libm-test.inc: Add exp test.
29675 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
29677         [BZ #11120]
29678         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
29679         with NOT_IN_libc.
29681 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29683         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
29684         symbol.
29686 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
29688         * math/gen-libm-test.pl (parse_args, special_functions): Properly
29689         wrap blocks consisting of several statements.
29691         * sysdeps/generic/math-tests.h: New file.
29692         * sysdeps/i386/fpu/math-tests.h: Likewise.
29693         * math/test-snan.c: Include it.
29694         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
29696 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29698         [BZ #15285]
29699         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
29700         (__ieee754_j0l): Do not improve calculations using cos of twice
29701         input for inputs above LDBL_MAX / 2.0L.
29702         (__ieee754_y0l): Likewise.
29703         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
29704         (__ieee754_j1l): Do not improve calculations using cos of twice
29705         input for inputs above LDBL_MAX / 2.0L.
29706         (__ieee754_y1l): Likewise.
29707         * math/libm-test.inc (j0_test): Add another test.
29708         (j1_test): Likewise.
29709         (y0_test): Likewise.
29710         (y1_test): Likewise.
29711         * sysdeps/i386/fpu/libm-test-ulps: Update.
29713 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29715         * Rules ($(objpfx)bench-%.c): Include code from a C source
29716         file.
29718 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
29720         [BZ #15287]
29721         * math/k_casinh.c (__kernel_casinh): Handle arguments with
29722         imaginary part 1.0 and real part less than 0.5 specially.
29723         * math/k_casinhf.c (__kernel_casinhf): Likewise.
29724         * math/k_casinhl.c (__kernel_casinhl): Likewise.
29725         * math/libm-test.inc (cacos_test): Add more tests.
29726         (casin_test): Likewise.
29727         (casinh_test): Likewise.
29728         * sysdeps/i386/fpu/libm-test-ulps: Update.
29729         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29731 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29733         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
29734         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
29736 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
29738         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
29739         * config.make.in (config-cflags-sse4): Remove variable.
29740         (config-cflags-avx): Likewise.
29741         (config-cflags-sse2avx): Likewise.
29742         (config-cflags-novzeroupper): Likewise.
29743         (config-asflags-i686): Likewise.
29744         (have-mfma4): Likewise.
29745         (have-as-vis3): Likewise.
29746         (MIG): Likewise.
29747         * configure.in (MIG): Do not AC_SUBST.
29748         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
29749         (libc_cv_cc_sse4): Do not AC_SUBST.
29750         (libc_cv_cc_avx): Likewise.
29751         (libc_cv_cc_sse2avx): Likewise.
29752         (libc_cv_cc_novzeroupper): Likewise.
29753         (libc_cv_cc_fma4): Likewise.
29754         (libc_cv_as_i686): Likewise.
29755         (libc_cv_sparc_as_vis3): Likewise.
29756         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
29757         LIBC_CONFIG_VAR.
29758         (config-asflags-i686): Likewise.
29759         (config-cflags-avx): Likewise.
29760         (config-cflags-sse2avx): Likewise.
29761         (have-mfma4): Likewise.
29762         (config-cflags-novzeroupper): Likewise.
29763         * sysdeps/mach/configure.in (MIG): Likewise.
29764         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
29765         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
29766         LIBC_CONFIG_VAR.
29767         (config-cflags-avx): Likewise.
29768         (config-cflags-sse2avx): Likewise.
29769         (have-mfma4): Likewise.
29770         (config-cflags-novzeroupper): Likewise.
29771         * configure: Regenerated.
29772         * sysdeps/i386/configure: Likewise.
29773         * sysdeps/mach/configure: Likewise.
29774         * sysdeps/sparc/configure: Likewise.
29775         * sysdeps/x86_64/configure: Likewise.
29777 2013-03-20  Roland McGrath  <roland@hack.frob.com>
29779         [BZ #14812]
29780         * locale/programs/localedef.c (options): Put N_ translation marker
29781         on argument names, not just descriptions.
29783 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
29785         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
29787 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
29789         [BZ #14176]
29790         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
29792 2013-03-19  Roland McGrath  <roland@hack.frob.com>
29794         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
29795         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
29796         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
29797         [!BEFORE_ABORT] (before_abort): New function.
29798         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
29799         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
29800         (writev_for_fatal): New function.
29801         (WRITEV_FOR_FATAL): New macro; call that.
29802         (backtrace_and_maps): New function.
29803         (BEFORE_ABORT): New macro; call that.
29804         (struct str_list): Type removed.
29805         (__libc_message, __libc_fatal): Functions removed.
29806         Include <sysdeps/posix/libc_fatal.c> instead.
29808 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
29810         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
29811         constants.
29812         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
29813         double constants.
29815 2013-03-19  Andreas Schwab  <schwab@suse.de>
29817         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
29818         * sysdeps/gnu/configure: Regenerate.
29820         * configure.in: Substitute libc_cv_rtlddir.
29821         * configure: Regenerate.
29822         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
29823         * Makeconfig (rtlddir, inst_rtlddir): New variables.
29824         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
29825         * elf/Makefile (install-others, CFLAGS-interp.c)
29826         (ldso_install, common-ldd-rewrite): Likewise.
29827         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
29828         $(inst_slibdir)/$(rtld-installed-name).
29829         * scripts/rellns-sh: Add -p option.
29830         * Makerules (make-shlib-link): Use rellns-sh to get relative name
29831         for source.
29833 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29835         * manual/nptl.texi: Renamed to ...
29836         * manual/threads.texi: ... this.
29837         * manual/Makefile (chapters): Update.
29839 2013-03-18  Roland McGrath  <roland@hack.frob.com>
29841         [BZ #14812]
29842         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
29843         on argument names, not just descriptions.
29844         * malloc/memusagestat.c (options): Likewise.
29845         * nss/getent.c (options): Likewise.
29847 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
29849         [BZ #14812]
29850         * iconv/iconv_prog.c (options): Put N_ translation marker
29851         on argument names, not just descriptions.
29852         * iconv/iconvconfig.c (options): Likewise.
29854 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
29856         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
29857         implementation which is faster on all x86_64 architectures.
29858         Tested on AMD, Intel Nehalem, SNB, IVB.
29859         * sysdeps/x86_64/strnlen.S: Likewise.
29861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
29862         Remove all multiarch strlen and strnlen versions.
29863         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
29864         Remove strlen and strnlen related parts.
29866         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
29867         Inline strlen part.
29868         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
29870         * sysdeps/x86_64/multiarch/strlen.S: Remove.
29871         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
29872         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
29873         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
29874         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
29875         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
29877 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
29879         * manual/memory.texi (Malloc Tunable Parameters):
29880         Sort parameters alphabetically. Add comments for missing entries.
29882 2013-03-17  David S. Miller  <davem@davemloft.net>
29884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29886 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
29888         [BZ #15283]
29889         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
29890         for arguments at most half maximum finite value.
29891         * math/libm-test.inc (j0_test): Add more tests.
29892         (j1_test): Likewise.
29893         (y0_test): Likewise.
29894         (y1_test): Likewise.
29895         * sysdeps/i386/fpu/libm-test-ulps: Update.
29896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29898         [BZ #14155]
29899         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
29900         1 / x and functions P and Q for arguments above 0x1p256L.
29901         (__ieee754_y0l): Likewise.
29902         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
29903         (__ieee754_y1l): Likewise.
29904         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
29905         (j1_test): Likewise.
29906         (y0_test): Likewise.
29907         (y1_test): Likewise.
29909 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
29911         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
29912         variable.
29914 2013-03-15  Roland McGrath  <roland@hack.frob.com>
29916         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
29917         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
29918         zero since it's initialized to EXEC_PAGESIZE.
29920         * sysdeps/unix/sysv/linux/ldsodefs.h
29921         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
29922         * sysdeps/generic/ldsodefs.h: ... here.
29924 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
29926         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
29928         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
29929         math/test-snan.c.
29930         * math/test-snan.c: Renamed from
29931         sysdeps/powerpc/fpu/test-powerpc-snan.c.
29932         * math/Makefile (tests): Add test-snan.
29933         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
29934         test-powerpc-snan.
29936         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
29937         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
29938         functions.
29939         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
29940         __builtin_nan family of functions.
29941         * math/libm-test.inc (initialize): Initialize qnan_value with
29942         __builtin_nan family of functions.
29943         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
29944         Remove variables.
29945         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
29946         Remove functions.
29947         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
29948         storage class.  Initialize qNaN_var and sNaN_var with
29949         __builtin_nan and __builtin_nans families of functions,
29950         respectively.
29952         * math/libm-test.inc (acosh_test): Also test with qNaN input.
29953         (sqrt_test): Remove duplicate test with qNaN input.
29954         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
29955         (round_test, signbit_test, significand_test): Note missing +/-Inf
29956         as well as qNaN tests.
29958         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
29959         qNaN_var.  Fix a few strings, too.
29960         * math/libm-test.inc (nan_value): Rename to qnan_value.
29961         * math/gen-libm-test.pl (%beautify): Adjust to that.
29962         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
29963         * math/test-misc.c (main): Likewise.
29964         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
29965         to __qnan_bytes, and __qnan_union, respectively.
29966         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
29967         Likewise.
29968         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
29969         and lqnanval, respectively.
29970         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
29971         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
29972         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
29973         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
29975         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
29976         * math/test-misc.c (main) [__x86_64__]: Enable test for long
29977         doubles.
29979         * math/test-misc.c (main): Fix copy'n'pastos.
29980         * misc/tst-efgcvt.c (special): Likewise.
29982         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
29983         Remove declarations.
29985 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29987         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
29988         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
29989         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
29990         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
29992 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29994         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
29995         macro to return vdso values correctly in IFUNC implementations.
29996         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
29997         Optimization by using IFUNC.
29999 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30000             Richard Henderson  <rth@redhat.com>
30001             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30003         * Makefile.in (bench): New target.
30004         * NEWS: Mention the benchmark framework.
30005         * Rules (bench): Likewise.
30006         (binaries-bench): Generate binaries for functions to
30007         benchmark.
30008         * benchtests/Makefile: New makefile for benchmark tests.
30009         * benchtests/bench-skeleton.c: New skeleton file for benchmark
30010         programs.
30011         * benchtests/exp-inputs: New input file for EXP function.
30012         * benchtests/pow-inputs: New input file for POW function.
30013         * scripts/bench.pl: New script to generate source files for
30014         benchmark programs.
30016 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
30018         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
30019         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
30020         computations on mantissa.  Use macros for rounding and
30021         division.
30022         (denorm): Likewise.
30023         (__dbl_mp): Likewise.
30024         (add_magnitudes): Likewise.
30025         (sub_magnitudes): Likewise.
30026         (__mul): Likewise.
30027         (__sqr): Likewise.
30028         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
30029         powers of two in terms of TWOPOW macro.
30030         (mp_no): Make type of mantissa as MANTISSA_T.
30031         [!RADIXI]: Define RADIXI.
30032         [!TWO52]: Define TWO52.
30033         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
30035         * manual/nptl.texi (cindex): Modify threads to pthreads.
30037 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
30039         * sysdeps/x86_64/preconfigure: Regenerated.
30041 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
30043         [BZ #14155]
30044         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
30045         0x1p28 and above.
30046         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
30047         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
30048         0x1p28 and above.
30049         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
30050         * math/libm-test.inc (j0_test): Do not allow one spurious
30051         underflow exception.
30052         (y1_test): Likewise.
30054 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30056         * manual/Makefile (chapters): Add nptl.
30057         * manual/debug.texi (Debugging Support): Add link to Threads
30058         chapter.
30059         * manual/nptl.texi: New file.
30061         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
30063 2013-03-14  Petr Baudis  <pasky@ucw.cz>
30065         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
30066         for non-NULL pointer before the memory validity test. Pointed
30067         out by Holger Brunck <holger.brunck@keymile.com>.
30069 2013-03-13  Andreas Schwab  <schwab@suse.de>
30071         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
30072         instead of .os.
30074 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
30076         * timezone/zic.c: Update from tzcode 2013b.
30078 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
30080         * manual/install.texi (Configuring and compiling):
30081         Mention i686 and i586.
30082         * INSTALL: Regenerate.
30084 2013-03-12  Roland McGrath  <roland@hack.frob.com>
30086         * sysdeps/init_array/elf-init.c: New file.
30087         * csu/elf-init.c
30088         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
30089         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
30091         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
30092         __gmon_start__ as global, but as static with a .preinit_array pointer.
30093         * sysdeps/init_array/gmon-start.c: New file.  Use that.
30094         * sysdeps/init_array/crti.S: New file, empty except for comments.
30095         * sysdeps/init_array/crtn.S: Likewise.
30097 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
30099         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
30100         definining bcopy.
30101         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30102         Remove Prefer_SSE_for_memop.
30103         * sysdeps/x86_64/multiarch/init-arch.h: Remove
30104         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
30105         HAS_PREFER_SSE_FOR_MEMOP.
30106         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
30107         memset-x86-64.
30108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30109         Remove bzero, memset ifunc support.
30110         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
30111         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
30112         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30113         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30115 2013-03-11  Andreas Schwab  <schwab@suse.de>
30117         [BZ #15234]
30118         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
30119         by SHLIB_COMPAT.
30120         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
30121         (GLIBC_2.16): Remove pthread_atfork.
30123 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30125         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
30126         (ptestcases.h): Likewise.
30128 2013-03-08  Roland McGrath  <roland@hack.frob.com>
30130         * Makeconfig ($(common-objpfx)config.status): Depend on
30131         sysdeps/*/preconfigure{,.in} too.
30133 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
30135         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
30136         (__free_hook): Use void * instead of __malloc_ptr_t.
30137         (__malloc_hook): Likewise.
30138         (__realloc_hook): Likewise.
30139         (__memalign_hook): Likewise.
30140         (__after_morecore_hook): Likewise.
30141         * malloc/arena.c (save_malloc_hook): Likewise.
30142         (save_free_hook): Likewise.
30143         * malloc/hooks.c (malloc_hook_ini): Likewise.
30144         (realloc_hook_ini): Likewise.
30145         (memalign_hook_ini): Likewise.
30146         * malloc/malloc.c (malloc_hook_ini): Likewise.
30147         (realloc_hook_ini): Likewise.
30148         (memalign_hook_ini): Likewise.
30149         (__free_hook): Likewise.
30150         (__malloc_hook): Likewise.
30151         (__realloc_hook): Likewise.
30152         (__memalign_hook): Likewise.
30153         (__libc_malloc): Likewise.
30154         (__libc_free): Likewise.
30155         (__libc_realloc): Likewise.
30156         (__libc_memalign): Likewise.
30157         (__libc_valloc): Likewise.
30158         (__libc_pvalloc): Likewise.
30159         (__libc_calloc): Likewise.
30160         (__posix_memalign): Likewise.
30161         * malloc/morecore.c (__sbrk): Likewise.
30162         (__default_morecore): Likewise.
30164         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
30166         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
30167         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
30168         __malloc_ptrdiff_t.
30170         * malloc/malloc.h (__malloc_size_t): Remove macro.
30171         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
30172         __malloc_size_t.
30173         (old_memalign_hook): Likewise.
30174         (old_realloc_hook): Likewise.
30175         (struct hdr): Likewise.
30176         (flood): Likewise.
30177         (mallochook): Likewise.
30178         (memalignhook): Likewise.
30179         (reallochook): Likewise.
30180         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
30181         (tr_old_realloc_hook): Likewise.
30182         (tr_old_memalign_hook): Likewise.
30183         (tr_mallochook): Likewise.
30184         (tr_reallochook): Likewise.
30185         (tr_memalignhook): Likewise.
30187 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30189         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
30190         default_ldbl_pack and using as default implementation.
30191         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
30192         implementation.
30193         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
30194         redundant definition.
30195         (ldbl_insert_mantissa): Likewise.
30196         (ldbl_canonicalize): Likewise.
30197         (ldbl_nearbyint): Likewise.
30198         (ldbl_pack): Rename to ldbl_pack_ppc.
30199         (ldbl_unpack): Rename to ldbl_unpack_ppc.
30200         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
30201         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
30203 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30205         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
30206         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
30207         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
30208         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
30209         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
30210         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
30211         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
30212         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
30214 2013-03-07  Andreas Jaeger  <aj@suse.de>
30216         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
30217         bits/mman-linux.h.
30219 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
30221         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
30222         Include mpa.h and declare __MPEXP.
30223         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
30224         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30225         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30226         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
30227         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30228         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
30229         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
30231         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
30232         (__slowpow): Use long double EXPL and LOGL functions to
30233         compute POW.
30234         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
30235         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30236         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
30237         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
30238         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
30239         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
30241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
30242         intermediate variable to calculate exponent.
30243         (__sqr): Likewise.
30244         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
30245         Likewise.
30246         (__sqr): Likewise.
30248         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
30249         [!NO__SQR]: Define __sqr.
30250         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
30251         and NO__SQR.  Remove all code except __mul and __sqr.  Include
30252         sysdeps/ieee754/dbl-64/mpa.c.
30253         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30255         [BZ #12723]
30256         * posix/Makefile (tests): Add tst-pathconf.
30257         * posix/tst-pathconf.c: New test case.
30258         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
30259         _PC_PIPE_BUF.
30260         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
30262 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
30264         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
30266 2013-03-06  Andreas Jaeger  <aj@suse.de>
30268         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
30269         definition via __MAP_ANONYMOUS.
30271         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
30272         it's not part of Linux headers.
30274         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
30275         (MAP_HUGE_MASK): Define.
30277         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30278         Define.
30279         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30280         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30281         Define.
30282         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30283         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
30284         Define.
30285         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30286         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
30287         Define.
30288         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
30290         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
30291         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
30292         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
30293         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
30294         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
30295         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
30297         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
30298         Handle f2fs.
30300         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
30301         Handle f2fs and efivarfs.
30303         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
30304         f2fs.
30306         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
30307         (EFIVARFS_MAGIC): Add.
30308         (F2FS_LINK_MAX): Add.
30310 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30312         * stdio-common/vfprintf.c: Replace __builtin_expect with
30313         __glibc_unlikely.
30315 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
30317         [BZ #13550]
30318         * sysdeps/generic/bp-sym.h: Remove file.
30319         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
30320         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
30321         <bp-sym.h> and <bp-asm.h>.
30322         (__longjmp): Don't use BP_SYM.
30323         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
30324         and <bp-asm.h>.
30325         (memcpy): Don't use BP_SYM.
30326         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
30327         <bp-sym.h> and <bp-asm.h>.
30328         (memcpy): Don't use BP_SYM.
30329         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
30330         <bp-asm.h>.
30331         (memcpy): Don't use BP_SYM.
30332         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
30333         <bp-asm.h>.
30334         (memset): Don't use BP_SYM.
30335         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30336         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30337         (__bzero): Don't use BP_SYM.
30338         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30339         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30340         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
30341         <bp-sym.h> and <bp-asm.h>.
30342         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30343         pointers.
30344         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
30345         <bp-sym.h> and <bp-asm.h>.
30346         (memcpy): Don't use BP_SYM.
30347         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
30348         <bp-sym.h> and <bp-asm.h>.
30349         (memset): Don't use BP_SYM.
30350         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30351         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30352         (__bzero): Don't use BP_SYM.
30353         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30354         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30355         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
30356         <bp-sym.h> and <bp-asm.h>.
30357         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30358         pointers.
30359         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
30360         <bp-sym.h> and <bp-asm.h>.
30361         (memcpy): Don't use BP_SYM.
30362         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
30363         <bp-sym.h> and <bp-asm.h>.
30364         (memset): Don't use BP_SYM.
30365         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30366         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30367         (__bzero): Don't use BP_SYM.
30368         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30369         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30370         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
30371         <bp-sym.h> and <bp-asm.h>.
30372         (__memchr): Don't use BP_SYM.
30373         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
30374         <bp-sym.h> and <bp-asm.h>.
30375         (memcmp): Don't use BP_SYM.  Remove comment about bounded
30376         pointers.
30377         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
30378         <bp-sym.h> and <bp-asm.h>.
30379         (memcpy): Don't use BP_SYM.
30380         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
30381         <bp-sym.h> and <bp-asm.h>.
30382         (__mempcpy): Don't use BP_SYM.
30383         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
30384         <bp-sym.h> and <bp-asm.h>.
30385         (__memrchr): Don't use BP_SYM.
30386         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
30387         <bp-sym.h> and <bp-asm.h>.
30388         (memset): Don't use BP_SYM.
30389         (__bzero): Likewise.
30390         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
30391         <bp-sym.h> and <bp-asm.h>.
30392         (__rawmemchr): Don't use BP_SYM.
30393         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
30394         <bp-sym.h> and <bp-asm.h>.
30395         (__STRCMP): Don't use BP_SYM.
30396         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
30397         <bp-sym.h> and <bp-asm.h>.
30398         (strchr): Don't use BP_SYM.
30399         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
30400         <bp-sym.h> and <bp-asm.h>.
30401         (__strchrnul): Don't use BP_SYM.
30402         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
30403         <bp-sym.h> and <bp-asm.h>.
30404         (strlen): Don't use BP_SYM.
30405         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
30406         <bp-sym.h> and <bp-asm.h>.
30407         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30408         pointers.
30409         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
30410         <bp-sym.h> and <bp-asm.h>.
30411         (__strnlen): Don't use BP_SYM.
30412         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
30413         <bp-sym.h> and <bp-asm.h>.
30414         (__GI__setjmp): Don't use BP_SYM.
30415         (_setjmp): Likewise.
30416         (__sigsetjmp): Likewise.
30417         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
30418         (L(start_addresses)): Don't use BP_SYM.
30419         (_start): Likewise.
30420         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
30421         <bp-asm.h>.
30422         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
30423         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
30424         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30425         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30426         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
30427         <bp-asm.h>.
30428         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
30429         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
30430         about bounded pointers.
30431         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30432         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30433         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
30434         <bp-asm.h>.
30435         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30436         about bounded pointers.  Remove GKM FIXME comments.
30437         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30438         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
30439         <bp-asm.h>.
30440         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
30441         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
30442         Remove GKM FIXME comments.
30443         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30444         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30445         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
30446         <bp-asm.h>.
30447         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
30448         about bounded pointers.  Remove GKM FIXME comment.
30449         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
30450         and <bp-asm.h>.
30451         (strncmp): Don't use BP_SYM.  Remove comment about bounded
30452         pointers.
30453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
30454         <bp-sym.h> and <bp-asm.h>.
30455         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
30457         <bp-sym.h> and <bp-asm.h>.
30458         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30459         comment.
30461 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
30463         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
30464         call free(NULL).
30466 2013-03-05  David S. Miller  <davem@davemloft.net>
30468         * po/es.po: Update from translation team.
30470 2013-03-05  Andreas Jaeger  <aj@suse.de>
30472         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
30473         <bits/mman-linux.h>.
30474         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30475         is fine.
30476         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
30477         <bits/mman-linux.h> to end of file.
30478         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30479         is fine.
30480         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
30481         <bits/mman-linux.h> to end of file.
30482         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
30483         is fine.
30484         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
30485         <bits/mman-linux.h> to end of file.
30487         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
30488         (MCL_CURRENT, MCL_FUTURE): Define here.
30490 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30492         [BZ #15232]
30493         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
30494         attribute_hidden.
30495         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
30497 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
30499         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
30500         fourth parameter needed for rt_sigprocmask syscall.
30501         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30502         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
30503         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
30504         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
30505         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
30506         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
30508 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
30510         [BZ #13550]
30511         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
30512         comment about bounded pointers.
30513         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
30514         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
30516 2013-03-04  Andreas Jaeger  <aj@suse.de>
30518         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
30519         common definitions.
30521         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
30522         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
30523         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
30524         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
30525         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
30526         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
30528 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30530         [BZ #15055]
30531         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
30532         __ieee754_sqrl instead of __sqrl.
30534 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
30536         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
30537         * sysdeps/powerpc/fpu_control.h: ... here.
30538         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
30539         * sysdeps/powerpc/bits/fenvinline.h: ... here.
30540         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
30541         * sysdeps/powerpc/bits/mathinline.h: ... here.
30543 2013-03-01  Roland McGrath  <roland@hack.frob.com>
30545         * elf/dl-hwcaps.c (_dl_important_hwcaps):
30546         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
30547         to just [NEED_DL_SYSINFO_DSO].
30548         * elf/dl-support.c: Likewise.
30549         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
30550         * elf/rtld.c (dl_main): Likewise.
30551         * elf/setup-vdso.h (setup_vdso): Likewise.
30552         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
30553         * sysdeps/unix/sysv/linux/dl-sysdep.c
30554         (_dl_discover_osversion): Likewise.
30556 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
30558         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
30559         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30561 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30563         * NEWS: Mention libm performance improvements and non-x86 PI
30564         futex support.
30566         * csu/libc-start.c (__pthread_initialize_minimal): Change
30567         function arguments.
30568         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
30570 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
30572         [BZ #13550]
30573         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
30574         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
30575         <bp-sym.h> and <bp-asm.h>.
30576         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30577         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
30578         and <bp-asm.h>.
30579         (memcpy): Don't use BP_SYM.
30580         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
30581         <bp-asm.h>.
30582         (__mpn_add_n): Don't use BP_SYM.
30583         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
30584         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
30585         and <bp-asm.h>.
30586         (__mpn_addmul_1): Don't use BP_SYM.
30587         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30588         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
30589         <bp-sym.h>.
30590         (_setjmp): Don't use BP_SYM.
30591         (__novmx_setjmp): Likewise.
30592         (__GI__setjmp): Likewise.
30593         (__vmx_setjmp): Likewise.
30594         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
30595         <bp-sym.h>.
30596         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
30597         (__bzero): Don't use BP_SYM.
30598         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
30599         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
30600         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
30601         <bp-sym.h> and <bp-asm.h>.
30602         (memcpy): Don't use BP_SYM.
30603         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
30604         <bp-sym.h> and <bp-asm.h>.
30605         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30606         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
30607         <bp-sym.h> and <bp-asm.h>.
30608         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
30609         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
30610         <bp-asm.h>.
30611         (__mpn_lshift): Don't use BP_SYM.
30612         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30613         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
30614         <bp-asm.h>.
30615         (memset): Don't use BP_SYM.
30616         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
30617         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
30618         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
30619         <bp-asm.h>.
30620         (__mpn_mul_1): Don't use BP_SYM.
30621         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30622         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
30623         <bp-sym.h> and <bp-asm.h>.
30624         (memcmp): Don't use BP_SYM.
30625         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
30626         <bp-sym.h> and <bp-asm.h>.
30627         (memcpy): Don't use BP_SYM.
30628         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
30629         <bp-sym.h> and <bp-asm.h>.
30630         (memset): Don't use BP_SYM.
30631         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
30632         <bp-sym.h> and <bp-asm.h>.
30633         (strncmp): Don't use BP_SYM.
30634         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
30635         <bp-sym.h> and <bp-asm.h>.
30636         (memcpy): Don't use BP_SYM.
30637         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
30638         <bp-sym.h> and <bp-asm.h>.
30639         (memset): Don't use BP_SYM.
30640         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
30641         <bp-sym.h> and <bp-asm.h>.
30642         (__memchr): Don't use BP_SYM.
30643         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
30644         <bp-sym.h> and <bp-asm.h>.
30645         (memcmp): Don't use BP_SYM.
30646         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
30647         <bp-sym.h> and <bp-asm.h>.
30648         (memcpy): Don't use BP_SYM.
30649         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
30650         <bp-sym.h> and <bp-asm.h>.
30651         (__mempcpy): Don't use BP_SYM.
30652         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
30653         <bp-sym.h> and <bp-asm.h>.
30654         (__memrchr): Don't use BP_SYM.
30655         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
30656         <bp-sym.h> and <bp-asm.h>.
30657         (memset): Don't use BP_SYM.
30658         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
30659         <bp-sym.h> and <bp-asm.h>.
30660         (__rawmemchr): Don't use BP_SYM.
30661         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
30662         <bp-sym.h> and <bp-asm.h>.
30663         (__STRCMP): Don't use BP_SYM.
30664         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
30665         <bp-sym.h> and <bp-asm.h>.
30666         (strchr): Don't use BP_SYM.
30667         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
30668         <bp-sym.h> and <bp-asm.h>.
30669         (__strchrnul): Don't use BP_SYM.
30670         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
30671         <bp-sym.h> and <bp-asm.h>.
30672         (strlen): Don't use BP_SYM.
30673         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
30674         <bp-sym.h> and <bp-asm.h>.
30675         (strncmp): Don't use BP_SYM.
30676         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
30677         <bp-sym.h> and <bp-asm.h>.
30678         (__strnlen): Don't use BP_SYM.
30679         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
30680         <bp-asm.h>.
30681         (__mpn_rshift): Don't use BP_SYM.
30682         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
30683         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
30684         <bp-sym.h> and <bp-asm.h>.
30685         (__sigsetjmp): Don't use BP_SYM.
30686         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
30687         (L(start_addresses)): Don't use BP_SYM.
30688         (_start): Likewise.
30689         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
30690         <bp-asm.h>.
30691         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
30692         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30693         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30694         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
30695         <bp-asm.h>.
30696         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
30697         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
30698         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
30699         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
30700         <bp-asm.h>.
30701         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30702         comments.
30703         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
30704         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
30705         <bp-asm.h>.
30706         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
30707         FIXME comments.
30708         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
30709         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
30710         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
30711         <bp-asm.h>.
30712         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
30713         comment.
30714         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
30715         and <bp-asm.h>.
30716         (strncmp): Don't use BP_SYM,
30717         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
30718         <bp-asm.h>.
30719         (__mpn_sub_n): Don't use BP_SYM.
30720         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
30721         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
30722         and <bp-asm.h>.
30723         (__mpn_submul_1): Don't use BP_SYM.
30724         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
30725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
30726         <bp-sym.h> and <bp-asm.h>.
30727         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
30728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
30729         <bp-sym.h> and <bp-asm.h>.
30730         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
30731         comment.
30733 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
30735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
30736         Use ZK to minimize writes to Z.
30737         (sub_magnitudes): Simplify code a bit.
30738         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
30739         Use ZK to minimize writes to Z.
30740         (sub_magnitudes): Simplify code a bit.
30742 2013-02-27  Roland McGrath  <roland@hack.frob.com>
30744         * csu/gmon-start.c: Add special exception to license text.
30746 2013-02-27  Richard Henderson  <rth@redhat.com>
30748         * scripts/config.guess: Update from config.git.
30749         * scripts/config.sub: Likewise.
30751 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
30753         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
30755         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
30757         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
30759         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
30761         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
30763 2013-02-26  Roland McGrath  <roland@hack.frob.com>
30765         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
30766         [$(build-shared = yes].
30768 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30770         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
30771         (__mul): Reduce iterations for calculating mantissa.
30773         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
30774         MPTWO.
30775         (__mpranred): Likewise.
30777         [BZ #15160]
30778         * malloc/memusagestat.c (main): Draw graphs for heap and stack
30779         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
30781 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
30783         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
30784         Define __attribute__.
30786 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
30788         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
30789         unused.
30790         * posix/regex_internal.h (__attribute): Remove.
30791         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
30792         (re_string_context_at): Likewise.
30793         (bitset_not): Use __attribute__ and mark function as possibly
30794         unused.
30795         (bitset_merge): Likewise.
30796         (bitset_mask): Likewise.
30797         (re_string_char_size_at): Likewise.
30798         (re_string_wchar_at): Likewise.
30799         (re_string_elem_size_at): Likewise.
30801 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
30803         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
30804         code.
30805         (cc32): Likewise.
30807         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
30808         (__acr): Likewise.
30809         (__cpy): Likewise.
30810         (norm): Likewise.
30811         (denorm): Likewise.
30812         (__dbl_mp): Likewise.
30813         (add_magnitudes): Likewise.
30814         (sub_magnitudes): Likewise.
30815         (__mul): Likewise.
30816         (__inv): Likewise.
30818         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
30819         style.
30821         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
30822         style.
30824         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
30825         code.
30827         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
30828         up changes with default code.
30829         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
30830         Likewise.
30832 2013-02-24  Allan McRae  <allan@archlinux.org>
30834         * manual/socket.texi (The Internet Namespace): Order menu items
30835         to match that in the file.
30837         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
30838         node listing of the info page menu.
30840 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
30842         [BZ #13550]
30843         * sysdeps/i386/bp-asm.h: Remove file.
30844         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
30845         (PARMS): Do not use macros from bp-asm.h.
30846         (S1): Likewise.
30847         (S2): Likewise.
30848         (SIZE): Likewise.
30849         (__mpn_add_n): Do not use BP_SYM
30850         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
30851         "bp-asm.h".
30852         (PARMS): Do not use macros from bp-asm.h.
30853         (S1): Likewise.
30854         (SIZE): Likewise.
30855         (__mpn_addmul_1): Do not use BP_SYM
30856         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
30857         "bp-asm.h".
30858         (PARMS): Do not use macros from bp-asm.h.
30859         (SIGMSK): Likewise.
30860         (_setjmp): Likewise.  Do not use BP_SYM.
30861         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
30862         "bp-asm.h".
30863         (PARMS): Do not use macros from bp-asm.h.
30864         (SIGMSK): Likewise.
30865         (setjmp): Likewise.  Do not use BP_SYM.
30866         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
30867         "bp-asm.h".
30868         (PARMS): Do not use macros from bp-asm.h.
30869         (__frexp): Do not use BP_SYM.
30870         (frexp): Likewise.
30871         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
30872         "bp-asm.h".
30873         (PARMS): Do not use macros from bp-asm.h.
30874         (__frexpf): Do not use BP_SYM.
30875         (frexpf): Likewise.
30876         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
30877         "bp-asm.h".
30878         (PARMS): Do not use macros from bp-asm.h.
30879         (__frexpl): Do not use BP_SYM.
30880         (frexpl): Likewise.
30881         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
30882         "bp-asm.h".
30883         (PARMS): Do not use macros from bp-asm.h.
30884         (__remquo): Do not use BP_SYM.
30885         (remquo): Likewise.
30886         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
30887         "bp-asm.h".
30888         (PARMS): Do not use macros from bp-asm.h.
30889         (__remquof): Do not use BP_SYM.
30890         (remquof): Likewise.
30891         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
30892         "bp-asm.h".
30893         (PARMS): Do not use macros from bp-asm.h.
30894         (__remquol): Do not use BP_SYM.
30895         (remquol): Likewise.
30896         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
30897         "bp-asm.h".
30898         (PARMS): Do not use macros from bp-asm.h.
30899         (DEST): Likewise.
30900         (SRC): Likewise.
30901         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
30902         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
30903         "bp-asm.h".
30904         (PARMS): Do not use macros from bp-asm.h.
30905         (strlen): Do not use BP_SYM.
30906         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
30907         "bp-asm.h".
30908         (PARMS): Do not use macros from bp-asm.h.
30909         (S1): Likewise.
30910         (S2): Likewise.
30911         (SIZE): Likewise.
30912         (__mpn_add_n): Do not use BP_SYM.
30913         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
30914         "bp-asm.h".
30915         (PARMS): Do not use macros from bp-asm.h.
30916         (S1): Likewise.
30917         (SIZE): Likewise.
30918         (__mpn_addmul_1): Do not use BP_SYM.
30919         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
30920         weak_alias.
30921         (bzero): Likewise.
30922         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
30923         "bp-asm.h".
30924         (PARMS): Do not use macros from bp-asm.h.
30925         (S): Likewise.
30926         (SIZE): Likewise.
30927         (__mpn_lshift): Do not use BP_SYM.
30928         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
30929         "bp-asm.h".
30930         (PARMS): Do not use macros from bp-asm.h.
30931         (DEST): Likewise.
30932         (SRC): Likewise.
30933         (LEN): Likewise.
30934         (memcpy): Likewise.  Do not use BP_SYM.
30935         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
30936         libc_hidden_def and weak_alias.
30937         (mempcpy): Do not use BP_SYM in weak_alias.
30938         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
30939         "bp-asm.h".
30940         (PARMS): Do not use macros from bp-asm.h.
30941         (DEST): Likewise.
30942         (LEN): Likewise.
30943         [!BZERO_P] (CHR): Likewise.
30944         (memset): Likewise.  Do not use BP_SYM.
30945         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
30946         "bp-asm.h".
30947         (PARMS): Do not use macros from bp-asm.h.
30948         (S1): Likewise.
30949         (SIZE): Likewise.
30950         (__mpn_mul_1): Do not use BP_SYM.
30951         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
30952         "bp-asm.h".
30953         (PARMS): Do not use macros from bp-asm.h.
30954         (S): Likewise.
30955         (SIZE): Likewise.
30956         (__mpn_rshift): Do not use BP_SYM.
30957         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
30958         "bp-asm.h".
30959         (PARMS): Do not use macros from bp-asm.h.
30960         (STR): Likewise.
30961         (CHR): Likewise.
30962         (strchr): Likewise.  Do not use BP_SYM.
30963         (index): Do not use BP_SYM in weak_alias.
30964         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
30965         "bp-asm.h".
30966         (PARMS): Do not use macros from bp-asm.h.
30967         (DEST): Likewise.
30968         (SRC): Likewise.
30969         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
30970         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
30971         "bp-asm.h".
30972         (PARMS): Do not use macros from bp-asm.h.
30973         (strlen): Do not use BP_SYM.
30974         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
30975         "bp-asm.h".
30976         (PARMS): Do not use macros from bp-asm.h.
30977         (S1): Likewise.
30978         (S2): Likewise.
30979         (SIZE): Likewise.
30980         (__mpn_sub_n): Do not use BP_SYM.
30981         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
30982         "bp-asm.h".
30983         (PARMS): Do not use macros from bp-asm.h.
30984         (S1): Likewise.
30985         (SIZE): Likewise.
30986         (__mpn_submul_1): Do not use BP_SYM.
30987         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
30988         "bp-asm.h".
30989         (PARMS): Do not use macros from bp-asm.h.
30990         (S1): Likewise.
30991         (S2): Likewise.
30992         (SIZE): Likewise.
30993         (__mpn_add_n): Do not use BP_SYM.
30994         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
30995         weak_alias.
30996         (bzero): Likewise.
30997         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
30998         "bp-asm.h".
30999         (PARMS): Do not use macros from bp-asm.h.
31000         (BLK2): Likewise.
31001         (LEN): Likewise.
31002         (memcmp): Do not use BP_SYM.
31003         (bcmp): Do not use BP_SYM in weak_alias.
31004         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
31005         "bp-asm.h".
31006         (PARMS): Do not use macros from bp-asm.h.
31007         (DEST): Likewise.
31008         (SRC): Likewise.
31009         (LEN): Likewise.
31010         (memcpy): Likewise.  Do not use BP_SYM.
31011         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
31012         "bp-asm.h".
31013         (PARMS): Do not use macros from bp-asm.h.
31014         (DEST): Likewise.
31015         (SRC): Likewise.
31016         (LEN): Likewise.
31017         (memmove): Likewise.  Do not use BP_SYM.
31018         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
31019         "bp-asm.h".
31020         (PARMS): Do not use macros from bp-asm.h.
31021         (DEST): Likewise.
31022         (SRC): Likewise.
31023         (LEN): Likewise.
31024         (__mempcpy): Likewise.  Do not use BP_SYM.
31025         (mempcpy): Do not use BP_SYM in weak_alias.
31026         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
31027         "bp-asm.h".
31028         (PARMS): Do not use macros from bp-asm.h.
31029         (DEST): Likewise.
31030         (LEN): Likewise.
31031         [!BZERO_P] (CHR): Likewise.
31032         (memset): Likewise.  Do not use BP_SYM.
31033         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
31034         "bp-asm.h".
31035         (PARMS): Do not use macros from bp-asm.h.
31036         (STR2): Likewise.
31037         (strcmp): Do not use BP_SYM.
31038         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
31039         "bp-asm.h".
31040         (PARMS): Do not use macros from bp-asm.h.
31041         (STR): Likewise.
31042         (DELIM): Likewise.
31043         [USE_AS_STRTOK_R] (SAVE): Likewise.
31044         (FUNCTION): Likewise.  Do not use BP_SYM.
31045         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
31046         aliases.
31047         (strtok_r): Likewise.
31048         (__GI___strtok_r): Likewise.
31049         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31050         (PARMS): Do not use macros from bp-asm.h.
31051         (S): Likewise.
31052         (SIZE): Likewise.
31053         (__mpn_lshift): Do not use BP_SYM.
31054         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31055         (PARMS): Do not use macros from bp-asm.h.
31056         (STR): Likewise.
31057         (CHR): Likewise.
31058         (__memchr): Do not use BP_SYM.
31059         (memchr): Do not use BP_SYM in weak_alias.
31060         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31061         (PARMS): Do not use macros from bp-asm.h.
31062         (BLK2): Likewise.
31063         (LEN): Likewise.
31064         (memcmp): Do not use BP_SYM.
31065         (bcmp): Do not use BP_SYM in weak_alias.
31066         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
31067         (PARMS): Do not use macros from bp-asm.h.
31068         (S1): Likewise.
31069         (SIZE): Likewise.
31070         (__mpn_mul_1): Do not use BP_SYM.
31071         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
31072         "bp-asm.h".
31073         (PARMS): Do not use macros from bp-asm.h.
31074         (STR): Likewise.
31075         (CHR): Likewise.
31076         (__rawmemchr): Do not use BP_SYM.
31077         (rawmemchr): Do not use BP_SYM in weak_alias.
31078         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
31079         (PARMS): Do not use macros from bp-asm.h.
31080         (S): Likewise.
31081         (SIZE): Likewise.
31082         (__mpn_rshift): Do not use BP_SYM.
31083         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
31084         (PARMS): Do not use macros from bp-asm.h.
31085         (SIGMSK): Likewise.
31086         (__sigsetjmp): Likewise.  Do not use BP_SYM.
31087         * sysdeps/i386/start.S: Do not include "bp-sym.h".
31088         (_start): Do not use BP_SYM.
31089         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
31090         (PARMS): Do not use macros from bp-asm.h.
31091         (DEST): Likewise.
31092         (SRC): Likewise.
31093         (__stpcpy): Likewise.  Do not use BP_SYM.
31094         (stpcpy): Do not use BP_SYM in weak_alias.
31095         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
31096         "bp-asm.h".
31097         (PARMS): Do not use macros from bp-asm.h.
31098         (DEST): Likewise.
31099         (SRC): Likewise.
31100         (LEN): Likewise.
31101         (__stpncpy): Likewise.  Do not use BP_SYM.
31102         (stpncpy): Do not use BP_SYM in weak_alias.
31103         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
31104         (PARMS): Do not use macros from bp-asm.h.
31105         (STR): Likewise.
31106         (CHR): Likewise.
31107         (strchr): Likewise.  Do not use BP_SYM.
31108         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
31109         "bp-asm.h".
31110         (PARMS): Do not use macros from bp-asm.h.
31111         (STR): Likewise.
31112         (CHR): Likewise.
31113         (__strchrnul): Likewise.  Do not use BP_SYM.
31114         (strchrnul): Do not use BP_SYM in weak_alias.
31115         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
31116         "bp-asm.h".
31117         (PARMS): Do not use macros from bp-asm.h.
31118         (STOP): Likewise.
31119         (strcspn): Do not use BP_SYM.
31120         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
31121         "bp-asm.h".
31122         (PARMS): Do not use macros from bp-asm.h.
31123         (STR): Likewise.
31124         (STOP): Likewise.
31125         (strpbrk): Likewise.  Do not use BP_SYM.
31126         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
31127         "bp-asm.h".
31128         (PARMS): Do not use macros from bp-asm.h.
31129         (STR): Likewise.
31130         (CHR): Likewise.
31131         (strrchr): Likewise.  Do not use BP_SYM.
31132         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
31133         (PARMS): Do not use macros from bp-asm.h.
31134         (SKIP): Likewise.
31135         (strspn): Do not use BP_SYM.
31136         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
31137         (PARMS): Do not use macros from bp-asm.h.
31138         (STR): Likewise.
31139         (DELIM): Likewise.
31140         (SAVE): Likewise.
31141         (FUNCTION): Likewise.  Do not use BP_SYM.
31142         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
31143         aliases.
31144         (strtok_r): Likewise.
31145         (__GI___strtok_r): Likewise.
31146         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
31147         (PARMS): Do not use macros from bp-asm.h.
31148         (S1): Likewise.
31149         (S2): Likewise.
31150         (SIZE): Likewise.
31151         (__mpn_sub_n): Do not use BP_SYM.
31152         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
31153         "bp-asm.h".
31154         (PARMS): Do not use macros from bp-asm.h.
31155         (S1): Likewise.
31156         (SIZE): Likewise.
31157         (__mpn_submul_1): Do not use BP_SYM.
31158         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
31159         <bp-sym.h>.
31160         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
31161         and <bp-asm.h>.
31162         (PARMS): Do not use macros from bp-asm.h.
31163         (FLAGS): Likewise.
31164         (PTID): Likewise.
31165         (TLS): Likewise.
31166         (CTID): Likewise.
31167         (__clone): Do not use BP_SYM.
31168         (clone): Do not use BP_SYM in weak_alias.
31169         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
31170         and <bp-asm.h>.
31171         (PARMS): Do not use macros from bp-asm.h.
31172         (LEN): Likewise.
31173         (__mmap64): Do not use BP_SYM.
31174         (mmap64): Do not use BP_SYM in weak_alias.
31175         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
31176         <bp-sym.h> and <bp-asm.h>.
31177         (PARMS): Do not use macros from bp-asm.h.
31178         (__posix_fadvise64_l64): Do not use BP_SYM.
31179         * sysdeps/unix/sysv/linux/i386/semtimedop.S
31180         (PARMS): Do not use macros from bp-asm.h.
31181         (NSOPS): Likewise.
31182         (semtimedop): Do not use BP_SYM.
31183         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
31184         and <bp-asm.h>.
31186 2013-02-21  Allan McRae  <allan@archlinux.org>
31188         * manual/message.texi (Charset conversion in gettext):
31189         Move @end statement to beginning of line.
31191 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31193         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
31194         static.
31195         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
31196         Likewise.
31198         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
31199         (denorm): Likewise.
31200         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
31201         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
31203 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31205         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
31206         tail-call to the resolved function if pltexit isn't needed.
31208 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31210         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
31211         or Y being zero as being unlikely.
31212         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
31213         Likewise.
31215 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
31217         * manual/nss.texi (System Databases and Name Service Switch):
31218         Remove frobnicate @pxref.
31220 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31222         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31223         __attribute__ ((unused)) to __attribute__ ((__unused__)).
31225 2013-02-20  Petr Machata  <pmachata@redhat.com>
31227         * elf/elf.h (R_ARM_TARGET1): New macro.
31228         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
31229         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
31230         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
31231         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
31232         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
31233         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
31234         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
31235         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
31236         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
31237         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
31238         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
31239         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
31240         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
31241         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
31242         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
31243         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
31244         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
31245         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
31246         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
31247         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
31248         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
31249         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
31250         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
31251         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
31252         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
31253         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
31254         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
31255         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
31256         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
31257         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
31258         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
31259         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
31260         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
31261         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
31262         (R_ARM_THM_GOT_BREL12): Likewise.
31263         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
31264         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
31265         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
31266         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
31267         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
31268         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
31269         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
31270         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
31271         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
31273 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
31275         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
31276         __attribute_used__ to __attribute__ ((unused)).
31278 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
31280         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
31281         powerpc mpa.c.
31282         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
31283         comment formatting.
31284         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
31286 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
31288         [BZ #13550]
31289         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
31290         Remove macro.
31291         (ENTER): Remove both macro definitions.
31292         (LEAVE): Likewise.
31293         (CHECK_BOUNDS_LOW): Likewise.
31294         (CHECK_BOUNDS_HIGH): Likewise.
31295         (CHECK_BOUNDS_BOTH): Likewise.
31296         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
31297         (RETURN_BOUNDED_POINTER): Likewise.
31298         (RETURN_NULL_BOUNDED_POINTER): Likewise.
31299         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
31300         (POP_ERRNO_LOCATION_RETURN): Likewise.
31301         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
31302         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31303         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
31304         macros.
31305         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31306         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
31307         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
31308         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
31309         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
31310         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
31311         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
31312         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
31313         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
31314         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
31315         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
31316         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
31317         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31318         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
31319         removed macros.
31320         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31321         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
31322         macros.
31323         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31324         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
31325         * sysdeps/i386/i586/memset.S (memset): Likewise.
31326         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
31327         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31328         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
31329         macros.
31330         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31331         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
31332         Change uses of L(2) to L(out).
31333         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
31334         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
31335         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
31336         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31337         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
31338         removed macros.
31339         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31340         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
31341         macros.
31342         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31343         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
31344         (RETURN): Do not use macro LEAVE.
31345         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
31346         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
31347         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
31348         * sysdeps/i386/i686/memset.S (memset): Likewise.
31349         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
31350         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
31351         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
31352         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
31353         Likewise.
31354         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31355         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
31356         L(1_2) and L(1_3) into L(1).
31357         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31358         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
31359         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31360         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
31361         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
31362         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
31363         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
31364         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31365         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
31366         macros.
31367         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
31368         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
31369         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
31370         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
31371         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
31372         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
31373         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
31374         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
31375         * sysdeps/i386/strcspn.S (strcspn): Likewise.
31376         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
31377         * sysdeps/i386/strrchr.S (strrchr): Likewise.
31378         * sysdeps/i386/strspn.S (strspn): Likewise.
31379         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
31380         conditional code.
31381         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
31382         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
31383         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
31384         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
31385         L(1_3) into L(1_1).
31386         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
31387         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
31388         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
31389         macros.
31390         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
31392 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
31394         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
31395         macro.
31397 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
31399         * math/atest-exp.c (exp_mpn): Remove ROUND.
31400         * math/atest-exp2.c (exp_mpn): Likewise.
31401         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
31403         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
31404         * stdlib/tst-tls-atexit-lib.c: Likewise.
31405         * stdlib/tst-tls-atexit.c: Likewise.
31407 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31409         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
31410         and __attribute_alloc_size__.
31412 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31414         * include/programs/xmalloc.h: Change __attribute_alloc_size to
31415         __attribute_alloc_size__.
31416         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
31417         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
31419 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
31421         * include/programs/xmalloc.h: New file.
31422         * catgets/gencat.c: Include it.
31423         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
31424         * elf/pldd.c: Likewise.
31425         * iconv/iconv_charmap.c: Likewise.
31426         * iconv/iconvconfig.c: Likewise.
31427         * iconv/strtab.c: Likewise.
31428         * locale/programs/locale.c: Likewise.
31429         * locale/programs/localedef.h: Likewise.
31430         * locale/programs/simple-hash.c: Likewise.
31431         * nscd/nscd.h: Likewise.
31432         * nss/makedb.c: Likewise.
31433         * sysdeps/generic/ldconfig.h: Likewise.
31435 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
31437         * Versions.def: Add GLIBC_2.18.
31438         * include/link.h (struct link_map): New member l_tls_dtor_count.
31439         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
31440         (__call_tls_dtors): Likewise.
31441         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
31442         __cxa_thread_atexit_impl.
31443         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
31444         Likewise.
31445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
31446         Likewise.
31447         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
31448         Likewise.
31449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
31450         Likewise.
31451         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
31452         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
31453         Likewise.
31454         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
31455         Likewise.
31456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
31457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
31458         Likewise.
31459         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
31460         (tests): Add test case tst-tls-atexit.
31461         (modules-names): Add shared library for tst-tls-atexit.
31462         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
31463         (GLIBC_PRIVATE): Add __call_tls_dtors.
31464         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
31465         for libstdc++.
31466         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
31467         * stdlib/tst-tls-atexit.c: New test case.
31468         * stdlib/tst-tls-atexit-lib.c: New test case.
31470         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
31472         * elf/Versions (ld): Add _dl_find_dso_for_object.
31473         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
31474         * elf/dl-open.c (_dl_find_dso_for_object): New function.
31475         (dl_open_worker): Use _dl_find_dso_for_object.
31476         * elf/dl-sym.c (do_sym): Likewise.
31477         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
31479 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31481         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
31482         Syntactic changes only.
31483         (_dl_runtime_profile): Do a tail-call to the resolved function.
31485 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
31487         [BZ #13550]
31488         * sysdeps/x86_64/bp-asm.h: Remove file.
31489         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
31490         <bp-sym.h> and <bp-asm.h>.
31491         (__clone): Do not use BP_SYM.
31492         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
31493         <bp-sym.h> and <bp-asm.h>.
31494         * sysdeps/unix/x86_64/sysdep.S: Likewise.
31495         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
31496         "bp-asm.h".
31497         (_setjmp): Do not use BP_SYM.
31498         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
31499         "bp-asm.h".
31500         (setjmp): Do not use BP_SYM.
31501         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
31502         libc_hidden_def.
31503         (mempcpy): Do not use BP_SYM in weak_alias.
31504         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
31505         "bp-asm.h".
31506         (strchr): Do not use BP_SYM.
31507         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
31508         "bp-asm.h".
31509         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
31510         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
31511         (_start): Do not use BP_SYM.
31512         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
31513         "bp-asm.h".
31514         (strcat): Do not use BP_SYM.
31515         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
31516         "bp-asm.h".
31517         (STRCMP): Do not use BP_SYM.
31518         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
31519         "bp-asm.h".
31520         (STRCPY): Do not use BP_SYM.
31521         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
31522         "bp-asm.h".
31523         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
31524         "bp-asm.h".
31525         (FUNCTION): Do not use BP_SYM.
31526         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
31527         weak_alias.
31528         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
31530 2013-02-17  Andreas Jaeger  <aj@suse.de>
31532         * time/Versions: Sort entries.
31533         * string/Versions: Likewise.
31534         * resolv/Versions: Likewise.
31535         * posix/Versions: Likewise.
31536         * iconv/Versions: Likewise.
31537         * elf/Versions: Likewise.
31538         * wcsmbs/Versions: Likewise.
31540 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
31542         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
31543         loop termination condition.
31545         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
31546         variable to calculate EZ.
31547         (__sqr): Likewise.
31549         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
31550         the lower precision input.
31552 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
31554         [BZ #13550]
31555         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
31556         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
31557         (run-via-rtld-prefix): Do not handle %-bp tests.
31558         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
31559         (all-object-suffixes): Remove .ob.
31560         (bppfx): Remove variable.
31561         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
31562         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
31563         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
31564         [$(build-bounded) = yes] (libtype.ob): Likewise.
31565         * Makerules (elide-routines.ob): Remove variable.
31566         (do-tests-clean): Do not handle *-bp.out.
31567         (common-mostlyclean): Do not handle *-bp and *-bp.out.
31568         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
31569         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
31570         (tests): Do not include $(tests-bp.out).
31571         (xtests): Do not include $(xtests-bp.out).
31572         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
31573         [$(build-bounded) = yes] ($(addprefix
31574         $(objpfx),$(binaries-bounded))): Remove rule.
31575         ($(objpfx)%-bp.out): Remove rule.
31576         * config.make.in (build-bounded): Remove variable.
31577         * crypt/Makefile [$(build-bounded) = yes]
31578         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
31579         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
31580         append to variable.
31581         [$(build-bounded) = yes] (install-lib): Likewise.
31582         [$(build-bounded) = yes] (generated): Likewise.
31583         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
31584         Remove rule.
31585         * intl/Makefile [$(build-bounded) = yes]
31586         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
31587         * math/Makefile [$(build-bounded) = yes]
31588         ($(tests:%=$(objpfx)%-bp): Likewise.
31589         * misc/Makefile [$(build-bounded) = yes]
31590         ($(objpfx)tst-tsearch-bp): Likewise.
31591         * nptl/Makeconfig (bounded-thread-library): Remove variable.
31592         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
31593         Remove dependency.
31594         * string/Makefile (o-objects.ob): Remove variable.
31595         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
31596         (CFLAGS-.ob): Remove variable.
31597         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
31598         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
31599         both definitions of variable.
31600         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
31601         (ASFLAGS-.ob): Remove variable.
31603 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
31605         [BZ #13550]
31606         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
31607         Remove __BOUNDED_POINTERS__ from condition.
31608         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
31609         * string/bits/string2.h [!__NO_STRING_INLINES &&
31610         !__BOUNDED_POINTERS__]: Likewise.
31611         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
31612         Likewise.
31613         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
31614         Remove conditional code.
31615         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
31616         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
31617         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
31618         condition.
31620         [BZ #13550]
31621         * csu/libc-start.c: Do not include <bp-sym.h>.
31622         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
31623         * elf/dl-open.c: Do not include <bp-sym.h>.
31624         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
31625         * math/fegetenv.c: Do not include <bp-sym.h>.
31626         (fegetenv): Do not use BP_SYM in versioned symbols.
31627         * nptl/sysdeps/pthread/bits/libc-lockP.h
31628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
31629         <bp-sym.h>.
31630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31631         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
31632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31633         (__pthread_mutex_destroy): Likewise.
31634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31635         (__pthread_mutex_lock): Likewise.
31636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31637         (__pthread_mutex_trylock): Likewise.
31638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31639         (__pthread_mutex_unlock): Likewise.
31640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31641         (__pthread_mutexattr_init): Likewise.
31642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31643         (__pthread_mutexattr_destroy): Likewise.
31644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31645         (__pthread_mutexattr_settype): Likewise.
31646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31647         (__pthread_rwlock_init): Likewise.
31648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31649         (__pthread_rwlock_destroy): Likewise.
31650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31651         (__pthread_rwlock_rdlock): Likewise.
31652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31653         (__pthread_rwlock_tryrdlock): Likewise.
31654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31655         (__pthread_rwlock_wrlock): Likewise.
31656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31657         (__pthread_rwlock_trywrlock): Likewise.
31658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31659         (__pthread_rwlock_unlock): Likewise.
31660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31661         (__pthread_key_create): Likewise.
31662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31663         (__pthread_setspecific): Likewise.
31664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31665         (__pthread_getspecific): Likewise.
31666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
31667         Likewise.
31668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31669         (_pthread_cleanup_push_defer): Likewise.
31670         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31671         (_pthread_cleanup_pop_restore): Likewise.
31672         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
31673         (pthread_setcancelstate): Likewise.
31674         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
31675         <bp-sym.h>.
31676         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
31677         (memchr): Do not use BP_SYM in weak_alias.
31678         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
31679         (fegetenv): Do not use BP_SYM in versioned symbols.
31680         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
31681         (fesetenv): Do not use BP_SYM in versioned symbols.
31682         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31683         (feupdateenv): Do not use BP_SYM in versioned symbols.
31684         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31685         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31686         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
31687         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
31688         (open64): Do not use BP_SYM in weak_alias.
31689         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
31690         (fegetenv): Do not use BP_SYM in versioned symbols.
31691         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
31692         (fesetenv): Do not use BP_SYM in versioned symbols.
31693         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
31694         (feupdateenv): Do not use BP_SYM in versioned symbols.
31695         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
31696         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
31697         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
31698         (feraiseexcept): Do not use BP_SYM in versioned symbols.
31699         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
31700         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
31701         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
31702         <bp-sym.h>.
31703         (__libc_start_main): Do not use BP_SYM.
31705 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31707         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
31708         redundant return line.
31709         (norm): Likewise.
31710         (denorm): Likewise.
31711         (dbl_mp): Likewise.
31712         (sub_magnitudes): Likewise.
31713         (__add): Likewise.
31714         (__sub): Likewise.
31715         (__mul): Likewise.
31716         (__inv): Likewise.
31717         (__dvd): Likewise.
31718         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
31719         (norm): Likewise.
31720         (denorm): Likewise.
31721         (dbl_mp): Likewise.
31722         (sub_magnitudes): Likewise.
31723         (__add): Likewise.
31724         (__sub): Likewise.
31725         (__mul): Likewise.
31726         (__inv): Likewise.
31727         (__dvd): Likewise.
31729         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
31730         instead of __mul.
31731         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
31732         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
31733         (cc32): Likewise.
31735         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
31736         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
31737         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
31738         of __mul for squares.
31739         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
31740         function
31741         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
31742         Likewise.
31743         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
31744         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31746 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
31748         [BZ #13550]
31749         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
31750         code.
31751         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
31752         prototype or function definition.  Rename ubp_* variables and
31753         parameters.  Remove argv definitions conditional on
31754         [__BOUNDED_POINTERS__].
31755         * debug/backtrace.c (__backtrace): Do not use __unbounded.
31756         * elf/dl-runtime.c (_dl_fixup): Likewise.
31757         * include/set-hooks.h (RUN_HOOK): Likewise.
31758         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
31759         definition.
31760         * string/strcpy.c (strcpy): Do not use __unbounded.
31761         * sysdeps/generic/frame.h (struct layout): Likewise.
31762         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
31763         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
31764         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
31765         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
31766         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
31767         (__backtrace): Likewise.
31768         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
31769         use __ptrvalue.
31770         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
31771         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
31772         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
31773         Likewise.
31774         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
31775         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
31776         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
31777         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
31778         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
31779         Do not use __unbounded.
31780         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
31781         Rename __unboundedrlimits parameter to rlimits in prototype.
31782         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
31783         Do not use __unbounded.
31784         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
31785         not use __ptrvalue.
31786         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
31787         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
31788         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
31789         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
31790         __ptrvalue or __unbounded.
31791         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
31792         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
31793         use __unbounded.
31794         (__new_msgctl): Do not use __ptrvalue.
31795         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
31796         __unbounded.
31797         (__libc_msgrcv): Do not use __ptrvalue.
31798         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
31799         startup_info): Do not use __unbounded.
31800         (__libc_start_main): Likewise.  Rename ubp_* variables and
31801         parameters.  Remove argv definitions conditional on
31802         [__BOUNDED_POINTERS__].
31803         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
31804         __ptrvalue.
31805         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
31806         use __unbounded.
31807         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
31808         or __ptrvalue.
31809         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
31810         use __unbounded.
31811         (__new_shmctl): Do not use __ptrvalue.
31812         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
31813         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
31814         Likewise.
31815         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
31816         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
31817         (__libc_sigaction): Likewise.
31818         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
31819         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
31820         Likewise.
31821         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
31823 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
31825         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
31827         * string/mempcpy.c: Implement by calling memcpy.
31829 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
31831         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
31833         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
31834         evaluation.
31836         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
31837         values in the mantissa.
31839         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
31840         minimize writes to Z.
31841         (sub_magnitudes): Simplify code a bit.
31843 2013-02-12  Roland McGrath  <roland@hack.frob.com>
31845         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
31846         from the message.  The linker prefixes all warnings with that already.
31848 2013-02-12  Andreas Schwab  <schwab@suse.de>
31850         [BZ #15078]
31851         * posix/regexec.c (extend_buffers): Add parameter min_len.
31852         (check_matching): Pass minimum needed length.
31853         (clean_state_log_if_needed): Likewise.
31854         (get_subexp): Likewise.
31855         * posix/Makefile (tests): Add bug-regex34.
31856         (bug-regex34-ENV): Define.
31857         * posix/bug-regex34.c: New file.
31859         [BZ #11561]
31860         * posix/regcomp.c (parse_bracket_exp): When looking up collating
31861         elements compare against the byte sequence of it, not its name.
31862         * posix/Makefile (tests): Add bug-regex35.
31863         (bug-regex35-ENV): Define.
31864         * posix/bug-regex35.c: New file.
31866 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31868         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
31869         comment.
31870         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
31871         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
31872         (CHECK_EOL): Add undef.
31874 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
31876         * bits/stdlib-bsearch.h: New file.
31877         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
31878         * stdlib/stdlib.h: Likewise.
31880 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31882         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
31883         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
31884         declaration.
31885         * manual/search.texi (Array Search Function): Add missing const in
31886         lfind prototype.
31887         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
31888         declaration to use rlim_t.
31889         (Basic Scheduling Functions): Remove erroneous const from
31890         sched_getparam prototype.  Remove erroneous * from
31891         sched_get_priority_max and sched_get_priority_min prototypes.
31892         (Resource Usage): Fix summary @comment on vtimes to refer to
31893         sys/vtimes.h rather than vtimes.h.
31894         Add missing *s in vtimes prototype.
31895         (Limits on Resources): Fix ulimit prototype to return long int.
31896         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
31897         prototypes to use long int rather than double.
31898         (BSD Random): Fix initstate and setstate to use char *, not void *.
31899         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
31900         prototype to make second argument 'struct aiocb64 *const[]'.
31901         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
31902         (Status of AIO Operations): Remove erroneous const in aio_return and
31903         aio_return64 prototypes.
31904         (Synchronizing I/O): Fix sync prototype to return void.
31905         * manual/startup.texi (Suboptions): Remove an erroneous const in
31906         getsubopt prototype.
31907         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
31908         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
31909         use size_t rather than int.
31910         (Scanning All Users): Likewise for getpwent_r.
31911         (Setting Groups): Add missing const to setgroups prototype.
31912         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
31913         * manual/socket.texi (Host Names): Fix gethostbyaddr and
31914         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
31915         'const void *' rather than 'const char *'.
31916         (Host Address Functions): Likewise for inet_ntop.
31917         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
31918         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
31919         ssize_t for return value.
31920         (Sending Data): Likewise for send, sendto, sendmsg.
31921         (Socket Option Functions): Add a missing const in setsockopt prototype.
31922         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
31923         use wchar_t for the argument.
31924         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
31925         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
31926         take no arguments.
31927         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
31928         double/float/long double for second argument.
31929         Fix return types of significand, significandf, significandl.
31930         * manual/filesys.texi (Setting Permissions): Use mode_t for second
31931         argument in fchmod prototype.
31932         (File Owner): Use uid_t and gid_t in fchown prototype.
31933         (File Times): Add const to utimes, futimes, and lutimes prototypes.
31934         (Making Special Files): Use mode_t and dev_t in mknod prototype.
31935         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
31936         use 'const struct dirent **' as argument types to CMP function pointer
31937         argument.
31938         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
31939         (File Times): Fix summary magic @comment for struct utimbuf and utime
31940         to refer to utime.h, not time.h.
31941         * manual/string.texi (Argz Functions): Add missing const in
31942         argz_extract and argz_next prototypes.
31943         (Finding Tokens in a String): Likewise for basename.
31944         (String/Array Comparison): Fix typo in wcscasecmp prototype.
31945         (Copying and Concatenation): Fix typo in wmemmove prototype.
31946         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
31947         (Signal Stack): Remove erroneous const in sigstack prototype.
31948         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
31949         prototype.
31950         (Simple Calendar Time): Likewise for stime.
31951         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
31952         prototype.
31953         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
31954         say sys/sysctl.h instead.
31955         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
31956         and vsyslog prototypes.
31958 2013-02-11  Tom de Vries  <tom@codesourcery.com>
31960         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
31961         Remove.
31963 2013-02-11  Roland McGrath  <roland@hack.frob.com>
31965         * misc/sys/mman.h: Fix typo in mremap comment.
31967 2013-02-08  Roland McGrath  <roland@hack.frob.com>
31969         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
31970         the '\0' terminator.
31972 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
31974         [BZ #13550]
31975         * debug/segfault.c: Don't include <bp-checks.h>.
31976         * sysdeps/generic/bp-checks.h: Remove file.
31977         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
31978         (__GETDENTS): Don't use CHECK_N.
31979         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
31980         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
31981         (__getgroups): Don't use CHECK_N.
31982         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
31983         (setgroups): Don't use CHECK_N.
31984         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
31985         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
31986         (__libc_msgrcv): Don't use CHECK_N.
31987         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
31988         (__libc_msgsnd): Don't use CHECK_N.
31989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
31990         <bp-checks.h>.
31991         (__libc_pread): Don't use CHECK_N.
31992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
31993         include <bp-checks.h>.
31994         (__libc_pread64): Don't use CHECK_N.
31995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
31996         include <bp-checks.h>.
31997         (__libc_pwrite): Don't use CHECK_N.
31998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
31999         include <bp-checks.h>.
32000         (__libc_pwrite64): Don't use CHECK_N.
32001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
32002         <bp-checks.h>.
32003         (__libc_pread): Don't use CHECK_N.
32004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
32005         include <bp-checks.h>.
32006         (__libc_pread64): Don't use CHECK_N.
32007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
32008         include <bp-checks.h>.
32009         (__libc_pwrite): Don't use CHECK_N.
32010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
32011         include <bp-checks.h>.
32012         (__libc_pwrite64): Don't use CHECK_N.
32013         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
32014         (do_pread): Don't use CHECK_N.
32015         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
32016         (do_pread64): Don't use CHECK_N.
32017         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
32018         (do_pwrite): Don't use CHECK_N.
32019         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
32020         (do_pwrite64): Don't use CHECK_N.
32021         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
32022         (__libc_readv): Don't use CHECK_N.
32023         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
32024         (semop): Don't use CHECK_N.
32025         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
32026         <bp-checks.h>.
32027         (semtimedop): Don't use CHECK_N.
32028         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
32029         (__libc_pread): Don't use CHECK_N.
32030         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
32031         <bp-checks.h>.
32032         (__libc_pread64): Don't use CHECK_N.
32033         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
32034         <bp-checks.h>.
32035         (__libc_pwrite): Don't use CHECK_N.
32036         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
32037         <bp-checks.h>.
32038         (__libc_pwrite64): Don't use CHECK_N.
32039         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
32040         <bp-checks.h>.
32041         (__libc_msgrcv): Don't use CHECK_N.
32042         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
32043         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
32044         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
32045         (__libc_writev): Don't use CHECK_N.
32047 2013-02-08  Roland McGrath  <roland@hack.frob.com>
32049         * string/strcpy.c: Removed unused variable.
32051         * Makeconfig (+sysdep-includes): Define with := rather than =.
32052         Use an existing include/ subdir of each sysdeps dir before it.
32054 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32056         * nscd/connection.c (register_traced_file): Comment function.
32057         [HAVE_INOTIFY] (union __inev): Define.
32058         [HAVE_INOTIFY] (inotify_check_files): New function.
32059         [HAVE_INOTIFY] (clear_db_cache): Likewise.
32060         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
32061         clear_db_cache.
32062         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
32064 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32066         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
32067         loaded if not already and that a failure is permanent.
32069 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
32071         [BZ #15006]
32072         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
32073         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
32075 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
32077         [BZ #13550]
32078         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
32079         (CHECK_1_NULL_OK): Likewise.
32080         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
32081         (__fxstat): Do not use CHECK_1.
32082         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
32083         <bp-checks.h>.
32084         (___fxstat64): Do not use CHECK_1.
32085         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
32086         <bp-checks.h>.
32087         (__fxstatat): Do not use CHECK_1.
32088         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
32089         <bp-checks.h>.
32090         (__fxstatat64): Do not use CHECK_1.
32091         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
32092         <bp-checks.h>.
32093         (__fxstat): Do not use CHECK_1.
32094         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
32095         <bp-checks.h>.
32096         (__fxstatat): Do not use CHECK_1.
32097         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
32098         <bp-checks.h>.
32099         (__getresgid): Do not use CHECK_1.
32100         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
32101         <bp-checks.h>.
32102         (__getresuid): Do not use CHECK_1.
32103         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
32104         <bp-checks.h>.
32105         (__lxstat): Do not use CHECK_1.
32106         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
32107         <bp-checks.h>.
32108         (__old_msgctl): Do not use CHECK_1.
32109         (__new_msgctl): Likewise.
32110         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
32111         <bp-checks.h>.
32112         (__new_setrlimit): Do not use CHECK_1.
32113         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
32114         <bp-checks.h>.
32115         (__old_shmctl): Do not use CHECK_1.
32116         (__new_shmctl): Likewise.
32117         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
32118         <bp-checks.h>.
32119         (__xstat): Do not use CHECK_1.
32120         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
32121         (__lxstat): Do not use CHECK_1.
32122         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
32123         <bp-checks.h>.
32124         (___lxstat64): Do not use CHECK_1.
32125         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
32126         (__old_msgctl): Do not use CHECK_1.
32127         (__new_msgctl): Likewise.
32128         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
32129         <bp-checks.h>.
32130         (__gettimeofday): Do not use CHECK_1.
32131         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
32132         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
32133         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
32134         <bp-checks.h>.
32135         (__gettimeofday): Do not use CHECK_1.
32136         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
32137         (__old_shmctl): Do not use CHECK_1_NULL_OK.
32138         (__new_shmctl): Do not use CHECK_1.
32139         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
32140         <bp-checks.h>.
32141         (do_sigtimedwait): Do not use CHECK_1.
32142         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
32143         <bp-checks.h>.
32144         (do_sigwaitinfo): Do not use CHECK_1.
32145         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
32146         <bp-checks.h>.
32147         (msgctl): Do not use CHECK_1.
32148         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
32149         <bp-checks.h>.
32150         (shmctl): Do not use CHECK_1.
32151         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
32152         (ustat): Do not use CHECK_1.
32153         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
32154         <bp-checks.h>.
32155         (__fxstat): Do not use CHECK_1.
32156         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
32157         <bp-checks.h>.
32158         (__fxstatat): Do not use CHECK_1.
32159         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
32160         <bp-checks.h>.
32161         (__lxstat): Do not use CHECK_1.
32162         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
32163         <bp-checks.h>.
32164         (__xstat): Do not use CHECK_1.
32165         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
32166         (__xstat): Do not use CHECK_1.
32167         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
32168         (___xstat64): Do not use CHECK_1.
32170         [BZ #13550]
32171         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
32172         definitions.
32173         (CHECK_BOUNDS_HIGH): Likewise.
32174         * string/strcpy.c: Do not include <bp-checks.h>.
32175         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
32177 2013-02-07  Roland McGrath  <roland@hack.frob.com>
32179         * nscd/nscd-client.h (__nscd_drop_map_ref):
32180         Add __attribute__ ((unused)).
32181         * nis/nss-nisplus.h (niserr2nss): Likewise.
32183         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
32184         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
32186         * csu/libc-tls.c (init_static_tls, init_slotinfo):
32187         Remove inline keyword.
32188         * include/rounding-mode.h (round_away): Likewise.
32189         * libio/wfileops.c (adjust_wide_data): Likewise.
32190         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
32191         (__m128i_strloadu_tolower): Likewise.
32192         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
32193         (__m128i_strloadu_tolower): Likewise.
32194         * time/mktime.c (ydhms_diff): Likewise.
32195         * locale/elem-hash.h (elem_hash): Likewise.
32196         * locale/setlocale.c (setdata): Likewise.
32197         * posix/regex_internal.h (re_string_char_size_at): Likewise.
32198         (re_string_wchar_at): Likewise.
32199         (bitset_not, bitset_merge, bitset_mask): Likewise.
32200         [!(__GNUC__ > 3)] (inline): Remove macro.
32201         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
32202         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
32203         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
32204         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
32205         * string/memcmp.c (memcmp_bytes): Likewise.
32206         * locale/programs/locarchive.c (compute_hashval): Likewise.
32207         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
32208         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
32209         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
32210         * nss/getent.c (print_rpc, print_protocols): Likewise.
32211         (print_passwd, print_group, print_aliases): Likewise.
32212         * nis/nss-nisplus.h (niserr2nss): Likewise.
32213         * nscd/connections.c (restart_p): Likewise.
32214         Change return type to bool.
32216 2013-02-05  Roland McGrath  <roland@hack.frob.com>
32218         * Makeconfig (all-Depend-files): Add existing
32219         $(sorted-subdirs:=/Depend) files.
32220         (all-subdirs): Remove nss.
32221         * sysdeps/unix/inet/Subdirs: Add it here instead.
32222         * hesiod/Depend: New file.
32224         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
32225         instead of calling alloca.
32227         * io/lseek.c (__lseek): Rename to __libc_lseek.
32228         Define __lseek as an alias.
32230         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
32232 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
32234         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
32235         else clause and remove check for non-standard endianness.
32237 2013-02-04  David S. Miller  <davem@davemloft.net>
32239         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32241 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
32243         [BZ #13550]
32244         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
32245         (__ubp_memchr): Remove prototype.
32246         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
32247         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32248         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
32249         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
32250         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
32251         Remove alias.
32252         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
32253         (__ubp_memchr): Likewise.
32254         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
32255         (__ubp_memchr): Likewise.
32256         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
32257         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
32258         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
32259         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
32260         CHECK_STRING.
32261         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
32262         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
32263         (__getcwd): Do not use CHECK_STRING.
32264         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
32265         <bp-checks.h>.
32266         (__real_chown): Do not use CHECK_STRING.
32267         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
32268         <bp-checks.h>.
32269         (fchownat): Do not use CHECK_STRING.
32270         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
32271         CHECK_STRING.
32272         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
32273         <bp-checks.h>.
32274         (__lchown): Do not use CHECK_STRING.
32275         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
32276         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
32277         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
32278         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
32279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
32280         include <bp-checks.h>.
32281         (truncate64): Do not use CHECK_STRING.
32282         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
32283         <bp-checks.h>.
32284         (__real_chown): Do not use CHECK_STRING.
32285         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
32286         <bp-checks.h>.
32287         (__lchown): Do not use CHECK_STRING.
32288         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
32289         <bp-checks.h>.
32290         (__chown): Do not use CHECK_STRING.
32291         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
32292         <bp-checks.h>.
32293         (truncate64): Do not use CHECK_STRING.
32294         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
32295         Likewise.
32296         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
32297         (__xmknod): Do not use CHECK_STRING.
32298         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
32299         <bp-checks.h>.
32300         (__xmknodat): Do not use CHECK_STRING.
32301         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
32302         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
32304 2013-02-04  Andreas Schwab  <schwab@suse.de>
32306         [BZ #14142]
32307         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
32308         * include/netdb.h: Likewise for h_errno.
32309         * elf/tst-stackguard1.c: Include <tls.h>.
32311 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
32313         * elf/link.h (struct link_map): Extend the l_addr comment.
32314         * include/link.h (struct link_map): Likewise.
32316 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
32318         [BZ #13550]
32319         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
32320         (BOUNDED_1): Remove macro.
32321         * debug/backtrace.c: Don't include <bp-checks.h>.
32322         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
32323         (__backtrace): Likewise.
32324         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
32325         <bp-checks.h>.
32326         (__backtrace): Don't use BOUNDED_1.
32327         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
32328         <bp-checks.h>.
32329         (__backtrace): Don't use BOUNDED_1.
32330         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
32331         (__backtrace): Don't use BOUNDED_1.
32332         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
32333         (shmat): Don't use BOUNDED_N.
32335 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
32337         [BZ #13550]
32338         * sysdeps/generic/bp-start.h: Remove file.
32339         * csu/libc-start.c: Don't include <bp-start.h>.
32340         (LIBC_START_MAIN): Set up __environ directly instead of using
32341         INIT_ARGV_and_ENVIRON.
32342         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
32343         <bp-start.h>.
32345         [BZ #13550]
32346         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
32347         definitions.
32348         (CHECK_FCNTL): Likewise.
32349         (CHECK_N_PAGES): Likewise.
32351         [BZ #13550]
32352         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
32353         definitions.
32354         (CHECK_SIGSET_NULL_OK): Likewise.
32355         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
32356         <bp-checks.h>.
32357         (sigpending): Don't use CHECK_SIGSET.
32358         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
32359         <bp-checks.h>.
32360         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32361         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
32362         <bp-checks.h>.
32363         (do_sigsuspend): Don't use CHECK_SIGSET.
32364         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
32365         use CHECK_SIGSET.
32366         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
32367         (do_sigwait): Don't use CHECK_SIGSET.
32368         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
32369         use CHECK_SIGSET.
32370         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
32371         include <bp-checks.h>.
32372         (sigpending): Don't use CHECK_SIGSET.
32373         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
32374         include <bp-checks.h>.
32375         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32376         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
32377         <bp-checks.h>.
32378         (sigpending): Don't use CHECK_SIGSET.
32379         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
32380         <bp-checks.h>.
32381         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
32383         [BZ #13550]
32384         * sysdeps/generic/bp-semctl.h: Remove file.
32385         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
32386         <bp-checks.h> and <bp-semctl.h>.
32387         (__old_semctl): Don't use CHECK_SEMCTL.
32388         (__new_semctl): Likewise.
32389         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
32390         and <bp-semctl.h>.
32391         (__old_semctl): Don't use CHECK_SEMCTL.
32392         (__new_semctl): Likewise.
32393         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
32394         <bp-checks.h> and <bp-semctl.h>.
32395         (__old_semctl): Don't use CHECK_SEMCTL.
32396         (__new_semctl): Likewise.
32397         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
32398         <bp-checks.h> and <bp-semctl.h>.
32399         (semctl): Don't use CHECK_SEMCTL.
32401         [BZ #13550]
32402         * Makerules (elide-bp-thunks): Remove variable.
32403         (elide-routines.oS): Don't use $(elide-bp-thunks).
32404         (elide-routines.os): Likewise.
32405         (elide-routines.o): Likewise.
32406         (elide-routines.op): Likewise.
32407         (elide-routines.og): Likewise.
32408         (objects): Don't use $(bp-thunks).
32409         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
32410         include.
32411         (common-generated): Do not add s-proto-bp.d.
32412         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
32413         (int): Likewise.
32414         (typ): Likewise.
32415         Do not generate makefile rules for bounded-pointer thunks.
32416         * sysdeps/generic/bp-thunks.h: Remove file.
32417         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
32418         * sysdeps/unix/s-proto-bp.S: Likewise.
32420         [BZ #15062]
32421         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
32422         parts of result separately when argument is not close to line from
32423         -i to i and one part of argument is small.
32424         * math/k_casinhf.c (__kernel_casinhf): Likewise.
32425         * math/k_casinhl.c (__kernel_casinhl): Likewise.
32426         * math/libm-test.inc (cacos_test): Add more tests.
32427         (casin_test): Likewise.
32428         (casinh_test): Likewise.
32429         * sysdeps/i386/fpu/libm-test-ulps: Update.
32430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32432 2013-01-31  David S. Miller  <davem@davemloft.net>
32434         * po/de.po: Update from translation team.
32436 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
32438         * time/tzfile.c: Include stdint.h for SIZE_MAX.
32440 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
32442         * configure.in (_AC_PROG_CC_C89): New definition.
32443         * configure: Regenerate.
32445         * configure.in (AC_PROG_CPP): New definition.
32446         * configure: Regenerate.
32448 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32450         * debug/tst-backtrace.h: New file.
32451         * debug/tst-backtrace2.c: Include tst-backtrace.h.
32452         (ret): Remove variable.
32453         (x): Likewise.
32454         (FAIL): Remove macro.
32455         (NO_INLINE): Likewise.
32456         (fn1): Use match function instead of strstr.
32457         * debug/tst-backtrace3.c: Include tst-backtrace.h.
32458         (ret): Remove variable.
32459         (x): Likewise.
32460         (FAIL): Remove macro.
32461         (NO_INLINE): Likewise.
32462         (fn): Use match function instead of strstr.
32463         * debug/tst-backtrace4.c: Include tst-backtrace.h.
32464         (ret): Remove variable.
32465         (x): Likewise.
32466         (FAIL): Remove macro.
32467         (NO_INLINE): Likewise.
32468         (handle_signal): Use match function instead of strstr.
32469         * debug/tst-backtrace5.c: Include tst-backtrace.h.
32470         (ret): Remove variable.
32471         (x): Likewise.
32472         (FAIL): Remove macro.
32473         (NO_INLINE): Likewise.
32474         (handle_signal): Use match function instead of strstr.
32476 2013-01-23  Roland McGrath  <roland@hack.frob.com>
32478         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
32480 2013-01-23  David S. Miller  <davem@davemloft.net>
32482         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
32483         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
32484         argument of CAS if possible.
32485         * sysdeps/sparc/sparc64/bits/atomic.h
32486         (__arch_compare_and_exchange_val_32_acq): Likewise.
32487         (__arch_compare_and_exchange_val_64_acq): Likewise.
32489 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
32491         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
32492         * sysdeps/posix/ulimit.c: ... this.
32493         Include <limits.h>.
32494         * sysdeps/unix/bsd/ulimit.c: Remove file.
32496 2013-01-23  Adam Conrad  <adconrad@0c3.net>
32498         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
32499         (LDFLAGS-tst-array5): Likewise.
32501 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
32503         [BZ #15036]
32504         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
32505         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
32506         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
32507         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
32509 2013-01-21  David S. Miller  <davem@davemloft.net>
32511         * sysdeps/sparc/backtrace.c: New file.
32512         * sysdeps/sparc/sparc32/backtrace.h: New file.
32513         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
32514         * sysdeps/sparc/sparc64/backtrace.h: New file.
32515         * sysdeps/sparc/sparc64/backtrace.c: Delete.
32516         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
32517         -funwind-tables.
32519 2013-01-21  Andreas Schwab  <schwab@suse.de>
32521         [BZ #15020]
32522         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
32523         closed its stdout.
32525 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
32527         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
32528         "mpa2.h".
32529         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32531 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
32532             Mark Mitchell  <mark@codesourcery.com>
32533             Tom de Vries  <tom@codesourcery.com>
32534             Paul Pluzhnikov  <ppluzhnikov@google.com>
32536         * debug/tst-backtrace2.c: New file.
32537         * debug/tst-backtrace3.c: Likewise.
32538         * debug/tst-backtrace4.c: Likewise.
32539         * debug/tst-backtrace5.c: Likewise.
32540         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
32541         (CFLAGS-tst-backtrace3.c): Likewise.
32542         (CFLAGS-tst-backtrace4.c): Likewise.
32543         (CFLAGS-tst-backtrace5.c): Likewise.
32544         (LDFLAGS-tst-backtrace2): Likewise.
32545         (LDFLAGS-tst-backtrace3): Likewise.
32546         (LDFLAGS-tst-backtrace4): Likewise.
32547         (LDFLAGS-tst-backtrace5): Likewise.
32548         (tests): Add new tests tst-backtrace2, tst-backtrace3,
32549         tst-backtrace4 and tst-backtrace5.
32551 2013-01-18  Anton Blanchard  <anton@samba.org>
32552             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32554         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
32555         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
32556         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
32557         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
32558         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
32559         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
32560         "+r" and remove output regs list as redundant.  Add explicit inline
32561         asm to specify register of return val to work around compiler codegen
32562         bug.  Remove (int) cast on return value.  Add return type parameter to
32563         use in macro so that this macro does not truncate return value for
32564         64-bit values.
32565         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
32566         pass to INTERNAL_VSYSCALL_NCS.
32567         (INLINE_VSYSCALL): Add 'long int' as return type to
32568         INTERNAL_VSYSCALL_NCS macro invocation.
32569         (INTERNAL_VSYSCALL): Add 'long int' as return type to
32570         INTERNAL_VSYSCALL_NCS macro invocation.
32571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
32573 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
32575         [BZ #14496]
32576         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
32577         Fix application of SIMD FP exception mask.
32579         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
32580         mp_no from a power of two.
32581         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
32582         __mpexp_twomm1.  Use __pow_mp.
32584         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
32585         multiplication.
32587 2013-01-17  David S. Miller  <davem@davemloft.net>
32589         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32591 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32593         [BZ #15023]
32594         * include/complex.h: Condition contents on [!_COMPLEX_H].
32595         (__kernel_casinhf): New prototype.
32596         (__kernel_casinh): Likewise.
32597         (__kernel_casinhl): Likewise.
32598         * math/Makefile (libm_calls): Add k_casinh.
32599         * math/k_casinh.c: New file.
32600         * math/k_casinhf.c: Likewise.
32601         * math/k_casinhl.c: Likewise.
32602         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
32603         finite nonzero arguments.
32604         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
32605         finite nonzero arguments.
32606         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
32607         finite nonzero arguments.
32608         * math/s_casinh.c: Do not include <float.h>.
32609         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
32610         * math/s_casinhf.c: Do not include <float.h>.
32611         (__casinhf): Move code for finite nonzero arguments to
32612         k_casinhf.c.
32613         * math/s_casinhl.c: Do not include <float.h>.
32614         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
32615         redefine.
32616         (__casinhl): Move code for finite nonzero arguments to
32617         k_casinhl.c.
32618         * math/libm-test.inc (cacos_test): Add more tests.
32619         * sysdeps/i386/fpu/libm-test-ulps: Update.
32620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32622 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
32624         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
32625         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
32626         [!HAVE_MREMAP]: Remove [defined linux] case.
32627         * malloc/arena.c: Do not include <malloc-sysdep.h>.
32629 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
32631         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
32633 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
32635         * elf/elf.h (R_386_SIZE32): New relocation.
32636         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
32637         R_386_SIZE32.
32638         (elf_machine_rela): Likewise.
32639         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
32640         R_X86_64_SIZE64 and R_X86_64_SIZE32.
32642 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
32644         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
32645         (FP_FAST_FMA): Do not define.
32646         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
32647         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
32648         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
32649         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
32650         !_SOFT_FLOAT]: Likewise.
32651         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
32652         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
32653         value.
32654         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
32655         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
32656         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
32657         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
32658         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
32659         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
32660         file.
32662 2013-01-16  Andreas Schwab  <schwab@suse.de>
32664         [BZ #14327]
32665         * include/stdlib.h (__mktemp): Add declaration.
32666         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
32667         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
32669 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32671         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
32672         definitions.
32673         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
32674         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
32675         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
32676         definitions here.
32677         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
32678         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
32679         definitions.
32680         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
32681         and ONE.
32682         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
32683         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
32684         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
32685         definitions.
32686         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
32687         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
32688         definitions.
32689         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
32691         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
32693 2013-01-15  David S. Miller  <davem@davemloft.net>
32695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32696         trunc{,f} to libm-sysdep_routes.
32697         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32698         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
32699         file.
32700         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
32701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
32702         file.
32703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
32704         file.
32705         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
32706         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
32707         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
32708         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
32709         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
32710         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
32711         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
32712         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
32714         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32715         nearbyint{,f} to libm-sysdep_routes.
32716         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
32718         New file.
32719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
32720         file.
32721         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
32722         New file.
32723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
32724         file.
32725         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
32726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
32727         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
32728         file.
32729         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
32730         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
32731         file.
32732         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
32733         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
32734         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
32736         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
32737         libc_feholdexcept and libc_fesetenv.
32739 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
32741         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
32743 2013-01-14  David S. Miller  <davem@davemloft.net>
32745         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
32746         (SPARC_ASM_VIS2_IFUNC): Likewise.
32747         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
32748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
32749         use of 'siam' instruction.
32750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
32751         Likewise.
32752         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
32753         Likewise.
32754         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
32755         Likewise.
32756         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
32757         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
32758         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
32759         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
32760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
32761         file.
32762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
32763         file.
32764         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
32765         file.
32766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
32767         file.
32768         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
32769         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
32770         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
32771         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
32772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
32773         new VIS2 routines.
32774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
32775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
32777         Likewise.
32778         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
32779         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
32780         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
32781         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
32782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
32783         routines to libm-sysdep_routines.
32784         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
32786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
32787         fdim/fdimf to libm-sysdep_routines.
32788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
32789         file.
32790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
32791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
32792         file.
32793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
32794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
32795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
32796         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
32797         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
32798         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
32799         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
32801 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
32803         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
32804         to optimize copies.
32806         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
32807         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
32808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
32810         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
32811         local variable MPTWO.
32812         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
32813         Likewise.
32815 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32817         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
32818         GLOB_NOESCAPE.
32820 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32822         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
32824 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
32826         * manual/pattern.texi (glob_t): Document gl_flags.
32827         (glob64_t): Likewise.
32829 2013-01-11  David S. Miller  <davem@davemloft.net>
32831         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
32832         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
32833         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
32834         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
32835         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
32836         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
32837         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
32838         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
32839         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
32840         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
32841         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
32842         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
32843         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
32845         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
32846         sparc V9 rather than using V8 code.
32847         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
32848         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
32850         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
32851         Move to...
32852         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
32853         Here.
32855 2013-01-11  Roland McGrath  <roland@hack.frob.com>
32857         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
32858         not in the main loop.
32859         * configure: Regenerated.
32861 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
32863         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
32864         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
32865         to just #else.
32866         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
32867         [!__GLIBC_HAVE_LONG_LONG] case.
32868         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
32869         condition to just #else.
32870         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
32871         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
32872         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
32873         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
32874         unconditional.
32875         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
32876         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32877         #elif condition to just #else.
32878         * sysdeps/unix/sysv/linux/sys/sysmacros.h
32879         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
32880         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
32881         #elif condition to just #else.
32883 2013-01-11  Steve Ellcey  <sellcey@mips.com>
32885         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
32886         (EF_MIPS_ARCH_64): Fix value.
32887         (EF_MIPS_ARCH_32R2): New.
32888         (EF_MIPS_ARCH_64R2): New.
32890 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
32892         * Makeconfig (+link-pie-before-libc): New.
32893         (+link-pie-after-libc): Likewise.
32894         (+link-pie-tests): Likewise.
32895         (+link-pie): Rewritten.
32896         (link-before-libc): Remove $(config-LDFLAGS).
32897         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
32898         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
32899         (config-LDFLAGS): Renamed to ...
32900         (rtld-LDFLAGS): This.
32901         (rtld-tests-LDFLAGS): New macro.
32902         (link-libc-rpath-link): Likewise.
32903         (link-libc-tests-rpath-link): Likewise.
32904         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
32905         (link-libc): Prepand $(link-libc-rpath-link).
32906         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
32907         (test-program-prefix): New macro.
32908         (test-via-rtld-prefix): Likewise.
32909         (test-program-cmd): Likewise.
32910         (host-test-program-cmd): Likewise.
32911         * Makefile ($(common-objpfx)testrun.sh): Replace
32912         $(run-program-prefix) with $(test-program-prefix).
32913         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
32914         $(rtld-LDFLAGS).
32915         ($(common-objpfx)shlib.lds): Likewise.
32916         (build-module-helper): Likewise.
32917         ($(common-objpfx)format.lds): Likewise.
32918         * Rules (binaries-pie-tests): New.
32919         (binaries-pie-notests): Likewise.
32920         (binaries-pie): Rewritten.
32921         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
32922         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
32923         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
32924         (make-test-out): Replace $(host-built-program-cmd) with
32925         $(host-test-program-cmd).
32926         * config.make.in (build-hardcoded-path-in-tests): New variable.
32927         * configure.in (--enable-hardcoded-path-in-tests): New configure
32928         option.
32929         (hardcoded_path_in_tests): New AC_SUBST.
32930         * configure: Regenerated.
32931         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
32932         $(built-program-cmd) with $(test-program-cmd).
32933         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
32934         (test_program_cmd): This.
32935         * elf/Makefile ($(objpfx)order.out): Run test with
32936         $(test-program-prefix).
32937         ($(objpfx)order2.out): Likewise.
32938         ($(objpfx)tst-initorder.out): Likewise.
32939         ($(objpfx)tst-initorder2.out): Likewise.
32940         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
32941         $(test-program-cmd).
32942         ($(objpfx)tst-array1-static.out): Likewise.
32943         ($(objpfx)tst-array2.out): Likewise.
32944         ($(objpfx)tst-array3.out): Likewise.
32945         ($(objpfx)tst-array4.out): Likewise.
32946         ($(objpfx)tst-array5.out): Likewise.
32947         ($(objpfx)tst-array5-static.out): Likewise.
32948         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
32949         $(test-program-cmd).
32950         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
32951         $(run-program-prefix) with $(test-program-prefix).
32952         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
32953         (test_program_prefix): This.
32954         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
32955         $(run-program-prefix) with $(test-program-prefix).
32956         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
32957         (test_program_prefix): This.
32958         * iconvdata/tst-tables.sh: Likewise.
32959         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
32960         $(run-program-prefix) with $(test-program-prefix).
32961         ($(objpfx)tst-translit.out): Likewise.
32962         ($(objpfx)tst-gettext2.out): Likewise.
32963         ($(objpfx)tst-gettext4.out): Likewise.
32964         ($(objpfx)tst-gettext6.out): Likewise.
32965         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
32966         (test_program_prefix): This.
32967         * intl/tst-gettext2.sh: Likewise.
32968         * intl/tst-gettext4.sh  Likewise.
32969         * intl/tst-gettext6.sh: Likewise.
32970         * intl/tst-translit.sh: Likewise.
32971         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
32972         with $(test-program-cmd).
32973         * libio/Makefile ($(objpfx)test-freopen.out): Replace
32974         $(run-program-prefix) with $(test-program-prefix).
32975         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
32976         (test_program_prefix): This.
32977         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
32978         $(run-program-prefix) with $(test-program-prefix).
32979         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
32980         (test_program_prefix): This.
32981         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
32982         * posix/Makefile ($(objpfx)globtest.out): Replace
32983         $(run-via-rtld-prefix) and $(test-wrapper) with
32984         $(test-program-prefix) and $(test-via-rtld-prefix).
32985         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
32986         $(test-program-prefix).
32987         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
32988         $(host-test-program-cmd).
32989         (tst-spawn-ARGS): Likewise.
32990         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
32991         $(test-program-prefix).
32992         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
32993         (test_via_rtld_prefix): This.
32994         (test_wrapper): Renamed to ...
32995         (test_program_prefix): This.
32996         (run_program_prefix): Replaced by test_program_prefix.
32997         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
32998         (test_program_prefix): This.
32999         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
33000         with $(host-test-program-cmd).
33001         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
33002         $(run-program-prefix) with $(test-program-prefix).
33003         ($(objpfx)tst-printf.out): Likewise.
33004         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
33005         $(test-program-cmd).
33006         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
33007         (test_program_prefix): This.
33008         * stdio-common/tst-unbputc.sh: Likewise.
33009         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
33010         $(run-program-prefix) with $(test-program-prefix).
33011         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
33012         (test_program_prefix): This.
33013         * string/Makefile ($(objpfx)tst-svc.out):  Replace
33014         $(built-program-cmd) with $(test-program-cmd).
33016 2013-01-11  Andreas Jaeger  <aj@suse.de>
33018         [BZ #15003]
33019         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
33020         value. Sync with Linux 3.7.
33022 2013-01-10  David S. Miller  <davem@davemloft.net>
33024         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
33025         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33026         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33028 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33030         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
33031         never set.
33032         * configure: Regenerated.
33034 2013-01-10  David S. Miller  <davem@davemloft.net>
33036         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
33037         sparc V9 rather than using V8 code.
33038         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
33039         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
33041 2013-01-10  Roland McGrath  <roland@hack.frob.com>
33043         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
33044         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
33045         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
33046         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
33047         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
33048         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
33049         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
33050         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
33051         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
33052         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
33053         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
33054         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
33055         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
33056         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
33057         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
33058         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
33059         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
33060         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
33061         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
33062         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
33063         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
33064         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
33065         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
33066         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
33067         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
33068         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
33069         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
33071 2013-01-10  David S. Miller  <davem@davemloft.net>
33073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33075 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
33077         * posix/Makefile (tests-static): New variable.
33078         (tests): Add $(tests-static).
33079         (tst-exec-static-ARGS): New variable.
33080         (tst-spawn-static-ARGS): Likewise.
33081         * posix/tst-exec-static.c: New file.
33082         * posix/tst-spawn-static.c: Likewise.
33083         * posix/tst-exec.c: Support run directly.
33084         * posix/tst-spawn.c: Likewise.
33086 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
33088         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
33089         long.
33090         * math/bits/mathcalls.h (llrint): Likewise.
33091         (llround): Likewise.
33092         * stdlib/stdlib.h (struct drand48_data): Likewise.
33093         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
33094         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
33095         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
33096         Likewise.
33097         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
33098         Likewise.
33099         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
33100         (elf_greg_t): Likewise.
33101         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
33102         (__jmp_buf): Likewise.
33103         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
33104         definitions.
33105         (llrint): Likewise, for all definitions.
33106         (llrintl): Likewise.
33108         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
33109         Remove [__GNUC__] condition.
33110         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
33111         condition to just [__USE_ISOC99].
33112         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
33114 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
33116         [BZ #14200]
33117         * sysdeps/unix/sysv/linux/x86/bits/environments.h
33118         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
33119         defined.
33120         (_POSIX_V6_ILP32_OFF32): Likewise.
33121         (_XBS5_ILP32_OFF32): Likewise.
33122         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
33123         (__ILP32_OFFBIG_LDFLAGS): Likewise.
33125 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33127         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
33129         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
33130         doubles __mpexp_twomm1.  Adjust usage.
33131         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
33132         Remove.
33134 2013-01-10  Andreas Schwab  <schwab@suse.de>
33136         [BZ #14964]
33137         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
33138         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
33140 2013-01-09  David S. Miller  <davem@davemloft.net>
33142         [BZ #15003]
33143         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
33144         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
33145         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
33146         (TCP_FASTOPEN): Define.
33147         (tcp_repair_opt): New structure.
33148         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
33149         enum values.
33150         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
33151         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
33152         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
33153         (tcp_cookie_transactions): New structure.
33155 2013-01-09  Anton Blanchard  <anton@samba.org>
33157         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
33158         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
33159         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
33160         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
33162 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
33164         * include/features.h (__USE_ANSI): Remove.
33166 2013-01-09  Roland McGrath  <roland@hack.frob.com>
33168         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
33170         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
33172 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
33174         * sysdeps/s390/fpu/libm-test-ulps: Update.
33176         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33178         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
33179         (__acr): Likewise.
33180         (__cpy): Likewise.
33181         (norm): Likewise.
33182         (denorm): Likewise.
33183         (__mp_dbl): Likewise.
33184         (__dbl_mp): Likewise.
33185         (add_magnitudes): Likewise.
33186         (sub_magnitudes): Likewise.
33187         (__add): Likewise.
33188         (__sub): Likewise.
33189         (__mul): Likewise.
33190         (__inv): Likewise.
33191         (__dvd): Likewise.
33192         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
33193         (__acr): Likewise.
33194         (__cpy): Likewise.
33195         (norm): Likewise.
33196         (denorm): Likewise.
33197         (__mp_dbl): Likewise.
33198         (__dbl_mp): Likewise.
33199         (add_magnitudes): Likewise.
33200         (sub_magnitudes): Likewise.
33201         (__add): Likewise.
33202         (__sub): Likewise.
33203         (__mul): Likewise.
33204         (__inv): Likewise.
33205         (__dvd): Likewise.
33206         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
33207         (__acr): Likewise.
33208         (__cpy): Likewise.
33209         (norm): Likewise.
33210         (denorm): Likewise.
33211         (__mp_dbl): Likewise.
33212         (__dbl_mp): Likewise.
33213         (add_magnitudes): Likewise.
33214         (sub_magnitudes): Likewise.
33215         (__add): Likewise.
33216         (__sub): Likewise.
33217         (__mul): Likewise.
33218         (__inv): Likewise.
33219         (__dvd): Likewise.
33221 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
33223         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
33224         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
33225         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
33226         2 && __USE_EXTERN_INLINES]: Likewise.
33228 2013-01-08  Andreas Jaeger  <aj@suse.de>
33230         [BZ# 14985]
33231         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
33232         Remove.
33233         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33234         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
33236 2013-01-07  Anton Blanchard  <anton@samba.org>
33238         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
33239         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
33240         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
33241         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
33242         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
33243         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
33244         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
33245         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33247         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33248         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
33249         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
33250         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
33251         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
33252         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
33253         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
33254         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
33255         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
33256         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
33257         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
33258         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
33259         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
33260         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
33261         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
33262         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
33263         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
33264         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
33265         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
33266         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
33267         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
33268         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
33269         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33270         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33271         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
33272         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
33273         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
33274         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
33275         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
33276         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
33277         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
33278         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
33279         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
33280         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
33282 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
33284         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
33285         (__MALLOC_PMT): Likewise.
33286         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
33287         [__GNUC__], only on [_LIBC].
33288         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33289         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
33290         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
33291         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
33292         forward declaration.
33293         (realloc_hook_ini): Likewise.
33294         (memalign_hook_ini): Likewise.
33295         (__libc_memalign): Do not use __MALLOC_PMT in variable
33296         declaration.
33297         (__libc_valloc): Likewise.
33298         (__libc_pvalloc): Likewise.
33299         (__libc_calloc): Likewise.
33300         (__posix_memalign): Likewise.
33302         [BZ #14996]
33303         * math/s_casinh.c: Include <float.h>.
33304         (__casinh): Do not do computation with squaring and square root
33305         for large arguments.
33306         * math/s_casinhf.c: Include <float.h>.
33307         (__casinhf): Do not do computation with squaring and square root
33308         for large arguments.
33309         * math/s_casinhl.c: Include <float.h>.
33310         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
33311         (__casinhl): Do not do computation with squaring and square root
33312         for large arguments.
33313         * math/libm-test.inc (casin_test): Add more tests.
33314         (casinh_test): Likewise.
33315         * sysdeps/i386/fpu/libm-test-ulps: Update.
33316         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33318 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
33320         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
33321         (__x86_64_raw_data_cache_size): Likewise.
33322         (__x86_64_data_cache_size_half): Likewise.
33323         (__x86_64_raw_data_cache_size_half): Likewise.
33324         (__x86_64_shared_cache_size): Likewise.
33325         (__x86_64_raw_shared_cache_size): Likewise.
33326         (__x86_64_shared_cache_size_half): Likewise.
33327         (__x86_64_raw_shared_cache_size_half): Likewise.
33328         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
33329         to ...
33330         (__x86_data_cache_size): This.
33331         (__x86_64_raw_data_cache_size): Renamed to ...
33332         (__x86_raw_data_cache_size): This.
33333         (__x86_64_data_cache_size_half): Renamed to ...
33334         (__x86_data_cache_size_half): This.
33335         (__x86_64_raw_data_cache_size_half): Renamed to ...
33336         (__x86_raw_data_cache_size_half): This.
33337         (__x86_64_shared_cache_size): Renamed to ...
33338         (__x86_shared_cache_size): This.
33339         (__x86_64_raw_shared_cache_size): Renamed to ...
33340         (__x86_raw_shared_cache_size): This.
33341         (__x86_64_shared_cache_size_half): Renamed to ...
33342         (__x86_shared_cache_size_half): This.
33343         (__x86_64_raw_shared_cache_size_half): Renamed to ...
33344         (__x86_raw_shared_cache_size_half): This.
33345         * sysdeps/x86_64/memcpy.S: Updated.
33346         * sysdeps/x86_64/memset.S: Likewise.
33347         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33348         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33349         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33351 2013-01-04  David S. Miller  <davem@davemloft.net>
33353         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33355 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
33357         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
33358         1 to avoid redefinition warning.
33359         (__USE_GNU): Don't define.
33360         (init_signaling_nan): Protoize.
33362         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33364 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33366         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
33367         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
33368         (__cpymn): Likewise.
33369         (norm): Remove commented code.
33370         (denorm): Likewise.
33371         (__mp_dbl): Likewise.
33372         (__inv): Likewise.
33373         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
33374         (__cpymn): Likewise.
33375         (norm): Remove commented code.
33376         (denorm): Likewise.
33377         (__mp_dbl): Likewise.
33378         (__inv): Likewise.
33380         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
33381         mp_no value for 1.0 and 2.0.
33382         (norm): Use RADIXI instead of radixi.d.
33383         (denorm): Likewise.
33384         (__mul): Use 0.0 instead of zero.d.
33385         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
33386         mp_no value for 1.0 and 2.0.
33387         (norm): Use RADIXI instead of radixi.d.
33388         (denorm): Likewise.
33389         (__mul): Use 0.0 instead of zero.d.
33391 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
33393         [BZ #14994]
33394         * math/s_casinh.c (__casinh): Reduce finite argument to first
33395         quadrant then set signs of results at the end.
33396         * math/s_casinhf.c (__casinhf): Likewise.
33397         * math/s_casinhl.c (__casinhl): Likewise.
33398         * math/libm-test.inc (casin_test): Add more tests.
33399         (casinh_test): Likewise.
33400         * sysdeps/i386/fpu/libm-test-ulps: Update.
33401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33403 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
33405         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
33407         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
33409         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
33410         declarations.
33411         (denorm): Likewise.
33412         (__mp_dbl): Likewise.
33413         (__inv): Likewise.
33415         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
33416         and adjust the header comment.
33418         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
33419         variable name from declaration.
33421 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
33423         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33424         Initialize COMMON_CPUID_INDEX_7 element.
33425         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
33426         (CPUID_RTM): Likewise.
33427         (HAS_RTM): Likewise.
33428         (COMMON_CPUID_INDEX_7): New enum.
33430 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
33432         [BZ #14981]
33433         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
33434         size is zero, record memory as freed.
33436 2013-01-03  Andreas Jaeger  <aj@suse.de>
33438         * po/ia.po: Add new Interlingua translation.
33440 2012-01-03  Allan McRae  <allan@archlinux.org>
33442         * locale/programs/localedef.c: Fix description of '--posix' flag.
33444 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
33446         * NEWS: Update dates in second copyright notice.
33447         * README: Update copyright dates in example.
33448         * manual/libc.texinfo: Update copyright dates.
33449         * scripts/test-installation.pl: Update copyright date in --version
33450         output.
33452         * hurd/ctty-input.c: Fix copyright notice formatting.
33453         * hurd/ctty-output.c: Likewise.
33454         * hurd/dtable.c: Likewise.
33455         * hurd/hurd-raise.c: Likewise.
33456         * hurd/hurdprio.c: Likewise.
33457         * hurd/msgportdemux.c: Likewise.
33458         * misc/sys/file.h: Likewise.
33459         * misc/sys/ioctl.h: Likewise.
33460         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
33461         * sysdeps/mach/hurd/chdir.c: Likewise.
33462         * sysdeps/mach/hurd/fchdir.c: Likewise.
33463         * sysdeps/mach/hurd/rename.c: Likewise.
33464         * sysdeps/mach/hurd/rmdir.c: Likewise.
33465         * sysdeps/mach/hurd/seekdir.c: Likewise.
33466         * sysdeps/mach/hurd/setsid.c: Likewise.
33467         * sysdeps/posix/wait3.c: Likewise.
33469         * All files with FSF copyright notices: Update copyright dates
33470         using scripts/update-copyrights.
33471         * intl/plural.c: Regenerated.
33472         * locale/programs/charmap-kw.h: Likewise.
33473         * locale/programs/locfile-kw.h: Likewise.
33475 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
33477         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
33478         four values.
33480         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
33481         calculation loop and add branch prediction.
33483         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
33484         check access beyond bounds of m1np.
33486         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33487         MPTWO.
33488         (__inv): Remove local variable MPTWO to use the global
33489         constant.
33490         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
33491         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33492         variable MPTWO.
33493         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
33494         MP3HALFS static const.
33496 2013-01-01  David S. Miller  <davem@davemloft.net>
33498         * po/ca.po: Update from translation team.
33500 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
33502         * scripts/update-copyrights: New file.
33503         * Makeconfig: Reformat copyright notice.
33504         * ctype/ctype.h: Likewise.
33505         * debug/swprintf_chk.c: Likewise.
33506         * elf/dl-cache.c: Likewise.
33507         * elf/dl-debug.c: Likewise.
33508         * elf/dl-object.c: Likewise.
33509         * grp/initgroups.c: Likewise.
33510         * hurd/Makefile: Likewise.
33511         * hurd/hurd/signal.h: Likewise.
33512         * hurd/hurdfault.c: Likewise.
33513         * hurd/hurdioctl.c: Likewise.
33514         * hurd/hurdlookup.c: Likewise.
33515         * hurd/intr-msg.c: Likewise.
33516         * iconv/gconv_open.c: Likewise.
33517         * libio/swprintf.c: Likewise.
33518         * locale/lc-ctype.c: Likewise.
33519         * locale/nl_langinfo.c: Likewise.
33520         * mach/Machrules: Likewise.
33521         * mach/Makefile: Likewise.
33522         * malloc/obstack.h: Likewise.
33523         * manual/Makefile: Likewise.
33524         * manual/tsort.awk: Likewise.
33525         * misc/bits/stab.def: Likewise.
33526         * nis/nis_print_group_entry.c: Likewise.
33527         * nis/nis_table.c: Likewise.
33528         * nis/nss_compat/compat-pwd.c: Likewise.
33529         * nis/nss_compat/compat-spwd.c: Likewise.
33530         * po/Makefile: Likewise.
33531         * posix/fnmatch.c: Likewise.
33532         * posix/regex.h: Likewise.
33533         * resolv/Makefile: Likewise.
33534         * resolv/nss_dns/dns-network.c: Likewise.
33535         * resolv/res_hconf.c: Likewise.
33536         * scripts/gen-sorted.awk: Likewise.
33537         * soft-fp/soft-fp.h: Likewise.
33538         * stdio-common/printf.h: Likewise.
33539         * stdlib/monetary.h: Likewise.
33540         * stdlib/random.c: Likewise.
33541         * stdlib/random_r.c: Likewise.
33542         * sysdeps/generic/Makefile: Likewise.
33543         * sysdeps/gnu/Makefile: Likewise.
33544         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
33545         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
33546         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
33547         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
33548         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33549         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
33550         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33551         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
33552         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
33553         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
33554         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
33555         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
33556         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
33557         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
33558         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
33559         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
33560         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
33561         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
33562         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
33563         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
33564         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
33565         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
33566         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
33567         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
33568         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
33569         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
33570         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
33571         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
33572         * sysdeps/mach/hurd/errnos.awk: Likewise.
33573         * sysdeps/mach/hurd/fork.c: Likewise.
33574         * sysdeps/mach/hurd/getcwd.c: Likewise.
33575         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
33576         * sysdeps/mach/hurd/mmap.c: Likewise.
33577         * sysdeps/mach/hurd/utimes.c: Likewise.
33578         * sysdeps/mach/hurd/xmknod.c: Likewise.
33579         * sysdeps/posix/profil.c: Likewise.
33580         * sysdeps/posix/readdir_r.c: Likewise.
33581         * sysdeps/powerpc/bits/mathdef.h: Likewise.
33582         * sysdeps/powerpc/bits/setjmp.h: Likewise.
33583         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
33584         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
33585         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
33586         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
33587         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
33588         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
33589         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
33590         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
33591         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
33592         * sysdeps/pthread/lio_listio.c: Likewise.
33593         * sysdeps/sparc/dl-procinfo.h: Likewise.
33594         * sysdeps/unix/i386/sysdep.S: Likewise.
33595         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
33596         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
33597         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
33598         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
33599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33600         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
33601         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
33602         * sysdeps/unix/sysv/linux/speed.c: Likewise.
33603         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
33604         * sysdeps/wordsize-32/divdi3.c: Likewise.
33605         * time/sys/time.h: Likewise.
33606         * wcsmbs/Makefile: Likewise.
33608 2013-01-01  David S. Miller  <davem@davemloft.net>
33610         * po/fr.po: Update from translation team.
33612         * catgets/gencat.c: Update copyright year.
33613         * csu/version.c: Likewise.
33614         * debug/catchsegv.sh: Likewise.
33615         * debug/pcprofiledump.c: Likewise.
33616         * debug/xtrace.sh: Likewise.
33617         * elf/ldconfig.c: Likewise.
33618         * elf/ldd.bash.in: Likewise.
33619         * elf/pldd.c: Likewise.
33620         * elf/sotruss.ksh: Likewise.
33621         * elf/sprof.c: Likewise.
33622         * iconv/iconv_prog.c: Likewise.
33623         * iconv/iconvconfig.c: Likewise.
33624         * locale/programs/locale.c: Likewise.
33625         * locale/programs/localedef.c: Likewise.
33626         * login/programs/pt_chown.c: Likewise.
33627         * malloc/memusage.sh: Likewise.
33628         * malloc/memusagestat.c: Likewise.
33629         * malloc/mtrace.pl: Likewise.
33630         * nscd/nscd.c: Likewise.
33631         * nss/getent.c: Likewise.
33632         * nss/makedb.c: Likewise.
33633         * posix/getconf.c: Likewise.
33635 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33637         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
33638         numbers.
33640 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
33642         * math/bits/mathcalls.h (modf): Use __nonnull.
33644 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
33646         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
33647         (split): Use macro CN instead of the bare value.
33648         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
33649         could be used.
33650         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
33651         instead of the bare value.
33652         (power1): Likewise.
33654 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33656         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
33657         __ATAN_TWOM.
33658         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33660         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
33661         their values.
33662         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
33663         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
33664         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
33665         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
33667 2012-12-28  Andreas Jaeger  <aj@suse.de>
33669         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
33670         values are from Linux 3.7.
33672         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
33673         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
33675 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33677         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
33678         TRUE case.
33680         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
33681         (norm): Likewise.
33682         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
33683         variables with preprocessor constants.
33684         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
33685         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
33686         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
33688 2012-12-27  Bruno Haible  <bruno@clisp.org>
33690         [BZ #14317]
33691         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
33692         only if needed.
33694 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
33696         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
33697         and use variable directly.
33698         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
33700         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
33701         MPONE.
33702         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
33703         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
33704         variable MPONE.
33705         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
33706         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33707         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
33708         include directive.  Remove local variable MPONE.
33709         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
33710         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
33711         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
33713 2012-12-25  David S. Miller  <davem@davemloft.net>
33715         * version.h (RELEASE): Set to "development".
33716         (VERSION): Set to "2.17.90".
33717         * NEWS: Add 2.18 section.
33719 2012-12-21  David S. Miller  <davem@davemloft.net>
33721         * po/hr.po: Update from translation team.
33723 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33725         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
33727 2012-12-19  Steve Ellcey  <sellcey@mips.com>
33729         * NEWS:  Mention new memcpy for MIPS.
33731 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33733         * manual/contrib.texi (Contributors): Spelling correction.
33735 2012-12-15  David S. Miller  <davem@davemloft.net>
33737         * po/ru.po: Update from translation team.
33739 2012-12-13  David S. Miller  <davem@davemloft.net>
33741         * NEWS: Mention IFUNC testsuite enhancements.
33743         * po/pl.po: Update from translation team.
33744         * po/bg.po: Likewise.
33746         * manual/contrib.texi (Contributors): Update entries for Hongjiu
33747         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
33749 2012-12-11  David S. Miller  <davem@davemloft.net>
33751         * po/sv.po: Update from translation team.
33753         * po/vi.po: Update from translation team.
33755         * po/cs.po: Update from translation team.
33757         * po/de.po: Update from translation team.
33758         * po/eo.po: Likewise.
33759         * po/nl.po: Likewise.
33761 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33763         [BZ #14246]
33764         * manual/argp.texi (Argp Helper Functions): Move node to follow
33765         Argp Parsing State.
33767         [BZ #14872]
33768         * manual/conf.texi (Limits on File System Capacity): Mention if
33769         terminating null is included in the max size.
33771 2012-12-10  Andreas Jaeger  <aj@suse.de>
33773         * po/cs.po: Update from translation team.
33775 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
33777         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
33778         void pointer and cast to uintptr_t.
33779         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
33780         path.
33781         * sysdeps/s390/s390-64/memcpy.S: Likewise.
33782         * sysdeps/s390/s390-64/memset.S: Likewise.
33784 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
33786         [BZ #14833]
33787         * menual/message.texi (Message Translation): Fix typos.
33788         (Helper programs for gettext): Likewise.
33790 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
33792         [BZ #14898]
33793         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
33794         Change to -1.
33796 2012-12-07  David S. Miller  <davem@davemloft.net>
33798         * po/libc.pot: Update.
33800 2012-12-07  Richard Henderson  <rth@redhat.com>
33802         [BZ #10114]
33803         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
33804         normal/normal case to before the switch.
33805         (_FP_DIV): Likewise.
33807 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
33808             Mike Frysinger  <vapier@gentoo.org>
33810         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
33811         check for __NR_fadvise64_64.
33813 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
33815         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
33816         0, not just to plain "0" as a statement.
33817         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
33818         with cw.
33820 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
33822         * NEWS: Use sourceware.org in Bugzilla URL.
33824 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
33826         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33827         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33829         * stdio-common/tst-put-error.c (do_test): Add newline to the
33830         padded test to ensure flush.
33832 2012-12-05  Jeff Law  <law@redhat.com>
33834         * sunrpc/etc.rpc (fedfs_admin): Add entry.
33836 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
33838         * README: Don't refer to ports add-on as distributed separately.
33839         Mention AArch64 in list of systems supported in the ports add-on.
33841         * LICENSES: Add more non-FSF copyright and license notices.
33843         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
33844         ((unused)).
33846         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
33848         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
33849         10000 as width of padded output.
33851 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33853         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
33855         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
33856         variable LX with __attribute__ ((unused)).
33857         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
33858         Likewise.
33859         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
33860         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
33861         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
33862         with __attribute__ ((unused)).
33864 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
33866         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
33868 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
33870         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
33871         (CFLAGS-nldbl-acos.c): New variable.
33872         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
33873         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
33874         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
33875         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
33876         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
33877         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
33878         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
33879         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
33880         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
33881         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
33882         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
33883         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
33884         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
33885         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
33886         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
33887         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
33888         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
33889         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
33890         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
33891         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
33892         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
33893         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
33894         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
33895         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
33896         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
33897         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
33898         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
33899         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
33900         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
33901         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
33902         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
33903         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
33904         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
33905         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
33906         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
33907         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
33908         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
33909         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
33910         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
33911         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
33912         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
33913         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
33914         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
33915         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
33916         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
33917         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
33918         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
33919         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
33920         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
33921         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
33922         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
33923         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
33924         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
33925         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
33926         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
33927         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
33928         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
33929         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
33930         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
33931         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
33932         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
33933         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
33934         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
33935         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
33936         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
33937         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
33938         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
33939         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
33940         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
33941         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
33942         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
33943         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
33944         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
33945         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
33946         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
33947         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
33948         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
33949         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
33950         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
33951         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
33952         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
33953         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
33954         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
33955         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
33956         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
33957         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
33958         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
33959         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
33960         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
33961         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
33962         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
33963         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
33964         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
33965         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
33966         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
33967         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
33968         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
33970         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33971         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
33973         [BZ #14914]
33974         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
33975         whole low double instead of just low 47 bits when splitting values
33976         into two parts.
33978 2012-12-03  Allan McRae  <allan@archlinux.org>
33980         * manual/stdio.texi (Predefined Printf Handlers): Remove
33981         @hsep and @vsep usage.
33983 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
33985         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
33986         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
33988 2012-12-03  Jeff Law  <law@redhat.com>
33990         * time/sys/time.h (settimeofday): Do not mark TV argument
33991         as __nonnull.
33993 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
33995         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
33996         when currently writing and seek to current position when not.
33997         * libio/Makefile (tests): Remove bug-fclose1.
33998         * libio/bug-fclose1.c: Delete.
34000 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
34002         * manual/arith.texi (feenableexcept): Fix typo.
34003         (fedisableexcept): Likewise.
34005 2012-11-30  Roland McGrath  <roland@hack.frob.com>
34007         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
34008         second, differently-typed declaration, rather than a cast.
34010 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34012         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
34013         * include/rpc/svc.h: ... here.
34015 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
34017         [BZ #13013]
34018         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
34019         depending n and resplen2 to catch cases where answer
34020         equals answerp2.
34022 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
34024         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
34025         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
34027 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
34029         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
34031 2012-11-29  Roland McGrath  <roland@hack.frob.com>
34033         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
34035 2012-11-28  Jeff Law  <law@redhat.com>
34037         [BZ #13761]
34038         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
34039         dataset_temporary.  Track alloca usage into alloca_used.
34040         If dataset is large allocate and release it via malloc/free.
34042 2012-06-04  Florian Weimer  <fweimer@redhat.com>
34044         [BZ #14197]
34045         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
34047 2012-11-28  David S. Miller  <davem@davemloft.net>
34049         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34051 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34053         [BZ #14803]
34054         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
34055         of pi/2 rounded to nearest to 64 bits.
34056         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
34057         nearest to 64 bits.
34058         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
34059         bits.
34061 2012-11-28  Jeff Law <law@redhat.com>
34062             Martin Osvald <mosvald@redhat.com>
34064         [BZ #14889]
34065         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
34066         * sunrpc/svc.c: Include time.h.
34067         (__svc_accept_failed): New function.
34068         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
34069         any reason other than EINTR, call __svc_accept_failed.
34070         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
34071         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
34073 2012-11-28  Andreas Schwab  <schwab@suse.de>
34075         * scripts/abilist.awk: Also handle indirect functions in .opd
34076         section.
34078 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
34080         [BZ #13881]
34081         * sysdeps/x86/fpu/powl_helper.c: New file.
34082         * sysdeps/x86/fpu/Makefile: Likewise.
34083         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
34084         (p3): New object.
34085         (__ieee754_powl): Use __powl_helper for finite arguments except
34086         integer exponents below 8.
34087         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
34088         (p3): New object.
34089         (__ieee754_powl): Use __powl_helper for finite arguments except
34090         integer exponents below 8.
34091         * math/libm-test.inc (pow_test): Add more tests and enable some
34092         previously disabled tests.
34093         * sysdeps/i386/fpu/libm-test-ulps: Update.
34094         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34096 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
34097             Carlos O'Donell  <carlos_odonell@mentor.com>
34099         * nss/makedb.c (is_prime): Assert that input is odd and greater
34100         than 4.  Note that fact in a comment too.
34101         (next_prime): Add 4 to input.
34103 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34105         [BZ #11741]
34106         * libio/Makefile (tests): Add test case tst-fwrite-error.
34107         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
34108         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
34109         * libio/tst-fwrite-error.c: New test case.
34111 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
34113         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
34114         before casting to void *.
34115         * include/libc-internal.h (__pointer_type): New macro.
34116         (__integer_if_pointer_type_sub): Likewise.
34117         (__integer_if_pointer_type): Likewise.
34118         (cast_to_integer): Likewise.
34119         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
34120         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
34121         before casting to atomic64_t.
34122         (atomic_exchange_acq): Likewise.
34123         (__arch_exchange_and_add_body): Likewise.
34124         (__arch_add_body): Likewise.
34125         (atomic_add_negative): Likewise.
34126         (atomic_add_zero): Likewise.
34128 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
34130         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
34131         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
34132         (add_fdes): Likewise.
34133         (linear_search_fdes): Likewise.
34134         (binary_search_unencoded_fdes): Likewise.
34136 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
34138         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
34140 2012-11-24  Adam Conrad  <adconrad@0c3.net>
34142         * configure.in: Autodetect C++ header directories.
34143         * configure: Regenerated.
34145 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
34147         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
34149 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
34151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34153 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
34155         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
34156         LDBL_MANT_DIG == 106]: Disable some tests.
34157         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34158         Likewise.
34159         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
34160         Likewise.
34162         [BZ #14871]
34163         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
34164         input for small inputs.  Return +/- pi/2 for large inputs.
34165         * math/libm-test.inc (atan_test): Add more tests.
34167         * sysdeps/generic/unwind-dw2-fde-glibc.c
34168         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
34169         __attribute__ ((unused)).
34171         [BZ #14645]
34172         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
34173         x * y if x and y are nonzero and z is zero.
34175         [BZ #14811]
34176         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
34177         nonzero exponents with absolute value below 0x1p-117 to +/-
34178         0x1p-117.
34180         [BZ #14869]
34181         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
34182         up arguments below 2**-450, not just those below 2**-500.
34183         * math/libm-test.inc (hypot_test): Add another test.
34185         [BZ #14868]
34186         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
34187         Return a+b for ratio over 2**120, not 2**60.
34188         * math/libm-test.inc (hypot_test): Add another test.
34190         * math/libm-test.inc (clog_test): Use
34191         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
34192         (clog10_test): Likewise.
34194         [BZ #6778]
34195         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
34197 2012-11-22  Andreas Schwab  <schwab@suse.de>
34199         * sysdeps/i386/fpu/libm-test-ulps: Update.
34201 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
34203         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
34204         printf output with newline.
34206 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
34208         [BZ #14865]
34209         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
34210         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
34211         -z nodlopen, -z initfirst and -z execstack support.
34212         * configure: Regenerated.
34214         * elf/elf.h (DF_1_NODIRECT): New macro.
34215         (DF_1_IGNMULDEF): Likewise.
34216         (DF_1_NOKSYMS): Likewise.
34217         (DF_1_NOHDR): Likewise.
34218         (DF_1_EDITED): Likewise.
34219         (DF_1_NORELOC): Likewise.
34220         (DF_1_SYMINTPOSE): Likewise.
34221         (DF_1_GLOBAUDIT): Likewise.
34222         (DF_1_SINGLETON): Likewise.
34223         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
34224         DT_1_SUPPORTED_MASK bits.
34225         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
34227 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
34229         * sysdeps/unix/make-syscalls.sh: Document prefixes.
34231 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
34233         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
34234         macro.
34236         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
34237         (sendmmsg): Move declarations...
34238         * socket/sys/socket.h: ... here.
34239         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
34240         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
34241         include it from...
34242         * socket/recvmmsg.c: ... this new file.
34243         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
34244         (sendmmsg): Rename to __sendmmsg, create weak alias and make
34245         definition of __sendmmsg hidden.
34246         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
34247         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
34248         Move ENOSYS stub into and include it from...
34249         * socket/sendmmsg.c: ... this new file.
34250         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
34251         (sysdep_routines): Move recvmmsg and sendmmsg...
34252         * socket/Makefile (routines): ... here.
34253         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
34254         (GLIBC_PRIVATE): Add __sendmmsg.
34255         * include/sys/socket.h (__sendmmsg): Add declarations.
34256         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
34257         sendmmsg.
34259 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
34261         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
34262         variable I1 with __attribute__ ((unused)).
34263         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
34265 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34267         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
34268         DUMMY variables with __attribute__ ((unused)).
34270         * bits/byteswap.h: Include <bits/types.h>.
34271         (__bswap_64): Use __uint64_t instead of unsigned long long int.
34273 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34275         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
34276         string_t.  Do not manually set errno.
34277         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
34278         length with __strnlen.  Make sure to both set errno and return it on
34279         failure.
34281 2012-11-19  David S. Miller  <davem@davemloft.net>
34283         With help from Joseph Myers.
34284         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
34285         very large arguments properly.
34286         * math/libm-test.inc (atan_test): New tests.
34287         (atan2_test): New tests.
34288         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34289         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34291 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
34293         [BZ #14856]
34294         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
34295         Define to 3.
34297         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
34298         [POSIX] (EADDRNOTAVAIL): Likewise.
34299         [POSIX] (EAFNOSUPPORT): Likewise.
34300         [POSIX] (EALREADY): Likewise.
34301         [POSIX] (ECONNABORTED): Likewise.
34302         [POSIX] (ECONNREFUSED): Likewise.
34303         [POSIX] (ECONNRESET): Likewise.
34304         [POSIX] (EDESTADDRREQ): Likewise.
34305         [POSIX] (EDQUOT): Likewise.
34306         [POSIX] (EHOSTUNREACH): Likewise.
34307         [POSIX] (EIDRM): Likewise.
34308         [POSIX] (EISCONN): Likewise.
34309         [POSIX] (ELOOP): Likewise.
34310         [POSIX] (EMULTIHOP): Likewise.
34311         [POSIX] (ENETDOWN): Likewise.
34312         [POSIX] (ENETUNREACH): Likewise.
34313         [POSIX] (ENOBUFS): Likewise.
34314         [POSIX] (ENODATA): Likewise.
34315         [POSIX] (ENOLINK): Likewise.
34316         [POSIX] (ENOMSG): Likewise.
34317         [POSIX] (ENOPROTOOPT): Likewise.
34318         [POSIX] (ENOSR): Likewise.
34319         [POSIX] (ENOSTR): Likewise.
34320         [POSIX] (ENOTCONN): Likewise.
34321         [POSIX] (ENOTSOCK): Likewise.
34322         [POSIX] (EOPNOTSUPP): Likewise.
34323         [POSIX] (EOVERFLOW): Likewise.
34324         [POSIX] (EPROTO): Likewise.
34325         [POSIX] (EPROTONOSUPPORT): Likewise.
34326         [POSIX] (EPROTOTYPE): Likewise.
34327         [POSIX] (ESTALE): Likewise.
34328         [POSIX] (ETIME): Likewise.
34329         [POSIX] (ETXTBSY): Likewise.
34330         [POSIX] (EWOULDBLOCK): Likewise.
34331         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
34332         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
34333         [POSIX] (SEEK_CUR): Likewise.
34334         [POSIX] (SEEK_END): Likewise.
34335         [POSIX || UNIX98] (mode_t): Do not require.
34336         [POSIX] (off_t): Likewise.
34337         [POSIX] (pid_t): Likewise.
34338         [POSIX] (sys/stat.h): Do not allow header.
34339         [POSIX] (unistd.h): Likewise.
34340         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
34341         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
34342         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
34343         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
34344         require.
34345         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
34346         sigevent): Specify elements.
34347         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
34348         entry.
34349         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
34350         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
34352         * conform/data/cpio.h-data [POSIX]: Disable whole file.
34353         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
34354         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
34355         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
34356         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
34357         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
34358         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
34359         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
34360         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
34361         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
34362         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
34363         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
34364         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
34365         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
34366         Likewise.
34367         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
34368         Likewise.
34369         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
34370         Likewise.
34371         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
34372         Likewise.
34373         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
34374         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
34375         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
34376         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
34377         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
34378         Specify lower bound on value.
34379         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
34380         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
34381         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
34382         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
34383         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
34384         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
34385         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
34386         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
34387         value.
34388         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
34389         as optional.
34390         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
34391         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
34392         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
34393         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
34394         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
34395         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
34396         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
34397         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
34398         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
34399         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
34400         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
34401         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
34402         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
34403         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
34404         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
34405         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
34406         entry.
34407         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
34408         optional.
34409         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
34410         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
34411         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
34412         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
34413         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
34414         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
34415         Likewise.
34416         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
34417         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
34418         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
34419         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
34420         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
34421         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
34422         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
34423         as optional.
34424         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
34425         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
34426         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
34427         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
34428         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
34429         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
34430         specify as optional.
34431         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
34432         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
34433         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
34434         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
34435         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
34436         [XPG3] (NL_LANGMAX): Likewise.
34437         [POSIX || XPG3] (NL_MSGMAX): Likewise.
34438         [POSIX || XPG3] (NL_NMAX): Likewise.
34439         [POSIX || XPG3] (NL_SETMAX): Likewise.
34440         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
34441         [XPG3] (NZERO): Likewise.
34442         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
34443         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
34444         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
34445         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
34446         (REG_ERANGE): Expect.
34447         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
34448         optional-constant.
34449         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
34450         Use (void) in prototype.
34451         [POSIX] (*_t): Allow.
34452         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
34453         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
34454         (WRDE_BADVAL): Expect.
34456         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
34457         expect.
34458         [XPG3 || XPG4] (O_RSYNC): Likewise.
34459         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
34460         Likewise.
34461         [XPG3 || XPG4] (pthread_sigmask): Likewise.
34462         [XPG3 || XPG4] (sigqueue): Likewise.
34463         [XPG3 || XPG4] (sigtimedwait): Likewise.
34464         [XPG3 || XPG4] (sigwaitinfo): Likewise.
34465         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
34466         [XPG3 || XPG4] (vsnprintf): Likewise.
34467         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
34468         Likewise.
34469         [XPG3 || XPG4] (blksize_t): Likewise.
34470         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
34471         Likewise.
34472         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
34473         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34474         [XPG3 || XPG4] (struct itimerspec): Likewise.
34475         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
34476         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
34477         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
34478         [XPG3 || XPG4] (clockid_t): Likewise.
34479         [XPG3 || XPG4] (timer_t): Likewise.
34480         [XPG3 || XPG4] (clock_getres): Likewise.
34481         [XPG3 || XPG4] (clock_gettime): Likewise.
34482         [XPG3 || XPG4] (clock_settime): Likewise.
34483         [XPG3 || XPG4] (nanosleep): Likewise.
34484         [XPG3 || XPG4] (timer_create): Likewise.
34485         [XPG3 || XPG4] (timer_delete): Likewise.
34486         [XPG3 || XPG4] (timer_gettime): Likewise.
34487         [XPG3 || XPG4] (timer_getoverrun): Likewise.
34488         [XPG3 || XPG4] (timer_settime): Likewise.
34489         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
34490         [XPG3 || XPG4] (getlogin_r): Likewise.
34491         [XPG3 || XPG4] (pread): Likewise.
34492         [XPG3 || XPG4] (pthread_atfork): Likewise.
34493         [XPG3 || XPG4] (pwrite): Likewise.
34495         [BZ #14835]
34496         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
34497         <bits/siginfo.h>.
34499 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
34501         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
34502         finalizing MALLSTREAM.
34504         * sysdeps/mach/hurd/syncfs.c: New file.
34506 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34508         [BZ #14719]
34509         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
34510         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
34511         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
34512         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
34513         (_nss_dns_gethostbyname4_r): Likewise.
34514         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
34515         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
34517 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
34519         [BZ #13763]
34520         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
34522 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
34524         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
34525         * elf/cache.c (print_entry): Print ",AArch64" for
34526         FLAG_AARCH64_LIB64
34528         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
34529         * elf/cache.c (print_entry): Print ",hard-float" for
34530         FLAG_ARM_LIBHF.
34532 2012-11-18  David S. Miller  <davem@davemloft.net>
34534         With help from Joseph Myers.
34535         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
34536         cutoff to 2**-13.
34537         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
34538         cutoff to 2**-25.
34539         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
34540         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
34541         small.
34542         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
34543         * math/libm-test.inc (y0_test): New tests.
34544         (y1_test): New tests.
34545         * sysdeps/i386/fpu/libm-test-ulps: Update.
34546         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
34547         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34549 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
34551         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
34552         64-bit targets.
34553         * configure: Regenerated.
34555 2012-11-17  David S. Miller  <davem@davemloft.net>
34557         [BZ #14811]
34558         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
34559         nonzero exponents with absolute value below 0x1p-128 to +/-
34560         0x1p-128.
34562 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
34564         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
34566         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
34568         * posix/getconf-speclist.c: New file.
34569         * posix/posix-envs.def: Likewise.
34570         * posix/confstr.c (START_ENV_GROUP): New macro.
34571         (END_ENV_GROUP): Likewise.
34572         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34573         (KNOWN_PRESENT_ENV_STRING): Likewise.
34574         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34575         (UNKNOWN_ENVIRONMENT): Likewise.
34576         (confstr): Include posix-envs.def instead of handling
34577         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
34578         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
34579         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
34580         (END_ENV_GROUP): Likewise.
34581         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
34582         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
34583         (UNKNOWN_ENVIRONMENT): Likewise.
34584         (__sysconf): Include posix-envs.def instead of handling associated
34585         cases directly here.
34586         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
34587         preprocessing getconf-speclist.c rather than running getconf or
34588         generating empty file.
34590 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
34592         * scripts/check-local-headers.sh: Ignore 'mach' headers.
34594 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
34596         [BZ #14672]
34597         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
34599 2012-11-16  David S. Miller  <davem@davemloft.net>
34601         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
34602         smaller than LDBL_EPSILON/2.0L, just return xm1.
34604 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
34606         * elf/tst-array1.c (init): Set constructor priority to 1000.
34607         (fini): Set destructor priority to 1000.
34608         * elf/tst-array2dep.c: Likewise.
34610 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34612         [BZ #11741]
34613         * libio/fileops.c (_IO_new_file_write): Correctly return error.
34614         (_IO_new_file_xsputn): Also return EOF if none of the input
34615         data was written when overflow failed.
34616         * libio/iopadn.c (_IO_padn): Likewise.
34617         * libio/iowpadn.c (_IO_wpadn): Likewise.
34618         * stdio-common/tst-put-error.c: Add copyright notice.
34619         (do_test): Add case for printing padded string.
34620         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
34621         _IO_padn returned error.
34622         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
34623         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
34624         return EOF.
34626 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
34628         * libio/libioP.h: Add comment note that the references to C++
34629         bits are now obsolete.
34631 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34633         * math/libm-test.inc (check_complex): Use asprintf.
34635 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
34637         * debug/pcprofiledump.c (print_version): Update copyright year.
34638         * malloc/memusagestat.c (print_version): Likewise.
34640 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
34642         [BZ #14831]
34643         * elf/Makefile (tests): Add tst-audit8.
34644         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
34645         ($(objpfx)tst-audit8.out): New target.
34646         (tst-audit8-ENV): New variable.
34647         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
34648         audit if l_reloc_result is NULL.
34649         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
34650         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
34651         * elf/tst-audit8.c: New file.
34653 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34655         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
34656         * misc/Makefile (CFLAGS-select.c): Define.
34657         * posix/Makefile (CFLAGS-pause.c): Define.
34659 2012-11-13  David S. Miller  <davem@davemloft.net>
34661         * crypt/Makefile: Move test targets after toplevel Rules
34662         inclusion.  Grab any necessary sysdep routines when linking.
34663         * crypt/md5.c (md5_process_block): Remove define, we will always
34664         name it __md5_process_block.
34665         (md5_finish_ctx): Update md5_process_block call.
34666         (md5_stream): Likewise.
34667         (md5_process_bytes): Likewise.
34668         (md5_process_block): Rename to __md5_process_block and move to ...
34669         * crypt/md5-block.c: ... here.
34670         * crypt/sha256.c (sha256_process_block): Move to ...
34671         * crypt/sha256-block.c: ... here.
34672         * crypt/sha512.c (sha512_process_block): Move to ...
34673         * crypt/sha512-block.c: ... here.
34674         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
34675         path.
34676         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
34677         * sysdeps/sparc/sparc64/multiarch/Makefile
34678         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
34679         crypt subdir.
34680         (localedef-aux): Add md5 crypto assembler when in locale subdir.
34681         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
34682         multiarch changes.
34683         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
34684         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
34685         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
34686         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
34687         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
34688         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
34689         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
34690         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
34691         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
34692         file.
34693         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
34694         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
34695         file.
34696         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
34698 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
34700         * timezone/tzselect.ksh: Update from tzcode git revision
34701         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
34702         * timezone/zdump.c: Likewise.
34703         * timezone/zic.c: Likewise.
34704         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
34705         in TZVERSION setting, not $(PKGVERSION).
34706         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
34707         REPORT_BUGS_TO settings.
34709         [BZ #14838]
34710         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
34711         macro.
34713 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34715         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
34716         detection to immediately after _FP_ROUND().
34717         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
34718         bits are 0.
34720 2012-11-11  David S. Miller  <davem@davemloft.net>
34722         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
34723         inttypes.h
34724         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
34725         __close rather than their public counterparts.
34727 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
34729         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
34730         file.
34731         [UNIX98] (sem_timedwait): Do not expect.
34732         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
34733         [XPG4 || UNIX98] (sockatmark): Do not expect.
34734         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
34735         (clock_getcpuclockid): Do not expect.
34736         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
34737         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
34738         Do not expect.
34739         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
34740         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
34741         [UNIX98] (vwscanf): Likewise.
34742         [UNIX98] (vswscanf): Likewise.
34744 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
34746         * timezone/version.h: Remove file.
34747         * timezone/README: Do not refer to version.h.
34748         * timezone/Makefile ($(objpfx)zic.o): New dependency on
34749         $(objpfx)version.h.
34750         ($(objpfx)zdump.o): Likewise.
34751         ($(objpfx)version.h): New target.
34753         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
34754         2012i.
34755         * timezone/README: Don't mention modification to tzselect.ksh.
34756         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
34757         work on unmodified tzselect.ksh.  Substitute version numbers in
34758         tzselect.ksh.
34760         * Makefile (format-me): Remove.
34761         (INSTALL): Adjust indentation.  Use commands directly instead of
34762         using $(format-me).
34764         * aclocal.m4 (ACX_PKGVERSION): New macro.
34765         (ACX_BUGURL): Likewise.
34766         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
34767         (PKGVERSION): New AC_DEFINE_UNQUOTED.
34768         (REPORT_BUGS_TO): Likewise.
34769         * configure: Regenerated.
34770         * config.h.in (PKGVERSION): New macro.
34771         (REPORT_BUGS_TO): Likewise.
34772         * config.make.in (PKGVERSION): New variable.
34773         (PKGVERSION_TEXI): Likewise.
34774         (REPORT_BUGS_TO): Likewise.
34775         (REPORT_BUGS_TEXI): Likewise.
34776         * Makefile (format-me): Use -I$(common-objpfx)manual.
34777         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
34778         ($(common-objpfx)manual/%): New target.
34779         (manual/%): Remove target.
34780         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
34781         (print_version): Use PKGVERSION.
34782         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
34783         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
34784         and REPORT_BUGS_TO.
34785         ($(objpfx)xtrace): Likewise.
34786         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
34787         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
34788         (print_version): Use PKGVERSION.
34789         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
34790         (do_version): Use PKGVERSION.
34791         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
34792         REPORT_BUGS_TO.
34793         (common-ldd-rewrite): Likewise.
34794         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
34795         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
34796         (print_version): Use PKGVERSION.
34797         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
34798         * elf/pldd.c (argp_program_bug_address): Remove variable.
34799         (more_help): New function.
34800         (argp): Use more_help.
34801         (print_version): Use PKGVERSION.
34802         * elf/sln.c (main): Use PKGVERSION.
34803         (usage): Use REPORT_BUGS_TO.
34804         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
34805         (top level): Use PKGVERSION.
34806         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
34807         (print_version): Use PKGVERSION.
34808         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
34809         (print_version): Use PKGVERSION.
34810         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
34811         (print_version): Use PKGVERSION.
34812         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
34813         (print_version): Use PKGVERSION.
34814         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
34815         (print_version): Use PKGVERSION.
34816         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
34817         (print_version): Use PKGVERSION.
34818         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
34819         and BUGURL.
34820         ($(objpfx)memusage): Likewise.
34821         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
34822         (do_version): Use PKGVERSION.
34823         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
34824         (print_version): Use PKGVERSION.
34825         * malloc/mtrace.pl ($PACKAGE): Remove variable.
34826         ($PKGVERSION): New variable.
34827         ($REPORT_BUGS_TO): Likewise.
34828         (usage): Use $REPORT_BUGS_TO.
34829         (top level): Use $PKGVERSION.
34830         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
34831         ($(objpfx)pkgvers.texi): New rule.
34832         ($(objpfx)stamp-pkgvers): Likewise.
34833         * manual/install.texi: Include pkgvers.texi.
34834         (--with-pkgversion): Document new configure option.
34835         (--with-bugurl): Likewise.
34836         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
34837         than necessarily for this particular distribution.  Use
34838         REPORT_BUGS_TO for where to report bugs.
34839         * INSTALL: Regenerated.
34840         * manual/libc.texinfo: Include pkgvers.texi.
34841         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
34842         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
34843         (print_version): Use PKGVERSION.
34844         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
34845         (print_version): Use PKGVERSION.
34846         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
34847         (print_version): Use PKGVERSION.
34848         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
34849         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
34850         macro.
34851         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
34852         (print_version): Use PKGVERSION.
34853         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
34854         (print_version): Use PKGVERSION.
34855         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
34856         and PKGVERSION.
34858         * timezone/checktab.awk: Update from tzcode 2012i.
34859         * timezone/ialloc.c: Likewise.
34860         * timezone/private.h: Likewise.
34861         * timezone/scheck.c: Likewise.
34862         * timezone/tzfile.h: Likewise.
34863         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
34864         (TZVERSION): Hardcode tzcode version number.
34865         * timezone/zdump.c: Update from tzcode 2012i.
34866         * timezone/zic.c: Likewise.
34867         * timezone/version.h: New file.
34868         * timezone/README: Describe version.h.  Update upstream location.
34870         [BZ #14824]
34871         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
34872         (mktemp): Enable declaration.
34873         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
34874         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
34875         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
34876         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
34877         Likewise.
34878         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
34879         Likewise.
34880         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
34881         Likewise.
34882         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
34883         Likewise.
34884         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
34885         Likewise.
34886         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
34887         Likewise.
34889         [BZ #14821]
34890         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
34891         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
34892         for copies of such integer values.
34893         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
34894         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
34896 2012-11-09  Andreas Jaeger  <aj@suse.de>
34898         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
34899         definitions and declarations that are provided by
34900         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34902 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34904         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
34905         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
34906         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
34907         definition.
34909 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
34911         * elf/elf.h: Update comment before AArch64 relocations.
34913 2012-11-07  David S. Miller  <davem@davemloft.net>
34915         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
34916         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34917         (__start_context): Declare.
34918         (__makecontext_ret): Delete.
34919         (__makecontext): Hook up __start_context instead of
34920         __makecontext_ret.
34921         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
34922         (sysdep_routines): Add __start_context when in stdlib.
34924 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34926         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
34927         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
34928         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
34929         hardcoded "nm".
34930         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
34931         (READELF): New variable.  Use it instead of hardcoded "readelf".
34933 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
34935         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
34936         * sysdeps/x86/Makefile: Here.
34937         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
34938         * sysdeps/x86/tst-xmmymm.sh: This.
34940 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
34942         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
34943         expectations.
34944         [UNIX98] (pthread_barrier_t): Do not expect.
34945         [UNIX98] (pthread_barrierattr_t): Likewise.
34946         [UNIX98] (pthread_spinlock_t): Likewise.
34947         [UNIX98] (pthread_barrier_destroy): Likewise.
34948         [UNIX98] (pthread_barrier_init): Likewise.
34949         [UNIX98] (pthread_barrier_wait): Likewise.
34950         [UNIX98] (pthread_barrierattr_destroy): Likewise.
34951         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
34952         [UNIX98] (pthread_barrierattr_init): Likewise.
34953         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
34954         [UNIX98] (pthread_getcpuclockid): Likewise.
34955         [UNIX98] (pthread_mutex_timedlock): Likewise.
34956         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
34957         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
34958         [UNIX98] (pthread_sigmask): Likewise.
34959         [UNIX98] (pthread_spin_destroy): Likewise.
34960         [UNIX98] (pthread_spin_init): Likewise.
34961         [UNIX98] (pthread_spin_lock): Likewise.
34962         [UNIX98] (pthread_spin_trylock): Likewise.
34963         [UNIX98] (pthread_spin_unlock): Likewise.
34964         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
34965         Do not expect.
34966         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
34967         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
34968         [XPG3 || XPG4] (pthread_cond_t): Likewise.
34969         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
34970         [XPG3 || XPG4] (pthread_key_t): Likewise.
34971         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
34972         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
34973         [XPG3 || XPG4] (pthread_once_t): Likewise.
34974         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
34975         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
34976         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
34977         [XPG3 || XPG4] (pthread_t): Likewise.
34979         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
34980         not expect.
34981         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
34983         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
34984         Change function return type to int.
34986         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
34987         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
34988         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
34989         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
34990         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
34991         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
34992         [!POSIX] (posix_madvise): Likewise.
34993         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
34994         && !UNIX98].
34995         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
34996         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
34997         (mode_t): Likewise.
34998         (posix_mem_offset): Likewise.
34999         (posix_typed_mem_get_info): Likewise.
35000         (posix_typed_mem_open): Likewise.
35002         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
35003         Change condition to [XOPEN2K8].
35005         * conform/conformtest.pl: Preprocess allow-header data with -x c
35006         instead of from stdin.
35007         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
35008         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
35009         [C99-based standards] (cerfc): Likewise.
35010         [C99-based standards] (cexp2): Likewise.
35011         [C99-based standards] (cexpm1): Likewise.
35012         [C99-based standards] (clog10): Likewise.
35013         [C99-based standards] (clog1p): Likewise.
35014         [C99-based standards] (clog2): Likewise.
35015         [C99-based standards] (clgamma): Likewise.
35016         [C99-based standards] (ctgamma): Likewise.
35017         [C99-based standards] (cerff): Likewise.
35018         [C99-based standards] (cerfcf): Likewise.
35019         [C99-based standards] (cexp2f): Likewise.
35020         [C99-based standards] (cexpm1f): Likewise.
35021         [C99-based standards] (clog10f): Likewise.
35022         [C99-based standards] (clog1pf): Likewise.
35023         [C99-based standards] (clog2f): Likewise.
35024         [C99-based standards] (clgammaf): Likewise.
35025         [C99-based standards] (ctgammaf): Likewise.
35026         [C99-based standards] (cerfl): Likewise.
35027         [C99-based standards] (cerfcl): Likewise.
35028         [C99-based standards] (cexp2l): Likewise.
35029         [C99-based standards] (cexpm1l): Likewise.
35030         [C99-based standards] (clog10l): Likewise.
35031         [C99-based standards] (clog1pl): Likewise.
35032         [C99-based standards] (clog2l): Likewise.
35033         [C99-based standards] (clgammal): Likewise.
35034         [C99-based standards] (ctgammal): Likewise.
35035         * conform/data/inttypes.h-data [C99-based standards]: Include
35036         stdint.h-data.  Remove all expectations for stdint.h contents.
35037         [C99-based standards] (PRI*): Do not allow.
35038         [C99-based standards] (SCN*): Likewise.
35039         [C99-based standards] (*_t): Likewise.
35040         [C99-based-standards] (PRId8): Expect macro.
35041         [C99-based-standards] (PRIi8): Likewise.
35042         [C99-based-standards] (PRIo8): Likewise.
35043         [C99-based-standards] (PRIu8): Likewise.
35044         [C99-based-standards] (PRIx8): Likewise.
35045         [C99-based-standards] (PRIX8): Likewise.
35046         [C99-based-standards] (SCNd8): Likewise.
35047         [C99-based-standards] (SCNi8): Likewise.
35048         [C99-based-standards] (SCNo8): Likewise.
35049         [C99-based-standards] (SCNu8): Likewise.
35050         [C99-based-standards] (SCNx8): Likewise.
35051         [C99-based-standards] (PRIdLEAST8): Likewise.
35052         [C99-based-standards] (PRIiLEAST8): Likewise.
35053         [C99-based-standards] (PRIoLEAST8): Likewise.
35054         [C99-based-standards] (PRIuLEAST8): Likewise.
35055         [C99-based-standards] (PRIxLEAST8): Likewise.
35056         [C99-based-standards] (PRIXLEAST8): Likewise.
35057         [C99-based-standards] (SCNdLEAST8): Likewise.
35058         [C99-based-standards] (SCNiLEAST8): Likewise.
35059         [C99-based-standards] (SCNoLEAST8): Likewise.
35060         [C99-based-standards] (SCNuLEAST8): Likewise.
35061         [C99-based-standards] (SCNxLEAST8): Likewise.
35062         [C99-based-standards] (PRIdFAST8): Likewise.
35063         [C99-based-standards] (PRIiFAST8): Likewise.
35064         [C99-based-standards] (PRIoFAST8): Likewise.
35065         [C99-based-standards] (PRIuFAST8): Likewise.
35066         [C99-based-standards] (PRIxFAST8): Likewise.
35067         [C99-based-standards] (PRIXFAST8): Likewise.
35068         [C99-based-standards] (SCNdFAST8): Likewise.
35069         [C99-based-standards] (SCNiFAST8): Likewise.
35070         [C99-based-standards] (SCNoFAST8): Likewise.
35071         [C99-based-standards] (SCNuFAST8): Likewise.
35072         [C99-based-standards] (SCNxFAST8): Likewise.
35073         [C99-based-standards] (PRId16): Likewise.
35074         [C99-based-standards] (PRIi16): Likewise.
35075         [C99-based-standards] (PRIo16): Likewise.
35076         [C99-based-standards] (PRIu16): Likewise.
35077         [C99-based-standards] (PRIx16): Likewise.
35078         [C99-based-standards] (PRIX16): Likewise.
35079         [C99-based-standards] (SCNd16): Likewise.
35080         [C99-based-standards] (SCNi16): Likewise.
35081         [C99-based-standards] (SCNo16): Likewise.
35082         [C99-based-standards] (SCNu16): Likewise.
35083         [C99-based-standards] (SCNx16): Likewise.
35084         [C99-based-standards] (PRIdLEAST16): Likewise.
35085         [C99-based-standards] (PRIiLEAST16): Likewise.
35086         [C99-based-standards] (PRIoLEAST16): Likewise.
35087         [C99-based-standards] (PRIuLEAST16): Likewise.
35088         [C99-based-standards] (PRIxLEAST16): Likewise.
35089         [C99-based-standards] (PRIXLEAST16): Likewise.
35090         [C99-based-standards] (SCNdLEAST16): Likewise.
35091         [C99-based-standards] (SCNiLEAST16): Likewise.
35092         [C99-based-standards] (SCNoLEAST16): Likewise.
35093         [C99-based-standards] (SCNuLEAST16): Likewise.
35094         [C99-based-standards] (SCNxLEAST16): Likewise.
35095         [C99-based-standards] (PRIdFAST16): Likewise.
35096         [C99-based-standards] (PRIiFAST16): Likewise.
35097         [C99-based-standards] (PRIoFAST16): Likewise.
35098         [C99-based-standards] (PRIuFAST16): Likewise.
35099         [C99-based-standards] (PRIxFAST16): Likewise.
35100         [C99-based-standards] (PRIXFAST16): Likewise.
35101         [C99-based-standards] (SCNdFAST16): Likewise.
35102         [C99-based-standards] (SCNiFAST16): Likewise.
35103         [C99-based-standards] (SCNoFAST16): Likewise.
35104         [C99-based-standards] (SCNuFAST16): Likewise.
35105         [C99-based-standards] (SCNxFAST16): Likewise.
35106         [C99-based-standards] (PRId32): Likewise.
35107         [C99-based-standards] (PRIi32): Likewise.
35108         [C99-based-standards] (PRIo32): Likewise.
35109         [C99-based-standards] (PRIu32): Likewise.
35110         [C99-based-standards] (PRIx32): Likewise.
35111         [C99-based-standards] (PRIX32): Likewise.
35112         [C99-based-standards] (SCNd32): Likewise.
35113         [C99-based-standards] (SCNi32): Likewise.
35114         [C99-based-standards] (SCNo32): Likewise.
35115         [C99-based-standards] (SCNu32): Likewise.
35116         [C99-based-standards] (SCNx32): Likewise.
35117         [C99-based-standards] (PRIdLEAST32): Likewise.
35118         [C99-based-standards] (PRIiLEAST32): Likewise.
35119         [C99-based-standards] (PRIoLEAST32): Likewise.
35120         [C99-based-standards] (PRIuLEAST32): Likewise.
35121         [C99-based-standards] (PRIxLEAST32): Likewise.
35122         [C99-based-standards] (PRIXLEAST32): Likewise.
35123         [C99-based-standards] (SCNdLEAST32): Likewise.
35124         [C99-based-standards] (SCNiLEAST32): Likewise.
35125         [C99-based-standards] (SCNoLEAST32): Likewise.
35126         [C99-based-standards] (SCNuLEAST32): Likewise.
35127         [C99-based-standards] (SCNxLEAST32): Likewise.
35128         [C99-based-standards] (PRIdFAST32): Likewise.
35129         [C99-based-standards] (PRIiFAST32): Likewise.
35130         [C99-based-standards] (PRIoFAST32): Likewise.
35131         [C99-based-standards] (PRIuFAST32): Likewise.
35132         [C99-based-standards] (PRIxFAST32): Likewise.
35133         [C99-based-standards] (PRIXFAST32): Likewise.
35134         [C99-based-standards] (SCNdFAST32): Likewise.
35135         [C99-based-standards] (SCNiFAST32): Likewise.
35136         [C99-based-standards] (SCNoFAST32): Likewise.
35137         [C99-based-standards] (SCNuFAST32): Likewise.
35138         [C99-based-standards] (SCNxFAST32): Likewise.
35139         [C99-based-standards] (PRId64): Likewise.
35140         [C99-based-standards] (PRIi64): Likewise.
35141         [C99-based-standards] (PRIo64): Likewise.
35142         [C99-based-standards] (PRIu64): Likewise.
35143         [C99-based-standards] (PRIx64): Likewise.
35144         [C99-based-standards] (PRIX64): Likewise.
35145         [C99-based-standards] (SCNd64): Likewise.
35146         [C99-based-standards] (SCNi64): Likewise.
35147         [C99-based-standards] (SCNo64): Likewise.
35148         [C99-based-standards] (SCNu64): Likewise.
35149         [C99-based-standards] (SCNx64): Likewise.
35150         [C99-based-standards] (PRIdLEAST64): Likewise.
35151         [C99-based-standards] (PRIiLEAST64): Likewise.
35152         [C99-based-standards] (PRIoLEAST64): Likewise.
35153         [C99-based-standards] (PRIuLEAST64): Likewise.
35154         [C99-based-standards] (PRIxLEAST64): Likewise.
35155         [C99-based-standards] (PRIXLEAST64): Likewise.
35156         [C99-based-standards] (SCNdLEAST64): Likewise.
35157         [C99-based-standards] (SCNiLEAST64): Likewise.
35158         [C99-based-standards] (SCNoLEAST64): Likewise.
35159         [C99-based-standards] (SCNuLEAST64): Likewise.
35160         [C99-based-standards] (SCNxLEAST64): Likewise.
35161         [C99-based-standards] (PRIdFAST64): Likewise.
35162         [C99-based-standards] (PRIiFAST64): Likewise.
35163         [C99-based-standards] (PRIoFAST64): Likewise.
35164         [C99-based-standards] (PRIuFAST64): Likewise.
35165         [C99-based-standards] (PRIxFAST64): Likewise.
35166         [C99-based-standards] (PRIXFAST64): Likewise.
35167         [C99-based-standards] (SCNdFAST64): Likewise.
35168         [C99-based-standards] (SCNiFAST64): Likewise.
35169         [C99-based-standards] (SCNoFAST64): Likewise.
35170         [C99-based-standards] (SCNuFAST64): Likewise.
35171         [C99-based-standards] (SCNxFAST64): Likewise.
35172         [C99-based-standards] (PRIdMAX): Likewise.
35173         [C99-based-standards] (PRIiMAX): Likewise.
35174         [C99-based-standards] (PRIoMAX): Likewise.
35175         [C99-based-standards] (PRIuMAX): Likewise.
35176         [C99-based-standards] (PRIxMAX): Likewise.
35177         [C99-based-standards] (PRIXMAX): Likewise.
35178         [C99-based-standards] (SCNdMAX): Likewise.
35179         [C99-based-standards] (SCNiMAX): Likewise.
35180         [C99-based-standards] (SCNoMAX): Likewise.
35181         [C99-based-standards] (SCNuMAX): Likewise.
35182         [C99-based-standards] (SCNxMAX): Likewise.
35183         [C99-based-standards] (PRIdPTR): Likewise.
35184         [C99-based-standards] (PRIiPTR): Likewise.
35185         [C99-based-standards] (PRIoPTR): Likewise.
35186         [C99-based-standards] (PRIuPTR): Likewise.
35187         [C99-based-standards] (PRIxPTR): Likewise.
35188         [C99-based-standards] (PRIXPTR): Likewise.
35189         [C99-based-standards] (SCNdPTR): Likewise.
35190         [C99-based-standards] (SCNiPTR): Likewise.
35191         [C99-based-standards] (SCNoPTR): Likewise.
35192         [C99-based-standards] (SCNuPTR): Likewise.
35193         [C99-based-standards] (SCNxPTR): Likewise.
35194         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
35195         allow.
35196         * conform/data/stdint.h-data: Update comments to clarify
35197         requirements.
35198         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
35199         type.
35200         [C99-based standards] (INT8_MAX): Likewise.
35201         [C99-based standards] (INT16_MIN): Likewise.
35202         [C99-based standards] (INT16_MAX): Likewise.
35203         [C99-based standards] (INT32_MIN): Likewise.
35204         [C99-based standards] (INT32_MAX): Likewise.
35205         [C99-based standards] (INT64_MIN): Likewise.
35206         [C99-based standards] (INT64_MAX): Likewise.
35207         [C99-based standards] (UINT8_MAX): Likewise.
35208         [C99-based standards] (UINT16_MAX): Likewise.
35209         [C99-based standards] (UINT32_MAX): Likewise.
35210         [C99-based standards] (UINT64_MAX): Likewise.
35211         [C99-based standards] (INT_LEAST8_MIN): Likewise.
35212         [C99-based standards] (INT_LEAST8_MAX): Likewise.
35213         [C99-based standards] (INT_LEAST16_MIN): Likewise.
35214         [C99-based standards] (INT_LEAST16_MAX): Likewise.
35215         [C99-based standards] (INT_LEAST32_MIN): Likewise.
35216         [C99-based standards] (INT_LEAST32_MAX): Likewise.
35217         [C99-based standards] (INT_LEAST64_MIN): Likewise.
35218         [C99-based standards] (INT_LEAST64_MAX): Likewise.
35219         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
35220         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
35221         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
35222         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
35223         [C99-based standards] (INT_FAST8_MIN): Likewise.
35224         [C99-based standards] (INT_FAST8_MAX): Likewise.
35225         [C99-based standards] (INT_FAST16_MIN): Likewise.
35226         [C99-based standards] (INT_FAST16_MAX): Likewise.
35227         [C99-based standards] (INT_FAST32_MIN): Likewise.
35228         [C99-based standards] (INT_FAST32_MAX): Likewise.
35229         [C99-based standards] (INT_FAST64_MIN): Likewise.
35230         [C99-based standards] (INT_FAST64_MAX): Likewise.
35231         [C99-based standards] (UINT_FAST8_MAX): Likewise.
35232         [C99-based standards] (UINT_FAST16_MAX): Likewise.
35233         [C99-based standards] (UINT_FAST32_MAX): Likewise.
35234         [C99-based standards] (UINT_FAST64_MAX): Likewise.
35235         [C99-based standards] (INTPTR_MIN): Likewise.
35236         [C99-based standards] (INTPTR_MAX): Likewise.
35237         [C99-based standards] (UINTPTR_MAX): Likewise.
35238         [C99-based standards] (INTMAX_MIN): Likewise.
35239         [C99-based standards] (INTMAX_MAX): Likewise.
35240         [C99-based standards] (UINTMAX_MAX): Likewise.
35241         [C99-based standards] (PTRDIFF_MIN): Likewise.
35242         [C99-based standards] (PTRDIFF_MAX): Likewise.
35243         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
35244         [C99-based standards] (SIZE_MAX): Likewise.
35245         [C99-based standards] (WCHAR_MAX): Likewise.
35246         [C99-based standards] (WINT_MAX): Likewise.
35247         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
35248         constraint on value.
35249         [C99-based standards] (WCHAR_MIN): Likewise.
35250         [C99-based standards] (WINT_MIN): Likewise.
35251         [C99-based standards] (*_t): Allow.
35252         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
35253         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
35254         Include math.h-data and complex.h-data.  Remove all expectations
35255         of math.h and complex.h contents.
35256         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
35257         at end of line.
35258         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
35259         (struct tm): Expect tag.
35260         [C99-based-standards] (wcstof): Expect function.
35261         [C99-based-standards] (wcstold): Likewise.
35262         [C99-based-standards] (wcstoll): Likewise.
35263         [C99-based-standards] (wcstoull): Likewise.
35264         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
35265         macro-int-constant.  Specify type.
35266         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
35267         constraint on value.
35268         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35269         Specify type.
35270         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
35271         Specify value.
35272         [ISO C standards]: Do not allow headers.
35273         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
35274         wcs[abcdefghijklmnopqrstuvwxyz]*.
35275         [ISO C standards] (*_t): Do not allow.
35276         * conform/data/wctype.h-data [C99-based standards] (iswblank):
35277         Expect function.
35278         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
35279         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
35280         Specify type.
35281         [ISO C standards]: Do not allow headers.
35282         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
35283         is[abcdefghijklmnopqrstuvwxyz]*.
35284         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
35285         to[abcdefghijklmnopqrstuvwxyz]*.
35286         [ISO C standards] (*_t): Do not allow.
35287         * conform/data/stdalign.h-data: New file.
35288         * conform/data/stdbool.h-data: Likewise.
35289         * conform/data/stdnoreturn.h-data: Likewise.
35291 2012-11-07  Roland McGrath  <roland@hack.frob.com>
35293         [BZ #14815]
35294         * manual/filesys.texi (Directory Entries): Typo fix.
35295         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
35297 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
35299         * elf/elf.h (EM_AARCH64): New macro.
35300         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
35301         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
35302         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
35303         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
35304         (R_AARCH64_TLSDESC): Likewise.
35305         (NT_ARM_TLS): Likewise.
35306         (NT_ARM_HW_BREAK): Likewise.
35307         (NT_ARM_HW_WATCH): Likewise.
35309 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35311         [BZ #14811]
35312         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
35313         (__ieee754_powl): Saturate nonzero exponents with absolute value
35314         below 0x1p-79 to +/- 0x1p-79.
35315         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
35316         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
35317         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
35318         nonzero exponents with absolute value below 0x1p-32 to +/-
35319         0x1p-32.
35320         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
35321         (__ieee754_powl): Saturate nonzero exponents with absolute value
35322         below 0x1p-79 to +/- 0x1p-79.
35323         * math/libm-test.inc (pow_test): Add more tests.
35325 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35327         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
35328         _dl_s390_cap_flags with kernel. Increase string length.
35329         (_dl_s390_platforms): Add z196 and zEC12.
35331 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
35333         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
35334         Change XOPEN21K to XOPEN2K.
35336 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
35338         * string/memmove.c: Use memcpy when possible.
35340 2012-11-06  Andreas Jaeger  <aj@suse.de>
35342         * po/eo.po: Update from translation team.
35344 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
35346         [BZ #14793]
35347         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
35348         exponent and small x and y exponents, scale x or y up.  Increase
35349         by 2 the exponent used in scaling up.
35350         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35351         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35352         * math/libm-test.inc (fma_test): Add more tests.
35353         (fma_test_towardzero): Likewise.
35354         (fma_test_downward): Likewise.
35355         (fma_test_upward): Likewise.
35357 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
35359         [BZ #14805]
35360         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
35361         fenv_t *.
35363         [BZ #14801]
35364         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
35365         namespace for names of struct fields.
35366         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
35367         fenv_t fields.
35368         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
35369         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
35371 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35373         [BZ #3665]
35374         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
35376 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35378         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
35379         PTR_DEMANGLE.
35381         [BZ #5246]
35382         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
35383         PTR_DEMANGLE.
35385 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
35387         [BZ #14797]
35388         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
35389         definitely overflow as x * y not x * y + z.
35390         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35391         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35392         * math/libm-test.inc (fma_test): Add more tests.
35393         (fma_test_towardzero): Likewise.
35394         (fma_test_downward): Likewise.
35395         (fma_test_upward): Likewise.
35397 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
35399         [BZ #157]
35401         * include/stub-tag.h: Remove file.
35402         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
35403         '#include' of it.
35404         * manual/maint.texi (Porting): Don't reference it.
35405         * Makerules ($(objpfx)stubs): Likewise.
35406         * dirent/closedir.c: Don't include <stub-tag.h>.
35407         * dirent/dirfd.c: Likewise.
35408         * dirent/fdopendir.c: Likewise.
35409         * dirent/getdents.c: Likewise.
35410         * dirent/getdents64.c: Likewise.
35411         * dirent/opendir.c: Likewise.
35412         * dirent/readdir.c: Likewise.
35413         * dirent/readdir64.c: Likewise.
35414         * dirent/readdir64_r.c: Likewise.
35415         * dirent/readdir_r.c: Likewise.
35416         * dirent/rewinddir.c: Likewise.
35417         * dirent/seekdir.c: Likewise.
35418         * dirent/telldir.c: Likewise.
35419         * gmon/profil.c: Likewise.
35420         * grp/setgroups.c: Likewise.
35421         * inet/if_index.c: Likewise.
35422         * io/access.c: Likewise.
35423         * io/chdir.c: Likewise.
35424         * io/chmod.c: Likewise.
35425         * io/chown.c: Likewise.
35426         * io/close.c: Likewise.
35427         * io/dup.c: Likewise.
35428         * io/dup2.c: Likewise.
35429         * io/dup3.c: Likewise.
35430         * io/euidaccess.c: Likewise.
35431         * io/faccessat.c: Likewise.
35432         * io/fchdir.c: Likewise.
35433         * io/fchmod.c: Likewise.
35434         * io/fchmodat.c: Likewise.
35435         * io/fchown.c: Likewise.
35436         * io/fchownat.c: Likewise.
35437         * io/fcntl.c: Likewise.
35438         * io/flock.c: Likewise.
35439         * io/fstatfs.c: Likewise.
35440         * io/fstatfs64.c: Likewise.
35441         * io/fstatvfs.c: Likewise.
35442         * io/fstatvfs64.c: Likewise.
35443         * io/futimens.c: Likewise.
35444         * io/fxstat.c: Likewise.
35445         * io/fxstat64.c: Likewise.
35446         * io/fxstatat.c: Likewise.
35447         * io/fxstatat64.c: Likewise.
35448         * io/getcwd.c: Likewise.
35449         * io/isatty.c: Likewise.
35450         * io/lchmod.c: Likewise.
35451         * io/lchown.c: Likewise.
35452         * io/link.c: Likewise.
35453         * io/linkat.c: Likewise.
35454         * io/lseek.c: Likewise.
35455         * io/lseek64.c: Likewise.
35456         * io/lxstat64.c: Likewise.
35457         * io/mkdir.c: Likewise.
35458         * io/mkdirat.c: Likewise.
35459         * io/mkfifo.c: Likewise.
35460         * io/mkfifoat.c: Likewise.
35461         * io/open.c: Likewise.
35462         * io/open64.c: Likewise.
35463         * io/openat.c: Likewise.
35464         * io/openat64.c: Likewise.
35465         * io/pipe.c: Likewise.
35466         * io/pipe2.c: Likewise.
35467         * io/poll.c: Likewise.
35468         * io/posix_fadvise.c: Likewise.
35469         * io/posix_fadvise64.c: Likewise.
35470         * io/posix_fallocate.c: Likewise.
35471         * io/posix_fallocate64.c: Likewise.
35472         * io/read.c: Likewise.
35473         * io/readlink.c: Likewise.
35474         * io/readlinkat.c: Likewise.
35475         * io/rmdir.c: Likewise.
35476         * io/sendfile.c: Likewise.
35477         * io/sendfile64.c: Likewise.
35478         * io/statfs.c: Likewise.
35479         * io/statfs64.c: Likewise.
35480         * io/statvfs.c: Likewise.
35481         * io/statvfs64.c: Likewise.
35482         * io/symlink.c: Likewise.
35483         * io/symlinkat.c: Likewise.
35484         * io/ttyname.c: Likewise.
35485         * io/ttyname_r.c: Likewise.
35486         * io/umask.c: Likewise.
35487         * io/unlink.c: Likewise.
35488         * io/unlinkat.c: Likewise.
35489         * io/utime.c: Likewise.
35490         * io/utimensat.c: Likewise.
35491         * io/write.c: Likewise.
35492         * io/xmknod.c: Likewise.
35493         * io/xmknodat.c: Likewise.
35494         * io/xstat.c: Likewise.
35495         * io/xstat64.c: Likewise.
35496         * login/getpt.c: Likewise.
35497         * login/grantpt.c: Likewise.
35498         * login/unlockpt.c: Likewise.
35499         * math/e_acoshl.c: Likewise.
35500         * math/e_acosl.c: Likewise.
35501         * math/e_asinl.c: Likewise.
35502         * math/e_atan2l.c: Likewise.
35503         * math/e_atanhl.c: Likewise.
35504         * math/e_coshl.c: Likewise.
35505         * math/e_expl.c: Likewise.
35506         * math/e_fmodl.c: Likewise.
35507         * math/e_gammal_r.c: Likewise.
35508         * math/e_hypotl.c: Likewise.
35509         * math/e_j0l.c: Likewise.
35510         * math/e_j1l.c: Likewise.
35511         * math/e_jnl.c: Likewise.
35512         * math/e_lgammal_r.c: Likewise.
35513         * math/e_log10l.c: Likewise.
35514         * math/e_log2l.c: Likewise.
35515         * math/e_logl.c: Likewise.
35516         * math/e_powl.c: Likewise.
35517         * math/e_rem_pio2l.c: Likewise.
35518         * math/e_sinhl.c: Likewise.
35519         * math/e_sqrtl.c: Likewise.
35520         * math/fclrexcpt.c: Likewise.
35521         * math/fedisblxcpt.c: Likewise.
35522         * math/feenablxcpt.c: Likewise.
35523         * math/fegetenv.c: Likewise.
35524         * math/fegetexcept.c: Likewise.
35525         * math/fegetround.c: Likewise.
35526         * math/feholdexcpt.c: Likewise.
35527         * math/fesetenv.c: Likewise.
35528         * math/fesetround.c: Likewise.
35529         * math/feupdateenv.c: Likewise.
35530         * math/fgetexcptflg.c: Likewise.
35531         * math/fraiseexcpt.c: Likewise.
35532         * math/fsetexcptflg.c: Likewise.
35533         * math/ftestexcept.c: Likewise.
35534         * math/k_cosl.c: Likewise.
35535         * math/k_rem_pio2l.c: Likewise.
35536         * math/k_sinl.c: Likewise.
35537         * math/k_tanl.c: Likewise.
35538         * math/s_asinhl.c: Likewise.
35539         * math/s_atanl.c: Likewise.
35540         * math/s_cbrtl.c: Likewise.
35541         * math/s_erfl.c: Likewise.
35542         * math/s_expm1l.c: Likewise.
35543         * math/s_log1pl.c: Likewise.
35544         * math/s_tanhl.c: Likewise.
35545         * misc/acct.c: Likewise.
35546         * misc/brk.c: Likewise.
35547         * misc/chflags.c: Likewise.
35548         * misc/chroot.c: Likewise.
35549         * misc/fchflags.c: Likewise.
35550         * misc/fgetxattr.c: Likewise.
35551         * misc/flistxattr.c: Likewise.
35552         * misc/fremovexattr.c: Likewise.
35553         * misc/fsetxattr.c: Likewise.
35554         * misc/fsync.c: Likewise.
35555         * misc/ftruncate.c: Likewise.
35556         * misc/futimes.c: Likewise.
35557         * misc/futimesat.c: Likewise.
35558         * misc/getdomain.c: Likewise.
35559         * misc/getdtsz.c: Likewise.
35560         * misc/gethostid.c: Likewise.
35561         * misc/gethostname.c: Likewise.
35562         * misc/getloadavg.c: Likewise.
35563         * misc/getpagesize.c: Likewise.
35564         * misc/getsysstats.c: Likewise.
35565         * misc/getxattr.c: Likewise.
35566         * misc/gtty.c: Likewise.
35567         * misc/ioctl.c: Likewise.
35568         * misc/lgetxattr.c: Likewise.
35569         * misc/listxattr.c: Likewise.
35570         * misc/llistxattr.c: Likewise.
35571         * misc/lremovexattr.c: Likewise.
35572         * misc/lsetxattr.c: Likewise.
35573         * misc/lutimes.c: Likewise.
35574         * misc/madvise.c: Likewise.
35575         * misc/mincore.c: Likewise.
35576         * misc/mlock.c: Likewise.
35577         * misc/mlockall.c: Likewise.
35578         * misc/mmap.c: Likewise.
35579         * misc/mprotect.c: Likewise.
35580         * misc/msync.c: Likewise.
35581         * misc/munlock.c: Likewise.
35582         * misc/munlockall.c: Likewise.
35583         * misc/munmap.c: Likewise.
35584         * misc/preadv.c: Likewise.
35585         * misc/preadv64.c: Likewise.
35586         * misc/ptrace.c: Likewise.
35587         * misc/pwritev.c: Likewise.
35588         * misc/pwritev64.c: Likewise.
35589         * misc/readv.c: Likewise.
35590         * misc/reboot.c: Likewise.
35591         * misc/remap_file_pages.c: Likewise.
35592         * misc/removexattr.c: Likewise.
35593         * misc/revoke.c: Likewise.
35594         * misc/select.c: Likewise.
35595         * misc/setdomain.c: Likewise.
35596         * misc/setegid.c: Likewise.
35597         * misc/seteuid.c: Likewise.
35598         * misc/sethostid.c: Likewise.
35599         * misc/sethostname.c: Likewise.
35600         * misc/setregid.c: Likewise.
35601         * misc/setreuid.c: Likewise.
35602         * misc/setxattr.c: Likewise.
35603         * misc/sstk.c: Likewise.
35604         * misc/stty.c: Likewise.
35605         * misc/swapoff.c: Likewise.
35606         * misc/swapon.c: Likewise.
35607         * misc/sync.c: Likewise.
35608         * misc/syncfs.c: Likewise.
35609         * misc/syscall.c: Likewise.
35610         * misc/truncate.c: Likewise.
35611         * misc/ualarm.c: Likewise.
35612         * misc/usleep.c: Likewise.
35613         * misc/ustat.c: Likewise.
35614         * misc/utimes.c: Likewise.
35615         * misc/vhangup.c: Likewise.
35616         * misc/writev.c: Likewise.
35617         * posix/_exit.c: Likewise.
35618         * posix/alarm.c: Likewise.
35619         * posix/execve.c: Likewise.
35620         * posix/fexecve.c: Likewise.
35621         * posix/fork.c: Likewise.
35622         * posix/fpathconf.c: Likewise.
35623         * posix/getaddrinfo.c: Likewise.
35624         * posix/getegid.c: Likewise.
35625         * posix/geteuid.c: Likewise.
35626         * posix/getgid.c: Likewise.
35627         * posix/getgroups.c: Likewise.
35628         * posix/getlogin.c: Likewise.
35629         * posix/getlogin_r.c: Likewise.
35630         * posix/getpgid.c: Likewise.
35631         * posix/getpid.c: Likewise.
35632         * posix/getppid.c: Likewise.
35633         * posix/getresgid.c: Likewise.
35634         * posix/getresuid.c: Likewise.
35635         * posix/getsid.c: Likewise.
35636         * posix/getuid.c: Likewise.
35637         * posix/glob64.c: Likewise.
35638         * posix/nanosleep.c: Likewise.
35639         * posix/pathconf.c: Likewise.
35640         * posix/pause.c: Likewise.
35641         * posix/posix_madvise.c: Likewise.
35642         * posix/pread.c: Likewise.
35643         * posix/pread64.c: Likewise.
35644         * posix/pwrite.c: Likewise.
35645         * posix/pwrite64.c: Likewise.
35646         * posix/sched_getaffinity.c: Likewise.
35647         * posix/sched_getp.c: Likewise.
35648         * posix/sched_gets.c: Likewise.
35649         * posix/sched_primax.c: Likewise.
35650         * posix/sched_primin.c: Likewise.
35651         * posix/sched_rr_gi.c: Likewise.
35652         * posix/sched_setaffinity.c: Likewise.
35653         * posix/sched_setp.c: Likewise.
35654         * posix/sched_sets.c: Likewise.
35655         * posix/sched_yield.c: Likewise.
35656         * posix/setgid.c: Likewise.
35657         * posix/setlogin.c: Likewise.
35658         * posix/setpgid.c: Likewise.
35659         * posix/setresgid.c: Likewise.
35660         * posix/setresuid.c: Likewise.
35661         * posix/setsid.c: Likewise.
35662         * posix/setuid.c: Likewise.
35663         * posix/sleep.c: Likewise.
35664         * posix/spawni.c: Likewise.
35665         * posix/sysconf.c: Likewise.
35666         * posix/times.c: Likewise.
35667         * posix/wait.c: Likewise.
35668         * posix/wait3.c: Likewise.
35669         * posix/wait4.c: Likewise.
35670         * posix/waitpid.c: Likewise.
35671         * resolv/gai_sigqueue.c: Likewise.
35672         * resource/getpriority.c: Likewise.
35673         * resource/getrlimit.c: Likewise.
35674         * resource/getrusage.c: Likewise.
35675         * resource/nice.c: Likewise.
35676         * resource/setpriority.c: Likewise.
35677         * resource/setrlimit.c: Likewise.
35678         * resource/ulimit.c: Likewise.
35679         * rt/aio_cancel.c: Likewise.
35680         * rt/aio_fsync.c: Likewise.
35681         * rt/aio_read.c: Likewise.
35682         * rt/aio_sigqueue.c: Likewise.
35683         * rt/aio_suspend.c: Likewise.
35684         * rt/aio_write.c: Likewise.
35685         * rt/clock_getres.c: Likewise.
35686         * rt/clock_gettime.c: Likewise.
35687         * rt/clock_nanosleep.c: Likewise.
35688         * rt/clock_settime.c: Likewise.
35689         * rt/lio_listio.c: Likewise.
35690         * rt/mq_close.c: Likewise.
35691         * rt/mq_getattr.c: Likewise.
35692         * rt/mq_notify.c: Likewise.
35693         * rt/mq_open.c: Likewise.
35694         * rt/mq_receive.c: Likewise.
35695         * rt/mq_send.c: Likewise.
35696         * rt/mq_setattr.c: Likewise.
35697         * rt/mq_timedreceive.c: Likewise.
35698         * rt/mq_timedsend.c: Likewise.
35699         * rt/mq_unlink.c: Likewise.
35700         * rt/shm_open.c: Likewise.
35701         * rt/shm_unlink.c: Likewise.
35702         * rt/timer_create.c: Likewise.
35703         * rt/timer_delete.c: Likewise.
35704         * rt/timer_getoverr.c: Likewise.
35705         * rt/timer_gettime.c: Likewise.
35706         * rt/timer_settime.c: Likewise.
35707         * setjmp/__longjmp.c: Likewise.
35708         * setjmp/setjmp.c: Likewise.
35709         * signal/kill.c: Likewise.
35710         * signal/killpg.c: Likewise.
35711         * signal/raise.c: Likewise.
35712         * signal/sigaction.c: Likewise.
35713         * signal/sigaltstack.c: Likewise.
35714         * signal/sigblock.c: Likewise.
35715         * signal/sigignore.c: Likewise.
35716         * signal/sigintr.c: Likewise.
35717         * signal/signal.c: Likewise.
35718         * signal/sigpause.c: Likewise.
35719         * signal/sigpending.c: Likewise.
35720         * signal/sigqueue.c: Likewise.
35721         * signal/sigreturn.c: Likewise.
35722         * signal/sigset.c: Likewise.
35723         * signal/sigsetmask.c: Likewise.
35724         * signal/sigstack.c: Likewise.
35725         * signal/sigsuspend.c: Likewise.
35726         * signal/sigtimedwait.c: Likewise.
35727         * signal/sigvec.c: Likewise.
35728         * signal/sigwait.c: Likewise.
35729         * signal/sigwaitinfo.c: Likewise.
35730         * signal/sysv_signal.c: Likewise.
35731         * socket/accept.c: Likewise.
35732         * socket/accept4.c: Likewise.
35733         * socket/bind.c: Likewise.
35734         * socket/connect.c: Likewise.
35735         * socket/getpeername.c: Likewise.
35736         * socket/getsockname.c: Likewise.
35737         * socket/getsockopt.c: Likewise.
35738         * socket/isfdtype.c: Likewise.
35739         * socket/listen.c: Likewise.
35740         * socket/recv.c: Likewise.
35741         * socket/recvfrom.c: Likewise.
35742         * socket/recvmsg.c: Likewise.
35743         * socket/send.c: Likewise.
35744         * socket/sendmsg.c: Likewise.
35745         * socket/sendto.c: Likewise.
35746         * socket/setsockopt.c: Likewise.
35747         * socket/shutdown.c: Likewise.
35748         * socket/sockatmark.c: Likewise.
35749         * socket/socket.c: Likewise.
35750         * socket/socketpair.c: Likewise.
35751         * stdio-common/ctermid.c: Likewise.
35752         * stdio-common/cuserid.c: Likewise.
35753         * stdio-common/remove.c: Likewise.
35754         * stdio-common/rename.c: Likewise.
35755         * stdio-common/renameat.c: Likewise.
35756         * stdio-common/tempname.c: Likewise.
35757         * stdlib/getcontext.c: Likewise.
35758         * stdlib/makecontext.c: Likewise.
35759         * stdlib/setcontext.c: Likewise.
35760         * stdlib/swapcontext.c: Likewise.
35761         * stdlib/system.c: Likewise.
35762         * streams/fattach.c: Likewise.
35763         * streams/fdetach.c: Likewise.
35764         * streams/getmsg.c: Likewise.
35765         * streams/getpmsg.c: Likewise.
35766         * streams/putmsg.c: Likewise.
35767         * streams/putpmsg.c: Likewise.
35768         * sysdeps/unix/bsd/getpt.c: Likewise.
35769         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
35770         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
35771         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
35772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35773         Likewise.
35774         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
35775         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35776         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
35777         * sysvipc/msgctl.c: Likewise.
35778         * sysvipc/msgget.c: Likewise.
35779         * sysvipc/msgrcv.c: Likewise.
35780         * sysvipc/msgsnd.c: Likewise.
35781         * sysvipc/semctl.c: Likewise.
35782         * sysvipc/semget.c: Likewise.
35783         * sysvipc/semop.c: Likewise.
35784         * sysvipc/semtimedop.c: Likewise.
35785         * sysvipc/shmat.c: Likewise.
35786         * sysvipc/shmctl.c: Likewise.
35787         * sysvipc/shmdt.c: Likewise.
35788         * sysvipc/shmget.c: Likewise.
35789         * termios/tcdrain.c: Likewise.
35790         * termios/tcflow.c: Likewise.
35791         * termios/tcflush.c: Likewise.
35792         * termios/tcgetattr.c: Likewise.
35793         * termios/tcgetpgrp.c: Likewise.
35794         * termios/tcsendbrk.c: Likewise.
35795         * termios/tcsetattr.c: Likewise.
35796         * termios/tcsetpgrp.c: Likewise.
35797         * time/adjtime.c: Likewise.
35798         * time/clock.c: Likewise.
35799         * time/getitimer.c: Likewise.
35800         * time/gettimeofday.c: Likewise.
35801         * time/setitimer.c: Likewise.
35802         * time/settimeofday.c: Likewise.
35803         * time/stime.c: Likewise.
35804         * time/time.c: Likewise.
35806 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
35808         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
35809         /usr/old/bin.
35811         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
35812         instead of spaces.
35813         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
35815 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
35817         [BZ #14796]
35818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
35819         FE_TONEAREST before applying Dekker multiplication and Knuth
35820         addition.  Clear inexact exceptions and check for exact zero
35821         results afterwards.
35822         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
35823         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35824         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35825         * math/libm-test.inc (fma_test): Add more tests.
35826         (fma_test_towardzero): Likewise.
35827         (fma_test_downward): Likewise.
35828         (fma_test_upward): Likewise.
35829         * sysdeps/generic/math_private.h (default_libc_fesetround): New
35830         function.
35831         (libc_fesetround): New macro.
35832         (libc_fesetroundf): Likewise.
35833         (libc_fesetroundl): Likewise.
35834         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
35835         function.
35836         (libc_fesetround_387): Likewise.
35837         (libc_fesetroundf): New macro.
35838         (libc_fesetround): Likewise.
35839         (libc_fesetroundl): Likewise.
35840         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
35841         function.
35842         (libc_fesetroundf): New macro.
35843         (libc_fesetround): Likewise.
35844         (libc_fesetroundl): Likewise.
35845         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
35846         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
35847         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
35848         libm_hidden_ver.
35849         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
35850         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
35851         libm_hidden_def.
35852         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
35853         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
35854         libm_hidden_ver.
35855         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
35856         libm_hidden_def.
35858         [BZ #3439]
35859         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
35860         integer constant usable in #if and use that to give value to enum
35861         constant.
35862         (FE_DIVBYZERO): Likewise.
35863         (FE_UNDERFLOW): Likewise.
35864         (FE_OVERFLOW): Likewise.
35865         (FE_INVALID): Likewise.
35866         (FE_INVALID_SNAN): Likewise.
35867         (FE_INVALID_ISI): Likewise.
35868         (FE_INVALID_IDI): Likewise.
35869         (FE_INVALID_ZDZ): Likewise.
35870         (FE_INVALID_IMZ): Likewise.
35871         (FE_INVALID_COMPARE): Likewise.
35872         (FE_INVALID_SOFTWARE): Likewise.
35873         (FE_INVALID_SQRT): Likewise.
35874         (FE_INVALID_INTEGER_CONVERSION): Likewise.
35875         (FE_TONEAREST): Likewise.
35876         (FE_TOWARDZERO): Likewise.
35877         (FE_UPWARD): Likewise.
35878         (FE_DOWNWARD): Likewise.
35879         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
35880         (FE_DIVBYZERO): Likewise.
35881         (FE_OVERFLOW): Likewise.
35882         (FE_UNDERFLOW): Likewise.
35883         (FE_INEXACT): Likewise.
35884         (FE_TONEAREST): Likewise.
35885         (FE_DOWNWARD): Likewise.
35886         (FE_UPWARD): Likewise.
35887         (FE_TOWARDZERO): Likewise.
35888         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
35889         (FE_UNDERFLOW): Likewise.
35890         (FE_OVERFLOW): Likewise.
35891         (FE_DIVBYZERO): Likewise.
35892         (FE_INVALID): Likewise.
35893         (FE_TONEAREST): Likewise.
35894         (FE_TOWARDZERO): Likewise.
35895         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
35896         (FE_OVERFLOW): Likewise.
35897         (FE_UNDERFLOW): Likewise.
35898         (FE_DIVBYZERO): Likewise.
35899         (FE_INEXACT): Likewise.
35900         (FE_TONEAREST): Likewise.
35901         (FE_TOWARDZERO): Likewise.
35902         (FE_UPWARD): Likewise.
35903         (FE_DOWNWARD): Likewise.
35904         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
35905         (FE_DIVBYZERO): Likewise.
35906         (FE_OVERFLOW): Likewise.
35907         (FE_UNDERFLOW): Likewise.
35908         (FE_INEXACT): Likewise.
35909         (FE_TONEAREST): Likewise.
35910         (FE_DOWNWARD): Likewise.
35911         (FE_UPWARD): Likewise.
35912         (FE_TOWARDZERO): Likewise.
35914 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
35916         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
35918 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
35920         * scripts/cross-test-ssh.sh (command): Use newlines to separate
35921         commands.  Quote $PWD.
35922         (blacklist_exports): Don't use remove_newlines.  Replace "declare
35923         -x" by "export".
35924         (remove_newlines): Remove.
35926 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
35928         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
35929         * stdlib/stdlib.h (atof): Moved to ...
35930         * include/bits/stdlib-float.h: Here.  New file.
35931         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
35932         * stdlib/bits/stdlib-float.h: New file.
35933         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
35934         -mno-sse -mno-mmx.
35935         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
35936         <xmmintrin.h>.
35938 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35940         * conform/conformtest.pl (@headers): Add fenv.h.
35941         * conform/data/fenv.h-data: New file.
35942         * include/fenv.h [_ISOMAC]: Disable all contents of file except
35943         include of <math/fenv.h>.
35945         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
35946         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
35947         && !UNIX98].  Enables tests for XOPEN2K8.
35948         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
35949         POSIX2008]: Likewise.
35951         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
35952         (struct rusage): Do not expect type or its members.
35954         [BZ #3439]
35955         * math/math.h (FP_NAN): Define macro to integer constant usable in
35956         #if and use that to give value to enum constant.
35957         (FP_INFINITE): Likewise.
35958         (FP_ZERO): Likewise.
35959         (FP_SUBNORMAL): Likewise.
35960         (FP_NORMAL): Likewise.
35962 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
35964         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
35965         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
35966         arguments.
35968 2012-11-02  Roland McGrath  <roland@hack.frob.com>
35970         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
35971         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
35972         autoconf-time if not.
35973         * configure.in: Remove AC_PREREQ.
35975 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35977         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
35978         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
35979         of the internal implementation.
35981 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
35983         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
35984         except include of <misc/sys/syslog.h>.
35986 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
35988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
35989         function returns with a NULL context exit with zero.
35991 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35993         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
35995 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
35997         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
35998         (run_program_cmd): This.
35999         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
36000         (tst_langinfo): New variable.  Use it.
36002 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
36004         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
36005         floating point opcodes.
36007 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36009         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
36010         variable.
36012         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
36014         * sysdeps/mach/hurd/powerpc: Remove directory.
36015         * sysdeps/mach/powerpc: Likewise.
36017 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
36019         * scripts/check-local-headers.sh: Ignore c++ headers.
36021 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36023         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
36024         __libc_cleanup_region_start argument.
36026 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
36028         [BZ #14784]
36029         [BZ #14785]
36030         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
36031         x * y using scaling, not as x * y + z.
36032         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36033         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36034         * math/libm-test.inc (fma_test): Add more tests.
36035         (fma_test_towardzero): Likewise.
36036         (fma_test_downward): Likewise.
36037         (fma_test_upward): Likewise.
36039 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
36041         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
36043 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36045         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
36046         New variable.
36048 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
36050         * rt/tst-shm.c (worker): Correct checking for mmap failure.
36052 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36054         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36055         Fix sort order.
36056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36057         Likewise.
36059 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
36061         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36062         Fix the order of the list for glibc 2.17.
36063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36064         Likewise.
36066 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
36068         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36070 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
36072         [BZ #14610]
36073         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
36074         for low part of x being zero before using __atanl (y).
36075         * math/libm-test.inc (atan2_test): Add another test.
36077         * manual/install.texi (Configuring and compiling): Document
36078         general use of test-wrapper and test-wrapper-env.
36079         * INSTALL: Regenerated.
36081         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
36082         (__fma): Do not extract and scale down low bits on after-rounding
36083         systems when result rounded to normal precision would have normal
36084         exponent.
36085         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
36086         (__fmal): Do not extract and scale down low bits on after-rounding
36087         systems when result rounded to normal precision would have normal
36088         exponent.
36089         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
36090         (__fmal): Do not extract and scale down low bits on after-rounding
36091         systems when result rounded to normal precision would have normal
36092         exponent.
36093         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
36094         macro.
36095         (fma_test): Add more tests.
36096         (fma_test_towardzero): Likewise.
36097         (fma_test_downward): Likewise.
36098         (fma_test_upward): Likewise.
36100 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
36102         * sysdeps/i386/tininess.h: Renamed to ...
36103         * sysdeps/x86/tininess.h: This.
36104         * sysdeps/x86_64/tininess.h: Removed.
36106 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
36108         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
36109         input.  Use $(build-program-cmd).
36110         ($(objpfx)tst-array1-static.out): Likewise.
36111         ($(objpfx)tst-array2.out): Likewise.
36112         ($(objpfx)tst-array3.out): Likewise.
36113         ($(objpfx)tst-array4.out): Likewise.
36114         ($(objpfx)tst-array5.out): Likewise.
36115         ($(objpfx)tst-array5-static.out): Likewise.
36117 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
36119         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
36120         if defined.
36122         * nss/nsswitch.h (nss_interface_function): Provide new
36123         macro for use with NSS functions.
36124         * grp/initgroups.c: Use new macro.
36125         * nss/getXXbyYY.c: Likewise.
36126         * nss/getXXbyYY_r.c: Likewise.
36127         * nss/getXXent.c: Likewise.
36128         * nss/getXXent_r.c: Likewise.
36129         * sysdeps/posix/getaddrinfo.c: Likewise.
36131 2012-10-30  Andreas Jaeger  <aj@suse.de>
36133         * po/ru.po: Update Russion translation from translation project.
36135 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
36137         [BZ #14152]
36138         [BZ #14783]
36139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
36140         result and shift together with sticky bit instead of replicating
36141         round-to-nearest rounding.
36142         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36143         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36144         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
36145         missing underflow exceptions.
36146         (fma_test_towardzero): Add more tests.
36147         (fma_test_downward): Likewise.
36148         (fma_test_upward): Likewise.
36150         [BZ #14047]
36151         * sysdeps/generic/tininess.h: New file.
36152         * sysdeps/i386/tininess.h: Likewise.
36153         * sysdeps/sh/tininess.h: Likewise.
36154         * sysdeps/x86_64/tininess.h: Likewise.
36155         * stdlib/tst-strtod-underflow.c: Likewise.
36156         * stdlib/tst-tininess.c: Likewise.
36157         * stdlib/strtod_l.c: Include <tininess.h>.
36158         (round_and_return): Do not set errno for exact underflow cases.
36159         Force an underflow exception when setting errno for underflow.
36160         Determine underflow based on rounding to normal precision if
36161         TININESS_AFTER_ROUNDING.
36162         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
36163         ERANGE for exact underflow cases.
36164         * stdlib/Makefile (tests): Add tst-tininess and
36165         tst-strtod-underflow.
36166         ($(objpfx)tst-tininess): Use $(link-libm).
36167         ($(objpfx)tst-strtod-underflow): Likewise.
36169 2012-10-30  Andreas Jaeger  <aj@suse.de>
36171         [BZ#14767]
36172         * elf/Makefile (tests): Remove conditional for have-initfini-array
36173         since this is now always required and the variable does not exist
36174         anymore.
36175         (tests-static): Likewise.
36176         (modules-names): Likewise.
36178         * po/eo.po: Add Esperanto translation from translation project.
36180         * elf/tst-array1.c (fini_array): Make writeable so that it can be
36181         merged with constructor/destructor.
36182         (init_array): Likewise.
36183         * elf/tst-array2dep.c (fini_array): Likewise.
36184         (init_array): Likewise.
36186 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
36188         * manual/message.texi: Delete @cartouche tags.
36190 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
36192         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
36193         EOPNOTSUPP.
36194         * sysdeps/mach/hurd/fsync.c: Likewise.
36196         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
36197         [_POSIX_REALTIME_SIGNALS]: Change condition to
36198         [_POSIX_REALTIME_SIGNALS > 0].
36200 2012-10-27  Andreas Jaeger  <aj@suse.de>
36202         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
36203         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
36204         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
36205         [__WORDSIZE != 64]: Likewise.
36207 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
36209         *  iconvdata/tst-table.sh: Remove ${SHELL}.
36210         *  iconvdata/tst-tables.sh: Likewise.
36212 2012-10-25  David S. Miller  <davem@davemloft.net>
36214         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36215         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
36216         of strtoull.
36218         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
36219         ifunc-impl-list.c
36220         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36221         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
36222         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
36223         file.
36225 2012-10-25  Roland McGrath  <roland@hack.frob.com>
36227         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36228         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
36229         __getdirentries.
36231 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36232             Jim Blandy  <jimb@codesourcery.com>
36234         * scripts/cross-test-ssh.sh: New file.
36235         * manual/install.texi (Configuring and compiling): Document use of
36236         cross-test-ssh.sh.
36237         * INSTALL: Regenerated.
36239 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
36241         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
36242         EOPNOTSUPP.
36244 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
36246         * Makeconfig (run-program-prefix): Fix comment.
36248 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36249             Jim Blandy  <jimb@codesourcery.com>
36251         * Makeconfig (test-wrapper): New variable,
36252         (test-wrapper-env): Likewise.
36253         [$(cross-compiling) = yes && $(test-wrapper) != ""]
36254         (run-built-tests): Define to yes.
36255         (run-program-prefix): Use $(test-wrapper).
36256         (built-program-cmd): Likewise.
36257         * Rules (make-test-out): Use $(test-wrapper-env) and
36258         $(host-built-program-cmd).
36259         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
36260         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
36261         tst-pathopt.sh.
36262         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
36263         $(test-wrapper-env) to tst-rtld-load-self.sh.
36264         ($(objpfx)order2.out): Use $(test-wrapper).
36265         ($(objpfx)tst-initorder.out): Likewise.
36266         ($(objpfx)tst-initorder2.out): Likewise.
36267         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
36268         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
36269         (test_wrapper_env): New variable.  Use it to run ld.so.
36270         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
36271         Use it to run ld.so.
36272         (test_wrapper_env): Likewise.
36273         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
36274         $(test-wrapper) to run-iconv-test.sh.
36275         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
36276         (ICONV): Use $test_wrapper.
36277         * posix/Makefile ($(objpfx)globtest.out): Pass
36278         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
36279         globtest.sh, not $(run-program-prefix).
36280         * posix/globtest.sh (run_via_rtld_prefix): New variable.
36281         (test_wrapper): Likewise.
36282         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
36283         set together with run_via_rtld_prefix.
36284         (run_program_prefix): Define in terms of test_wrapper and
36285         run_via_rtld_prefix.
36287 2012-10-24  Roland McGrath  <roland@hack.frob.com>
36289         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
36290         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
36291         Targets removed.
36293         [BZ #14743]
36294         * include/time.h: Remove librt_hidden_proto (clock_gettime).
36295         Declare __clock_getres, __clock_gettime, __clock_settime,
36296         __clock_nanosleep, and __clock_getcpuclockid.
36297         * rt/clock_gettime.c: Define __clock_gettime as an alias.
36298         Remove librt_hidden_def (clock_gettime).
36299         * sysdeps/unix/clock_gettime.c: Likewise.
36300         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
36301         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
36302         * rt/clock_getres.c: Define __clock_getres as an alias.
36303         * sysdeps/posix/clock_getres.c: Likewise.
36304         * rt/clock_settime.c: Define __clock_settime as an alias.
36305         * sysdeps/unix/clock_settime.c: Likewise.
36306         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
36307         * sysdeps/unix/clock_nanosleep.c: Likewise.
36308         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
36309         * rt/clock-compat.c: New file.
36310         * rt/Makefile (librt-routines): Add clock-compat and move
36311         $(clock-routines) to ...
36312         (routines): ... here, new variable.
36313         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
36314         Don't add get_clockfreq here.
36315         * rt/Versions (libc: GLIBC_2.17): New version set.
36316         Add clock_* symbols here.
36317         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
36318         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
36319         (GLIBC_2.17): Add clock_* symbols.
36320         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
36321         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
36322         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
36323         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
36324         Likewise.
36325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
36326         Likewise.
36327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
36328         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
36329         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
36330         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
36331         * NEWS: Mention the move.
36333         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
36334         Use __open, __read, __close rather than their public counterparts.
36335         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
36336         (__get_clockfreq_via_cpuinfo): Likewise.
36337         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
36338         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
36340         * config.h.in (HAVE_IFUNC): New #undef.
36341         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
36342         was successful.
36343         * configure: Regenerated.
36345 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36347         * configure.in: Move READELF check to start of file.
36348         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
36349         libc_cv_asm_gnu_indirect_function in the process.
36350         * configure: Regenerated.
36352 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
36354         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
36355         send the output to /dev/null.
36356         (libc_cv_cc_with_libunwind): Likewise.
36357         (libc_cv_as_noexecstack): Likewise.
36358         * configure: Regenerate.
36360 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
36362         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
36364         * posix/globtest.sh (TMPDIR): Do not set.
36365         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
36366         (testout): Likewise.
36368 2012-10-24  Andreas Jaeger  <aj@suse.de>
36370         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
36371         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
36372         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
36373         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
36374         posix_fadvise64, posix_fallocate64.
36376         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
36377         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
36378         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
36379         Likewise.
36380         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
36381         Likewise.
36382         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
36384         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
36385         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
36386         <bits/fcntl-linux.h>.
36387         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
36389         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
36390         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
36391         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
36392         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
36393         [__WORDSIZE != 64]: Likewise.
36395 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36397         * Makeconfig (run-built-tests): New variable.
36398         * Rules [$(cross-compiling) = yes]: Change condition to
36399         [$(run-built-tests) = no].
36400         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
36401         to [$(run-built-tests) = yes].
36402         * elf/Makefile [$(cross-compiling) = no]: Likewise
36403         * grp/Makefile [$(cross-compiling) = no]: Likewise.
36404         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
36405         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
36406         * intl/Makefile [$(cross-compiling) = no]: Likewise.
36407         * io/Makefile [$(cross-compiling) = no]: Likewise.
36408         * libio/Makefile [$(cross-compiling) = no]: Likewise.
36409         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
36410         * misc/Makefile [$(cross-compiling) = no]: Likewise.
36411         * posix/Makefile [$(cross-compiling) = no]: Likewise.
36412         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
36413         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
36414         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
36415         * string/Makefile [$(cross-compiling) = no]: Likewise.
36417         * posix/Makefile ($(objpfx)globtest.out): Pass
36418         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
36419         $(rtld-installed-name).
36420         * posix/globtest.sh (elf_objpfx): Remove variable.
36421         (rtld_installed_name): Likewise.
36422         (library_path): Likewise.
36423         (run_program_prefix): New variable.  Use for running globtest
36424         binary.
36426 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
36427             Joseph Myers  <joseph@codesourcery.com>
36429         * Makeconfig (host-built-program-cmd): New variable.
36430         * elf/Makefile (tst-stackguard1-ARGS): Use
36431         $(host-built-program-cmd).
36432         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
36433         (tst-spawn-ARGS): Likewise.
36434         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
36436 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
36437             Jim Blandy  <jimb@codesourcery.com>
36439         * Makeconfig (run-via-rtld-prefix): New variable.
36440         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
36441         (built-program-cmd): Likewise.
36443 2012-10-22  Andreas Jaeger  <aj@suse.de>
36445         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
36446         __O_RSYNC if it exists, otherwise to O_SYNC.
36448 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
36449             Joseph Myers  <joseph@codesourcery.com>
36451         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
36452         /dev/null.
36453         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
36454         from /dev/null
36455         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
36456         /dev/null.
36458 2012-10-22  Andreas Jaeger  <aj@suse.de>
36460         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
36461         Define always.
36462         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
36464         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36465         bits/fcntl-linux.h.
36467         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
36468         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
36470         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
36471         to __O_LARGEFILE.
36472         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
36473         to __O_LARGEFILE.
36475 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
36476             Joseph Myers  <joseph@codesourcery.com>
36478         * config.make.in (NM): New variable.
36480 2012-10-21  Andreas Jaeger  <aj@suse.de>
36482         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
36483         definitions and declarations that are provided by
36484         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
36486 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36488         [BZ #14683]
36489         * elf/Makefile (tests-static): Add tst-leaks1-static.
36490         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
36491         ($(objpfx)tst-leaks1-static): New rule.
36492         ($(objpfx)tst-leaks1-static-mem): Likewise.
36493         (tst-leaks1-static-ENV): New macro.
36494         * elf/dl-open.c (dl_open_worker): Check the main application
36495         only if SHARED is defined.
36496         * elf/tst-leaks1-static.c: New file.
36498 2012-10-20  Andreas Jaeger  <aj@suse.de>
36500         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
36501         generic values for Linux.
36502         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
36503         and declarations that are provided by <bits/fcntl-linux.h> and
36504         include <bits/fcntl-linux.h>.
36505         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36506         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36508 2012-10-20  Roland McGrath  <roland@hack.frob.com>
36510         * io/fcntl.h: Move include of <bits/types.h> to the top and
36511         include it unconditionally.
36513 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
36515         * wcsmbs/Makefile (tests-ifunc): New variable.
36516         (tests): Add $(tests-ifunc).
36517         * wcsmbs/test-wcschr-ifunc.c: New file.
36518         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
36519         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
36520         * wcsmbs/test-wcslen-ifunc.c: Likewise.
36521         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
36522         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
36524         * string/Makefile (tests-ifunc): New variable.
36525         (tests): Add $(tests-ifunc).
36526         * string/test-memccpy.c (TEST_NAME): New macro.
36527         * string/test-memchr.c (TEST_NAME): Likewise.
36528         * string/test-memcmp.c (TEST_NAME): Likewise.
36529         * string/test-memcpy.c (TEST_NAME): Likewise.
36530         * string/test-memmem.c (TEST_NAME): Likewise.
36531         * string/test-memmove.c (TEST_NAME): Likewise.
36532         * string/test-memset.c (TEST_NAME): Likewise.
36533         * string/test-rawmemchr.c (TEST_NAME): Likewise.
36534         * string/test-stpcpy.c (TEST_NAME): Likewise.
36535         * string/test-stpncpy.c (TEST_NAME): Likewise.
36536         * string/test-strcasecmp.c (TEST_NAME): Likewise.
36537         * string/test-strcasestr.c (TEST_NAME): Likewise.
36538         * string/test-strcat.c (TEST_NAME): Likewise.
36539         * string/test-strchr.c (TEST_NAME): Likewise.
36540         * string/test-strcmp.c(TEST_NAME): Likewise.
36541         * string/test-strcpy.c (TEST_NAME): Likewise.
36542         * string/test-strcspn.c (TEST_NAME): Likewise.
36543         * string/test-strlen.c (TEST_NAME): Likewise.
36544         * string/test-strncasecmp.c (TEST_NAME): Likewise.
36545         * string/test-strncmp.c (TEST_NAME): Likewise.
36546         * string/test-strncpy.c (TEST_NAME): Likewise.
36547         * string/test-strnlen.c (TEST_NAME): Likewise.
36548         * string/test-strpbrk.c (TEST_NAME): Likewise.
36549         * string/test-strrchr.c (TEST_NAME): Likewise.
36550         * string/test-strspn.c (TEST_NAME): Likewise.
36551         * string/test-strstr.c (TEST_NAME): Likewise.
36552         * string/test-bcopy-ifunc.c: New file.
36553         * string/test-bzero-ifunc.c: Likewise.
36554         * string/test-memccpy-ifunc.c: Likewise.
36555         * string/test-memchr-ifunc.c: Likewise.
36556         * string/test-memcmp-ifunc.c: Likewise.
36557         * string/test-memcpy-ifunc.c: Likewise.
36558         * string/test-memmem-ifunc.c: Likewise.
36559         * string/test-memmove-ifunc.c: Likewise.
36560         * string/test-mempcpy-ifunc.c: Likewise.
36561         * string/test-memset-ifunc.c: Likewise.
36562         * string/test-rawmemchr-ifunc.c: Likewise.
36563         * string/test-stpcpy-ifunc.c: Likewise.
36564         * string/test-stpncpy-ifunc.c: Likewise.
36565         * string/test-strcasecmp-ifunc.c: Likewise.
36566         * string/test-strcasestr-ifunc.c: Likewise.
36567         * string/test-strcat-ifunc.c: Likewise.
36568         * string/test-strchr-ifunc.c: Likewise.
36569         * string/test-strchrnul-ifunc.c: Likewise.
36570         * string/test-strcmp-ifunc.c: Likewise.
36571         * string/test-strcpy-ifunc.c: Likewise.
36572         * string/test-strcspn-ifunc.c: Likewise.
36573         * string/test-strlen-ifunc.c: Likewise.
36574         * string/test-strncasecmp-ifunc.c: Likewise.
36575         * string/test-strncat-ifunc.c: Likewise.
36576         * string/test-strncmp-ifunc.c: Likewise.
36577         * string/test-strncpy-ifunc.c: Likewise.
36578         * string/test-strnlen-ifunc.c: Likewise.
36579         * string/test-strpbrk-ifunc.c: Likewise.
36580         * string/test-strrchr-ifunc.c: Likewise.
36581         * string/test-strspn-ifunc.c: Likewise.
36582         * string/test-strstr-ifunc.c: Likewise.
36584         * debug/Makefile (tests-ifunc): New variable.
36585         (tests): Add $(tests-ifunc).
36586         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
36587         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
36588         * debug/test-stpcpy_chk-ifunc.c: New file.
36589         * debug/test-strcpy_chk-ifunc.c: Likewise.
36591 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
36593         [BZ #13601]
36594         * elf/dl-load.c (open_verify): Retry read if the entire ELF
36595         header is not read in.
36597 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
36599         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
36600         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
36601         directly.  Pass built executable to script as
36602         $(built-program-cmd).
36603         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
36604         $testprogram without using LD_LIBRARY_PATH and $ldso.
36606         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
36607         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
36608         $(rtld-installed-name).
36609         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
36610         (rtld_installed_name): Likewise.
36611         (library_path): Likewise.
36612         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
36613         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
36614         $(run-program-prefix) to tst-tables.sh.
36615         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
36616         it to run tst-table-from and tst-table-to.
36617         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
36618         Pass it to tst-table.sh.
36619         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
36620         $(run-program-prefix) to tst-gettext.sh.
36621         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
36622         tst-translit.sh.
36623         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
36624         tst-gettext2.sh.
36625         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
36626         to run tst-gettext.
36627         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
36628         to run tst-gettext2.
36629         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
36630         to run tst-translit.
36631         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
36632         $(run-program-prefix) to tst-mtrace.sh.
36633         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
36634         to run tst-mtrace.
36635         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
36636         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
36637         $(rtld-installed-name).
36638         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
36639         (rtld_installed_name): Likewise.
36640         (run_program_prefix): New variable.  Use it to run wordexp-test.
36642         * Makeconfig (ARCH): Remove all definitions.
36643         (machine): Likewise.
36644         [ARCH]: Remove conditional code.
36645         [!objdir]: Give error.
36646         [!objdir] (objpfx): Remove.
36647         [!objdir] (common-objpfx): Likewise.
36648         [!objdir] (common-objdir): Likewise.
36649         * configure.in (config_makefile): Remove.  Hardcode Makefile in
36650         AC_CONFIG_FILES call.
36651         * configure: Regenerated.
36653         [BZ #13888]
36654         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
36655         or TMPDIR.
36656         (testout): Likewise.
36658         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
36659         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
36660         $(rtld-installed-name).
36661         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
36662         (rtld_installed_name): Likwise.
36663         (runit): Remove function.
36664         (run_getconf): New variable,  Use it for running getconf binary.
36666 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
36668         [BZ #14716]
36669         * string/test-memmem.c (check_result): New function.
36670         (do_one_test): Use it.
36671         (check1): New function.
36672         (test_main): Use it.
36674 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
36676         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
36678 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
36680         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
36681         (_G_LSEEK64): Likewise.
36682         (_G_MMAP64): Likewise.
36683         (_G_FSTAT64): Likewise.
36684         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
36685         (_G_LSEEK64): Likewise.
36686         (_G_MMAP64): Likewise.
36687         (_G_FSTAT64): Likewise.
36688         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
36689         unconditional.  Call __mmap64 directly.
36690         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
36691         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
36692         __lseek64 directly.
36693         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
36694         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
36695         __mmap64 directly.
36696         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
36697         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36698         __lseek64 directly.
36699         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
36700         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
36701         __lseek64 directly.
36702         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
36703         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
36704         __lseek64 directly.
36705         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
36706         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
36707         __fxstat64 directly.
36708         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
36709         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
36710         unconditional.
36711         (freopen64) [!_G_OPEN64]: Remove conditional code.
36712         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
36713         unconditional.
36714         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
36715         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
36716         unconditional.
36717         (ftello64) [!_G_LSEEK64]: Remove conditional code.
36718         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
36719         unconditional.
36720         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36721         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
36722         unconditional.
36723         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
36724         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
36725         unconditional.
36726         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36727         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
36728         unconditional.
36729         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
36730         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
36731         unconditional.
36732         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
36734 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36736         [BZ #12140]
36737         * manual/memory.texi (Malloc Tunable Parameters): Add note
36738         about free list pointers overwriting some perturb bytes.
36739         Wording suggested by Roland McGrath.
36741 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
36743         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
36744         (lgamma_test): Likewise.
36745         (tgamma_test): Likewise.
36747 2012-10-16  Florian Weimer  <fweimer@redhat.com>
36749         [BZ #14700]
36750         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
36751         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
36753 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
36755         * NEWS: Mention BZ #14716.
36756         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
36757         when removing AVAILABLE1_USES_J macro.
36759 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
36761         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
36762         (__bswap_64): __uint64_t for unsigned 64-bit int.
36764 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
36766         * include/string.h (memmem): Declare libc hidden alias.
36767         * string/memmem.c (memmem): Define libc hidden alias.
36768         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
36769         __read, __close instead of open, read, close.
36771 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
36773         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
36774         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
36775         global and hidden.
36776         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
36777         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
36778         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
36779         Likewise.
36780         (__rawmemchr_sse2): Likewise.
36781         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
36782         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
36783         (__strchr_sse2): Likewise.
36784         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
36785         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
36786         (__strcasecmp_sse2): Likewise.
36787         (__strncasecmp_sse2): Likewise.
36788         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
36789         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
36790         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
36791         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
36792         (__strrchr_sse2): Likewise.
36793         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
36794         ifunc-impl-list.c.
36795         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
36796         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
36797         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
36798         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36799         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
36800         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
36801         * sysdeps/x86_64/multiarch/memset.S: Likewise.
36802         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
36803         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
36804         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
36805         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
36806         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
36807         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
36808         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
36809         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
36810         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
36811         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
36812         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
36813         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
36814         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
36815         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
36816         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
36817         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
36818         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
36819         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
36820         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
36821         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
36822         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36823         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
36824         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
36826         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
36827         global and hidden.
36828         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
36829         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
36830         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
36831         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
36832         Likewise.
36833         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
36834         Likewise.
36835         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
36836         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
36837         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
36838         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
36839         ifunc-impl-list.c.
36840         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
36841         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
36842         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
36843         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
36844         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
36845         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
36846         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
36847         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
36848         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
36849         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
36850         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
36851         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
36852         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
36853         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
36854         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
36855         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
36856         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
36857         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
36858         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
36859         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
36860         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
36861         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
36862         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
36863         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
36864         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
36865         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
36866         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
36867         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
36868         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
36869         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
36870         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
36871         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
36872         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
36873         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
36874         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
36875         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
36876         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
36877         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
36878         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
36879         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
36880         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
36882         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
36883         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
36884         * include/ifunc-impl-list.h: New file.
36885         * misc/ifunc-impl-list.c: Likewise.
36886         * misc/Makefile (routines): Add ifunc-impl-list.
36887         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
36888         * string/test-string.h: Include <ifunc-impl-list.h>.
36889         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
36890         TEST_NAME]: New variables.
36891         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
36892         are defined.
36893         (test_init): Call __libc_ifunc_impl_list to initialize
36894         func_list if TEST_IFUNC and TEST_NAME are defined.
36896         * string/Makefile (strop-tests): Add bcopy and bzero.
36897         * string/test-bcopy.c: New file.
36898         * string/test-bzero.c: Likewise.
36899         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
36900         defined.
36901         * string/test-memset.c: Support bzero test if TEST_BZERO is
36902         defined.
36903         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
36904         __libc_memmove.
36905         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
36906         __libc_memset.
36907         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
36908         of memset.
36910 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
36912         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
36913         * configure: Regenerated.
36915         * Makeconfig (+link-static-before-libc): Don't include
36916         $(link-static-libc).
36918         * libio/libio.h (_IO_pos_t): Remove.
36920 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36922         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
36923         McGrath.
36925 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36927         * crypt/crypt-entry.c: Include fips-private.h.
36928         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
36929         * crypt/md5c-test.c (main): Tolerate disabled MD5.
36930         * sysdeps/unix/sysv/linux/fips-private.h: New file.
36931         * sysdeps/generic/fips-private.h: New file, dummy fallback.
36933 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
36935         * crypt/crypt-private.h: Include stdbool.h.
36936         (_ufc_setup_salt_r): Return bool.
36937         * crypt/crypt-entry.c: Include errno.h.
36938         (__crypt_r): Return NULL with EINVAL for bad salt.
36939         * crypt/crypt_util.c (bad_for_salt): New.
36940         (_ufc_setup_salt_r): Check that salt is long enough and within
36941         the specified alphabet.
36942         * crypt/badsalttest.c: New file.
36943         * crypt/Makefile (tests): Add it.
36944         ($(objpfx)badsalttest): New.
36946 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
36948         * NEWS: Add entry for BZ #14602.
36950 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36952         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
36953         type-generic.
36954         * math/libm-test.inc: Update comment listing what functions and
36955         macros are tested.
36956         (isgreater_test): New function.
36957         (isgreaterequal_test): Likewise.
36958         (isless_test): Likewise.
36959         (islessequal_test): Likewise.
36960         (islessgreater_test): Likewise.
36961         (isunordered_test): Likewise.
36962         (main): Call the new functions.
36964 2012-10-09  Roland McGrath  <roland@hack.frob.com>
36966         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
36967         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
36968         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
36969         * sysdeps/i386/configure: Regenerated.
36970         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
36971         * sysdeps/mach/configure: Regenerated.
36972         * sysdeps/mach/hurd/configure: Regenerated.
36973         * sysdeps/powerpc/configure: Regenerated.
36974         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36975         * sysdeps/powerpc/powerpc64/configure: Regenerated.
36976         * sysdeps/s390/s390-32/configure: Regenerated.
36977         * sysdeps/s390/s390-64/configure: Regenerated.
36978         * sysdeps/sh/configure: Regenerated.
36979         * sysdeps/sparc/configure: Regenerated.
36980         * sysdeps/unix/sysv/linux/configure: Regenerated.
36981         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
36982         * sysdeps/x86_64/configure: Regenerated.
36984         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
36985         defined.  Don't check if MAP is NULL.
36987 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
36989         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
36990         (_G_stat64): Likewise.
36991         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
36992         (_G_stat64): Likewise.
36993         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
36994         instead of struct _G_stat64.
36995         * libio/fileops.c (mmap_remap_check): Likewise.
36996         (decide_maybe_mmap): Likewise.
36997         (_IO_new_file_seekoff): Likewise.
36998         (_IO_file_stat): Likewise.
36999         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
37000         _G_off64_t.
37001         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
37002         instead of struct _G_stat64.
37003         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37005 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
37007         [BZ #14602]
37008         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37009         Replace with ...
37010         (CHECK_EOL): New macro.
37011         (two_way_short_needle): Check beginning of haystack for EOL.  Use
37012         CHECK_EOL.
37013         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37014         Replace with CHECK_EOL.
37015         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
37016         Replace with CHECK_EOL.
37018 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
37020         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
37021         type-generic.
37022         * math/libm-test.inc: Update comment listing what functions and
37023         macros are tested.
37024         (finite_test): New function.
37025         (isinf_test): Likewise.
37026         (isnan_test): Likewise.
37027         (fpclassify_test): Test subnormal input.
37028         (isfinite_test): Likewise.
37029         (isnormal_test): Likewise.
37030         (main): Call the new functions.
37032 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
37034         [BZ #14660]
37035         * Makerules (%.dynsym): Force C locale when running
37036         $(OBJDUMP) --dynamic-syms.
37038 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
37040         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
37041         <stdint.h>.
37043 2012-10-06  David S. Miller  <davem@davemloft.net>
37045         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
37046         upper 32-bits of the length value in %o2 since we use branch-on-register
37047         tests which consider the entire 64-bit register.
37049 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
37051         * string/test-strstr.c (check2): Add a test for page boundary.
37053 2012-10-05  David S. Miller  <davem@davemloft.net>
37055         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
37056         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
37057         file.
37058         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37059         sysdep_routines.
37060         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37061         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
37062         and bzero when HWCAP_SPARC_CRYPTO is present.
37064 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
37066         [BZ #14602]
37067         * string/test-strstr.c (check2): New function.
37068         (test_main): Call check2.
37070         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
37071         and bug-strchr1.
37072         * string/bug-strcasestr1.c (do_test): Moved to ...
37073         * string/test-strcasestr.c (check1): Here.  New function.
37074         (do_one_test): Break out result checking code into ...
37075         (check_result): This.  New function.
37076         (do_one_test): Call check_result.
37077         (test_main): Call check1.
37078         * string/bug-strchr1.c (do_test): Moved to ...
37079         * string/test-strchr.c (check1): Here.  New function.
37080         (do_one_test): Break out result checking code into ...
37081         (check_result): This.  New function.
37082         (do_one_test): Call check_result.
37083         (test_main): Call check1.
37084         * string/bug-strstr1.c (main): Moved to ...
37085         * string/test-strstr.c (check1): Here.  New function.
37086         (do_one_test): Break out result checking code into ...
37087         (check_result): This.  New function.
37088         (do_one_test): Call check_result.
37089         (test_main): Call check1.
37090         * string/bug-strcasestr1.c: Removed.
37091         * string/bug-strchr1.c: Likewise.
37092         * string/bug-strstr1.c: Likewise.
37094         * elf/Makefile (dl-routines): Add hwcaps.
37095         * elf/dl-support.c (_dl_important_hwcaps): Removed.
37096         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
37097         (_dl_important_hwcaps): Moved to ...
37098         * elf/dl-hwcaps.c: Here.  New file.
37099         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
37101         [BZ #14557]
37102         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
37103         if IS_IN_rtld isn't defined.
37105         * elf/dl-support.c (_dl_sysinfo_map): New.
37106         Include "get-dynamic-info.h" and "setup-vdso.h".
37107         (_dl_non_dynamic_init): Call setup_vdso.
37108         * elf/dynamic-link.h: Don't include <assert.h>.
37109         (elf_get_dynamic_info): Moved to ...
37110         * elf/get-dynamic-info.h: Here.  New file.
37111         * elf/dynamic-link.h: Include "get-dynamic-info.h".
37112         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
37113         * elf/setup-vdso.h: Here.  New file.
37114         * elf/rtld.c: Include "setup-vdso.h".
37115         (dl_main): Call setup_vdso.
37117 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
37119         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
37120         creal in comment listing functions tested.  List finite, isinf,
37121         isnan, isless, islessequal, isgreater, isgreaterequal,
37122         islessgreater, isunordered, lgamma_r and pow10 as functions and
37123         macros not tested.  Mention which functions not tested are aliases
37124         for other functions.  Fix typo.  Note that signs of NaNs are not
37125         tested.
37127         * scripts/config.guess: Update from config.git.
37128         * scripts/config.sub: Likewise.
37130 2012-10-04  Roland McGrath  <roland@hack.frob.com>
37132         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
37133         * misc/madvise.c (madvise): Renamed to __madvise.
37134         Make madvise a weak alias.
37135         * include/sys/mman.h: Declare __madvise.
37136         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
37137         * sysdeps/unix/syscalls.list
37138         (madvise): Make __madvise the strong name, and madvise a weak alias.
37139         * sysdeps/unix/sysv/linux/syscalls.list
37140         (madvise, mmap): Remove redundant entries.
37141         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
37142         * malloc/malloc.c (mtrim): Likewise.
37143         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
37145 2012-10-03  Roland McGrath  <roland@hack.frob.com>
37147         * sysdeps/mach/hurd/dl-cache.c: File removed.
37148         * config.h.in (USE_LDCONFIG): New #undef.
37149         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
37150         * configure: Regenerated.
37151         * elf/Makefile (dl-routines): Add dl-cache only under
37152         [$(use-ldconfig) = yes].
37153         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
37154         cache on [USE_LDCONFIG].
37155         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
37156         [USE_LDCONFIG].
37157         * elf/rtld.c (dl_main): Likewise.
37159 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
37161         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
37162         _SC_LEVEL4_CACHE_LINESIZE.
37164 2012-10-03  Roland McGrath  <roland@hack.frob.com>
37166         * sysdeps/unix/bsd/confstr.h: File removed.
37168 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
37170         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
37171         sys/sdt-config.h.
37173 2012-10-02  Roland McGrath  <roland@hack.frob.com>
37175         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
37176         Make 'mapoff' field ElfW(Off) rather than off_t.
37178 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
37180         * nscd/Makefile: Remove nscd-cflags and all its users.
37181         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
37182         (CFLAGS-nonlib): Add compiler flags for nscd modules.
37184         [BZ #10631]
37185         * malloc.c (malloc_printerr): Clarify error message.
37187 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
37189         [BZ #14648]
37190         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37191         Set bit_FMA_Usable if FMA is supported.
37192         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
37193         macro.
37194         (bit_FMA4_Usable): Updated.
37195         (index_FMA_Usable): New macro.
37196         (CPUID_FMA): Likewise
37197         (HAS_FMA): Defined with bit_FMA_Usable.
37199 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37201         * bits/types.h (__swblk_t): Type removed.
37202         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
37203         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
37204         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
37205         (__SWBLK_T_TYPE): Likewise.
37206         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
37207         (__SWBLK_T_TYPE): Likewise.
37208         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
37209         (__SWBLK_T_TYPE): Likewise.
37210         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
37211         (__SWBLK_T_TYPE): Likewise.
37213 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
37214             Honza Horak <hhorak@redhat.com>
37216         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
37217         (xdr_mapname): Use YPMAXMAP as maxsize.
37218         (xdr_peername): Use YPMAXPEER as maxsize.
37219         (xdr_keydat): Use YPAXRECORD as maxsize.
37220         (xdr_valdat): Use YPMAXRECORD as maxsize.
37222 2012-10-01  Roland McGrath  <roland@hack.frob.com>
37224         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
37226         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
37227         * csu/init-first.c: ... here.
37228         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
37229         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
37230         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37231         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37232         * sysdeps/i386/init-first.c: File removed.
37233         * sysdeps/sh/init-first.c: File removed.
37235 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
37237         [BZ #14645]
37238         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
37239         if x * y might underflow to zero and z is zero.
37240         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
37241         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37242         * math/libm-test.inc (min_subnorm_value): New variable.
37243         (fma_test): Add more tests.
37244         (fma_test_towardzero): Likewise.
37245         (fma_test_downward): Likewise
37246         (fma_test_upward): Likewise.
37247         (initialize): Set min_subnorm_value.
37249 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
37251         [BZ #14638]
37252         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
37253         0 + 0.
37254         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
37255         mode for addition resulting in exact zero.
37256         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
37257         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
37258         exact 0 + 0.
37259         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
37260         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
37261         * math/libm-test.inc (fma_test): Add more tests.
37262         (fma_test_towardzero): New function.
37263         (fma_test_downward): Likewise.
37264         (fma_test_upward): Likewise.
37265         (main): Call the new functions.
37267 2012-09-28  David S. Miller  <davem@davemloft.net>
37269         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
37271 2012-09-28  Roland McGrath  <roland@hack.frob.com>
37273         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
37274         instead of SIGALRM.
37276         * sysdeps/gnu/_G_config.h: Moved to ...
37277         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
37278         * sysdeps/mach/hurd/_G_config.h: Moved to ...
37279         * sysdeps/generic/_G_config.h: ... here.
37281         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
37283         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
37285         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
37286         Conditionalize target on [libnss_test1.so-version].
37288         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
37290         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
37291         (elfobjdir): Move out of conditionals.
37293         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
37294         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
37295         (__nss_lookup_function): Conditionalize label remove_from_tree on
37296         [!DO_STATIC_NSS || SHARED], matching its only use.
37298 2012-09-28  David S. Miller  <davem@davemloft.net>
37300         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
37301         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
37302         file.
37303         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
37304         sysdep_routines.
37305         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
37306         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
37307         when HWCAP_SPARC_CRYPTO is present.
37309 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37311         * io/tst-mknodat.c: Create a FIFO instead of a socket.
37313 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
37315         [BZ #6530]
37316         * stdio-common/vfprintf.c (process_string_arg): Revert
37317         2000-07-22 change.
37319 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
37321         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
37322         for testcase.
37323         * stdio-common/tst-sprintf.c: Include <locale.h>
37324         (main): Test sprintf's handling of incomplete multibyte
37325         characters.
37327 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
37329         * elf/dl-runtime.c (VERSYMIDX): Removed.
37330         * elf/dl-version.c (VERSYMIDX): Likewise.
37331         * elf/do-rel.h (VERSYMIDX): Likewise.
37332         (VALIDX): Likewise.
37333         * elf/dynamic-link.h (VERSYMIDX): Likewise.
37334         * elf/rtld.c (VALIDX): Likewise.
37335         (ADDRIDX): Likewise.
37336         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
37337         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
37338         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
37339         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
37340         (VALIDX): Likewise.
37341         (ADDRIDX): Likewise.
37343 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37345         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
37347 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
37349         [BZ #11438]
37350         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
37351         to global scope.
37352         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
37353         addresses are in the same scope as 192.0.2/24.
37354         * posix/gai.conf: Document new scope table defaults.
37356 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37358         [BZ #5298]
37359         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
37360         for ftell.  Compute offsets from write pointers instead.
37361         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
37363 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
37365         [BZ #14543]
37366         * libio/Makefile (tests): New test case tst-fseek.
37367         * libio/tst-fseek.c: New test case to verify that fseek/ftell
37368         combination works in wide mode.
37369         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
37370         state when the external buffer state changes.
37372 2012-09-27  David S. Miller  <davem@davemloft.net>
37374         [BZ #14376]
37375         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
37376         pass reloc->r_addend in as the 'high' argument to
37377         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
37379         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37381 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
37383         * rt/tst-aio2.c: Include <pthread.h>.
37384         * rt/tst-aio3.c: Likewise.
37386 2012-09-27  Steve Ellcey  <sellcey@mips.com>
37388         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
37390 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
37392         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
37393         contents on [SHARED].
37395 2012-09-26  Marek Polacek  <polacek@redhat.com>
37397         [BZ #14530]
37398         [BZ #13741]
37399         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
37400         for C++ and GCC <4.3 as well as for non GCC compilers.
37402 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
37404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37406 2012-09-25  Roland McGrath  <roland@hack.frob.com>
37408         * Makefile.in (all, install): Declare with .PHONY.
37409         Reported by Michael Hope <michael.hope@linaro.org>.
37411 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
37413         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
37414         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
37415         system header.
37416         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
37417         Likewise.
37418         (sydep_routines): Add the new and the internal functions.
37419         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
37420         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
37421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
37422         (GLIBC_2.17): Add the new function.
37423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
37424         (GLIBC_2.17): Likewise.
37425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
37426         (GLIBC_2.17): Likewise.
37427         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
37428         (GLIBC_2.17): Likewise.
37429         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
37431 2012-09-25  Alan Modra  <amodra@gmail.com>
37433         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
37434         Add release barrier before setting once_control to say
37435         initialisation is done.  Add hints on lwarx.  Use macro in
37436         place of isync.
37437         (clear_once_control): Add release barrier.
37439 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37441         [BZ #13629]
37442         * math/s_clog.c (__clog): Handle more values close to |z| = 1
37443         specially.
37444         * math/s_clog10.c (__clog10): Likewise.
37445         * math/s_clog10f.c (__clog10f): Likewise.
37446         * math/s_clog10l.c (__clog10l): Likewise.
37447         * math/s_clogf.c (__clogf): Likewise.
37448         * math/s_clogl.c (__clogl): Likewise.
37449         * math/Makefile (libm-calls): Add x2y2m1.
37450         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
37451         (__x2y2m1): Likewise.
37452         (__x2y2m1l): Likewise.
37453         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
37454         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
37455         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
37456         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
37457         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
37458         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
37459         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
37460         * sysdeps/i386/fpu/libm-test-ulps: Update.
37461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37463         [BZ #14621]
37464         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
37465         int as type of variable DEPTH.
37466         (glob): Use size_t instead of int as type of variables NEWCOUNT
37467         and OLD_PATHC.
37469 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37471         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
37472         Add s_sincosf-sse2.
37473         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
37474         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
37475         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
37476         macros for using routine as __sincosf_ia32.
37477         Use macro for function declaration and weak_alias.
37478         * sysdeps/i386/fpu/libm-test-ulps: Update.
37480         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
37481         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
37483         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
37484         subnormal argument.
37485         * math/s_cexpf.c (__cexpf): Likewise.
37486         * math/s_csinf.c (__csinf): Likewise.
37487         * math/s_csinhf.c (__csinhf): Likewise.
37488         * math/s_ctanf.c (__ctanf): Likewise.
37489         * math/s_ctanhf.c (__ctanhf): Likewise.
37490         * math/s_ccosh.c (__ccoshf): Likewise.
37491         * math/s_cexp.c (__cexpl): Likewise.
37492         * math/s_csin.c (__csin): Likewise.
37493         * math/s_csinh.c (__csinh): Likewise.
37494         * math/s_ctan.c (__ctan): Likewise.
37495         * math/s_ctanh.c (ctanh): Likewise.
37496         * math/s_ccoshl.c (__ccoshl): Likewise.
37497         * math/s_cexpl.c (__cexpl): Likewise.
37498         * math/s_csinl.c (__csinl): Likewise.
37499         * math/s_csinhl.c (__csinhl): Likewise.
37500         * math/s_ctanl.c (__ctanl): Likewise.
37501         * math/s_ctanhl.c (__ctanhl): Likewise.
37503 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
37505         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
37506         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
37507         (_IO_off_t): Define to __off_t, not _G_off_t.
37508         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
37509         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
37510         (_IO_wint_t): Define to wint_t, not _G_wint_t.
37511         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
37512         type of __dummy and __dummy2 fields.
37513         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
37514         (_G_ssize_t): Likewise.
37515         (_G_off_t): Likewise.
37516         (_G_pid_t): Likewise.
37517         (_G_uid_t): Likewise.
37518         (_G_wchar_t): Likewise.
37519         (_G_wint_t): Likewise.
37520         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
37521         (_G_ssize_t): Likewise.
37522         (_G_off_t): Likewise.
37523         (_G_pid_t): Likewise.
37524         (_G_uid_t): Likewise.
37525         (_G_wchar_t): Likewise.
37526         (_G_wint_t): Likewise.
37527         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
37528         (_G_ssize_t): Likewise.
37529         (_G_off_t): Likewise.
37530         (_G_pid_t): Likewise.
37531         (_G_uid_t): Likewise.
37532         (_G_wchar_t): Likewise.
37533         (_G_wint_t): Likewise.
37535 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37537         * malloc/arena.c: Include malloc-sysdep.h.
37538         (shrink_heap): Use check_may_shrink_heap to decide if madvise
37539         is sufficient to shrink the heap or an unmap is needed.
37540         * sysdeps/generic/malloc-sysdep.h: New file.  Define
37541         new function check_may_shrink_heap.
37542         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
37543         new function check_may_shrink_heap.
37545 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
37547         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
37548         comments.
37550 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
37552         * catgets/test-gencat.sh: Add "set -e".
37553         * elf/tst-pathopt.sh: Likewise.
37554         * grp/tst_fgetgrent.sh: Likewise.
37555         * iconvdata/run-iconv-test.sh: Likewise.
37556         * intl/tst-gettext.sh: Likewise.
37557         * intl/tst-gettext2.sh: Likewise.
37558         * intl/tst-gettext4.sh: Likewise.
37559         * intl/tst-gettext6.sh: Likewise.
37560         * intl/tst-translit.sh: Likewise.
37561         * io/ftwtest-sh: Likewise.
37562         * libio/test-freopen.sh: Likewise.
37563         * malloc/tst-mtrace.sh: Likewise.
37564         * posix/globtest.sh: Likewise.
37565         * posix/tst-getconf.sh: Likewise.
37566         * posix/wordexp-tst.sh: Likewise.
37567         * stdio-common/tst-printf.sh: Likewise.
37568         * stdio-common/tst-unbputc.sh: Likewise.
37569         * stdlib/tst-fmtmsg.sh: Likewise.
37570         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37571         * catgets/Makefile: Do not specify -e option when running
37572         testsuite shell scripts.
37573         * elf/Makefile: Likewise.
37574         * grp/Makefile: Likewise.
37575         * iconvdata/Makefile: Likewise.
37576         * intl/Makefile: Likewise.
37577         * io/Makefile: Likewise.
37578         * libio/Makefile: Likewise.
37579         * malloc/Makefile: Likewise.
37580         * posix/Makefile: Likewise.
37581         * stdio-common/Makefile: Likewise.
37582         * stdlib/Makefile: Likewise.
37583         * sysdeps/x86_64/Makefile: Likewise.
37585         * io/ftwtest-sh: Add copyright header.
37586         * posix/globtest.sh: Likewise.
37587         * posix/tst-getconf.sh: Likewise.
37588         * posix/wordexp-tst.sh: Likewise.
37589         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
37591 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
37593         [BZ #13679]
37594         * Makeconfig (+link): Defined as $(+link-static) if
37595         $(build-shared) isn't yes.
37596         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
37597         isn't yes.
37598         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
37600         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
37602         [BZ #14562]
37603         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
37604         new chunk size with MALLOC_ALIGN_MASK.
37606 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
37608         [BZ #5044]
37609         * stdio-common/printf_fphex.c: Include <stdbool.h> and
37610         <rounding-mode.h>.
37611         (__printf_fphex): Determine rounding using get_rounding_mode and
37612         round_away.
37613         * stdio-common/tst-printf-round.c (struct hex_test): New
37614         structure.
37615         (hex_tests): New variable.
37616         (test_hex_in_one_mode): New function.
37617         (do_test): Also run tests for hex float output.
37619 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
37621         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37622         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37623         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
37624         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
37625         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
37626         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
37627         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37628         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
37630 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
37632         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
37633         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
37634         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
37635         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
37637 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
37639         [BZ #14579]
37640         * elf/rtld.c (dl_main): Limit the check for self loading to normal
37641         mode only.
37642         * elf/tst-rtld-load-self.sh: New test.
37643         * elf/Makefile: Run it.
37645 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
37647         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
37648         (tst-writev-ENV): Remove.
37649         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
37651 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
37653         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
37655 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
37657         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
37658         unconditional.
37659         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
37660         Likewise.
37661         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
37662         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
37663         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
37664         Likewise.
37666 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
37668         [BZ #14587]
37669         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
37670         * config.make.in (have-cpp-asm-debuginfo): Removed.
37671         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
37672         * configure: Regenerated.
37674 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
37676         [BZ #5044]
37677         * stdio-common/printf_fp.c: Include <stdbool.h> and
37678         <rounding-mode.h>.
37679         (___printf_fp): Determine rounding using get_rounding_mode and
37680         round_away.
37681         * stdio-common/tst-printf-round.c: New file.
37682         * stdio-common/Makefile (tests): Add tst-printf-round.
37683         (link-libm): New variable.
37684         ($(objpfx)tst-printf-round): Depend in $(link-libm).
37686 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
37688         [BZ #14576]
37689         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
37690         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
37691         Likewise.
37692         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
37693         Likewise.
37695 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
37697         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
37698         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37699         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37700         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
37702 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
37704         [BZ #14518]
37705         * include/rounding-mode.h: New file.
37706         * sysdeps/generic/get-rounding-mode.h: Likewise.
37707         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
37708         * stdlib/strtod_l.c: Include <rounding-mode.h>.
37709         (MAX_VALUE): New macro.
37710         (MIN_VALUE): Likewise.
37711         (overflow_value): New function.
37712         (underflow_value): Likewise.
37713         (round_and_return): Use overflow_value and underflow_value to
37714         determine return values in overflow and underflow cases.  Use
37715         round_away to determine rounding depending on rounding mode.
37716         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
37717         determine return values in overflow and underflow cases.
37718         * stdlib/tst-strtod-round.c: Include <fenv.h>.
37719         (struct test_results): New structure.
37720         (struct test): Use struct test_results to store expected results
37721         for all rounding modes.
37722         (TEST): Include expected results for all rounding modes.
37723         (test_in_one_mode): New function.
37724         (do_test): Use test_in_one_mode to compute and check results.
37725         Check results for all rounding modes.
37726         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
37727         $(link-libm).
37729 2012-12-09  Allan McRae  <allan@archlinux.org>
37731         * sysdeps/i386/fpu/libm-test-ulps: Update
37733 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
37735         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
37736         (_G_int32_t): Likewise.
37737         (_G_uint16_t): Likewise.
37738         (_G_uint32_t): Likewise.
37739         (_G_HAVE_BOOL): Likewise.
37740         (_G_HAVE_ATEXIT): Likewise.
37741         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37742         (_G_HAVE_IO_FILE_OPEN): Likewise.
37743         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
37744         (_G_int32_t): Likewise.
37745         (_G_uint16_t): Likewise.
37746         (_G_uint32_t): Likewise.
37747         (_G_HAVE_BOOL): Likewise.
37748         (_G_HAVE_ATEXIT): Likewise.
37749         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37750         (_G_HAVE_IO_FILE_OPEN): Likewise.
37751         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
37752         (_G_int32_t): Likewise.
37753         (_G_uint16_t): Likewise.
37754         (_G_uint32_t): Likewise.
37755         (_G_HAVE_BOOL): Likewise.
37756         (_G_HAVE_ATEXIT): Likewise.
37757         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
37758         (_G_HAVE_IO_FILE_OPEN): Likewise.
37760 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
37762         * csu/libc-tls.c: Update copyright years.
37764 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
37766         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
37767         [!_G_USING_THUNKS]: Remove conditional code.
37768         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
37769         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
37771         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
37772         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
37773         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37774         (_G_VTABLE_LABEL_PREFIX): Likewise.
37775         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37776         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37777         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37778         (_G_VTABLE_LABEL_PREFIX): Likewise.
37779         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37780         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
37781         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
37782         (_G_VTABLE_LABEL_PREFIX): Likewise.
37783         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
37785 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
37787         * libio/Makefile: Include ../Makeconfig before tests.
37788         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
37789         only if $(build-shared) is yes.
37791         * iconv/gconv_db.c: Update copyright years.
37793 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
37795         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
37796         unwind info if defined PIC. Fix special cases description.
37797         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
37799         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
37800         DP_HI_MASK entry.
37801         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
37803 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
37805         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
37807         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
37808         is NULL.
37810         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
37811         (LDLIBS-tst-chk4): This.
37812         (LDFLAGS-tst-chk5): Renamed to ...
37813         (LDLIBS-tst-chk5): This.
37814         (LDFLAGS-tst-chk6): Renamed to ...
37815         (LDLIBS-tst-chk6): This.
37816         (LDFLAGS-tst-lfschk4): Renamed to ...
37817         (LDLIBS-tst-lfschk4): This.
37818         (LDFLAGS-tst-lfschk5): Renamed to ...
37819         (LDLIBS-tst-lfschk5): This.
37820         (LDFLAGS-tst-lfschk6): Renamed to ...
37821         (LDLIBS-tst-lfschk6): This.
37823         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
37824         on $(common-objpfx)soversions.mk.
37826 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
37828         [BZ #10014]
37829         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
37830         example host name.
37832 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
37834         * malloc/arena.c (arena_get_retry): New function that gets
37835         another arena for the caller to try its request on.
37836         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
37837         current arena cannot fulfill the request.
37838         (__libc_memalign): Likewise.
37839         (__libc_memalign): Likewise.
37840         (__libc_pvalloc): Likewise.
37841         (__libc_calloc): Likewise.
37843 2012-09-05  John Tobey  <john.tobey@gmail.com>
37845         [BZ #13542]
37846         * manual/arith.texi (Operations on Complex): Fix description
37847         of carg branch cut.
37849 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37851         [BZ #10014]
37852         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
37853         host name.
37855         [BZ #10038]
37856         * manual/memory.texi (Memory): Make order of menu items match
37857         order of sections.
37859 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37861         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
37862         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
37863         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
37865 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37867         * csu/libc-tls.c (static_dtv): Renamed to ...
37868         (_dl_static_dtv): This.  Make it global.
37869         (_dl_initial_dtv): Removed.
37870         (__libc_setup_tls): Updated.
37871         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
37872         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
37873         DL_INITIAL_DTV.
37875 2012-09-06  Petr Machata  <pmachata@redhat.com>
37877         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
37878         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
37879         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
37880         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
37882 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37884         [BZ #14545]
37885         * csu/libc-tls.c (_dl_initial_dtv): New variable.
37886         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
37887         freeing dtv[-1].
37889 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
37891         [BZ #14544]
37892         * Makeconfig (link-static-before-libc): Replace $(+prector)
37893         with $(+prectorT).
37894         (link-static-after-libc): Replace $(+postctor) with
37895         $(+postctorT).
37896         (link-bounded): Replace $(+prector)/$(+postctor) with
37897         $(+prectorT)/$(+postctorT).
37898         (+prectorT): New macro.
37899         (+postctorT): Likewise.
37901 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
37903         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
37904         (round_str): Handle values above the maximum for IBM long double
37905         as inexact.
37906         * stdlib/tst-strtod-round.c (tests): Regenerated.
37908 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37910         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
37911         assembler flag.
37912         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
37913         zarch_nohighgprs around the zarch optimized routines.
37914         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
37915         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
37916         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
37917         for zarch.
37919 2012-09-05  David S. Miller  <davem@davemloft.net>
37921         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37923         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
37924         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
37925         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
37926         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
37927         entries.
37929 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37931         * malloc/arena.c: Fold copyright years.
37932         * malloc/mcheck.c, malloc/memusage.c: Likewise.
37934 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37936         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
37938 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37940         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
37942 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37944         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
37945         change internal state upon failure.
37947 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
37949         * malloc/mcheck.c (mcheck_check_all): Fix typo.
37950         * malloc/memusage.c (mmap): Likewise.
37951         (mmap64, mremap): Likewise.  Adjust name in comment.
37953 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37955         * libio/fileops.c: Fix typos in comments.
37956         * libio/oldfileops.c: Likewise.
37957         * libio/wfileops.c: Likewise.
37959 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
37961         [BZ #1349]
37962         * malloc/Makefile (tests): Add tst-malloc-usable test case.
37963         (tst-malloc-usable-ENV): Set environment for test case.
37964         * malloc/hooks.c (malloc_check_get_size): New function to get
37965         requested size.
37966         * malloc/malloc.c (musable): Use malloc_check_get_size.
37967         * malloc/tst-malloc-usable.c: New test case.
37969 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37971         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
37973 2012-09-05  Allan McRae  <allan@archlinux.org>
37975         [BZ #13966]
37976         * configure.in (CXX_SYSINCLUDES): Use compiler output to
37977         determine header location.
37978         * configure: Regenerated.
37980 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
37982         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
37983         float format.
37984         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
37985         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
37986         format.
37987         (test): Regenerate.
37989 2012-09-04  David S. Miller  <davem@davemloft.net>
37991         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
37992         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
37993         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
37995 2012-09-04  Florian Weimer  <fweimer@redhat.com>
37997         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
37998         failures.
38000         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
38002 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
38004         [BZ #9914]
38005         * libio/iogetdelim.c: Include <limits.h>.
38006         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
38007         + len + 1 would overflow.
38009 2012-09-03  Andreas Jaeger  <aj@suse.de>
38011         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38012         * sysdeps/i386/fpu/libm-test-ulps: Update.
38014 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38016         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
38017         Add s_sinf-sse2, s_conf-sse2.
38019         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
38020         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
38021         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
38022         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
38024         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
38025         for using routine as __sinf_ia32.
38026         Use macro for function declaration and weak_alias.
38027         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
38028         for using routine as __cosf_ia32.
38029         Use macro for function declaration and weak_alias.
38031         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
38032         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
38034         * sysdeps/x86_64/fpu/s_sinf.S: New file.
38035         * sysdeps/x86_64/fpu/s_cosf.S: New file.
38036         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38038         * math/libm-test.inc (cos_test): Add more test cases.
38039         (sin_test): Likewise.
38040         (sincos_test): Likewise.
38042 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38044         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
38045         (IFUNC_RESOLVE): Make pointers to the specialized implementations
38046         hidden.
38047         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
38049 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
38051         [BZ #14538]
38052         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
38053         first element of the GOT.
38054         (elf_machine_load_address): Return the difference between
38055         the runtime address of _DYNAMIC and elf_machine_dynamic ().
38057 2012-09-01  Allan McRae  <allan@archlinux.org>
38059         [BZ #13412]
38060         * configure.in (AWK): Require gawk version 3.0 or later.
38061         * configure: Regenerated.
38063 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
38065         * sysdeps/unix/sysv/linux/kernel-features.h
38066         (__ASSUME_POSIX_CPU_TIMERS): Remove.
38067         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38068         [__NR_clock_getres]: Make code unconditional.
38069         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
38070         (clock_getcpuclockid): Remove code left unreachable by removal of
38071         conditionals.
38072         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
38073         code unconditional.
38074         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38075         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38076         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
38077         Make code unconditional.
38078         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
38079         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38080         * sysdeps/unix/sysv/linux/clock_settime.c
38081         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
38082         conditional code.
38083         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
38084         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
38086 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
38088         [BZ #14476]
38089         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
38090         scripts/test-installation.pl.
38092         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
38093         and $ld_so_version if it is set.
38095 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38097         [BZ #14516]
38098         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
38099         failure if reading from procfs failed.
38100         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
38102 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
38104         * sysdeps/unix/sysv/linux/kernel-features.h
38105         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
38106         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38107         Remove conditional code.
38108         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38109         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
38110         Remove conditional code.
38111         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38112         * sysdeps/unix/sysv/linux/i386/fxstat.c
38113         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38114         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38115         * sysdeps/unix/sysv/linux/i386/fxstatat.c
38116         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38117         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38118         * sysdeps/unix/sysv/linux/i386/lxstat.c
38119         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
38120         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38121         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
38122         Remove conditional code.
38123         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38124         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
38125         Remove conditional code.
38126         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38127         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
38128         <kernel-features.h>.
38129         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
38130         Remove.
38131         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
38132         Remove conditional code.
38133         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
38134         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
38135         Remove conditional.
38137 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
38139         [BZ #5400]
38140         * NEWS: Add fixed bug number.
38142 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
38144         [BZ #14519]
38145         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
38146         underflowing exponent in case of negative sign.
38147         * stdlib/tst-strtod-round-data: Add more tests.
38148         * stdlib/tst-strtod-round.c (tests): Regenerated.
38150         [BZ #3479]
38151         * stdlib/strtod_l.c (NDIG): Remove.
38152         (HEXNDIG): Likewise.
38153         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
38154         smallest representable value.
38155         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
38156         lie within an exact representation of 1/2 ulp of the result.
38157         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
38158         unconditionally.
38159         (TENS_P9_IDX): Define unconditionally.
38160         (TENS_P9_SIZE): Likewise.
38161         (TENS_P10_IDX): Likewise.
38162         (TENS_P10_SIZE): Likewise.
38163         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
38164         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
38165         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
38166         entries for 10^2^13 and 10^2^14.
38167         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
38168         (TENS_P13_IDX): Define.
38169         (TENS_P13_SIZE): Likewise.
38170         (TENS_P14_IDX): Likewise.
38171         (TENS_P14_SIZE): Likewise.
38172         (_fpioconst_pow10): Change array size to
38173         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
38174         unconditional.
38175         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
38176         1024]: Add entries for 10^2^13 and 10^2^14.
38177         [LAST_POW10 > _LAST_POW10]: Remove #error.
38178         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
38179         (_fpioconst_pow10): Change array size to
38180         FPIOCONST_POW10_ARRAY_SIZE.
38181         * stdlib/gen-fpioconst.c: New file.
38182         * stdlib/gen-tst-strtod-round.c: Likewise.
38183         * stdlib/tst-strtod-round-data: Likewise.
38184         * stdlib/tst-strtod-round.c: Likewise.
38185         * stdlib/Makefile (tests): Add tst-strtod-round.
38187         [BZ #14459]
38188         * stdlib/strtod_l.c: Include <stdint.h>.
38189         (NDEBUG): Do not define.
38190         (round_and_return): Change EXPONENT parameter to type intmax_t.
38191         Rearrange calculations to avoid internal overflow possibilities.
38192         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
38193         Rearrange calculations to avoid internal overflow possibilities.
38194         Assert that number fits inside MPNSIZE limbs.
38195         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
38196         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
38197         calculations and add assertions to avoid internal overflow
38198         possibilities.  Add casts to avoid signed/unsigned operations.
38199         * stdlib/tst-strtod-overflow.c: New file.
38200         * stdlib/Makefile (tests): Add tst-strtod-overflow.
38202 2012-08-25  Marek Polacek  <polacek@redhat.com>
38204         * time/time.h: Fix some typos in comments.
38206 2012-08-23  Roland McGrath  <roland@hack.frob.com>
38208         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
38209         * posix/tst-rfc3484-2.c: Likewise.
38210         * posix/tst-rfc3484-3.c: Likewise.
38212 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
38214         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
38215         (EF_ARM_ABI_FLOAT_HARD): Likewise.
38217 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
38219         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
38220         #include of fxstatat64.c.
38222 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38224         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
38225         * shadow/getspent_r.c: Likewise.
38226         * shadow/getspnam.c: Likewise.
38227         * shadow/getspnam_r.c: Likewise.
38228         * gshadow/getsgent.c: Likewise.
38229         * gshadow/getsgent_r.c: Likewise.
38230         * gshadow/getsgnam.c: Likewise.
38231         * gshadow/getsgnam_r.c: Likewise.
38232         * inet/getnetbyad.c: Likewise.
38233         * inet/getnetbyad_r.c: Likewise.
38234         * inet/getnetbynm.c: Likewise.
38235         * inet/getnetbynm_r.c: Likewise.
38236         * inet/getnetent.c: Likewise.
38237         * inet/getnetent_r.c: Likewise.
38238         * inet/getproto.c: Likewise.
38239         * inet/getproto_r.c: Likewise.
38240         * inet/getprtent.c: Likewise.
38241         * inet/getprtent_r.c: Likewise.
38242         * inet/getprtname.c: Likewise.
38243         * inet/getprtname_r.c: Likewise.
38244         * inet/getrpcbyname.c: Likewise.
38245         * inet/getrpcbyname_r.c: Likewise.
38246         * inet/getrpcbynumber.c: Likewise.
38247         * inet/getrpcbynumber_r.c: Likewise.
38248         * inet/getrpcent.c: Likewise.
38249         * inet/getrpcent_r.c: Likewise.
38250         * inet/getaliasent.c: Likewise.
38251         * inet/getaliasent_r.c: Likewise.
38252         * inet/getaliasname.c: Likewise.
38253         * inet/getaliasname_r.c: Likewise.
38254         * nscd/getgrgid_r.c: Likewise.
38255         * nscd/getgrnam_r.c: Likewise.
38256         * nscd/gethstbyad_r.c: Likewise.
38257         * nscd/gethstbynm3_r.c: Likewise.
38258         * nscd/getpwnam_r.c: Likewise.
38259         * nscd/getpwuid_r.c: Likewise.
38260         * nscd/getsrvbynm_r.c: Likewise.
38261         * nscd/getsrvbypt_r.c: Likewise.
38262         * nscd/gai.c: Likewise.
38264         * configure.in (build_nscd): New substituted variable, set
38265         by --disable-build-nscd and defaults to $use_nscd.
38266         * configure: Regenerated.
38267         * config.make.in (build-nscd): New substituted variable.
38268         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
38269         Change conditional to require [$(build-nscd) = yes] as well.
38270         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
38272         [BZ# 13696]
38273         * configure.in (use_nscd): New substituted variable, set by
38274         --disable-nscd.  If enabled, define USE_NSCD.
38275         * configure: Regenerated.
38276         * config.h.in: Add USE_NSCD.
38277         * config.make.in (use-nscd): New substituted variable.
38278         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
38279         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
38280         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
38281         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
38282         (CFLAGS-getgrnam_r.c): Likewise.
38283         (CFLAGS-initgroups.c): Likewise.
38284         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
38285         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
38286         Variables removed.
38287         * inet/getnetgrent_r.c
38288         (nscd_setnetgrent): New function, broken out of ...
38289         (setnetgrent): ... here.  Call it.
38290         (innetgr): Conditionalize nscd bits on [USE_NSCD].
38291         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
38292         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
38293         * nscd/Makefile (routines, aux): Move definitions after include of
38294         Makeconfig.  Conditionalize on [$(use-nscd) != no].
38295         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
38296         Conditionalize on [USE_NSCD].
38297         (is_nscd, nscd_init_cb): Likewise.
38298         (nss_load_library): Conditionalize init callback on [USE_NSCD].
38299         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
38300         * nss/nss_db/db-init.c: Likewise.
38301         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
38302         [USE_NSCD].
38303         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
38304         (make_request): Use it.
38305         (cache_valid_p): New function.
38306         (__check_pf): Use it.
38307         * NEWS: Add item for --disable-nscd.
38309 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
38311         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
38312         to support sed >= 4.2.1-20-ga9bf076.
38313         * configure: Regenerated.
38315 2012-08-22  Roland McGrath  <roland@hack.frob.com>
38317         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
38318         Conditionalize whole body on [IREL].
38320 2012-08-22  Jeff Law <law@redhat.com>
38322         [BZ #14505]
38323         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
38324         if the family is PF_UNSPEC.
38326 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
38328         * Makerules (lib-version): Rename from V.
38329         (install-lib-nosubdir): Change V to lib-version.
38331 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
38333         [BZ #14252]
38334         * powerpc32/power6/wcschr.c: New file.
38335         * powerpc32/power6/wcscpy.c: New file.
38336         * powerpc32/power6/wcsrchr.c: New file.
38337         * powerpc64/power6/wcschr.c: New file.
38338         * powerpc64/power6/wcscpy.c: New file.
38339         * powerpc64/power6/wcsrchr.c: New file.
38341 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38343         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
38344         (two_way_short_needle): Use it.
38345         * string/strstr.c (AVAILABLE1_USES_J): Define.
38346         * string/strcasestr.c: Likewise.
38348         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
38349         array references.
38350         * string/strcasestr.c (TOLOWER): Make side-effect safe.
38352         [BZ #11607]
38353         * NEWS: Add an entry.
38354         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
38355         define their defaults.
38356         (two_way_short_needle): Detect end-of-string on-the-fly.
38357         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
38358         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
38359         * string/bug-strcasestr1.c: New test.
38360         * string/Makefile: Run it.
38362 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
38364         [BZ #11607]
38365         * string/str-two-way.h (two_way_short_needle): Optimize matching of
38366         the first character.
38368 2012-08-21  Roland McGrath  <roland@hack.frob.com>
38370         * csu/elf-init.c (__libc_csu_irel): Function removed.
38371         * csu/libc-start.c (apply_irel): New function.
38372         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
38374 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
38376         * sysdeps/unix/sysv/linux/kernel-features.h
38377         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
38378         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
38379         <kernel-features.h>.
38380         [__NR_fadvise64_64]: Make code unconditional.
38381         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
38382         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38383         !__NR_fadvise64_64)]: Likewise.
38384         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
38385         !__NR_fadvise64_64))]: Likewise.
38386         [__NR_fadvise64]: Make code unconditional.
38387         [!__NR_fadvise64]: Remove conditional code.
38388         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
38389         <kernel-features.h>.
38390         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38391         unconditional.
38392         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38393         conditional code.
38394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
38395         not include <kernel-features.h>.
38396         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38397         unconditional.
38398         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38399         conditional code.
38400         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
38401         include <kernel-features.h>.
38402         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
38403         unconditional.
38404         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
38405         conditional code.
38407 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38409         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
38410         slight instruction rearrangements per scrollpipe analysis.
38411         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
38413 2012-08-20  Roland McGrath  <roland@hack.frob.com>
38415         * manual/syslog.texi (syslog; vsyslog, closelog):
38416         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
38417         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
38419         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
38420         DSOCAPS to match condition on defining it.
38422 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
38424         * sysdeps/unix/sysv/linux/kernel-features.h
38425         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
38426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
38427         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38428         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
38430         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38431         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38432         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
38433         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
38434         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
38436         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
38437         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
38439         * sysdeps/unix/sysv/linux/kernel-features.h
38440         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
38441         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
38442         unconditional.
38443         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38444         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
38445         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38446         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38447         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
38448         Make code unconditional.
38449         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38450         (__mmap64) [!__NR_mmap2]: Likewise.
38451         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
38452         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
38453         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38454         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
38455         [__NR_mmap2]: Make code unconditional.
38456         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
38457         (__mmap64) [!__NR_mmap2]: Likewise.
38459 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38461         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
38463 2012-08-18  Andreas Jaeger  <aj@suse.de>
38465         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
38467 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38469         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
38470         * include/unistd.h (__have_sock_cloexec): Likewise.
38471         (__have_pipe2): Likewise.
38472         (__have_dup3): Likewise.
38474 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
38476         [BZ #9685]
38477         * include/unistd.h (__have_pipe2): Change define into an extern int.
38478         (__have_dup3): Likewise.
38479         * socket/have_sock_cloexec.c: Include fcntl.h.
38480         (__have_pipe2): New variable.
38481         (__have_dup3): Likewise.
38483 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
38485         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
38487 2012-08-17  Marek Polacek  <polacek@redhat.com>
38489         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
38490         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
38492 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38494         * configure.in: Add AC_SUBST for sysheaders.
38495         * configure: Regenerated.
38496         * config.make.in (sysheaders): New substituted variable.
38498         * sysdeps/unix/mkfifo.c: Moved ...
38499         * sysdeps/posix/mkfifo.c: ... here.
38500         * sysdeps/unix/mkfifoat.c: Moved ...
38501         * sysdeps/posix/mkfifoat.c: ... here.
38503         * sysdeps/unix/utime.c: Moved ...
38504         * sysdeps/posix/utime.c: ... here.
38506         * sysdeps/unix/time.c: Moved ...
38507         * sysdeps/posix/time.c: ... here.
38508         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
38509         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
38511         * sysdeps/unix/nice.c: Moved ...
38512         * sysdeps/posix/nice.c: ... here.
38514         * sysdeps/unix/alarm.c: Moved ...
38515         * sysdeps/posix/alarm.c: ... here.
38517         * intl/Makefile ($(codeset_mo)): Depend on the input file.
38519 2012-08-17  Jeff Law <law@redhat.com>
38521         * intl/Makefile (codeset_mo): New variable.
38522         ($(codeset_mo)): New target.
38523         (tst-codeset.out): Depend on that.  Remove explicit rule.
38524         (tst-gettext3.out, tst-gettext5.out): Likewise.
38525         (LOCPATH-ENV, tst-codeset-ENV): New variables.
38526         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
38527         * intl/tst-codeset.sh: Remove.
38528         * intl/tst-gettext3.sh: Likewise.
38529         * intl/tst-gettext5.sh: Likewise.
38531 2012-08-17  Roland McGrath  <roland@hack.frob.com>
38533         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
38534         * sysdeps/unix/syscalls.list: ... here.
38536         * sysdeps/posix/getaddrinfo.c
38537         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
38538         (gaiconf_init, gaiconf_reload): Use them.
38539         [!_STATBUF_ST_NSEC]
38540         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
38541         Define using time_t rather than struct timespec.
38543         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
38544         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
38545         Macros removed.
38546         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
38547         [!NO_THREADS].
38548         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
38549         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
38550         Likewise.
38552         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
38553         __libc_cleanup_push argument.
38555         * bits/param.h: New file.
38556         * misc/sys/param.h: New file.
38557         * include/sys/param.h: New file.
38558         * misc/Makefile (headers): Add bits/param.h.
38559         * sysdeps/generic/sys/param.h: File removed.
38560         * sysdeps/unix/sysv/linux/bits/param.h: New file.
38561         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
38562         * sysdeps/mach/hurd/bits/param.h: New file.
38563         * sysdeps/mach/hurd/sys/param.h: File removed.
38565         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
38566         last change.
38568         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
38569         [_IO_MTSAFE_IO].
38570         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
38571         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
38572         New macros.
38574         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
38575         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
38576         rather than -D_IO_MTSAFE_IO conditionally.
38577         * stdio-common/Makefile (CPPFLAGS): Likewise.
38578         * wcsmbs/Makefile (CPPFLAGS): Likewise.
38579         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
38580         Use $(libio-mtsafe).
38581         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
38582         of -D_IO_MTSAFE_IO.
38583         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
38584         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
38585         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
38586         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
38587         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
38588         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
38589         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
38590         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
38591         (CFLAGS-fread_u_chk.c): Likewise.
38592         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
38593         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
38594         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
38595         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
38596         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
38597         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
38598         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
38599         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
38600         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
38602         * libio/Makefile: Test [$(libc-reentrant) = yes]
38603         instead of [$(filter %REENTRANT, $(defines)) nonempty].
38605         * Makeconfig
38606         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
38607         * sysdeps/pthread/configure: File removed.
38608         * sysdeps/pthread/Makeconfig: New file.
38609         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
38610         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
38612 2012-08-16  Gary Benson  <gbenson@redhat.com>
38614         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
38615         unmapping the first object in a namespace.
38617 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38619         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
38620         (__internal_setnetgrent): ... this.  Add internal_function to
38621         definition.  Add libc_hidden_def.
38622         (setnetgrent): Update caller.
38623         (internal_endnetgrent): Renamed to ...
38624         (__internal_endnetgrent): ... this.  Add internal_function to
38625         definition.  Add libc_hidden_def.
38626         (endnetgrent): Update caller.
38627         (internal_getnetgrent_r): Renamed to ...
38628         (__internal_getnetgrent_r): ... this.  Add internal_function to
38629         definition.  Add libc_hidden_def.
38630         (__getnetgrent_r): Update caller.
38631         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
38633 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38635         * stdlib/longlong.h: Update from GCC.
38637 2012-08-16  Roland McGrath  <roland@hack.frob.com>
38639         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
38640         on _QL, which is set by umul_ppmm but never used.
38641         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
38642         variables, which are set by GMP macros but never used.
38643         * stdio-common/_itowa.c (_itowa): Likewise.
38644         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
38645         * stdlib/mod_1.c (mpn_mod_1): Likewise.
38647 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
38649         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
38650         struct La_sh_regs is not constant.
38651         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
38652         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
38653         and struct La_sparc64_regs are not constant.
38655 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
38657         * sysdeps/unix/sysv/linux/kernel-features.h
38658         (__ASSUME_POSIX_TIMERS): Remove.
38659         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
38660         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38661         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
38662         Make code unconditional.
38663         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38664         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
38665         Make code unconditional.
38666         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38667         * sysdeps/unix/sysv/linux/clock_nanosleep.c
38668         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
38669         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38670         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
38671         Make code unconditional.
38672         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
38673         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
38674         (__libc_missing_posix_timers): Remove.
38676 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38678         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
38679         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
38681         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
38683         * elf/dl-sym.c: Include <stdlib.h>.
38685         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
38686         constants, which avoids warnings in 32-bit builds.
38688         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
38689         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
38691         * misc/lseek.c: File moved to ...
38692         * io/lseek.c: ... here.
38694         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
38696         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
38697         shifting LEN more than 31 bits at once.
38699 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38701         [BZ #14195]
38702         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
38703         segmentation fault for a case of two empty input strings.
38704         * string/test-strncasecmp.c (check1): Renamed to...
38705         (bz12205): ...this.
38706         (bz14195): Add new testcase for two empty input strings and N > 0.
38707         (test_main): Call new testcase, adapt for renamed function.
38709 2012-08-15  Andreas Jaeger  <aj@suse.de>
38711         [BZ #14090]
38712         * crypt/md5test2.c: New test, based on test supplied by Serge
38713         Belyshev <belyshev@depni.sinp.msu.ru>.
38714         * crypt/Makefile (xtests): Add md5test-giant..
38715         * crypt/Makefile ($(objpfx)md5test-giant): Add.
38717 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
38719         [BZ #14090]
38720         * crypt/md5.c (md5_process_block): Don't assume the buffer
38721         length is less than 2**32.
38722         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
38723         length is less than 2**64.
38725 2012-08-15  Roland McGrath  <roland@hack.frob.com>
38727         * string/str-two-way.h: Include <sys/param.h>.
38728         (MAX): Macro removed.
38730         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
38731         Move #define and #undef of memmove to just before and after
38732         including <string.h>.
38734         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
38735         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
38736         and after including <string.h>.  Move declarations of
38737         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
38738         to before #include "string/memmove.c".
38740         * include/dirent.h: Declare __getdirentries.
38742         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
38743         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
38745 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
38747         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
38748         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
38749         * sysdeps/i386/configure: Regenerated.
38750         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
38751         STABS_CURRENT_FILE, and STABS_FUN.
38752         (END): Remove call to STABS_FUN_END.
38753         (STABS_CURRENT_FILE1): Delete.
38754         (STABS_CURRENT_FILE): Likewise.
38755         (STABS_FUN): Likewise.
38756         (STABS_FUN_END): Likewise.
38757         (STABS_FUN2): Likewise.
38758         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
38759         * sysdeps/x86_64/configure: Regenerated.
38761 2012-08-14  Roland McGrath  <roland@hack.frob.com>
38763         * elf/dl-open.c: Include <atomic.h>.
38764         * elf/dl-lookup.c: Likewise.
38766 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
38768         * sysdeps/unix/sysv/linux/kernel-features.h
38769         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
38770         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
38771         unconditionally.
38772         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
38773         unconditionally.
38774         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
38775         condition on __ASSUME_CLONE_THREAD_FLAGS.
38777 2012-08-14  Andreas Jaeger  <aj@suse.de>
38779         * sysdeps/i386/fpu/libm-test-ulps: Update.
38781 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
38783         * include/atomic.h (atomic_exchange_and_add): Split into ...
38784         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
38785         New atomic macros.
38787 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
38789         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38791 2012-08-13  Jeff Law <law@redhat.com>
38793         * manual/stdio.texi (snprintf): Clarify handling of the trailing
38794         null byte in the output string.
38796 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
38798         * sysdeps/unix/sysv/linux/kernel-features.h
38799         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
38800         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
38801         (__ASSUME_ARG_MAX_STACK_BASED): Define.
38802         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
38803         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
38804         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
38805         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
38807 2012-08-09  Jeff Law <law@redhat.com>
38809         [BZ #13939]
38810         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
38811         When avoid_arena is set, don't retry in the that arena.  Pick the
38812         next one, whatever it might be.
38813         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
38814         (arena_lock): Pass in new parameter to arena_get2.
38815         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
38816         arena_get2.
38817         (__libc_malloc): Unify retrying after main arena failure with
38818         __libc_memalign version.
38819         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
38821 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
38823         [BZ #14166]
38824         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
38825         to __redirect_strstr.
38826         (__strstr_sse42): Use typeof __redirect_strstr.
38827         (__strstr_ia32): Likewise.
38828         (__libc_strstr): New prototype.
38829         (strstr): Renamed to ...
38830         (__libc_strstr): This.
38831         (strstr): New strong alias of __libc_strstr.
38832         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
38833         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
38834         __redirect_time.
38835         Include <time.h>.
38836         (__libc_time): New prototype.
38837         (time_ifunc): Replace time with __libc_time.
38838         (time): New strong alias and hidden definition of __libc_time.
38839         (__GI_time): Remove strong alias.
38840         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
38841         Include <stddef.h>.
38842         (memmove): Redefined to __redirect_memmove.
38843         (__memmove_sse2): Use typeof __redirect_memmove.
38844         (__memmove_ssse3): Likewise.
38845         (__memmove_ssse3_back): Likewise.
38846         (__libc_memmove): New prototype.
38847         (memmove): Renamed to ...
38848         (__libc_memmove): This.
38849         (memmove): New strong alias of __libc_memmove.
38851 2012-08-08  Mark Salter  <msalter@redhat.com>
38853         * elf/elf.h
38854         (R_MN10300_TLS_GD): Define.
38855         (R_MN10300_TLS_LD): Likewise.
38856         (R_MN10300_TLS_LDO): Likewise.
38857         (R_MN10300_TLS_GOTIE): Likewise.
38858         (R_MN10300_TLS_IE): Likewise.
38859         (R_MN10300_TLS_LE): Likewise.
38860         (R_MN10300_TLS_DTPMOD): Likewise.
38861         (R_MN10300_TLS_DTPOFF): Likewise.
38862         (R_MN10300_TLS_TPOFF): Likewise.
38863         (R_MN10300_SYM_DIFF): Likewise.
38864         (R_MN10300_ALIGN): Likewise.
38865         (R_MN10300_NUM): Update.
38867 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
38869         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
38870         Remove.
38872 2012-08-08  Roland McGrath  <roland@hack.frob.com>
38874         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
38876         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
38877         sysdeps/unix -> sysdeps/posix move.
38878         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
38880 2012-08-07      Allan McRae     <allan@archlinux.org>
38882         [BZ #14303]
38883         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
38884         (SUNOS_CPP): Likewise.
38885         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
38886         not found.
38887         (open_input): Call CPP using execvp.
38889 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38891         * sysdeps/unix/sysv/linux/kernel-features.h
38892         (__ASSUME_PROT_GROWSUPDOWN): Remove.
38893         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38894         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38895         (__ASSUME_WAITID_SYSCALL): Likewise.
38896         * sysdeps/unix/sysv/linux/dl-execstack.c
38897         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
38898         code unconditional.
38899         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
38900         conditional code.
38901         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
38902         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
38903         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
38904         code.
38905         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
38906         unconditional.
38907         [__ASSUME_WAITID_SYSCALL]: Likewise.
38908         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
38910 2012-08-07  Roland McGrath  <roland@hack.frob.com>
38912         * sysdeps/unix/closedir.c: Renamed to ...
38913         * sysdeps/posix/closedir.c: ... here.
38914         * sysdeps/unix/dirfd.c: Renamed to ...
38915         * sysdeps/posix/dirfd.c: ... here.
38916         * sysdeps/unix/dirstream.h: Renamed to ...
38917         * sysdeps/posix/dirstream.h: ... here.
38918         * sysdeps/unix/fdopendir.c: Renamed to ...
38919         * sysdeps/posix/fdopendir.c: ... here.
38920         * sysdeps/unix/opendir.c: Renamed to ...
38921         * sysdeps/posix/opendir.c: ... here.
38922         * sysdeps/unix/readdir.c: Renamed to ...
38923         * sysdeps/posix/readdir.c: ... here.
38924         * sysdeps/unix/readdir_r.c: Renamed to ...
38925         * sysdeps/posix/readdir_r.c: ... here.
38926         * sysdeps/unix/rewinddir.c: Renamed to ...
38927         * sysdeps/posix/rewinddir.c: ... here.
38928         * sysdeps/unix/seekdir.c: Renamed to ...
38929         * sysdeps/posix/seekdir.c: ... here.
38930         * sysdeps/unix/telldir.c: Renamed to ...
38931         * sysdeps/posix/telldir.c: ... here.
38932         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
38933         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
38934         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
38935         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
38937         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
38938         * bits/fcntl.h: ... here.
38940         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
38941         not 0.
38942         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
38943         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
38944         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
38945         (struct flock): Move l_start, l_len to the beginning.
38946         Use __pid_t for l_pid.
38947         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
38948         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
38949         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
38950         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
38951         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
38952         [__USE_LARGEFILE64] (struct flock64): New type.
38953         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
38955         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
38956         * bits/dirent.h: ... here.
38958         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
38959         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
38961 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
38963         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
38964         Change from 2.6.0 to 2.6.16.
38965         * sysdeps/unix/sysv/linux/configure: Regenerated.
38966         * sysdeps/unix/sysv/linux/kernel-features.h
38967         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
38968         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
38969         version.
38970         (__ASSUME_UTIMES): Likewise.
38971         (__ASSUME_CLONE_STOPPED): Remove.
38972         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
38973         architectures, not kernel version.
38974         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
38975         (__ASSUME_NO_CLONE_DETACHED): Likewise.
38976         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
38977         (__ASSUME_WAITID_SYSCALL): Likewise.
38978         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
38979         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
38980         * README: State 2.6.16 as minimum Linux kernel version.  Do not
38981         refer to older versions.
38983 2012-08-06  Roland McGrath  <roland@hack.frob.com>
38985         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
38986         Define alphasort64 as an alias.
38987         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
38988         Define versionsort64 as an alias.
38989         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
38990         Define scandir64 as an alias.
38991         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
38992         Define scandirat64 as an alias.
38993         * dirent/alphasort64.c (alphasort64):
38994         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
38995         * dirent/versionsort64.c: Likewise.
38996         * dirent/scandir64.c: Likewise.
38997         * dirent/scandirat64.c: Likewise.
38998         * sysdeps/wordsize-64/alphasort.c: File removed.
38999         * sysdeps/wordsize-64/alphasort64.c: File removed.
39000         * sysdeps/wordsize-64/scandir.c: File removed.
39001         * sysdeps/wordsize-64/scandir64.c: File removed.
39002         * sysdeps/wordsize-64/scandirat.c: File removed.
39003         * sysdeps/wordsize-64/scandirat64.c: File removed.
39004         * sysdeps/wordsize-64/versionsort.c: File removed.
39005         * sysdeps/wordsize-64/versionsort64.c: File removed.
39006         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
39007         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
39008         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
39009         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
39010         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
39011         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
39012         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
39013         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
39015         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
39016         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39017         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
39018         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39019         [defined __arch64__ || defined __sparcv9]
39020         (__INO_T_MATCHES_INO64_T): New macro.
39021         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39022         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
39023         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
39024         * sysdeps/unix/sysv/linux/bits/dirent.h
39025         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
39026         (_DIRENT_MATCHES_DIRENT64): New macro.
39028         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
39029         Define lockf64 as an alias.
39030         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
39031         Define fseeko64 as an alias.
39032         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
39033         Define ftello64 as an alias.
39034         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
39035         Define _IO_fgetpos64 and fgetpos64 as aliases.
39036         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
39037         Define _IO_fsetpos64 and fsetpos64 as aliases.
39038         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
39039         Conditionalize body on this.
39040         * libio/fseeko64.c: Likewise.
39041         * libio/ftello64.c: Likewise.
39042         * libio/iofgetpos64.c: Likewise.
39043         * libio/iofsetpos64.c: Likewise.
39044         * sysdeps/wordsize-64/lockf.c: File removed.
39045         * sysdeps/wordsize-64/lockf64.c: File removed.
39046         * sysdeps/wordsize-64/fseeko.c: File removed.
39047         * sysdeps/wordsize-64/fseeko64.c: File removed.
39048         * sysdeps/wordsize-64/ftello.c: File removed.
39049         * sysdeps/wordsize-64/ftello64.c: File removed.
39050         * sysdeps/wordsize-64/iofgetpos.c: File removed.
39051         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
39052         * sysdeps/wordsize-64/iofsetpos.c: File removed.
39053         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
39054         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
39055         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
39056         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
39057         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
39058         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
39059         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
39060         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
39061         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
39062         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
39063         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
39065         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39066         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
39067         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
39068         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
39069         [defined __arch64__ || defined __sparcv9]
39070         (__OFF_T_MATCHES_OFF64_T): New macro.
39071         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
39072         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
39073         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
39074         (__OFF_T_MATCHES_OFF64_T): New macro.
39076 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39078         * stdlib/secure-getenv.c (__secure_getenv): Replace
39079         GLIBC_2_16 with GLIBC_2_17.
39081 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
39083         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
39084         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
39086 2012-08-03  David S. Miller  <davem@davemloft.net>
39088         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39090 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
39092         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
39093         Remove.
39094         (__ASSUME_CORRECT_SI_PID): Likewise.
39095         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
39096         (__ASSUME_TMPFS_NAME): Likewise.
39097         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
39098         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
39099         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
39100         (HAVE_AUX_SECURE): Make definition unconditional.
39101         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
39102         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
39104 2012-08-03  Roland McGrath  <roland@hack.frob.com>
39106         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
39107         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
39108         * sysdeps/mach/hurd/eloop-threshold.h: New file.
39109         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
39110         __eloop_threshold instead of SYMLOOP_MAX.
39112         * sysdeps/generic/eloop-threshold.h: New file.
39113         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
39114         of MAXSYMLINKS.
39115         * elf/chroot_canon.c (chroot_canon): Likewise.
39117 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
39119         [BZ #13717]
39120         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39121         Change to 2.6.0 everywhere.
39122         * sysdeps/unix/sysv/linux/configure: Regenerated.
39123         * sysdeps/unix/sysv/linux/kernel-features.h
39124         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
39125         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
39126         kernel versions.
39127         (__ASSUME_POSIX_TIMERS): Define unconditionally.
39128         (__ASSUME_FUTEX_REQUEUE): Remove.
39129         (__ASSUME_STATFS64): Define unconditionally.
39130         (__ASSUME_AT_SECURE): Likewise.
39131         (__ASSUME_CORRECT_SI_PID): Likewise.
39132         (__ASSUME_TGKILL): Define without depending on kernel version for
39133         i386.
39134         (__ASSUME_UTIMES): Likewise.
39135         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
39136         kernel version.
39137         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
39138         (__ASSUME_TMPFS_NAME): Likewise.
39139         * README: Update reference to Linux kernel versions.
39141 2012-08-02  Marek Polacek  <polacek@redhat.com>
39143         [BZ# 14150]
39144         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
39145         libc_cv_asm_type_prefix with %.
39146         * configure: Regenerated.
39147         * include/libc-symbols.h: Remove comment about
39148         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39149         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
39150         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
39151         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
39152         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
39153         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
39154         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
39155         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
39156         * elf/tst-unique2mod1.c: Likewise.
39157         * elf/tst-unique1mod2.c: Likewise.
39158         * elf/tst-unique1mod1.c: Likewise.
39159         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
39160         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
39161         Replace ASM_TYPE_DIRECTIVE with .type.
39162         * sysdeps/s390/s390-64/sysdep.h: Likewise.
39163         * sysdeps/i386/sysdep.h: Likewise.
39164         * sysdeps/x86_64/sysdep.h: Likewise.
39165         * sysdeps/sh/sysdep.h: Likewise.
39166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
39167         Do not define ASM_TYPE_DIRECTIVE.
39168         * sysdeps/powerpc/sysdep.h: Likewise.
39169         * sysdeps/powerpc/powerpc32/sysdep.h:
39170         Replace ASM_TYPE_DIRECTIVE with .type.
39171         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
39172         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
39173         * sysdeps/i386/fpu/e_powf.S: Likewise.
39174         * sysdeps/i386/fpu/e_expl.S: Likewise.
39175         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39176         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39177         * sysdeps/i386/fpu/e_pow.S: Likewise.
39178         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
39179         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39180         * sysdeps/i386/fpu/s_expm1.S: Likewise.
39181         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
39182         * sysdeps/i386/fpu/e_log2.S: Likewise.
39183         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39184         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39185         * sysdeps/i386/fpu/e_powl.S: Likewise.
39186         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39187         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
39188         * sysdeps/i386/fpu/e_logl.S: Likewise.
39189         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
39190         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
39191         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
39192         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39193         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39194         * sysdeps/i386/fpu/e_log.S: Likewise.
39195         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39196         * sysdeps/i386/fpu/e_logf.S: Likewise.
39197         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39198         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39199         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
39200         * sysdeps/i386/fpu/e_log10.S: Likewise.
39201         * sysdeps/i386/fpu/s_frexp.S: Likewise.
39202         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39203         * sysdeps/i386/fpu/s_asinh.S: Likewise.
39204         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
39205         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39206         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
39207         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
39208         * sysdeps/i386/i686/strtok.S: Likewise.
39209         * sysdeps/i386/i386-mcount.S: Likewise.
39210         * sysdeps/i386/strtok.S: Likewise.
39211         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
39212         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39213         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39214         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39215         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
39216         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39217         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
39218         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
39219         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39220         * sysdeps/x86_64/_mcount.S: Likewise.
39221         * sysdeps/x86_64/strtok.S: Likewise.
39222         * sysdeps/sh/_mcount.S: Likewise.
39224 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39226         * libio/iofopen.c: Include <fcntl.h>.
39227         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
39228         (_IO_fopen64, fopen64): Define as aliases.
39229         * libio/iofopen64.c: Include <fcntl.h>.
39230         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
39231         Conditionalize body on this.
39232         * sysdeps/wordsize-64/iofopen.c: File removed.
39233         * sysdeps/wordsize-64/iofopen64.c: File removed.
39235 2012-08-01  Marek Polacek  <polacek@redhat.com>
39237         * libc/Makeconfig: Use elf in place of binfmt-subdir.
39238         Use dlfcn directly instead of a variable.
39239         (binfmt-subdir): Do not define.
39240         (dlfcn): Likewise.
39242 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
39244         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
39245         Remove all definitions.
39246         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
39247         <kernel-features.h>.
39248         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39249         (miss_F_GETOWN_EX): Remove all definitions.
39250         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
39251         macro definition.
39252         [!__ASSUME_FCNTL64]: Remove conditional code.
39253         [__ASSUME_FCNTL64]: Make code unconditional.
39254         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
39255         <kernel-features.h>.
39256         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
39257         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
39258         (lockf64) [__NR_fcntl64]: Make code unconditional.
39259         (lockf64) [__ASSUME_FCNTL64]: Likewise.
39261         * sysdeps/unix/sysv/linux/kernel-features.h
39262         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
39263         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
39264         Make code unconditional.
39265         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39266         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
39268         [__NR_vfork]: Make code unconditional.
39269         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39270         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
39272         [__NR_vfork]: Make code unconditional.
39273         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
39274         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
39276 2012-08-01  Roland McGrath  <roland@hack.frob.com>
39278         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
39279         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
39281         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39282         Define mkstemp64 as an alias.
39283         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39284         Define mkstemps64 as an alias.
39285         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39286         Define mkostemp64 as an alias.
39287         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
39288         Define mkostemps64 as an alias.
39289         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
39290         Conditionalize body on this.
39291         * misc/mkostemp64.c: Likewise.
39292         * misc/mkostemps64.c: Likewise.
39293         * misc/mkstemps64.c: Likewise.
39294         * sysdeps/wordsize-64/mkstemp64.c: File removed.
39295         * sysdeps/wordsize-64/mkostemp64.c: File removed.
39296         * sysdeps/wordsize-64/mkostemp.c: File removed.
39297         * sysdeps/wordsize-64/mkstemp.c: File removed.
39298         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
39299         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
39300         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
39301         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
39303         [BZ #14138]
39304         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
39305         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
39306         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
39307         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
39309         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
39310         compat_symbol macros from <shlib-compat.h> rather than the underlying
39311         default_symbol_version and symbol_version macros, so that DEFAULT
39312         lines in shlib-versions are respected.
39313         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
39315 2012-08-01  Florian Weimer  <fweimer@redhat.com>
39317         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
39318         Declare with warn_unused_result.
39319         (setgid, setregid, setegid, setresgid): Likewise.
39320         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
39321         Likewise.
39322         * WUR-REPORT: Remove set*id functions.
39324 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
39326         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
39328 2012-07-31  Roland McGrath  <roland@hack.frob.com>
39330         [BZ #10191]
39331         * include/sys/socket.h (__libc_accept, __libc_accept4):
39332         Add attribute_hidden.
39333         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
39335         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
39336         use of PTR_MANGLE.
39337         * inet/getnetgrent_r.c (setup): Likewise.
39339         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
39341 2012-07-31  David S. Miller  <davem@davemloft.net>
39343         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39345 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
39347         [BZ #13629]
39348         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
39349         value between 1.0 and 2.0 and smaller part has absolute value less
39350         than 1.0.
39351         * math/s_clog10.c (__clog10): Likewise.
39352         * math/s_clog10f.c (__clog10f): Likewise.
39353         * math/s_clog10l.c (__clog10l): Likewise.
39354         * math/s_clogf.c (__clogf): Likewise.
39355         * math/s_clogl.c (__clogl): Likewise.
39356         * math/libm-test.inc (clog_test): Add more tests.
39357         (clog10_test): Likewise.
39358         * sysdeps/i386/fpu/libm-test-ulps: Update.
39359         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39361 2012-07-31  Florian Weimer  <fweimer@redhat.com>
39363         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
39364         Exit with zero in case no suitable GID is found, and write a
39365         message to standard error.
39367 2012-07-30  Roland McGrath  <roland@hack.frob.com>
39369         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
39370         rather than to 1.
39371         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
39372         (MAXPATHLEN): Removed.
39373         (NOGROUP, NODEV): New macros.
39374         (setbit, clrbit, isset, isclr): New macros.
39375         (howmany, roundup, powerof2): New macros.
39376         (DEV_BSIZE): New macro.
39378         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
39379         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
39381         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
39382         definition on [!__NO_LONG_DOUBLE_MATH].
39384         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
39385         PTR_MANGLE and PTR_DEMANGLE.
39387         * socket/accept4.c (accept4): Rename to __libc_accept4.
39388         Define accept4 as a weak alias.
39390         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
39391         on [_DIRENT_HAVE_D_TYPE].
39392         * io/ftw.c (ftw_dir): Likewise.
39394         * io/xmknod.c (__xmknod): Don't check PATH for being null.
39396         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
39398         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
39399         Use the BSD numbers rather than the arbitrary ones we had.
39400         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
39401         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
39402         (SIGXCPU, SIGXFSZ): New macros.
39403         (_NSIG): Now 32.
39405         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
39406         initializer on [_LIBC_REENTRANT].
39408         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
39409         definitions inside [_POSIX_MAPPED_FILES].
39411         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
39413         * dirent/opendir.c: Include <fcntl.h>.
39415         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
39416         (__libc_getspecific): Likewise.
39417         (__libc_key_create): Likewise.
39419         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
39420         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
39421         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
39422         (tmpfile64): Define as alias.
39423         * sysdeps/wordsize-64/tmpfile.c: File removed.
39424         * sysdeps/wordsize-64/tmpfile64.c: File removed.
39425         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
39426         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
39428         * stdio-common/vfscanf.c: Include <stdbool.h>.
39429         * nss/makedb.c: Likewise.
39430         * stdio-common/_i18n_number.h: Likewise.
39431         * argp/argp-help.c: Likewise.
39432         * posix/wordexp.c: Likewise.
39433         * sysdeps/posix/spawni.c: Likewise.
39434         * nss/nss_files/files-initgroups.c: Likewise.
39435         * stdio-common/reg-modifier.c: Include <stdlib.h>.
39436         * nss/nss_files/files-initgroups.c: Likewise.
39437         * nss/nss_db/db-netgrp.c: Likewise.
39438         * nss/nss_db/db-initgroups.c: Likewise.
39439         * io/fchmodat.c: Include <sys/stat.h>.
39441         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
39442         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
39444         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
39445         [HAVE_MMAP].
39447         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
39448         Add multiple inclusion protection.
39450 2012-07-27  David S. Miller  <davem@davemloft.net>
39452         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39454 2012-07-27  Gary Benson  <gbenson@redhat.com>
39456         [BZ #14298]
39457         * elf/rtld.c: Include <stap-probe.h>.
39458         (dl_main): Added static probes "init_start" and "init_complete".
39459         * elf/dl-load.c: Include <stap-probe.h>.
39460         (lose): Take new parameter "nsid".
39461         Added static probe "map_failed".
39462         (_dl_map_object_from_fd): Pass namespace id to lose.
39463         Added static probe "map_start".
39464         (open_verify): Pass namespace id to lose.
39465         * elf/dl-open.c: Include <stap-probe.h>.
39466         (dl_open_worker) Added static probes "map_complete", "reloc_start"
39467         and "reloc_complete".
39468         * elf/dl-close.c: Include <stap-probe.h>.
39469         (_dl_close_worker): Added static probes "unmap_start" and
39470         "unmap_complete".
39471         * elf/rtld-debugger-interface.txt: New file documenting the above.
39473 2012-07-26  Roland McGrath  <roland@hack.frob.com>
39475         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
39476         rather than a string variable.
39477         * sunrpc/rpc_main.c (h_output): Likewise.
39478         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
39480 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
39482         * inet/check_native.c: New file.
39484 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
39486         [BZ #13629]
39487         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
39488         if larger part has absolute value 1.0.
39489         * math/s_clog10.c (__clog10): Likewise.
39490         * math/s_clog10f.c (__clog10f): Likewise.
39491         * math/s_clog10l.c (__clog10l): Likewise.
39492         * math/s_clogf.c (__clogf): Likewise.
39493         * math/s_clogl.c (__clogl): Likewise.
39494         * math/libm-test.inc (clog_test): Add more tests.
39495         (clog10_test): Likewise.
39496         * sysdeps/i386/fpu/libm-test-ulps: Update.
39497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39499         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
39500         (pltexit): Likewise.
39501         (La_regs): Likewise.
39502         (La_retval): Likewise.
39503         (int_retval): Likewise.
39504         Update #error for removed macros to refer only to definitions in
39505         tst-audit.h.
39506         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
39507         macro.
39508         (pltexit): Likewise.
39509         (La_regs): Likewise.
39510         (La_retval): Likewise.
39511         (int_retval): Likewise.
39512         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
39513         macro.
39514         (pltexit): Likewise.
39515         (La_regs): Likewise.
39516         (La_retval): Likewise.
39517         (int_retval): Likewise.
39518         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
39519         macro.
39520         (pltexit): Likewise.
39521         (La_regs): Likewise.
39522         (La_retval): Likewise.
39523         (int_retval): Likewise.
39524         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
39525         macro.
39526         (pltexit): Likewise.
39527         (La_regs): Likewise.
39528         (La_retval): Likewise.
39529         (int_retval): Likewise.
39530         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
39531         macro.
39532         (pltexit): Likewise.
39533         (La_regs): Likewise.
39534         (La_retval): Likewise.
39535         (int_retval): Likewise.
39536         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
39537         macro.
39538         (pltexit): Likewise.
39539         (La_regs): Likewise.
39540         (La_retval): Likewise.
39541         (int_retval): Likewise.
39542         * sysdeps/generic/tst-audit.h: Update comment to refer only to
39543         macro definitions in tst-audit.h.
39544         * sysdeps/i386/tst-audit.h: New file.
39545         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
39546         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
39547         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
39548         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
39549         * sysdeps/sh/tst-audit.h: Likewise.
39550         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
39551         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
39552         * sysdeps/x86_64/tst-audit.h: Likewise.
39554 2012-07-26  Andreas Jaeger  <aj@suse.de>
39556         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
39557         ptrace.
39559         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
39560         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
39561         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
39562         PTRACE_O_MASK.
39563         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
39564         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
39565         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
39567         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
39568         value.
39570         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
39571         _sigsys.
39572         (si_call_addr, si_syscall, si_arch): Define new macro.
39573         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
39574         _sigsys.
39575         (si_call_addr, si_syscall, si_arch): Define new marcro.
39576         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
39577         _sigsys.
39578         (si_call_addr, si_syscall, si_arch): Define new macro.
39579         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
39580         _sigsys.
39581         (si_call_addr, si_syscall, si_arch): Define new macro.
39583 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39585         [BZ #13717]
39586         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
39587         Change to 2.4.21 where previously 2.4.1.
39588         * sysdeps/unix/sysv/linux/configure: Regenerated.
39589         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
39590         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
39591         Linux kernel version.
39592         (__ASSUME_STD_AUXV): Remove.
39593         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
39594         kernel version.
39595         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
39596         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
39597         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
39598         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
39599         (__ASSUME_NETLINK_SUPPORT): Likewise.
39600         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
39601         (__no_netlink_support): Remove conditional definition.
39602         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
39603         Remove.
39604         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39605         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
39606         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
39607         (if_nameindex_ioctl): Remove.
39608         (if_nameindex_netlink): Do not handle __no_netlink_support.
39609         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39610         code.
39611         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
39612         Remove conditional code.
39613         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
39614         code.
39615         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
39616         unconditional.
39617         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
39618         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
39619         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
39620         Remove.
39621         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
39622         [!__ASSUME_STD_AUXV]: Remove conditional code.
39623         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
39624         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
39625         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
39626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
39627         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
39628         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39629         code.
39630         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
39632         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
39633         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39634         conditional code.
39635         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
39636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
39637         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
39638         code.
39639         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
39640         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
39641         conditional code.
39642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
39643         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39644         code unconditional.
39645         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39646         conditional code.
39647         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39648         unconditional.
39649         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39650         conditional code.
39651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
39652         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39653         unconditional.
39654         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39655         conditional code.
39656         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
39657         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39658         code unconditional.
39659         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39660         conditional code.
39661         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39662         unconditional.
39663         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39664         conditional code.
39665         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
39666         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
39667         code unconditional.
39668         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39669         conditional code.
39670         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
39671         unconditional.
39672         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
39673         conditional code.
39675 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
39677         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
39678         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
39679         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
39680         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
39681         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
39682         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
39683         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
39684         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
39685         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
39686         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
39687         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
39688         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
39689         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
39690         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
39691         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
39692         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
39693         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
39694         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
39695         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
39696         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
39697         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
39698         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
39699         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
39701 2012-07-25  Florian Weimer  <fweimer@redhat.com>
39703         * Versions.def: Add GLIBC_2.17.
39704         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
39705         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
39706         Introduce __libc_secure_getenv.
39707         * stdlib/Versions (2.17): Add secure_getenv
39708         (GLIBC_PRIVATE): Add __libc_secure_getenv.
39709         * stdlib/secure-getenv.c: Rename __secure_getenv to
39710         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
39711         symbol __secure_getenv for GLIBC_2.0.
39712         * stdlib/tst-secure-getenv.c: New.
39713         * stdlib/Makefile (tests): Add testcase.
39714         * manual/startup.texi (Environment Access): Document
39715         secure_getenv.
39716         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
39717         __libc_secure_getenv.
39718         * inet/ruserpass.c (ruserpass): Likewise.
39719         * malloc/mtrace.c (mtrace): Likewise.
39720         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
39721         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
39722         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
39723         * sysdeps/posix/tempname.c: Likewise.  Evaluate
39724         HAVE_SECURE_GETENV.
39725         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
39726         __secure_getenv to __libc_secure_getenv.
39727         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
39728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39729         Likewise.
39730         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39731         Likewise.
39732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
39733         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
39734         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
39735         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
39736         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
39737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
39738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
39740 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
39742         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
39743         (struct La_i86_retval): Likewise.
39744         (struct La_x86_64_regs): Likewise.
39745         (struct La_x86_64_retval): Likewise.
39746         (struct La_x32_regs): Likewise.
39747         (struct La_x32_retval): Likewise.
39748         (struct La_ppc32_regs): Likewise.
39749         (struct La_ppc32_retval): Likewise.
39750         (struct La_ppc64_regs): Likewise.
39751         (struct La_ppc64_retval): Likewise.
39752         (struct La_sh_regs): Likewise.
39753         (struct La_sh_retval): Likewise.
39754         (struct La_s390_32_regs): Likewise.
39755         (struct La_s390_32_retval): Likewise.
39756         (struct La_s390_64_regs): Likewise.
39757         (struct La_s390_64_retval): Likewise.
39758         (struct La_sparc32_regs): Likewise.
39759         (struct La_sparc32_retval): Likewise.
39760         (struct La_sparc64_regs): Likewise.
39761         (struct La_sparc64_retval): Likewise.
39762         (struct audit_ifaces): Remove architecture-specific pltenter and
39763         pltexit members.
39764         * sysdeps/i386/ldsodefs.h: New file.
39765         * sysdeps/powerpc/ldsodefs.h: Likewise.
39766         * sysdeps/s390/ldsodefs.h: Likewise.
39767         * sysdeps/sh/ldsodefs.h: Likewise.
39768         * sysdeps/sparc/ldsodefs.h: Likewise.
39769         * sysdeps/x86_64/ldsodefs.h: Likewise.
39771 2012-07-25  Marek Polacek  <polacek@redhat.com>
39773         [BZ #6808]
39774         * math/libm-test.inc (yn_test): Add another test.
39775         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
39776         to ERANGE when the result is +-Inf.
39777         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
39778         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
39779         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
39780         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
39782 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
39784         * conform/data/time.h-data (NULL): Use macro-constant.  Require
39785         equal to 0.
39786         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
39787         clock_t.
39788         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
39790 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
39792         * configure.in <sysdeps resolving>: Correct printing
39793         Implies_before.
39794         * configure: Regenerate.
39796 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
39798         * math/w_ilogb.c: Include <limits.h>.
39799         * math/w_ilogbl.c: Likewise.
39801 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39803         * manual/lang.texi (__va_copy): Document primarily as ISO C99
39804         va_copy.  Document allowing for unavailable va_copy only as
39805         pre-C99 compatibility.
39806         * manual/string.texi (Copying and Concatenation): Use va_copy
39807         instead of __va_copy in concat example.
39809 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
39811         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
39812         (__sendto): Use create_address_port.  Initialize APORT and deallocate
39813         it if not null.
39815         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
39816         with O_NOLINK passed to __file_name_lookup.
39818         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
39819         with O_NOLINK passed to __file_name_lookup.
39821         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
39822         negative N or less than NGIDS.
39824         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
39825         type to string_t.  Set ERANGE as errno and return it if NAME is not big
39826         enough.  Use memcpy instead of strncpy.
39828 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
39830         * elf/Makefile (check-data): Remove.
39831         (localplt.data): New vpath directive.
39832         ($(objpfx)check-localplt.out): Use localplt.data from vpath
39833         instead of $(check-data).
39834         * scripts/data/localplt-generic.data: Move to ...
39835         * sysdeps/generic/localplt.data: ... here.
39836         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
39837         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
39838         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
39839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39840         ... here.
39841         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
39842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39843         ... here.
39844         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
39845         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
39846         ... here.
39847         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
39848         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
39849         ... here.
39850         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
39851         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
39852         ... here.
39853         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
39854         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
39855         ... here.
39857 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39859         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
39860         PPC32 and PPC64 files.
39861         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
39862         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
39864 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39866         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
39867         __makecontext_ret to ...
39868         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
39869         ... here and call exit if uc_link is NULL.  New file.
39870         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
39871         __makecontext_ret.S.
39872         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
39873         __makecontext_ret to ...
39874         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
39875         ... here and call exit if uc_link is NULL.  New file.
39876         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
39877         __makecontext_ret.S.
39879 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39881         * elf/elf.h (R_390_IRELATIVE): New definition.
39882         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
39883         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
39884         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
39885         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
39886         (elf_machine_lazy_rel): Likewise.
39887         * sysdeps/s390/dl-irel.h: New file.
39888         * sysdeps/s390/s390-64/memcpy.S: New asm code.
39889         * sysdeps/s390/s390-64/memset.S: New asm code.
39890         * sysdeps/s390/s390-64/memcmp.S: New asm code.
39891         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
39892         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
39893         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
39894         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
39895         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
39896         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
39897         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
39898         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
39899         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
39900         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
39901         * sysdeps/s390/s390-32/memcpy.S: New asm code.
39902         * sysdeps/s390/s390-32/memset.S: New asm code.
39903         * sysdeps/s390/s390-32/memcmp.S: New asm code.
39905 2012-07-17  Marek Polacek  <polacek@redhat.com>
39907         [BZ #14349]
39908         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
39909         * sysdeps/s390/s390-64/configure.in: Likewise.
39910         * sysdeps/sparc/configure.in: Likewise.
39911         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
39912         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
39913         * sysdeps/i386/configure.in: Likewise.
39914         * sysdeps/x86_64/configure.in: Likewise.
39915         * sysdeps/sh/configure.in: Likewise.
39916         * sysdeps/s390/s390-32/configure: Regenerated.
39917         * sysdeps/s390/s390-64/configure: Likewise.
39918         * sysdeps/x86_64/configure: Likewise.
39919         * sysdeps/sh/configure: Likewise.
39920         * sysdeps/powerpc/powerpc64/configure: Likewise.
39921         * sysdeps/powerpc/powerpc32/configure: Likewise.
39922         * sysdeps/sparc/configure: Likwise.
39923         * sysdeps/i386/configure: Likewise.
39925         * elf/dl-open.c: Comment fixes.
39927 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
39929         * Makefile [CXX] (check-data): Remove.
39930         [CXX] (c++-types.data): New vpath directive.
39931         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
39932         vpath.  Do not allow for C++ type data being missing.
39933         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
39934         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
39935         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
39936         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
39937         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
39938         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
39939         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
39940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39941         ... here.
39942         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
39943         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39944         ... here.
39945         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
39946         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
39947         ... here.
39948         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
39949         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
39950         ... here.
39951         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
39952         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
39953         ... here.
39954         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
39955         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
39956         ... here.
39957         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
39958         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
39959         ... here.
39960         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
39961         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
39963         * elf/tls-macros.h (TLS_LE): Move architecture-specific
39964         definitions to architecture-specific files.
39965         (TLS_IE): Likewise.
39966         (TLS_LD): Likewise.
39967         (TLS_GD): Likewise.
39968         * sysdeps/i386/tls-macros.h: New file.
39969         * sysdeps/powerpc/tls-macros.h: Likewise.
39970         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
39971         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
39972         * sysdeps/sh/tls-macros.h: Likewise.
39973         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
39974         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
39975         * sysdeps/x86_64/tls-macros.h: Likewise.
39977 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39979         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
39980         zero value for regular exit case.
39982         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
39983         (__start_context): Preserve zero value for regular exit case.
39985 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
39986             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39988         * manual/setjmp.texi (setcontext): Clarify normal process
39989         termination when uc_link is the null pointer.
39990         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
39991         exit call.
39993 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
39995         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
39996         preprocessor.  Test for each exception mask separately.
39998 2012-07-16  Andreas Jaeger  <aj@suse.de>
40000         * po/ru.po: Update from translation team.
40002 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
40004         * conform/data/string.h-data (NULL): Use macro-constant.  Require
40005         equal to 0.
40006         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
40007         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
40008         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
40009         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
40010         [ISO || ISO99 || ISO11] (*_t): Do not allow.
40012 2012-07-13  Andreas Jaeger  <aj@suse.de>
40014         * po/fr.po: Update from translation team.
40016 2012-07-12  Marek Polacek  <polacek@redhat.com>
40018         [BZ #14173]
40019         * math/libm-test.inc (yn_test): Add test for BZ #14173.
40020         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
40021         loop condition.
40023 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
40025         [BZ #13717]
40026         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
40027         Change to 2.4.1 where previously 2.4.0.
40028         * sysdeps/unix/sysv/linux/configure: Regenerated.
40029         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
40030         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
40031         version.
40032         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
40033         (__ASSUME_AT_CLKTCK): Remove.
40034         (__ASSUME_AT_PAGESIZE): Likewise.
40035         (__ASSUME_AT_XID): Likewise.
40036         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
40037         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
40038         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
40039         unconditionally.
40040         (HAVE_AUX_PAGESIZE): Likewise.
40041         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
40042         [__ASSUME_AT_CLKTCK]: Make code unconditional.
40043         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
40045 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
40047         [BZ #14307]
40048         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
40049         the temporary buffer used to invoke __gethostbyname2_r,
40050         __gethostbyaddr_r and gethostbyname4_r to make room for struct
40051         host_data / struct gaih_addrtuple.
40052         * resolv/nss_dns/dns-host.c (global scope): Move definition of
40053         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
40054         header file nss/nsswitch.h.
40055         * nss/nsswitch.h (global scope): Add definition of implementation
40056         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
40057         resolv/nss_dns/dns-host.c).
40059 2012-07-11  Andreas Jaeger  <aj@suse.de>
40061         * po/fr.po: Update from translation team.
40063         * po/sv.po: Update from translation team
40064         * po/fr.po: Another update from translation team.
40066 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40068         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
40069         for subnormals or multiply small sinh result by itself.
40070         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
40071         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40073 2012-07-11  David S. Miller  <davem@davemloft.net>
40075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
40077 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
40079         [BZ #14347]
40080         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
40081         (INTERNAL_MARK): Shift it here.
40083 2012-07-10  Marek Polacek  <polacek@redhat.com>
40085         [BZ #14151]
40086         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
40087         libc_cv_asm_global_directive with .globl.
40088         * configure: Regenerated.
40089         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
40090         with .globl.
40091         * sysdeps/i386/configure: Regenerated.
40092         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
40093         with .globl.
40094         * sysdeps/x86_64/configure: Regenerated.
40095         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
40096         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
40097         * elf/tst-unique2mod2.c: Likewise.
40098         * elf/tst-unique2mod1.c: Likewise.
40099         * elf/tst-unique1mod2.c: Likewise.
40100         * elf/tst-unique1mod1.c: Likewise.
40101         * sysdeps/s390/s390-32/sysdep.h: Likewise.
40102         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
40103         * sysdeps/s390/s390-64/sysdep.h: Likewise.
40104         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
40105         * sysdeps/mach/sysdep.h: Likewise.
40106         * sysdeps/i386/sysdep.h: Likewise.
40107         * sysdeps/i386/i386-mcount.S: Likewise.
40108         * sysdeps/x86_64/_mcount.S: Likewise.
40109         * sysdeps/x86_64/sysdep.h: Likewise.
40110         * sysdeps/sh/_mcount.S: Likewise.
40111         * sysdeps/sh/sysdep.h: Likewise.
40112         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
40113         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
40114         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
40115         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
40116         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
40117         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
40118         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
40119         * locale/localeinfo.h: Likewise.
40120         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
40121         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
40123 2012-07-09  Roland McGrath  <roland@hack.frob.com>
40125         [BZ #14336]
40126         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
40127         system".
40128         * manual/message.texi (The Uniforum approach): Likewise.
40129         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
40130         (glibc iconv Implementation): Likewise.
40132 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
40134         [BZ #14337]
40135         * math/s_clog.c (__clog): Avoid scaling a value down where that
40136         could result in underflow.
40137         * math/s_clog10.c (__clog10): Likewise.
40138         * math/s_clog10f.c (__clog10f): Likewise.
40139         * math/s_clog10l.c (__clog10l): Likewise.
40140         * math/s_clogf.c (__clogf): Likewise.
40141         * math/s_clogl.c (__clogl): Likewise.
40142         * math/libm-test.inc (clog_test): Add more tests.
40143         (clog10_test): Likewise.
40144         * sysdeps/i386/fpu/libm-test-ulps: Update.
40145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40147 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
40149         [BZ #14283]
40150         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
40151         by 7 not 8 to examine high bit of fractional part.
40153         [BZ #14042]
40154         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
40155         for call to __mcount_internal.
40156         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
40157         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
40158         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
40160 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
40162         [BZ #14154]
40163         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
40164         approximation for values within 0x1p-13f of an odd multiple of
40165         pi/4.
40166         * math/libm-test.inc (tan_test): Do not allow spurious underflow
40167         exception.  Add more tests.
40168         * sysdeps/i386/fpu/libm-test-ulps: Update.
40170         [BZ #6778]
40171         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
40172         inputs and return -1 for them.  Do not check for +Inf in case not
40173         reachable for +Inf.
40174         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
40175         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
40176         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40177         and return -1 for them.  Do not check for +Inf in case not
40178         reachable for +Inf.
40179         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
40180         define.
40181         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
40182         and return -1 for them.  Do not check for +Inf in case not
40183         reachable for +Inf.
40184         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
40185         spurious underflow.
40186         * sysdeps/i386/fpu/libm-test-ulps: Update.
40187         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40189 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
40191         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
40193 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
40195         [BZ #14157]
40196         [BZ #14331]
40197         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
40198         could result in spurious underflow.  Scale down values above
40199         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
40200         * math/s_csqrtf.c (__csqrtf): Likewise.
40201         * math/s_csqrtl.c (__csqrtl): Likewise.
40202         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
40203         spurious underflow.
40204         * sysdeps/i386/fpu/libm-test-ulps: Update.
40205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40207 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
40209         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
40210         xopen-msg.sed.
40211         * catgets/xopen-msg.awk: New file.
40212         * catgets/xopen-msg.sed: Removed.
40214         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
40215         po2text.sed.
40216         * intl/po2test.awk: New file.
40217         * intl/po2test.sed: Removed.
40219 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
40221         [BZ #14328]
40222         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
40223         or multiply small sinh result by itself.
40224         * math/s_ctanf.c (__ctanf): Likewise.
40225         * math/s_ctanh.c (__ctanh): Likewise.
40226         * math/s_ctanhf.c (__ctanhf): Likewise.
40227         * math/s_ctanhl.c (__ctanhl): Likewise.
40228         * math/s_ctanl.c (__ctanl): Likewise.
40229         * math/libm-test.inc (ctan_test_tonearest): New function.
40230         (ctan_test_towardzero): Likewise.
40231         (ctan_test_downward): Likewise.
40232         (ctan_test_upward): Likewise.
40233         (ctanh_test_tonearest): Likewise.
40234         (ctanh_test_towardzero): Likewise.
40235         (ctanh_test_downward): Likewise.
40236         (ctanh_test_upward): Likewise.
40237         (main): Call these new functions.
40238         * sysdeps/i386/fpu/libm-test-ulps: Update.
40239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40241 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
40243         * .gitignore: Delete /ports entry.
40245 2012-07-03  Andreas Jaeger  <aj@suse.de>
40247         * po/bg.po: Update from translation team.
40248         * po/cs.po: Likewise.
40249         * po/de.po: Likewise.
40250         * po/hr.po: Likewise.
40251         * po/nl.pl: Likewise.
40252         * po/pl.po: Likewise.
40253         * po/vi.po: Likewise.
40255 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
40257         * Makeconfig [!+link] (+link-before-libc): New variable.
40258         [!+link] (+link-after-libc): Likewise.
40259         [!+link] (+link-tests): Likewise.
40260         [!+link] (+link): Define in terms of $(+link-before-libc) and
40261         $(+link-after-libc).
40262         [!+link-static] (+link-static-before-libc): New variable.
40263         [!+link-static] (+link-static-after-libc): Likewise.
40264         [!+link-static] (+link-static-tests): Likewise.
40265         [!+link-static] (+link-static): Define in terms of
40266         $(+link-static-before-libc) and $(+link-static-after-libc).
40267         [build-shared] (link-libc-before-gnulib): New variable.
40268         [build-shared] (link-libc-tests): Likewise.
40269         [build-shared] (link-libc): Define in terms of
40270         $(link-libc-before-gnulib).
40271         [!build-shared] (link-libc-tests): New variable.
40272         (link-libc-static-tests): New variable.
40273         [!gnulib] (gnulib-arch): New variable.
40274         [!gnulib] (gnulib-tests): Likewise.
40275         [!gnulib] (static-gnulib-arch): Likewise.
40276         [!gnulib] (static-gnulib-tests): Likewise.
40277         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
40278         Define with "=" instead of ":=".
40279         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
40280         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
40281         * Rules (binaries-all-notests): New variable.
40282         (binaries-all-tests): Likewise.
40283         (binaries-static-notests): Likewise.
40284         (binaries-static-tests): Likewise.
40285         (binaries-all): Define using $(binaries-all-notests) and
40286         $(binaries-all-tests).
40287         (binaries-static): Define using $(binaries-static-notests) and
40288         $(binaries-static-tests).
40289         (binaries-shared-tests): New variable.
40290         (binaries-shared-notests): Likewise.
40291         (binaries-shared): Remove variable.
40292         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
40293         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
40294         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
40295         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
40296         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
40297         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
40298         * elf/Makefile (sln-modules): New variable.
40299         (extra-objs): Add $(sln-modules:=.o).
40300         (ldconfig-modules): Add static-stubs.
40301         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
40302         * elf/static-stubs.c: New file.
40304         [BZ #14283]
40305         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
40306         by 7 not 8 to examine high bit of fractional part.  Use volatile
40307         variables when splitting into final array of floats if
40308         __FLT_EVAL_METHOD__ != 0.
40309         * math/libm-test.inc (cos_test): Add another test.
40310         (sin_test): Likewise.
40311         * sysdeps/i386/fpu/libm-test-ulps: Update.
40313         [BZ #14273]
40314         * math/libm-test.inc (cosh_test): Add more tests.
40316         * version.h (RELEASE): Set to "development".
40317         (VERSION): Set to "2.16.90".
40319 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
40321         * NEWS: Update copyright. Remove last-updated date.
40322         Mention math library bug fixes and timezone data changes.
40323         * README: Mention GNU/Hurd, x32, and HPPA support status.
40325 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
40327         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
40329 2012-06-27  Andreas Jaeger  <aj@suse.de>
40331         * manual/contrib.texi (Contributors): Add Samuel Thibault.
40333 2012-06-25  Andreas Jaeger  <aj@suse.de>
40335         * sysdeps/s390/fpu/libm-test-ulps: Update.
40337 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
40338             Thomas Schwinge  <thomas@codesourcery.com>
40340         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
40341         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
40342         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
40343         fanotify_mark.
40345 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
40347         * sysdeps/mach/start.c: Remove file.
40348         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
40349         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
40350         * sysdeps/sh/init-first.c: Likewise.
40352         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
40353         registers for frame unwinding purposes, add CFI directives.
40354         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40355         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
40356         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
40357         Likewise.
40359         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
40360         __fortify_fail returning.
40361         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
40363         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
40364         sysdeps/sh/____longjmp_chk.S.
40365         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
40366         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
40367         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
40368         (gen-as-const-headers): Append sigaltstack-offsets.sym.
40370         * sysdeps/sh/abort-instr.h: New file.
40371         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
40372         process in case exit returns.
40374         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
40375         initialize the GOT register before use.
40377         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
40378         calculation of ARGC > 4.
40380         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
40381         meaningful names to some local labels.
40383 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
40384             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40386         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
40387         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
40388         (__arch_compare_and_exchange_val_16_acq): Likewise.
40389         (__arch_compare_and_exchange_val_32_acq): Likewise.
40390         (atomic_exchange_and_add): Fix gUSA sequence.
40391         (atomic_add): Likewise.
40392         (atomic_add_negative): Likewise.
40393         (atomic_add_zero): Likewise.
40394         (atomic_bit_test_set): Likewise.
40396 2012-06-22  Andreas Schwab  <schwab@redhat.com>
40398         [BZ #13579]
40399         * include/link.h (struct link_map): Add l_free_initfini.
40400         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
40401         l_initfini.
40402         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
40403         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
40404         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
40405         set.
40407 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
40409         * configure.in: Use AC_LANG_SOURCE.
40410         * configure: Regenerate.
40412 2012-06-22  Roland McGrath  <roland@hack.frob.com>
40414         * configure.in (libc_cv_localstatedir): New substituted variable.
40415         * configure: Regenerated.
40416         * config.make.in (localstatedir): New variable, substituted from
40417         libc_cv_localstatedir.
40418         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
40419         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
40420         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
40421         * sysdeps/gnu/configure: Regenerated.
40423 2012-06-21  Jeff Law  <law@redhat.com>
40425         [BZ #14277]
40426         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
40427         free.  Simplify list management for _LIBC case.
40429 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
40431         [BZ #14273]
40432         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
40433         Clear sign bit of 64-bit integer value before comparing against
40434         overflow value.
40436         * sysdeps/mach/configure: Regenerated.
40438 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
40440         [BZ #14278]
40441         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
40443 2012-06-21  Jeff Law  <law@redhat.com>
40445         [BZ #13882]
40446         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
40447         uint16_t for elements in the "seen" array to avoid char overflows.
40448         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40449         * elf/dl-open.c (dl_open_worker): Likewise.
40451 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
40453         * scripts/list-sources.sh: Scan PORTS for translations.
40454         * po/libc.pot: Regenerated.
40456 2012-06-21  Andreas Jaeger  <aj@suse.de>
40458         [BZ #12194]
40459         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
40460         warning.
40461         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
40462         * bits/byteswap-16.h (__bswap_16): Likewise.
40463         * bits/byteswap.h (__bswap_constant_16): Likewise.
40465 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
40467         [BZ #14117]
40468         * sysdeps/i386/fpu_control.h: Removed.
40469         * sysdeps/x86_64/fpu_control.h: Moved to ...
40470         * sysdeps/x86/fpu_control.h: Here.
40472         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
40473         (_FPU_SETCW): Likewise.
40475 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
40477         [BZ #14117]
40478         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
40479         * sysdeps/x86/fpu/bits/mathinline.h: This.
40480         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
40482         [BZ #14050]
40483         [BZ #14117]
40484         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
40485         functions if __x86_64__ is defined.
40487 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
40489         * string/endian.h: Add !__ASSEMBLER__ condition for including
40490         conversion interfaces.
40492 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
40494         [BZ #14241]
40495         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
40496         of ABS(x) in calculating zero to negative powers other than odd
40497         integers.
40498         * math/libm-test.inc (pow_test): Add more tests.
40500 2012-06-15  Andreas Jaeger  <aj@suse.de>
40502         * manual/contrib.texi (Contributors): Update entry of Liubov
40503         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
40504         Machado Filho.
40506 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
40508         * string/string.h: Add __wur to GNU version of strerror_r.
40510 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
40512         [BZ #14229]
40513         * string/Makefile (tests): Add tst-strtok_r.
40514         * string/tst-strtok_r.c: New file.
40515         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
40516         RAX_LP/RDX_LP on SAVE_PTR.
40518 2012-06-14  Roland McGrath  <roland@hack.frob.com>
40520         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
40522 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
40524         * libm_test.inc (csqrt_test): Allow more spurious underflow
40525         exceptions.
40526         (j0_test): Likewise.
40527         (j1_test): Likewise.
40528         (y0_test): Likewise.
40529         (y1_test): Likewise.
40531 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
40533         * po/Makefile (libc.pot): Use UTF-8 charset.
40535 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
40537         [BZ #14210]
40538         Suppress sign-conversion warning from FD_SET.
40539         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
40540         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
40541         not unsigned long int.
40542         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
40544 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
40546         [BZ #14050]
40547         [BZ #14117]
40548         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
40549         __extern_always_inline instead of __extern_inline.
40550         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
40551         (__signbit): Likewise.
40552         (__signbitl): Support C++ namespace.
40553         (lrintf): New inline function.
40554         (lrint): Likewise.
40555         (llrintf): Likewise.
40556         (llrint): Likewise.
40557         (fmaxf): Likewise.
40558         (fmax): Likewise.
40559         (fminf): Likewise.
40560         (fmin): Likewise.
40561         (rint): Likewise.
40562         (rintf): Likewise.
40563         (ceil): Likewise.
40564         (ceilf): Likewise.
40565         (floor): Likewise.
40566         (floorf): Likewise.
40567         (nearbyint): Likewise.
40568         (nearbyintf): Likewise.
40570 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
40572         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
40573         non-default versions.
40575 2012-06-11  Roland McGrath  <roland@hack.frob.com>
40577         [BZ #14218]
40578         * manual/argp.texi (Argp): Reword argp_parse description slightly.
40580 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
40582         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
40583         (FE_UPWARD, FE_DOWNWARD): Don't define.
40584         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
40585         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
40587         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
40588         reading it.
40589         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
40590         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
40592 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
40594         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
40595         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
40596         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
40597         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
40599 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
40601         [BZ #14117]
40602         * sysdeps/i386/fpu/bits/fenv.h: Removed.
40603         * sysdeps/i386/fpu/Implies: New file.
40604         * sysdeps/x86_64/fpu/Implies: Likewise.
40605         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
40606         * sysdeps/x86/fpu/bits/fenv.h: This.
40608         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
40609         __SSE_MATH__.
40611 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40613         [BZ #14134]
40614         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
40615         character 0xffff that matches the last element of the
40616         conversion table.
40618 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40620         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
40621         fmodl commit.
40623 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40625         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
40626         values higher than 25.6283.
40628 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40630         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
40631         subnormal exponent extraction and add some __builtin_expect.
40632         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
40633         Fix for subnormal mantissa calculation.
40635 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
40637         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
40638         cpu2 is -1 and errno is not ENOSYS.
40640 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
40642         [BZ #14117]
40643         * sysdeps/i386/i486/bits/string.h: Renamed to ...
40644         * sysdeps/x86/bits/string.h: This.
40645         * sysdeps/x86_64/bits/string.h: Removed.
40647         * sysdeps/i386/i486/bits/string.h: Define inline functions only
40648         if not compiling for x86-64, but compiling for >= i486.
40650         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
40651         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
40653         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
40654         New macro from Linux kernel 3.4.0.
40655         (FP_XSTATE_MAGIC2): Likewise.
40656         (FP_XSTATE_MAGIC2_SIZE): Likewise.
40657         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
40658         (struct _fpx_sw_bytes): New struct.
40659         (struct _xsave_hdr): Likewise.
40660         (struct _ymmh_state): Likewise.
40661         (struct _xstate): Likewise.
40663         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
40664         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
40665         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
40666         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
40667         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
40668         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
40670         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
40671         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
40672         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
40673         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
40674         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
40675         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
40677 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40679         [BZ #13743]
40680         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
40681         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
40682         (sysdep_headers): Include sys/platform/ppc.h.
40683         * sysdeps/powerpc/test-gettimebase.c: Test for
40684         __ppc_get_timebase() to catch future ISA opcode/insn changes.
40685         * manual/Makefile (appendices): Include platform.texi.
40686         * manual/contrib.texi (Contributors): Update @node pointers.
40687         * manual/maint.texi (Maintenance): Likewise.
40688         (Platform): New node.
40689         * manual/platform.texi: New file.  Document the new features.
40691 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
40692             Jakub Jelinek  <jakub@redhat.com>
40694         [BZ #14188]
40695         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
40696         where __builtin_expect is unavailable.
40698 2012-06-03  David S. Miller  <davem@davemloft.net>
40700         * stdlib/longlong.h: Updated from GCC.
40702 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
40704         [BZ #14042]
40705         * sysdeps/powerpc/powerpc32/mcount.c: New file.
40706         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
40707         __mcount_internal.
40708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
40709         (GLIBC_2.16): Likewise.
40711 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40713         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
40715 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
40718         (default-abi): New variable.
40719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
40720         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
40721         variable.
40722         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
40723         Likewise.
40724         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
40725         Likewise.
40726         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
40727         Likewise.
40729         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
40730         definition.  Document in comment.
40732 2012-06-01  David S. Miller  <davem@davemloft.net>
40734         * stdlib/longlong.h: Updated from GCC.
40736 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40738         [BZ #14117]
40739         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
40740         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
40741         sys/debugreg.h sys/io.h here.
40742         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
40743         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
40744         sys/io.h.
40745         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
40746         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
40747         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
40748         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
40749         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
40750         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
40752         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
40753         Define only if __x86_64__ is defined.
40755 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
40757         [BZ #14048]
40758         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
40759         Use int64_t for variable i.
40760         * math/libm-test.inc (fmod_test): Add more tests.
40762         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
40763         z computation is not scheduled after fetestexcept.
40764         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
40765         Use math_force_eval instead of asm to ensure calculation scheduled
40766         before exception test.
40767         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
40768         Ensure a1 + u.d computation is not scheduled after fetestexcept.
40770 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
40772         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
40773         computation is not scheduled after fetestexcept.
40775 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
40777         [BZ #14117]
40778         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
40779         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
40781 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40783         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
40784         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
40786 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40788         [BZ #14117]
40789         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
40790         <bits/wordsize.h>.
40791         (__WCHAR_MIN): Support __WORDSIZE == 64.
40792         (__WCHAR_MAX): Likewise.
40794         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
40795         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
40797         [BZ #14183]
40798         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
40799         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
40801         [BZ #14117]
40802         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
40803         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
40805         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
40806         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
40808         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
40809         Defined to 1 if __x86_64__ isn't defined.
40810         (_STAT_VER_LINUX_OLD): New.
40811         (st_atime): Remove duplicate.
40812         (st_mtime): Likewise.
40813         (st_ctime): Likewise.
40815 2012-05-31  David S. Miller  <davem@davemloft.net>
40817         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
40818         entries.
40820 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
40822         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
40823         gen-libm-test.pl.
40825         [BZ #14132]
40826         * elf/dl-reloc.c: Include <_itoa.h>.
40827         (_dl_reloc_bad_type): Remove use of INTUSE.
40828         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
40829         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
40830         * stdio-common/psiginfo.c (psiginfo): Likewise.
40831         * stdio-common/psignal.c (psignal): Likewise.
40832         * string/strsignal.c (strsignal): Likewise.
40833         * include/signal.h (_sys_siglist): Declare hidden proto.
40834         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
40835         INTVARDEF with libc_hidden_data_def.
40836         * stdio-common/itoa-udigits.c: Likewise.
40837         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
40838         (_itoa_lower_digits_internal): Remove declaration.
40839         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
40840         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
40841         (_sys_sigabbrev_internal): Remove aliases.
40842         (_sys_siglist): Define hidden alias.
40844 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
40846         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
40847         bits/sysctl.h.
40849 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
40851         [BZ #14117]
40852         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
40853         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
40855         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
40856         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
40857         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
40858         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
40859         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
40860         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
40862         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
40863         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
40864         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
40866         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
40867         with __addr.
40868         (insw): Likewise.
40869         (insl): Likewise.
40870         (outsb): Likewise.
40871         (outsw): Likewise.
40872         (outsl): Likewise.
40874         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
40875         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
40876         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
40878         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
40879         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
40880         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
40881         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
40882         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
40883         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
40885         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
40886         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
40888         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
40889         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
40891         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
40892         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
40893         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
40895         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
40896         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
40897         to ...
40898         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
40900         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
40901         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
40902         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
40904         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
40905         for x86-64.
40906         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
40908 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
40910         * math/math.h (M_El): Use two more decimal places.
40911         (M_LOG2El): Likewise.
40912         (M_LOG10El): Likewise.
40913         (M_LN2l): Likewise.
40914         (M_LN10l): Likewise.
40915         (M_PIl): Likewise.
40916         (M_PI_2l): Likewise.
40917         (M_PI_4l): Likewise.
40918         (M_1_PIl): Likewise.
40919         (M_2_PIl): Likewise.
40920         (M_2_SQRTPIl): Likewise.
40921         (M_SQRT2l): Likewise.
40922         (M_SQRT1_2l): Likewise.
40924 2012-05-31  David S. Miller  <davem@davemloft.net>
40926         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
40927         values between float registers.
40928         * sysdeps/sparc/sparc64/memset.S: Likewise.
40929         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40931 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
40933         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
40934         -D_FORTIFY_SOURCE=1.
40935         (CPPFLAGS-tst-longjmp_chk.c): Define.
40936         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
40937         (CPPFLAGS-tst-longjmp_chk2.c): Define.
40938         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
40939         CFLAGS-tst-wchar-h.c.
40941 2012-05-31  Marek Polacek  <polacek@redhat.com>
40943         [BZ #14132]
40944         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
40945         __endmntent_internal): Remove declaration.
40946         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
40947         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
40948         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
40950 2012-05-30  David S. Miller  <davem@davemloft.net>
40952         * sysdeps/sparc/sparc32/soft-fp/q_util.c
40953         (___Q_simulate_exceptions): Use real FP ops rather than writing
40954         into the %fsr.
40955         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
40956         Likewise.
40958 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
40960         [BZ #14117]
40961         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
40962         * sysdeps/x86/bits/xtitypes.h: This.
40964         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
40965         * sysdeps/x86/bits/wordsize.h: This.
40967         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
40968         * sysdeps/x86/bits/huge_vall.h: This.
40970         * sysdeps/i386/bits/select.h: Removed.
40971         * sysdeps/x86_64/bits/select.h: Renamed to ...
40972         * sysdeps/x86/bits/select.h: This.
40974         * sysdeps/i386/bits/setjmp.h: Removed.
40975         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
40976         * sysdeps/x86/bits/setjmp.h: This.
40978         * sysdeps/i386/bits/mathdef.h: Removed.
40979         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
40980         * sysdeps/x86/bits/mathdef.h: This.
40982 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
40984         [BZ #14132]
40985         * include/sys/socket.h (__connect_internal)
40986         (__libc_sa_len_internal): Remove declaration.
40987         (__connect, __libc_sa_len): Declare hidden_proto.
40988         (SA_LEN): Remove use of INTUSE.
40989         * socket/connect.c: Add libc_hidden_def.
40990         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
40991         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
40992         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
40993         alias.
40994         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
40995         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
40996         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
40997         of adding _internal alias.
40999 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41001         [BZ #14117]
41002         * sysdeps/i386/bits/link.h: Removed.
41003         * sysdeps/i386/bits/linkmap.h: Likewise.
41004         * sysdeps/x86_64/bits/link.h: Renamed to ...
41005         * sysdeps/x86/bits/link.h: This.
41006         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
41007         * sysdeps/x86/bits/linkmap.h: This.
41009         * sysdeps/i386/bits/endian.h: Removed.
41010         * sysdeps/x86_64/bits/endian.h: Renamed to ...
41011         * sysdeps/x86/bits/endian.h: This.
41013         * sysdeps/i386/bits/byteswap.h: Removed.
41014         * sysdeps/i386/bits/byteswap-16.h: Likewise.
41015         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
41016         * sysdeps/x86/bits/byteswap.h: This.
41017         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
41018         * sysdeps/x86/bits/byteswap-16.h: This.
41019         * sysdeps/i386/Implies: Add x86.
41020         * sysdeps/x86_64/Implies: Likewise.
41022 2012-05-30  David S. Miller  <davem@davemloft.net>
41024         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
41025         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
41026         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
41027         (FP_TRAPPING_EXCEPTIONS): Define.
41028         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
41029         (FP_TRAPPING_EXCEPTIONS): Define.
41030         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
41031         subnormals only when inexact has been signalled or underflow
41032         exceptions are enabled.
41033         (_FP_PACK_CANONICAL): Likewise.
41035 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41037         [BZ #14183]
41038         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
41039         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
41041 2012-05-30  Richard Henderson  <rth@twiddle.net>
41043         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
41044         with #ifndef NOT_IN_libc.
41046         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
41047         marked to avoid plt entry.
41049 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
41051         [BZ #14112]
41052         * Makeconfig (default-abi): New macro.
41053         (abi-includes): Likewise.
41054         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
41055         $(abi-$(default-abi)-lib-soname) for soname if defined.
41056         ($(common-objpfx)gnu/lib-names.stmp): Generate from
41057         abi-variants.
41058         * Makefile (installed-stubs): Likewise.
41059         * include/stubs-biarch.h: Removed.
41060         * scripts/lib-names.awk: Only handle one library at a time.
41061         * scripts/soversions.awk: Remove WORDSIZE support.
41062         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
41063         entries.
41064         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
41065         Removed.
41066         (syscall-list-default-condition): Likewise.
41067         (syscall-list-default-condition): Likewise.
41068         (syscall-list-includes): Likewise.
41069         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
41070         syscall-list-* with abi-*.  Handle undefined abi-variants.
41071         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
41072         * sysdeps/unix/sysv/linux/i386/Implies: New file.
41073         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
41074         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
41075         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
41076         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
41077         Removed.
41078         (syscall-list-32-options): Likewise.
41079         (syscall-list-32-condition): Likewise.
41080         (syscall-list-64-options): Likewise.
41081         (syscall-list-64-condition): Likewise.
41082         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
41083         macro.
41084         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
41085         Renamed to ...
41086         (abi-*): This.
41087         (abi-64-ld-soname): New macro.
41088         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
41089         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
41090         Renamed to ...
41091         (abi-*): This.
41092         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
41093         * sysdeps/x86_64/x32/shlib-versions: Likewise.
41095 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
41097         * sysdeps/unix/sysv/linux/kernel-features.h
41098         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
41099         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
41100         include <kernel-features.h>.
41101         [!__NR_ftruncate64]: Remove conditional code.
41102         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41103         [__NR_ftruncate64]: Make code unconditional.
41104         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41105         * sysdeps/unix/sysv/linux/truncate64.c: Do not
41106         include <kernel-features.h>.
41107         [!__NR_ftruncate64]: Remove conditional code.
41108         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41109         [__NR_ftruncate64]: Make code unconditional.
41110         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41111         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
41112         include <kernel-features.h>.
41113         [!__NR_ftruncate64]: Remove conditional code.
41114         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41115         [__NR_ftruncate64]: Make code unconditional.
41116         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41117         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
41118         include <kernel-features.h>.
41119         [!__NR_ftruncate64]: Remove conditional code.
41120         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41121         [__NR_ftruncate64]: Make code unconditional.
41122         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
41124         * configure.in (libc_cv_fpie): Weaken to a compile test using
41125         LIBC_TRY_CC_OPTION.
41126         * configure: Regenerated.
41128 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41130         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
41131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
41132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
41133         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41134         Refreshed.
41135         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
41136         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
41137         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
41138         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
41139         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
41140         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41141         Refreshed.
41143 2012-05-27  David S. Miller  <davem@davemloft.net>
41145         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
41146         (___Q_zero): New.
41147         (__Q_simulate_exceptions): Return void.  Change to simulate
41148         exceptions by writing into the %fsr.
41149         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
41150         (__Qp_handle_exceptions): Likewise.
41151         (numbers): Delete.
41152         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
41153         __Qp_handle_exceptions.
41154         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
41155         __Qp_handle_exceptions.
41156         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41157         as unused and give dummy FP_RND_NEAREST initializer.
41158         (FP_INHIBIT_RESULTS): Define.
41159         (___Q_simulate_exceptions): Update declaration.
41160         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
41161         formatting.
41162         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
41163         as unused and give dummy FP_RND_NEAREST initializer.
41164         (__Qp_handle_exceptions): Update declaration.
41165         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
41166         formatting.
41168 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
41170         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
41171         the temporary FPU control word.
41172         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
41173         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
41174         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
41175         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
41176         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
41177         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
41178         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
41179         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
41180         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
41181         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
41182         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
41184 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41186         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
41187         fields.
41189 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
41191         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
41192         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
41193         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
41194         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
41195         Likewise.
41196         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
41197         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
41198         Likewise.
41200 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
41202         * po/h.po: Update from translation team.
41204 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
41206         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
41208         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
41209         handling of denormals.
41210         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41211         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
41212         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41213         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41214         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41215         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
41216         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
41217         Likewise.
41219 2012-05-26  Marek Polacek  <polacek@redhat.com>
41221         [BZ #14152]
41222         * math/libm-test.inc (fma_test): Don't always expect underflow
41223         exception.
41225 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
41227         [BZ #12416]
41228         * elf/tst-execstack.c: Include stackinfo.h.
41229         (do_test): Adjust test case to ensure that pthread_getattr_np
41230         behaviour remains the same after marking stack executable.
41232 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41234         * sysdeps/unix/sysv/linux/kernel-features.h
41235         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
41236         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
41237         kernel-features.h.
41238         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41239         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41240         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
41241         kernel-features.h.
41242         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
41243         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
41245 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
41247         * configure.in: Define the default includes to being none.
41248         * configure: Regenerated.
41250 2012-05-25  Roland McGrath  <roland@hack.frob.com>
41252         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
41253         * sysdeps/x86_64/setjmp.S: Likewise.
41254         * sysdeps/i386/bsd-setjmp.S: Likewise.
41255         * sysdeps/i386/bsd-_setjmp.S: Likewise.
41256         * sysdeps/i386/setjmp.S: Likewise.
41257         * sysdeps/i386/__longjmp.S: Likewise.
41258         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
41259         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
41261         * include/stap-probe.h: New file.
41262         * configure.in: Handle --enable-systemtap.
41263         * configure: Regenerated.
41264         * config.h.in (USE_STAP_PROBE): New #undef.
41265         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
41266         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
41267         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
41269 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
41271         [BZ #13717]
41272         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
41273         to 2.4.0 where earlier.
41274         * sysdeps/unix/sysv/linux/configure: Regenerated.
41275         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
41276         <kernel-features.h>.
41277         [__ASSUME_32BITUIDS]: Make code unconditional.
41278         [!__ASSUME_32BITUIDS]: Remove conditional code.
41279         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
41280         <kernel-features.h>.
41281         [__ASSUME_32BITUIDS]: Make code unconditional.
41282         [!__ASSUME_32BITUIDS]: Remove conditional code.
41283         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
41284         [__ASSUME_32BITUIDS]: Make code unconditional.
41285         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
41286         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
41287         <kernel-features.h>.
41288         [__ASSUME_32BITUIDS]: Make code unconditional.
41289         [!__ASSUME_32BITUIDS]: Remove conditional code.
41290         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
41291         <kernel-features.h>.
41292         [__ASSUME_32BITUIDS]: Make code unconditional.
41293         [!__ASSUME_32BITUIDS]: Remove conditional code.
41294         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
41295         <kernel-features.h>.
41296         [__ASSUME_32BITUIDS]: Make code unconditional.
41297         [!__ASSUME_32BITUIDS]: Remove conditional code.
41298         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
41299         <kernel-features.h>.
41300         [__ASSUME_32BITUIDS]: Make code unconditional.
41301         [!__ASSUME_32BITUIDS]: Remove conditional code.
41302         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
41303         <kernel-features.h>.
41304         [__ASSUME_32BITUIDS]: Make code unconditional.
41305         [!__ASSUME_32BITUIDS]: Remove conditional code.
41306         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
41307         <kernel-features.h>.
41308         [__ASSUME_32BITUIDS]: Make code unconditional.
41309         [!__ASSUME_32BITUIDS]: Remove conditional code.
41310         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
41311         <kernel-features.h>.
41312         [__ASSUME_32BITUIDS]: Make code unconditional.
41313         [!__ASSUME_32BITUIDS]: Remove conditional code.
41314         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
41315         <kernel-features.h>.
41316         [__ASSUME_32BITUIDS]: Make code unconditional.
41317         [!__ASSUME_32BITUIDS]: Remove conditional code.
41318         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
41319         <kernel-features.h>.
41320         [__ASSUME_32BITUIDS]: Make code unconditional.
41321         [!__ASSUME_32BITUIDS]: Remove conditional code.
41322         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
41323         <kernel-features.h>.
41324         [__ASSUME_32BITUIDS]: Make code unconditional.
41325         [!__ASSUME_32BITUIDS]: Remove conditional code.
41326         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
41327         <kernel-features.h>.
41328         [__NR_setresgid] (__setresgid): Do not declare.
41329         [__ASSUME_32BITUIDS]: Make code unconditional.
41330         [!__ASSUME_32BITUIDS]: Remove conditional code.
41331         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
41332         <kernel-features.h>.
41333         [__NR_setresuid] (__setresuid): Do not declare.
41334         [__ASSUME_32BITUIDS]: Make code unconditional.
41335         [!__ASSUME_32BITUIDS]: Remove conditional code.
41336         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
41337         <kernel-features.h>.
41338         [__ASSUME_32BITUIDS]: Make code unconditional.
41339         [!__ASSUME_32BITUIDS]: Remove conditional code.
41340         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
41341         <kernel-features.h>.
41342         [__ASSUME_32BITUIDS]: Make code unconditional.
41343         [!__ASSUME_32BITUIDS]: Remove conditional code.
41344         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
41345         <kernel-features.h>.
41346         [__ASSUME_32BITUIDS]: Make code unconditional.
41347         [!__ASSUME_32BITUIDS]: Remove conditional code.
41348         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
41349         <kernel-features.h>.
41350         [__ASSUME_32BITUIDS]: Make code unconditional.
41351         [!__ASSUME_32BITUIDS]: Remove conditional code.
41352         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
41353         <kernel-features.h>.
41354         [__ASSUME_32BITUIDS]: Make code unconditional.
41355         [!__ASSUME_32BITUIDS]: Remove conditional code.
41356         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
41357         <kernel-features.h>.
41358         [__ASSUME_32BITUIDS]: Make code unconditional.
41359         [!__ASSUME_32BITUIDS]: Remove conditional code.
41360         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
41361         <kernel-features.h>.
41362         [__ASSUME_32BITUIDS]: Make code unconditional.
41363         [!__ASSUME_32BITUIDS]: Remove conditional code.
41364         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
41365         <kernel-features.h>.
41366         [__ASSUME_32BITUIDS]: Make code unconditional.
41367         [!__ASSUME_32BITUIDS]: Remove conditional code.
41368         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
41369         <kernel-features.h>.
41370         [__ASSUME_32BITUIDS]: Make code unconditional.
41371         [!__ASSUME_32BITUIDS]: Remove conditional code.
41372         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
41373         <kernel-features.h>.
41374         [__ASSUME_32BITUIDS]: Make code unconditional.
41375         [!__ASSUME_32BITUIDS]: Remove conditional code.
41376         * sysdeps/unix/sysv/linux/kernel-features.h
41377         (__ASSUME_SETRESUID_SYSCALL): Remove.
41378         (__ASSUME_SETRESGID_SYSCALL): Likewise.
41379         (__ASSUME_32BITUIDS): Likewise.
41380         (__ASSUME_LDT_WORKS): Likewise.
41381         (__ASSUME_O_DIRECTORY): Likewise.
41382         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
41383         architecture but not kernel version.
41384         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
41385         (__ASSUME_MMAP2_SYSCALL): Likewise.
41386         (__ASSUME_STAT64_SYSCALL): Likewise.
41387         (__ASSUME_IPC64): Likewise.
41388         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
41389         <kernel-features.h>.
41390         [__ASSUME_32BITUIDS]: Make code unconditional.
41391         [!__ASSUME_32BITUIDS]: Remove conditional code.
41392         * sysdeps/unix/sysv/linux/opendir.c: Do not include
41393         <kernel-features.h>.
41394         [__ASSUME_O_DIRECTORY]: Make code unconditional.
41395         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
41396         132096]: Remove conditional code.
41397         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
41398         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
41399         <kernel-features.h>.
41400         [__ASSUME_32BITUIDS]: Make code unconditional.
41401         [!__ASSUME_32BITUIDS]: Remove conditional code.
41402         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
41403         <kernel-features.h>.
41404         [__ASSUME_32BITUIDS]: Make code unconditional.
41405         [!__ASSUME_32BITUIDS]: Remove conditional code.
41406         * sysdeps/unix/sysv/linux/setegid.c: Do not include
41407         <kernel-features.h>.
41408         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
41409         unconditional.
41410         (__setresgid): Do not declare.
41411         [__ASSUME_32BITUIDS]: Make code unconditional.
41412         [!__ASSUME_32BITUIDS]: Remove conditional code.
41413         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
41414         <kernel-features.h>.
41415         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
41416         unconditional.
41417         (__setresuid): Do not declare.
41418         [__ASSUME_32BITUIDS]: Make code unconditional.
41419         [!__ASSUME_32BITUIDS]: Remove conditional code.
41420         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
41421         <kernel-features.h>.
41422         [__ASSUME_32BITUIDS]: Make code unconditional.
41423         [!__ASSUME_32BITUIDS]: Remove conditional code.
41424         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
41425         <kernel-features.h>.
41426         [__ASSUME_32BITUIDS]: Make code unconditional.
41427         [!__ASSUME_32BITUIDS]: Remove conditional code.
41429 2012-05-25  Richard Henderson  <rth@twiddle.net>
41431         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
41432         dl_hwcap to ifunc resolver.
41433         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
41434         elf_ifunc_invoke.
41435         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
41436         dl_hwcap to ifunc resolver.
41437         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
41439 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41441         [BZ #14153]
41442         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
41443         for |x| <= 2**-26, not 2**-57.
41444         * math/libm-test.inc (acos_test): Do not allow spurious underflow
41445         exception.
41447 2012-05-24  Jeff Law  <law@redhat.com>
41449         * stdio-common/Makefile (tests): Add bug25.
41450         * stdio-common/bug25.c: New test.
41452 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41454         [BZ #13576]
41455         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
41456         multiple of MALLOC_ALIGNMENT in size.
41457         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
41459 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41461         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
41462         Require >= 256.
41463         (FILENAME_MAX): Use macro-int-constant.
41464         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
41465         (_IOFBF): Use macro-int-constant.
41466         (_IOLBF): Likewise.
41467         (_IONBF): Likewise.
41468         (SEEK_CUR): Likewise.
41469         (SEEK_END): Likewise.
41470         (SEEK_SET): Likewise.
41471         (TMP_MAX): Likewise.
41472         (EOF): Use macro-int-constant.  Require < 0.
41473         (NULL): Use macro-constant.  Require == 0.
41474         (stdin): Require type to be FILE *.
41475         (stdout): Likewise.
41476         (stderr): Likewise.
41477         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
41478         macro-int-constant.
41479         (EXIT_SUCCESS): Likewise.
41480         (NULL): Use macro-constant.  Require == 0.
41481         (RAND_MAX): Use macro-int-constant.
41482         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
41483         [C99-based standards] (strtof): Require function.
41484         [C99-based standards] (strtold): Likewise.
41485         [C99-based standards] (strtoll): Likewise.
41486         [C99-based standards] (strtoull): Likewise.
41487         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
41488         [ISO || ISO99 || ISO11] (limits.h): Likewise.
41489         [ISO || ISO99 || ISO11] (math.h): Likewise.
41490         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
41491         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
41492         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41494 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
41496         [BZ #14132]
41497         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
41498         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
41499         * intl/dgettext.c (DCGETTEXT): Likewise.
41500         * intl/gettext.c (DCGETTEXT): Likewise.
41501         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
41502         * posix/regex_internal.h (gettext): Likewise.
41503         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
41504         Remove declaration.
41505         * include/argz.h (__argz_count_internal)
41506         (__argz_stringify_internal): Remove declaration.
41507         (__argz_count, __argz_stringify): Declare hidden proto.
41508         * intl/dcgettext.c: Remove use of INTDEF.
41509         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
41510         * string/argz-stringify.c: Likewise.
41511         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41512         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41513         Declare hidden proto.
41514         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
41515         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
41516         Declare hidden proto.
41517         * include/stdio.h (__asprintf_internal): Don't declare.
41518         (__asprintf): Don't define as macro.  Declare hidden proto.
41519         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
41520         (__fsetlocking): Declare hidden proto.
41521         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
41522         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
41523         hidden proto.
41524         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
41525         (_IO_setlinebuf): Remove use of INTUSE.
41526         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
41527         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
41528         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
41529         Remove declaration.
41530         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
41531         (_IO_do_flush): Remove use of INTUSE.
41532         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
41533         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
41534         (_IO_adjust_column, _IO_least_wmarker)
41535         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
41536         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
41537         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
41538         (_IO_default_doallocate, _IO_wdefault_doallocate)
41539         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
41540         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
41541         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
41542         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
41543         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
41544         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
41545         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
41546         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
41547         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
41548         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
41549         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
41550         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
41551         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
41552         proto.
41553         (_IO_flush_all_internal, _IO_adjust_column_internal)
41554         (_IO_default_uflow_internal, _IO_default_finish_internal)
41555         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
41556         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
41557         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
41558         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
41559         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
41560         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
41561         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
41562         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
41563         (_IO_file_close_internal, _IO_file_close_it_internal)
41564         (_IO_file_underflow_internal, _IO_file_overflow_internal)
41565         (_IO_file_init_internal, _IO_file_attach_internal)
41566         (_IO_file_fopen_internal, _IO_file_read_internal)
41567         (_IO_file_sync_internal, _IO_file_seek_internal)
41568         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
41569         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
41570         (_IO_str_underflow_internal, _IO_str_overflow_internal)
41571         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
41572         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
41573         (_IO_list_all_internal, _IO_link_in_internal)
41574         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
41575         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
41576         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
41577         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
41578         (_IO_do_write_internal, _IO_padn_internal)
41579         (_IO_getline_info_internal, _IO_getline_internal)
41580         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
41581         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
41582         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
41583         (_IO_vfscanf_internal, _IO_vfprintf_internal)
41584         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
41585         (_IO_init_internal, _IO_un_link_internal): Don't declare.
41586         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
41587         with libc_hidden_ver, remove use of INTUSE.
41588         * libio/genops.c: Likewise.
41589         * libio/freopen.c: Likewise.
41590         * libio/freopen64.c: Likewise.
41591         * libio/iofclose.c: Likewise.
41592         * libio/iofdopen.c: Likewise.
41593         * libio/iofflush.c: Likewise.
41594         * libio/iofflush_u.c: Likewise.
41595         * libio/iofgets.c: Likewise.
41596         * libio/iofgets_u.c: Likewise.
41597         * libio/iofopen.c: Likewise.
41598         * libio/iofopncook.c: Likewise.
41599         * libio/iofread.c: Likewise.
41600         * libio/iofread_u.c: Likewise.
41601         * libio/ioftell.c: Likewise.
41602         * libio/iofwrite.c: Likewise.
41603         * libio/iogetline.c: Likewise.
41604         * libio/iogets.c: Likewise.
41605         * libio/iogetwline.c: Likewise.
41606         * libio/iopadn.c: Likewise.
41607         * libio/iopopen.c: Likewise.
41608         * libio/ioseekoff.c: Likewise.
41609         * libio/ioseekpos.c: Likewise.
41610         * libio/iosetbuffer.c: Likewise.
41611         * libio/iosetvbuf.c: Likewise.
41612         * libio/ioungetc.c: Likewise.
41613         * libio/ioungetwc.c: Likewise.
41614         * libio/iovdprintf.c: Likewise.
41615         * libio/iovsprintf.c: Likewise.
41616         * libio/iovsscanf.c: Likewise.
41617         * libio/memstream.c: Likewise.
41618         * libio/obprintf.c: Likewise.
41619         * libio/oldfileops.c: Likewise.
41620         * libio/oldiofclose.c: Likewise.
41621         * libio/oldiofdopen.c: Likewise.
41622         * libio/oldiofopen.c: Likewise.
41623         * libio/oldiopopen.c: Likewise.
41624         * libio/oldstdfiles.c: Likewise.
41625         * libio/putc.c: Likewise.
41626         * libio/setbuf.c: Likewise.
41627         * libio/setlinebuf.c: Likewise.
41628         * libio/stdfiles.c: Likewise.
41629         * libio/strops.c: Likewise.
41630         * libio/vasprintf.c: Likewise.
41631         * libio/vscanf.c: Likewise.
41632         * libio/vsnprintf.c: Likewise.
41633         * libio/vswprintf.c: Likewise.
41634         * libio/wfiledoalloc.c: Likewise.
41635         * libio/wfileops.c: Likewise.
41636         * libio/wgenops.c: Likewise.
41637         * libio/wmemstream.c: Likewise.
41638         * libio/wstrops.c: Likewise.
41639         * libio/__fpurge.c: Likewise.
41640         * libio/__fsetlocking.c: Likewise.
41641         * assert/assert.c: Likewise.
41642         * debug/fgets_chk.c: Likewise.
41643         * debug/fgets_u_chk.c: Likewise.
41644         * debug/fread_chk.c: Likewise.
41645         * debug/fread_u_chk.c: Likewise.
41646         * debug/gets_chk.c: Likewise.
41647         * debug/obprintf_chk.c: Likewise.
41648         * debug/vasprintf_chk.c: Likewise.
41649         * debug/vdprintf_chk.c: Likewise.
41650         * debug/vsnprintf_chk.c: Likewise.
41651         * debug/vsprintf_chk.c: Likewise.
41652         * malloc/mtrace.c: Likewise.
41653         * misc/error.c: Likewise.
41654         * misc/syslog.c: Likewise.
41655         * stdio-common/asprintf.c: Likewise.
41656         * stdio-common/fxprintf.c: Likewise.
41657         * stdio-common/getw.c: Likewise.
41658         * stdio-common/isoc99_fscanf.c: Likewise.
41659         * stdio-common/isoc99_scanf.c: Likewise.
41660         * stdio-common/isoc99_vfscanf.c: Likewise.
41661         * stdio-common/isoc99_vscanf.c: Likewise.
41662         * stdio-common/isoc99_vsscanf.c: Likewise.
41663         * stdio-common/printf-prs.c: Likewise.
41664         * stdio-common/printf_fp.c: Likewise.
41665         * stdio-common/printf_fphex.c: Likewise.
41666         * stdio-common/printf_size.c: Likewise.
41667         * stdio-common/putw.c: Likewise.
41668         * stdio-common/scanf.c: Likewise.
41669         * stdio-common/sprintf.c: Likewise.
41670         * stdio-common/tmpfile.c: Likewise.
41671         * stdio-common/vfprintf.c: Likewise.
41672         * stdio-common/vfscanf.c: Likewise.
41673         * stdlib/strfmon_l.c: Likewise.
41674         * sunrpc/openchild.c: Likewise.
41675         * sunrpc/xdr_stdio.c: Likewise.
41676         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
41677         * sysdeps/mach/hurd/tmpfile.c: Likewise.
41679 2012-05-24  Roland McGrath  <roland@hack.frob.com>
41681         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
41683         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
41684         in the third column, to generate for the shared library an IFUNC
41685         that uses _dl_vdso_vsym.
41686         * Makerules (COMPILE.c, compile-stdin.c): New variables.
41687         * Makeconfig (object-suffixes-noshared): New variable.
41689         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
41690         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
41691         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
41692         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
41694         [BZ #14132]
41695         * include/sys/time.h (__gettimeofday): Remove macro.
41696         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
41697         * time/gettimeofday.c (__gettimeofday): Remove #undef.
41698         Remove INTDEF.
41699         (__gettimeofday): Add libc_hidden_def.
41700         (gettimeofday): Add libc_hidden_weak.
41701         * sysdeps/mach/gettimeofday.c: Likewise.
41702         * sysdeps/posix/gettimeofday.c: Likewise.
41703         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
41704         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
41705         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
41706         (__gettimeofday_internal): Remove strong_alias.
41707         (__gettimeofday): Add libc_hidden_def.
41708         (gettimeofday): Add libc_hidden_weak.
41709         * sysdeps/unix/syscalls.list (gettimeofday):
41710         Remove __gettimeofday_internal alias.
41712 2012-05-24  Daniel Jacobowitz  <drow@false.org>
41713             H.J. Lu  <hongjiu.lu@intel.com>
41715         [BZ #12495]
41716         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
41717         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
41718         (largebin_index_32_big): New.
41719         (largebin_index): Use it for 16-byte alignment.
41720         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
41721         correction with front_misalign.
41723 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
41725         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
41726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41727         Likewise.
41728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
41729         Likewise.
41730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
41731         Likewise.
41732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
41733         Likewise.
41734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
41735         Likewise.
41736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
41737         Likewise.
41738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
41739         Likewise.
41740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
41741         Likewise.
41742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
41743         Likewise.
41744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
41745         Likewise.
41746         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41747         Likewise.
41748         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
41749         Likewise.
41751         * scripts/data/c++-types-x32-linux-gnu.data: New file.
41752         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
41754 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
41756         [BZ #10846]
41757         [BZ #14036]
41758         * math/libm-test.inc (exp_test): Add test from bug 14036.
41759         (pow_test): Add test from bug 10846.
41761         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
41762         and other flags.
41763         (special_function): Do not include flags in test name.
41764         (parse_args): Likewise.
41765         * sysdeps/i386/fpu/libm-test-ulps: Update.
41766         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
41767         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
41768         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
41769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41771         * math/gen-libm-test.pl (%beautify): Add entries for underflow
41772         exceptions.
41773         * math/libm-test.inc ("Philosophy"): Update comment about
41774         exception testing.
41775         (UNDERFLOW_EXCEPTION): New macro.
41776         (UNDERFLOW_EXCEPTION_OK): Likewise.
41777         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
41778         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
41779         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
41780         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
41781         (INVALID_EXCEPTION_OK): Update value.
41782         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
41783         (OVERFLOW_EXCEPTION_OK): Likewise.
41784         (IGNORE_ZERO_INF_SIGN): Likewise.
41785         (test_exceptions): Handle underflow exceptions.
41786         (acos_test): Update for underflow exception expectations.
41787         (cexp_test): Likewise.
41788         (clog_test): Likewise.
41789         (clog10_test): Likewise.
41790         (csqrt_test): Likewise.
41791         (ctan_test): Likewise.
41792         (ctanh_test): Likewise.
41793         (exp_test): Likewise.
41794         (exp10_test): Likewise.
41795         (exp2_test): Likewise.
41796         (expm1_test): Likewise.
41797         (fma_test): Likewise.
41798         (j0_test): Likewise.
41799         (jn_test): Likewise.
41800         (nexttoward_test): Likewise.
41801         (pow_test): Likewise.
41802         (scalbn_test): Likewise.
41803         (scalbln_test): Likewise.
41804         (tan_test): Likewise.
41805         (y1_test): Likewise.
41806         * sysdeps/i386/fpu/libm-test-ulps: Update.
41807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41809 2012-05-23  David S. Miller  <davem@davemloft.net>
41811         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
41812         (__libc_sigaction): Remove unused local variables.
41814 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41816         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
41818 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
41820         mktime: avoid signed integer overflow
41821         * time/mktime.c (__mktime_internal): Do not mishandle the case
41822         where diff == INT_MIN.
41824         mktime: simplify computation of average
41825         * time/mktime.c (ranged_convert): Use new time_t_avg function
41826         instead of rolling our own (probably-slower) code.
41828         mktime: do not assume signed right shift propagates sign bit
41829         * time/mktime.c (isdst_differ): New static function.
41830         (__mktime_internal): No need to normalize tm_isdst now.
41831         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
41832         tm_isdst values.
41834         mktime: merge another wrapv change from gnulib
41835         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
41836         from some compilers.
41838         mktime: remove incorrect attempt at unusual arithmetics
41839         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
41840         The code didn't really work on such machines anyway.
41841         (TYPE_MINIMUM): Assume two's complement.
41842         (twos_complement_arithmetic): Verify that long_int and time_t
41843         are two's complement (or unsigned, in the latter case).
41845         mktime: check signed shifts on long_int and time_t, too
41846         * time/mktime.c (SHR): Check that shifts work as desired
41847         on the types long_int and time_t too, as SHR is used on
41848         such types.
41850         mktime: do not assume 'long' is wide enough
41851         * time/mktime.c (verify): Move decl up.
41852         (long_int): New type.
41853         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
41854         to remove assumption in the code that 'long' is wide enough to
41855         store year values.  This assumption is not true on x32 and on
41856         some non-glibc platforms.
41858         mktime: merge wrapv change from gnulib
41859         * time/mktime.c (WRAPV): New macro.
41860         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
41861         (guess_time_tm, __mktime_internal): Do not assume that signed
41862         integer overflow wraps around; modern compilers generate code
41863         where this assumption is no longer valid.
41865 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41867         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41868         Replace "jmp L(pseudo_end)" with "ret".
41869         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
41870         Likewise.
41872 2012-05-23  Andreas Jaeger  <aj@suse.de>
41874         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
41875         * sysdeps/unix/sysv/linux/poll.c: Remove file.
41877 2012-05-23  Andreas Jaeger  <aj@suse.de>
41878             Maximilian Attems  <max@stro.at>
41880         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
41881         New macros.
41883 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
41885         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
41886         code so that pseudo_end is just ret and the stack pointer is
41887         correct also for static library in error case.
41889 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
41891         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
41892         move to syscalls.list.
41893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
41894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41898         * manual/install.texi (Running make install): Do not mention Linux
41899         kernel version for which pt_chown is not needed.
41900         (Linux): Do not mention problems with nscd with 2.0 kernels.
41901         * INSTALL: Regenerated.
41903 2012-05-23  Andreas Jaeger  <aj@suse.de>
41905         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
41906         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
41907         macro.
41908         * sysdeps/unix/sysv/linux/s390/bits/mman.h
41909         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41910         * sysdeps/unix/sysv/linux/sh/bits/mman.h
41911         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41912         * sysdeps/unix/sysv/linux/i386/bits/mman.h
41913         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41914         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
41915         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41916         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
41917         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
41918         * sysdeps/unix/sysv/linux/bits/in.h
41919         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
41921 2012-05-22  Roland McGrath  <roland@hack.frob.com>
41923         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
41924         (PREPARE_VERSION): Just use assert instead, it will be elided
41925         under [NDEBUG] anyway.
41927 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41929         * sysdeps/unix/sysv/linux/Makefile: Include
41930         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
41931         (sysdep_routines): Remove sysctl.
41932         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
41933         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
41934         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
41935         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
41936         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
41938 2012-05-22  Andreas Jaeger  <aj@suse.de>
41940         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
41941         that pseudo_end is just ret and the stack pointer is correct also
41942         for static library in error case.
41944 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
41946         [BZ #14122]
41947         * nss/nsswitch.c (defconfig_entries): New variable.
41948         (__nss_database_lookup): Don't leak defconfig entries.
41949         (nss_parse_service_list): Don't leak on error paths.
41950         (free_database_entries): New function.
41951         (free_defconfig): New function.
41952         (free_mem): Move common code to free_database_entries.
41954 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41956         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
41957         Add arch_prctl.
41958         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
41960         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
41961         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
41962         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
41963         New macro.
41964         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
41965         (INTERNAL_SYSCALL_TYPES): Likewise.
41966         (LOAD_ARGS_TYPES_[1-6]): Likewise.
41967         (LOAD_REGS_TYPES_[1-6]): Likewise.
41968         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
41969         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
41971 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41973         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
41974         copysignl for GLIBC_2_0.
41975         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
41976         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
41977         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
41978         logbl for GLIBC_2_0.
41979         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
41980         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
41982 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
41984         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
41985         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
41987         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
41988         Use "neg %eax".
41990         * time/mktime.c: Update copyright years.
41992 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
41994         mktime: merge comment-quoting-style change from gnulib
41995         * time/mktime.c: Quote 'like this' in comments.
41996         The GNU coding standards suggest that we no longer quote `like this',
41997         as "`" and "'" are typically rendered asymmetrically nowadays.
41998         The typical gnulib style is to quote 'like this' when quoting
41999         code, and "like this" when quoting English.
42001         * time/mktime.c (compile-command): Add "-I.".
42003         mktime: merge mktime-internal.h change from gnulib
42004         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
42006         mktime: merge time_r change from gnulib
42007         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
42009         mktime: merge DEBUG change from gnulib
42010         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
42011         case system <time.h> has a #define.
42013         mktime: merge <sys/types.h> change from gnulib
42014         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
42015         since <time.t> is now guaranteed to define time_t.
42017         mktime: merge HAVE_CONFIG_H change from gnulib
42018         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
42020 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
42022         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42023         Use "neg %eax".
42025         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
42026         __rlim_t cast.
42027         (struct rusage): Use anonymous union to pad each field to
42028         __syscall_slong_t.
42030 2012-05-21  David S. Miller  <davem@davemloft.net>
42032         * Makefules (o-iterator): Remove .s cases.
42033         (compile-command.s): Delete.
42034         (COMPILE.s): Delete.
42035         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
42037 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
42039         * configure.in (libc_cv_predef_stack_protector): Only consider
42040         "foobar" and "__stack_chk_fail" lines in libc_undefs.
42041         * configure: Regenerated.
42043 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42045         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
42046         New macro.  Use R*LP on int and pointer.
42047         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
42048         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
42049         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
42050         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
42052         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
42053         [__WORDSIZE_TIME64_COMPAT32] instead of
42054         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
42055         (struct utmp): Likewise.
42056         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
42057         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
42058         Renamed to ...
42059         (__WORDSIZE_TIME64_COMPAT32): This.
42060         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
42061         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
42062         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
42063         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
42064         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
42065         (__WORDSIZE_TIME64_COMPAT32): New macro.
42067 2012-05-21  Andreas Jaeger  <aj@suse.de>
42069         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
42070         only if [SHARED]. Add prototype for __wcschr_ia32.
42072 2012-05-21  Roland McGrath  <roland@hack.frob.com>
42074         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
42075         of %rbp unmolested in the jmp_buf while mangling the low bits.
42076         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
42077         unmolested high bits of %rbp while demangling the low bits.
42078         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
42080 2012-05-21  Andreas Jaeger  <aj@suse.de>
42082         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
42083         * sunrpc/svc_simple.c: Use it for registerrpc.
42084         * sunrpc/xcrypt.c: Use it for passwd2des.
42086         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
42088 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42090         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
42091         Don't define if [__SYSCALL_WORDSIZE != 32].
42092         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
42093         New macro.
42095 2012-05-21  Bruno Haible  <bruno@clisp.org>
42096             Andreas Jaeger  <aj@suse.de>
42098         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
42099         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
42100         inptr and inend for must_buffer_ch.
42101         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
42102         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
42103         * stdio-common/Makefile (tests): Remove bug15.
42104         (bug15-ENV): Remove macro.
42105         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
42106         anymore.
42108 2012-05-19  Andreas Jaeger  <aj@suse.de>
42109             Roland McGrath  <roland@hack.frob.com>
42111         * manual/contrib.texi: Completely rewritten. It contains now an
42112         alphabetical list of contributors and their contributions.
42114 2012-05-21  Richard Henderson  <rth@twiddle.net>
42116         * misc/getauxval.c (__getauxval): Use unsigned long int.
42117         * misc/sys/auxv.h: Include <sys/cdefs.h>.
42118         (getauxval): Use unsigned long int.
42120 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
42122         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
42124 2012-05-21  Roland McGrath  <roland@hack.frob.com>
42126         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
42127         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
42128         __alignof__ (long double).
42130 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42132         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42134 2012-05-20  Richard Henderson  <rth@twiddle.net>
42136         * misc/getauxval.c: New file.
42137         * misc/sys/auxv.h: New file.
42138         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
42139         (routines): Add getauxval.
42140         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
42141         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
42142         * elf/dl-sysdep.c (_dl_auxv): Remove.
42143         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
42144         * elf/dl-support.c (_dl_auxv): New variable.
42145         (_dl_aux_init): Initialize it.
42146         * manual/startup.texi (Auxiliary Vector): New node.
42147         * sysdeps/generic/bits/hwcap.h: New file.
42148         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
42149         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
42150         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
42151         * sysdeps/sparc/sysdep.h: ... here.  Include it.
42152         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
42153         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
42154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42155         Update.
42156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
42157         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
42158         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
42159         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
42160         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42161         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
42162         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
42163         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
42165 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42169 2012-05-19  David S. Miller  <davem@davemloft.net>
42171         * sysdeps/sparc/fpu/libm-test-ulps: Update.
42173 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42175         [BZ #14123]
42176         * math/s_ccosh.c: Include <float.h>
42177         (__ccosh): Avoid internal overflow calculating sinh and cosh
42178         values before multiplying by sin and cos values.
42179         * math/s_ccoshf.c: Likewise.
42180         * math/s_ccoshl.c: Likewise.
42181         * math/s_csin.c: Likewise.
42182         * math/s_csinf.c: Likewise.
42183         * math/s_csinl.c: Likewise.
42184         * math/s_csinh.c: Likewise.
42185         * math/s_csinhf.c: Likewise.
42186         * math/s_csinhl.c: Likewise.
42187         * math/libm-test.inc (ccos_test): Add more tests.
42188         (ccosh_test): Likewise.
42189         (csin_test): Likewise.
42190         (csinh_test): Likewise.
42191         * sysdeps/i386/fpu/libm-test-ulps: Update.
42192         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42194 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
42196         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
42197         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
42199         * sysdeps/x86_64/x32/_itoa.h: Add comment.
42201 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
42203         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
42204         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
42205         * sysdeps/powerpc/soft-fp/Versions: Likewise.
42206         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
42207         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
42208         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
42209         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
42210         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
42211         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
42212         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
42213         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
42214         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
42215         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
42216         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
42217         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
42218         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
42219         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
42220         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
42221         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
42222         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
42223         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
42224         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
42225         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
42226         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
42227         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
42228         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
42229         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
42230         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
42231         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
42232         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
42233         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
42235 2012-05-18  Andreas Jaeger  <aj@suse.de>
42237         * csu/.gitignore: Delete.
42239 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42241         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
42242         (timex): Use __syscall_slong_t.
42244 2012-05-18  Andreas Jaeger  <aj@suse.de>
42245             Carlos O'Donell  <carlos_odonell@mentor.com>
42247         * manual/install.texi (Configuring and compiling): Update
42248         description about files modified in the source directory.
42249         * INSTALL: Regenerated.
42251 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42253         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
42254         value.  Use "or" to set return value to -1.
42255         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
42256         negate return value.
42258 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
42260         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
42261         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
42262         failure if the compiler has Graphite support disabled.
42263         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
42264         Likewise.
42265         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
42266         (CFLAGS-memmove.c): Likewise.
42267         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
42268         Likewise.
42270 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
42272         * sysdeps/x86_64/x32/_itoa.h: New file.
42274         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
42275         getdents system call only if kernel and user dirents have the
42276         same d_ino and d_off.
42278         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
42279         LLONG_MAX != LONG_MAX.
42280         (_itoa_word): Use _ITOA_WORD_TYPE on value.
42281         (_fitoa_word): Likewise.
42283         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
42284         years.
42285         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
42286         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
42287         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
42289         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
42290         include <bits/wordsize.h>.  Check __x86_64__ instead of
42291         __WORDSIZE.
42292         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
42293         if __x86_64__ is defined.  Use anonymous union on fpstate.
42295         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
42296         anonymous union.
42298 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
42300         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
42301         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
42302         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
42303         Refer to _rtld_local_ro instead of _rtld_global_ro.
42304         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
42305         Likewise.
42306         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
42307         Likewise.
42308         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
42309         Likewise.
42310         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
42311         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
42312         of _rtld_global, and rtld_progname instead of _dl_argv[0].
42314         * sysdeps/powerpc/powerpc32/dl-machine.c
42315         (__elf_machine_runtime_setup) [PROF]: Don't reference
42316         _dl_prof_resolve.
42318 2012-05-18  Andreas Jaeger  <aj@suse.de>
42320         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
42321         function only available for GCCs before 3.4 since GCC 3.4
42322         introduced a builtin.
42323         (lrint): Likewise.
42324         (llrintf): Likewise.
42325         (llrint): Likewise.
42326         (fmaxf): Likewise.
42327         (fmax): Likewise.
42328         (fminf): Likewise.
42329         (fmin): Likewise.
42330         (rint): Likewise.
42331         (rintf): Likewise.
42332         (nearbyint): Likewise.
42333         (nearbyintf): Likewise.
42334         (ceil): Likewise.
42335         (ceilf): Likewise.
42336         (floor): Likewise.
42337         (floorf): Likewise.
42339 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42341         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
42342         on both fields and cast pointer to __syscall_ulong_t.
42344         * bits/types.h (__fsword_t): New type.
42345         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
42346         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
42347         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42348         (__FSWORD_T_TYPE): Likewise.
42349         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42350         (__FSWORD_T_TYPE): Likewise.
42351         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42352         (__FSWORD_T_TYPE): Likewise.
42353         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
42354         (__FSWORD_T_TYPE): Likewise.
42355         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
42356         __SWORD_TYPE with __fsword_t.
42357         (statfs64): Likewise.
42359 2012-05-17  David S. Miller  <davem@davemloft.net>
42361         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
42363 2012-05-17  Andreas Jaeger  <aj@suse.de>
42365         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
42366         warning.
42368 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42370         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
42372 2012-05-17  Andreas Jaeger  <aj@suse.de>
42374         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
42375         when it is used.
42377 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42379         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
42381 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42383         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
42384         * sysdeps/x86_64/tst-mallocalign1.c: New file.
42386 2012-05-17  Andreas Jaeger  <aj@suse.de>
42387             Carlos O'Donell  <carlos_odonell@mentor.com>
42389         [BZ #14059]
42390         * sysdeps/x86_64/multiarch/init-arch.h
42391         (bit_YMM_Usable): Rename to...
42392         (bit_AVX_Usable): ... this.
42393         (bit_FMA4_Usable): New macro.
42394         (bit_XMM_state): New macro.
42395         (bit_YMM_state): New macro.
42396         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
42397         [__ASSEMBLER__] (index_AVX_Usable): ... this.
42398         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
42399         (CPUID_OSXSAVE): New macro.
42400         (CPUID_AVX): New macro.
42401         (CPUID_FMA4): New macro.
42402         (index_YMM_Usable): Rename to...
42403         (index_AVX_Usable): ... this.
42404         (HAS_AVX): Use HAS_ARCH_FEATURE.
42405         (HAS_FMA4): Likewise.
42406         (HAS_YMM_USABLE): Remove.
42407         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42408         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
42409         are present.
42410         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
42411         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
42412         * sysdeps/x86_64/multiarch/Makefile: Likewise.
42413         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
42414         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
42416 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
42418         * math/libm-test.c: Support platforms without multiple rounding modes.
42419         * math/bug-nextafter.c: Support platforms without FP exceptions.
42420         * math/bug-nexttoward.c: Likewise.
42421         * math/test-fenv.c: Likewise.
42422         * math/test-misc.c: Likewise.
42423         * stdlib/bug-getcontext.c: Likewise.
42425 2012-05-17  Andreas Jaeger  <aj@suse.de>
42427         * manual/examples/search.c (critter_cmp): Change signature to
42428         avoid warnings.
42429         * manual/string.texi (Collation Functions): Likewise.
42431 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42433         * bits/types.h: Fold copyright years.
42434         * bits/typesizes.h: Likewise.
42435         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
42436         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42437         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
42438         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
42439         * time/time.h: Likewise.
42441 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
42443         [BZ #208]
42444         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
42445         in instead of returning them.  Return void.
42446         (__libc_mallinfo): Accumulate over all arenas.
42447         (__malloc_stats): Adjust for change in int_mallinfo interface.
42449 2012-05-16  Roland McGrath  <roland@hack.frob.com>
42451         [BZ #10375]
42452         * configure.in (NM): Add AC_CHECK_TOOL for it.
42453         (libc_extra_cflags): New substituted variable.
42454         Check for -fstack-protector being used implicitly.
42455         * configure: Regenerated.
42456         * config.make.in (config-extra-cflags): New variable,
42457         gets @libc_extra_cflags@.
42458         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
42460         [BZ #10375]
42461         * configure.in: Check for _FORTIFY_SOURCE being predefined.
42462         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
42463         * configure: Regenerated.
42464         * config.make.in (CPPUNDEFS): New substituted variable.
42465         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
42466         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
42467         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
42469 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42471         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
42472         (mq_attr): Use __syscall_slong_t.
42474 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42476         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
42477         Check __x86_64__ instead of __WORDSIZE.
42478         (_STAT_VER_LINUX): Likewise.
42479         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
42480         __syscall_ulong_t and __syscall_slong_t.
42481         (stat64): Likewise.
42483 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42485         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
42487 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42489         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
42491 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42493         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
42494         __syscall_ulong_t.
42496         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
42497         include <bits/wordsize.h>.  Check __x86_64__ instead of
42498         __WORDSIZE.
42499         (greg_t): Use "__extension__ long long int" if __x86_64__ is
42500         defined.
42501         (mcontext_t): Replace "unsigned long" with "unsigned long long".
42503         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
42504         include <bits/wordsize.h>.  Check __x86_64__ instead of
42505         __WORDSIZE.
42506         (user_regs_struct): Use "__extension__ unsigned long long"
42507         instead of "unsigned long" if __x86_64__ is defined.
42508         (user): Likewise.  Pad after pointer field if __ILP32__ is
42509         defined.
42511 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
42513         * configure.in (makeinfo): Require version 4.5 or later.  Allow
42514         versions 5 to 9.
42515         * configure: Regenerated.
42516         * manual/install.texi (texinfo): Increase version requirement to
42517         4.5 or later.
42518         * INSTALL: Regenerated.
42520         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
42522 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42524         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
42526         * sysdeps/x86_64/x32/ffs.c: New file.
42528         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
42529         __syscall_ulong_t.
42530         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
42531         defined.  Use __syscall_ulong_t.
42532         (shminfo): Use __syscall_ulong_t.
42533         (shm_info): Likewise.
42535         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
42536         __syscall_ulong_t.
42538         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
42539         <bits/wordsize.h>.
42540         (msgqnum_t): Use __syscall_ulong_t.
42541         (msglen_t): Likewise.
42542         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
42543         __syscall_ulong_t.
42545         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
42546         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42548         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
42550         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
42551         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
42553         * sysvipc/sys/msg.h (msgbuf): Replace long int with
42554         __syscall_slong_t.
42556         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
42557         include <bits/wordsize.h>.  Check __x86_64__ instead of
42558         __WORDSIZE.
42560         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
42561         "unsigned long long int" if __x86_64__ is defined.
42562         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
42564         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
42565         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
42566         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
42568         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
42569         <stdint.h>.
42570         (GET_PC): Cast to uintptr_t first.
42571         (GET_FRAME): Likewise.
42572         (GET_STACK): Likewise.
42574         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
42575         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
42576         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
42577         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
42578         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
42579         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
42580         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
42581         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
42582         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
42583         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
42584         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
42585         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
42586         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
42587         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
42588         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
42589         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
42590         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
42591         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
42592         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
42593         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
42594         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
42595         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
42596         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
42597         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
42598         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
42599         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
42600         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
42601         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
42602         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
42604 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
42606         * Makerules (+depfiles): Also collect depfiles from .oS in
42607         $(extra-objs).
42608         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
42609         .oS, $(libnldbl-routines)).
42611         * Makerules (native-compile-mkdep-flags): Define.
42612         * sunrpc/Makefile (extra-objs): Add $(addprefix
42613         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
42614         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
42615         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
42616         calling $(make-target-directory).
42618 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42620         * bits/types.h (__snseconds_t): Removed.
42621         * time/time.h (struct timespec): Replace __snseconds_t with
42622         __syscall_slong_t.
42623         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
42624         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
42625         Likewise.
42626         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42627         (__SNSECONDS_T_TYPE): Likewise.
42628         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42629         (__SNSECONDS_T_TYPE): Likewise.
42630         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42631         (__SNSECONDS_T_TYPE): Likewise.
42633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42635         * sysdeps/mach/hurd/bits/typesizes.h
42636         (__SYSCALL_SLONG_TYPE): New macro.
42637         (__SYSCALL_ULONG_TYPE): Likewise.
42639 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42641         * bits/types.h (__syscall_slong_t): New type.
42642         (__syscall_ulong_t): Likewise.
42644         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
42645         (__SYSCALL_ULONG_TYPE): Likewise.
42646         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
42647         (__SYSCALL_SLONG_TYPE): Likewise.
42648         (__SYSCALL_ULONG_TYPE): Likewise.
42649         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
42650         (__SYSCALL_SLONG_TYPE): Likewise.
42651         (__SYSCALL_ULONG_TYPE): Likewise.
42652         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
42653         (__SYSCALL_SLONG_TYPE): Likewise.
42654         (__SYSCALL_ULONG_TYPE): Likewise.
42656 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42658         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
42659         Add sigaltstack-offsets.sym.
42660         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
42661         <sigaltstack-offsets.h>.
42662         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
42663         longjmp_msg pointer.
42664         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
42665         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
42666         signal stack.
42667         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
42669 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42671         * elf/stackguard-macros.h: Remove file.
42672         * sysdeps/generic/stackguard-macros.h: New file.
42673         * sysdeps/i386/stackguard-macros.h: Likewise.
42674         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
42675         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
42676         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
42677         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
42678         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
42679         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
42680         * sysdeps/x86_64/stackguard-macros.h: Likewise.
42681         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
42682         <elf/stackguard-macros.h>.
42684         [BZ #14109]
42685         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
42686         __aligned__ in attribute.
42687         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
42688         (gregset_t): Likewise.
42690 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42692         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
42693         * sysdeps/x86_64/64/Implies-after: Here.  New file.
42694         * sysdeps/x86_64/x32/Implies-after: New file.
42696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42698         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
42699         and access return value for _dl_profile_fixup.  Use R10_LP to
42700         load frame size.
42702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42704         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
42706 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42708         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
42709         * sysdeps/x86_64/x32/sysdep.h: New file.
42711 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42713         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
42714         * sysdeps/x86_64/setjmp.S: Likewise.
42716 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42718         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
42719         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
42720         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
42721         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
42722         remove unused global constant.
42724 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
42726         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
42727         include of <not-cancel.h>.
42729 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42731         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
42733 2012-05-15  Jeff Law  <law@redhat.com>
42734             Andreas Jaeger  <aj@suse.de>
42736         [BZ #13594]
42737         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
42738         out from...
42739         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
42740         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
42741         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
42742         code changing __hst_map_handle.map.
42744 2012-05-15  Roland McGrath  <roland@hack.frob.com>
42746         * configure.in (sysnames): Look for Implies-before and Implies-after
42747         files.
42748         * configure: Regenerated.
42750 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42752         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
42753         8-byte data alignment with LP_SIZE alignment.
42755 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42757         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
42758         into R10_LP.
42760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42762         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
42764 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42766         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
42767         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
42768         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
42769         Likewise.
42770         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
42772 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42774         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
42775         (stackinfo_sub_sp): Likewise.
42777 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42779         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
42780         RAX_LP.
42782 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42784         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
42785         into R*_LP.
42787 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42789         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
42790         sizes into R*_LP.
42792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42794         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
42796 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42798         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
42799         into R11_LP and load __x86_64_shared_cache_size_half into
42800         R8_LP.
42802 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
42804         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
42805         R8_LP.
42807 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42809         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
42810         logb for POWER7.
42811         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
42812         logbf for POWER7.
42813         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
42814         logbl for POWER7.
42815         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
42816         powerpc32/power7/fpu/s_logb.c via #include.
42817         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
42818         powerpc32/power7/fpu/s_logbf.c via #include.
42819         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
42820         powerpc32/power7/fpu/s_logbl.c via #include.
42822 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
42824         * README.libm: Remove file.
42826 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42828         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
42829         count for x32.  Use R*_LP and omit operand-size suffix.
42831 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42833         * shlib-versions: Move x86_64-.*-linux.* entries to ...
42834         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
42835         * sysdeps/x86_64/x32/shlib-versions: New file.
42837 2012-05-14  Roland McGrath  <roland@hack.frob.com>
42839         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
42840         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
42841         Use _dl_fatal_printf instead.
42843 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42845         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
42846         set if not set by the user.  Do not allow for being unset.
42847         * sysdeps/unix/sysv/linux/configure: Regenerated.
42849 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42851         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
42852         the `q' suffix from lea and replace .quad with ASM_ADDR.
42854 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42856         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
42857         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
42858         instead of $17.
42859         (PTR_DEMANGLE): Likewise.
42861 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42863         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
42864         (LP_OP): Likewise.
42865         (ASM_ADDR): Likewise.
42866         (RAX_LP): Likewise.
42867         (RBP_LP): Likewise.
42868         (RBX_LP): Likewise.
42869         (RCX_LP): Likewise.
42870         (RDI_LP): Likewise.
42871         (RSI_LP): Likewise.
42872         (RSP_LP): Likewise.
42873         (R8_LP): Likewise.
42874         (R9_LP): Likewise.
42875         (R10_LP): Likewise.
42876         (R10_LP): Likewise.
42877         (R11_LP): Likewise.
42878         (R12_LP): Likewise.
42879         (R13_LP): Likewise.
42880         (R14_LP): Likewise.
42881         (R15_LP): Likewise.
42883 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
42885         * sysdeps/x86_64/x32/dl-machine.h: New file.
42887 2012-05-14  Andreas Jaeger  <aj@suse.de>
42889         * manual/Makefile (subdir): Remove export of subdir.
42890         (all): Remove target.
42891         (.PHONY): Remove all from list.
42892         (mkinstalldirs): Remove.
42893         (.PHONY): Remove installdirs from list.
42894         ($(inst_infodir)/libc.info): Use make-target-directory.
42895         (installdirs): Remove.
42896         (subdir_%): Remove.
42897         (glibc-targets): Remove.
42898         (lib): Remove.
42899         (stubs): Remove.
42900         ($(objpfx)stubs ../po/manual.pot): Remove.
42901         ($(objpfx)stamp%): Remove.
42902         (make-target-directory): Remove.
42903         (subdir_install): Remove.
42904         (routines): Remove.
42905         (aux): Remove.
42906         (sources): Remove.
42907         (objects): Remove.
42908         (headers): Remove.
42910         [BZ #13750]
42911         * manual/.gitignore: Remove, it's not needed anymore.
42912         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
42913         all files in it.
42914         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
42915         directory.
42916         (texis): Renamed to $(objpfx)texis.
42917         (texis-path): New, contains path to generated files.
42918         (chapters.%): Use texis-path for complete path, add extra argument
42919         libc-texinfo.sh.
42920         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
42921         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
42922         (summary,texi, stamp-summary): Use complete path of
42923         files. Generate files in build dir.
42924         (dir-add.texi): Build in build dir.
42925         (libm-err.texi,stamp-libm-err): Likewise.
42926         (version.texi, stamp-version): Likewise.
42927         (.%c.texi): Likewise.
42928         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
42929         (mostlyclean): Remove target.
42930         (realclean): Remove target.
42931         (generated): Add new variable with contents from mostlyclean and
42932         realclean, remove entries duplicated in common-mostlyclean, add
42933         stamp-libm-err and stamp-version.
42934         (generated-dirs): Add libc directory.
42935         ($(inst_infodir)/libc.info): Install files from build dir.
42937         * manual/install.texi (Configuring and compiling): Adjust since
42938         the info files are not part of the tar ball anymore.
42940 2012-05-14  Andreas Jaeger  <aj@suse.de>
42942         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
42943         variable.
42945 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
42947         [BZ #13717]
42948         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
42949         to 2.2.0 where earlier.
42950         * sysdeps/unix/sysv/linux/configure: Regenerated.
42951         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
42952         Remove conditional code.
42953         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
42954         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
42955         Remove conditional code.
42956         [!__NR_lchown]: Likewise.
42957         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42958         [__NR_lchown]: Likewise.
42959         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
42960         comment referencing __ASSUME_LCHOWN_SYSCALL.
42961         * sysdeps/unix/sysv/linux/i386/sigaction.c
42962         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
42963         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
42964         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
42965         Remove conditional code.
42966         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
42967         (__protocol_available): Remove #if 0 code.
42968         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
42969         conditional code.
42970         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
42971         * sysdeps/unix/sysv/linux/kernel-features.h
42972         (__ASSUME_GETCWD_SYSCALL): Don't define.
42973         (__ASSUME_REALTIME_SIGNALS): Likewise.
42974         (__ASSUME_PREAD_SYSCALL): Likewise.
42975         (__ASSUME_PWRITE_SYSCALL): Likewise.
42976         (__ASSUME_POLL_SYSCALL): Likewise.
42977         (__ASSUME_LCHOWN_SYSCALL): Likewise.
42978         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
42979         non-SPARC.
42980         (__ASSUME_SIOCGIFNAME): Don't define.
42981         (__ASSUME_MSG_NOSIGNAL): Likewise.
42982         (__ASSUME_SENDFILE): Define unconditionally.
42983         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
42984         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
42985         conditional code.
42986         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
42987         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
42988         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42989         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42990         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
42991         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
42992         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
42993         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
42994         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42995         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
42997         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
42998         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
42999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
43000         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43001         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
43003         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43004         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
43006         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43007         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
43009         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
43010         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43011         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
43012         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43013         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43014         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
43015         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43016         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43017         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
43018         Remove conditional code.
43019         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43020         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43021         Remove conditional code.
43022         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43023         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
43024         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
43025         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43026         Remove conditional code.
43027         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43028         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
43029         Remove conditional code.
43030         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43031         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
43032         Remove conditional code.
43033         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43034         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
43035         Remove conditional code.
43036         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
43037         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
43038         Remove conditional code.
43039         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43040         * sysdeps/unix/sysv/linux/sh/pwrite64.c
43041         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
43042         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
43043         * sysdeps/unix/sysv/linux/sigaction.c
43044         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43045         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43046         * sysdeps/unix/sysv/linux/sigpending.c
43047         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43048         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43049         * sysdeps/unix/sysv/linux/sigprocmask.c
43050         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43051         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43052         * sysdeps/unix/sysv/linux/sigsuspend.c
43053         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
43054         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
43055         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
43056         (__libc_missing_rt_sigs): Remove.
43057         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
43058         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
43059         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
43060         Remove conditional code.
43061         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
43062         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
43063         return 1.
43064         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
43065         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
43066         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
43067         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
43069 2012-05-14  Andreas Jaeger  <aj@suse.de>
43071         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
43072         it's not used in glibc.
43073         (__coshm1): Likewise.
43074         (__acosh1p): Likewise.
43075         (__sgn): Likewise.
43077         * manual/string.texi (Copying and Concatenation): Add missing
43078         variable in concat example.
43079         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43081 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43083         [BZ #14103]
43084         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
43085         __builtin_clzl with __builtin_clzll.
43087 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
43089         [BZ #14104]
43090         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
43091         libc_freeres_ptr.
43093 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43095         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
43096         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
43097         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
43098         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
43100 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
43102         * NEWS: Update ia64 info.
43104 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
43106         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
43107         used as bcopy.
43109 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
43111         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
43112         * sysdeps/unix/syscalls.list (dup3): Likewise.
43113         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
43114         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
43116 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
43118         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
43119         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
43121 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
43123         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
43124         thread pointer.
43125         (TLS_IE): Use mov/add instead of movq/addq to load thread
43126         pointer.
43127         (TLS_GD_PREFIX): New.
43128         (TLS_GD): Use it.
43130 2012-05-11  David S. Miller  <davem@davemloft.net>
43132         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
43133         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
43134         (_FPU_SETCW): Likewise.
43136 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43138         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
43139         is 32-byte aligned.
43141 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
43143         [BZ #11837]
43144         * iconvdata/gb18030.c: Update tables.
43145         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
43146         characters specially.
43147         (BODY for TO_LOOP): Add encoding of missing ranges.
43149 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
43151         [BZ #13673]
43152         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
43153         * sysdeps/mach/hurd/dup3.c: Likewise.
43154         * sysdeps/mach/hurd/readlinkat.c: Likewise.
43155         * sysdeps/powerpc/memmove.c:: Likewise.
43157 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43159         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
43160         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
43162 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43164         * elf/elf.h (R_X86_64_RELATIVE64): New.
43165         (R_X86_64_NUM): Updated.
43166         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
43167         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
43168         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
43169         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
43170         tst-quad1pie tst-quad2pie
43171         (modules-names): Add tst-quadmod1 tst-quadmod2.
43172         ($(objpfx)tst-quad1): New dependency.
43173         ($(objpfx)tst-quad2): Likewise.
43174         ($(objpfx)tst-quad1pie): Likewise.
43175         ($(objpfx)tst-quad2pie): Likewise.
43176         * sysdeps/x86_64/tst-quad1.c: New file.
43177         * sysdeps/x86_64/tst-quad1pie.c: New file.
43178         * sysdeps/x86_64/tst-quad2.c: Likewise.
43179         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
43180         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
43181         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
43182         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
43183         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
43185 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43187         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
43188         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
43189         * streams/stropts.h (t_scalar_t): Define type.
43191         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
43192         (_PATH_PRESERVE): Set to "/var/lib".
43193         (_PATH_RWHODIR): Set to "/var/spool/rwho".
43195         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
43196         instead of int.
43198         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
43199         if __dir_mkfile succeeded.
43201         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
43202         checking for _hurd_dtablesize.  Unlock it right after having
43203         finished _hurd_dtable allocation.
43205 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43207         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
43208         * sysdeps/mach/hurd/configure: Regenerated.
43209         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
43210         special-casing to...
43211         * sysdeps/gnu/configure.in: ... this new file.
43212         * sysdeps/unix/sysv/linux/configure: Regenerated.
43213         * sysdeps/gnu/configure: New generated file.
43215         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
43216         for Linux: use nsec instead of usec, as well as:
43217         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
43218         members of type struct timespec.
43219         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
43220         New macros.
43221         (struct stat64): Likewise.
43222         (_STATBUF_ST_NSEC): New macro.
43223         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
43225         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
43226         __strtoul_internal rather than strtoul.
43228 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43230         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
43231         and reject them.
43233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43235         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
43236         which preserves existing values.
43237         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
43239 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43241         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
43242         TIMEOUT values.  Return EINVAL for NFDS values either negative or
43243         greater than FD_SETSIZE.
43245 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43247         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
43248         allocated, call __vm_protect to finish enabling the existing space, and
43249         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
43250         allocate the remainder.
43252 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43254         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
43255         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
43257 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43259         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
43260         sysdeps/mach/hurd/readlink.c.
43262         * posix/tst-sysconf.c (posix_options): Only use
43263         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
43264         _POSIX_SYNCHRONIZED_IO when they are defined
43265         * sysdeps/mach/hurd/bits/posix_opt.h:
43266         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
43267         (_XOPEN_REALTIME): Undefine macro.
43268         (_XOPEN_REALTIME_THREADS): Undefine macro.
43269         (_XOPEN_SHM): Undefine macro.
43270         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
43271         macro to -1.
43272         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
43273         macro to -1.
43274         (_POSIX_ASYNC_IO): Undefine macro.
43275         (_POSIX_PRIORITIZED_IO): Undefine macro.
43276         (_POSIX_SPIN_LOCKS): Define macro to -1.
43278         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
43279         SA_NODEFER, SA_RESETHAND.
43280         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
43281         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
43282         F_DUPFD_CLOEXEC.
43284 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43286         * elf/Makefile (pldd-modules): Define unconditionally.
43288 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43290         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
43292 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43294         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
43295         Return ENOENT when name is empty.
43296         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
43298 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43300         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
43302         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
43304 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43306         Fix mlock in all cases except non-readable pages.
43307         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
43308         instead of VM_PROT_ALL as parameter to __vm_wire function.
43310         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
43311         (__mkdir): When path is `/', just fail with EEXIST.
43312         * sysdeps/mach/hurd/mkdirat.c: Likewise.
43314 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43316         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
43317         <sys/uio.h> (for writev).
43318         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
43319         and <sys/param.h> (for MIN).
43321 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
43323         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
43324         REQUESTED_TIME.  Properly set the remaining time and return EINTR
43325         if interrupted.
43327 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43329         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
43330         Depend on against $(link-rpcuserlibs).
43332 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43334         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
43335         (__libc_stack_end): Do not use attribute_relro.
43336         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
43337         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
43338         to libthread-provided value.
43339         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
43340         attribute_relro.
43342 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43344         [BZ #3748]
43345         * bits/libc-lock.h (__libc_once_get): New macro.
43346         * sysdeps/mach/bits/libc-lock.h: Likewise.
43347         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
43348         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
43349         instead of using implementation details.
43351         * libio/fileops.c: Unconditionally include <kernel-features.h>.
43352         * libio/freopen.c: Likewise.
43353         * libio/freopen64.c: Likewise.
43354         * misc/syslog.c: Likewise.
43355         * nscd/connections.c: Likewise.
43356         * nscd/netgroupcache.c: Likewise.
43357         * sysdeps/posix/getcwd.c: Likewise.
43359 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43361         * math/w_ilogbf.c: Add #include <limits.h>.
43363 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43365         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
43366         path instead of returning without unlocking.
43368         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
43369         immediate-write ioctls.
43370         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
43372 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43374         * sysdeps/mach/hurd/i386/init-first.c (init): Use
43375         __builtin_frame_address instead of making assumptions about the
43376         location of the return address relative to DATA.  Force early load of
43377         the return address.
43378         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
43379         __builtin_frame_address.
43381         dup3 for GNU Hurd.
43382         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
43383         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
43384         implement dup3 and do some further code clean-ups.
43385         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
43386         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
43388 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43390         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
43392         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
43393         HURD_CRITICAL_END around holding _hurd_dtable_lock.
43394         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
43395         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
43396         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
43397         d->port.lock.
43399         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
43400         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
43401         when handler == SIG_ERR, not when handler != SIG_ERR.
43403 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43405         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
43406         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
43407         definitions.
43409         accept4 for GNU Hurd.
43410         * include/sys/socket.h (__libc_accept4): New prototype.
43411         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
43412         to implement __libc_accept4.
43413         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
43414         __libc_accept4.
43415         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
43417         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
43418         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
43419         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
43420         signal-defines.sym.
43422 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43424         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
43426 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
43428         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
43429         assertion on O_CLOEXEC flag.
43430         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
43431         * hurd/intern-fd.c: Likewise.
43432         * hurd/port2fd.c: Likewise.
43434 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43436         [BZ #3906]
43437         * bits/in.h (IPV6_PKTINFO): Define new macro.
43438         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
43440 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43442         [BZ #13954]
43443         [BZ #13955]
43444         [BZ #13956]
43445         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
43446         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
43447         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
43448         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
43449         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
43450         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
43451         * math/libm-test.inc (logb_test) : Additional logb tests.
43453 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
43454             Andreas Jaeger  <aj@suse.de>
43456         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
43457         * configure: Regenerated.
43458         * config.h.in (LINK_OBSOLETE_RPC): New macro.
43459         * config.make.in (link-obsolete-rpc): New substituted variable.
43460         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
43461         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
43462         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43463         (shared-only-routines): Don't set it under [link-obsolete-rpc],
43464         so that libc.a contains the symbols.
43465         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
43466         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
43467         * sunrpc/auth_none.c: Likewise.
43468         * sunrpc/auth_unix.c: Likewise.
43469         * sunrpc/authdes_prot.c: Likewise.
43470         * sunrpc/authuxprot.c: Likewise.
43471         * sunrpc/clnt_gen.c: Likewise.
43472         * sunrpc/clnt_perr.c: Likewise.
43473         * sunrpc/clnt_raw.c: Likewise.
43474         * sunrpc/clnt_simp.c: Likewise.
43475         * sunrpc/clnt_tcp.c: Likewise.
43476         * sunrpc/clnt_udp.c: Likewise.
43477         * sunrpc/clnt_unix.c: Likewise.
43478         * sunrpc/des_crypt.c: Likewise.
43479         * sunrpc/des_soft.c: Likewise.
43480         * sunrpc/get_myaddr.c: Likewise.
43481         * sunrpc/key_call.c: Likewise.
43482         * sunrpc/key_prot.c: Likewise.
43483         * sunrpc/netname.c: Likewise.
43484         * sunrpc/pm_getmaps.c: Likewise.
43485         * sunrpc/pm_getport.c: Likewise.
43486         * sunrpc/pmap_clnt.c: Likewise.
43487         * sunrpc/pmap_prot.c: Likewise.
43488         * sunrpc/pmap_prot2.c: Likewise.
43489         * sunrpc/pmap_rmt.c: Likewise.
43490         * sunrpc/publickey.c: Likewise.
43491         * sunrpc/rpc_cmsg.c: Likewise.
43492         * sunrpc/rpc_common.c: Likewise.
43493         * sunrpc/rpc_dtable.c: Likewise.
43494         * sunrpc/rpc_prot.c: Likewise.
43495         * sunrpc/rpc_thread.c: Likewise.
43496         * sunrpc/rtime.c: Likewise.
43497         * sunrpc/svc.c: Likewise.
43498         * sunrpc/svc_auth.c: Likewise.
43499         * sunrpc/svc_raw.c: Likewise.
43500         * sunrpc/svc_run.c: Likewise.
43501         * sunrpc/svc_tcp.c: Likewise.
43502         * sunrpc/svc_udp.c: Likewise.
43503         * sunrpc/svc_unix.c: Likewise.
43504         * sunrpc/svcauth_des.c: Likewise.
43505         * sunrpc/xcrypt.c: Likewise.
43506         * sunrpc/xdr.c: Likewise.
43507         * sunrpc/xdr_array.c: Likewise.
43508         * sunrpc/xdr_float.c: Likewise.
43509         * sunrpc/xdr_intXX_t.c: Likewise.
43510         * sunrpc/xdr_mem.c: Likewise.
43511         * sunrpc/xdr_rec.c: Likewise.
43512         * sunrpc/xdr_ref.c: Likewise.
43513         * sunrpc/xdr_sizeof.c: Likewise.
43514         * sunrpc/xdr_stdio.c: Likewise.
43516 2012-05-10  Roland McGrath  <roland@hack.frob.com>
43518         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
43519         change.  Update copyright years.
43521 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43523         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
43525 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
43526             Joseph Myers  <joseph@codesourcery.com>
43527             Paul Pluzhnikov  <ppluzhnikov@google.com>
43529         [BZ #14012]
43530         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
43531         requiring rpcgen.
43532         [cross-compiling] (extra-libs): Likewise.
43533         [cross-compiling] (extra-libs-others): Likewise.
43534         [cross-compiling] (librpcsvc-routines): Likewise.
43535         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
43536         [cross-compiling] (omit-deps): Likewise.
43537         (sunrpc-CPPFLAGS): New variable.
43538         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
43539         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
43540         (cross-rpcgen-objs): New variable.
43541         (extra-objs): Append $(cross-rpcgen-objs).
43542         ($(cross-rpcgen-objs)): New rule.
43543         ($(objpfx)cross-rpcgen): Likewise.
43544         (rpcgen-cmd): Define to use $(built-program-file).  Expand
43545         comment.
43546         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
43547         ($(objpfx)x%.stmp): Likewise.
43548         * sunrpc/proto.h [IS_IN_build] (_): Define.
43549         [IS_IN_build] (_libc_intl_domainname): Likewise.
43551 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
43553         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
43554         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
43555         and R_X86_64_TPOFF64.
43557 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
43559         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
43560         sysdeps/unix/sysv/syscalls.list.
43561         (stime): Likewise.
43562         (utime): Likewise.
43563         * sysdeps/unix/sysv/syscalls.list: Remove file.
43565 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
43567         [BZ #3440]
43568         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
43569         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
43570         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
43571         (__LC_IDENTIFICATION): Make these macros useful in #if
43572         expressions, as required by C99.
43574 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
43576         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
43577         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
43578         after this.
43580 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
43582         * stdlib/longlong.h: Updated from GCC.
43584 2012-05-09  Andreas Jaeger  <aj@suse.de>
43586         * nscd/nscd.c (run_modes): Make named enum, reorder so that
43587         default is first entry.
43588         (run_mode): Set type.
43589         (main): Remove informal message about syslog.
43590         (options): Fix typo.
43592         [BZ #14053]
43593         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
43594         to asm.
43595         (lrint): Likewise.
43596         (llrintf): Likewise.
43597         (llrint): Likewise.
43598         (rint): Likewise.
43599         (rintf): Likewise.
43600         (nearbyint): Likewise.
43601         (nearbyintf): Likewise.
43603 2012-05-09  Andreas Jaeger  <aj@suse.de>
43604             Pedro Alves  <palves@redhat.com>
43606         * nscd/nscd.c (run_mode): Use enum.
43607         (main): Cleanup coding style issue.
43609 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
43610             Andreas Jaeger  <aj@suse.de>
43612         * nscd/nscd.c (go_background): Replaced with...
43613         (run_mode): ... this.
43614         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
43615         (options): Add -F --foreground.
43616         (main): Implement it.
43617         (parse_opt): Parse it.
43619 2012-05-09  Andreas Jaeger  <aj@suse.de>
43621         [BZ #14083]
43622         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
43623         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
43624         -Wconversion warning.
43625         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
43626         Likewise.
43628 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
43630         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
43631         == 0.
43632         (LC_ALL): Use macro-int-constant.
43633         (LC_COLLATE): Likewise.
43634         (LC_CTYPE): Likewise.
43635         (LC_MESSAGES): Likewise.
43636         (LC_MONETARY): Likewise.
43637         (LC_NUMERIC): Likewise.
43638         (LC_TIME): Likewise.
43639         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
43640         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43641         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43642         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
43643         Specify type.
43644         [C99-based standards] (float_t): Expect type.
43645         [C99-based standards] (double_t): Expect type.
43646         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
43647         type.
43648         [C99-based standards] (HUGE_VALL): Likewise.
43649         [C99-based standards] (INFINITY): Likewise.
43650         [C99-based standards] (NAN): Likewise.
43651         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
43652         [C99-based standards] (FP_NAN): Likewise.
43653         [C99-based standards] (FP_NORMAL): Likewise.
43654         [C99-based standards] (FP_SUBNORMAL): Likewise.
43655         [C99-based standards] (FP_ZERO): Likewise.
43656         [C99-based standards] (FP_FAST_FMA): Use
43657         optional-macro-int-constant.  Specify type.  Require == 1.
43658         [C99-based standards] (FP_FAST_FMAF): Likewise.
43659         [C99-based standards] (FP_FAST_FMAL): Likewise.
43660         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
43661         [C99-based standards] (FP_ILOGBNAN): Likewise.
43662         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
43663         Specify type.
43664         [C99-based standards] (MATH_ERREXCEPT): Likewise.
43665         [C99-based standards] (math_errhandling): Specify type.
43666         [ISO99 || ISO11] (signgam): Do not allow.
43667         [non-C99-based standards] (copysignf): Do not allow.
43668         [non-C99-based standards] (exp2f): Likewise.
43669         [non-C99-based standards] (log2f): Likewise.
43670         [non-C99-based standards] (modff): Allow.
43671         [non-C99-based standards] (erff): Do not allow.
43672         [non-C99-based standards] (erfcf): Likewise.
43673         [non-C99-based standards] (gammaf): Likewise.
43674         [non-C99-based standards] (hypotf): Likewise.
43675         [non-C99-based standards] (j0f): Likewise.
43676         [non-C99-based standards] (j1f): Likewise.
43677         [non-C99-based standards] (jnf): Likewise.
43678         [non-C99-based standards] (lgammaf): Likewise.
43679         [non-C99-based standards] (tgammaf): Likewise.
43680         [non-C99-based standards] (y0f): Likewise.
43681         [non-C99-based standards] (y1f): Likewise.
43682         [non-C99-based standards] (ynf): Likewise.
43683         [non-C99-based standards] (isnanf): Likewise.
43684         [non-C99-based standards] (acoshf): Likewise.
43685         [non-C99-based standards] (asinhf): Likewise.
43686         [non-C99-based standards] (atanhf): Likewise.
43687         [non-C99-based standards] (cbrtf): Likewise.
43688         [non-C99-based standards] (expm1f): Likewise.
43689         [non-C99-based standards] (ilogbf): Likewise.
43690         [non-C99-based standards] (log1pf): Likewise.
43691         [non-C99-based standards] (logbf): Likewise.
43692         [non-C99-based standards] (nextafterf): Likewise.
43693         [non-C99-based standards] (remainderf): Likewise.
43694         [non-C99-based standards] (rintf): Likewise.
43695         [non-C99-based standards] (scalbf): Likewise.
43696         [non-C99-based standards] (copysignl): Likewise.
43697         [non-C99-based standards] (exp2l): Likewise.
43698         [non-C99-based standards] (log2l): Likewise.
43699         [non-C99-based standards] (modfl): Allow.
43700         [non-C99-based standards] (erfl): Do not allow.
43701         [non-C99-based standards] (erfcl): Likewise.
43702         [non-C99-based standards] (gammal): Likewise.
43703         [non-C99-based standards] (hypotl): Likewise.
43704         [non-C99-based standards] (j0l): Likewise.
43705         [non-C99-based standards] (j1l): Likewise.
43706         [non-C99-based standards] (jnl): Likewise.
43707         [non-C99-based standards] (lgammal): Likewise.
43708         [non-C99-based standards] (tgammal): Likewise.
43709         [non-C99-based standards] (y0l): Likewise.
43710         [non-C99-based standards] (y1l): Likewise.
43711         [non-C99-based standards] (ynl): Likewise.
43712         [non-C99-based standards] (isnanl): Likewise.
43713         [non-C99-based standards] (acoshl): Likewise.
43714         [non-C99-based standards] (asinhl): Likewise.
43715         [non-C99-based standards] (atanhl): Likewise.
43716         [non-C99-based standards] (cbrtl): Likewise.
43717         [non-C99-based standards] (expm1l): Likewise.
43718         [non-C99-based standards] (ilogbl): Likewise.
43719         [non-C99-based standards] (log1pl): Likewise.
43720         [non-C99-based standards] (logbl): Likewise.
43721         [non-C99-based standards] (nextafterl): Likewise.
43722         [non-C99-based standards] (remainderl): Likewise.
43723         [non-C99-based standards] (rintl): Likewise.
43724         [non-C99-based standards] (scalbl): Likewise.
43725         [ISO || ISO99 || ISO11] (*_t): Do not allow.
43726         [non-C99-based standards] (FP_*): Do not allow.
43727         [C99-based standards] (FP_*): Change to
43728         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
43729         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43730         allow.
43731         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
43732         (SIG_ERR): Likewise.
43733         [X/Open-based standards] (SIG_HOLD): Likewise.
43734         (SIG_IGN): Likewise.
43735         (SIGABRT): Use macro-int-constant.  Specify type.  Require
43736         positive value.
43737         (SIGFPE): Likewise.
43738         (SIGILL): Likewise.
43739         (SIGINT): Likewise.
43740         (SIGSEGV): Likewise.
43741         (SIGTER): Likewise.
43742         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
43743         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
43744         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
43745         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
43746         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
43747         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
43748         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
43749         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
43750         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
43751         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
43752         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
43753         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
43754         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
43755         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
43756         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
43757         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
43758         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
43759         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
43760         [X/Open-based standards] (SIGTRAP): Likewise.
43761         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
43762         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
43763         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
43764         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
43765         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
43766         allow.
43768 2012-05-08  Ian Wienand  <ianw@vmware.com>
43770         [BZ #14080]
43771         * time/tzset.c (__tzset_parse_tz): Update default rules for
43772         daylight time changes in the Energy Policy Act of 2005.
43774 2012-05-09  Andreas Jaeger  <aj@suse.de>
43776         [BZ #13983]
43777         * elf/ldconfig.c (parse_conf): Change string to make clear that
43778         ldconfig only issued a warning if ld.so.conf does not exist.
43780 2012-05-08  David S. Miller  <davem@davemloft.net>
43782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
43783         movxtod instead of popping the value on the stack.
43785         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43787 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
43789         * config.h.in: Add HAVE_ARM_PCS_VFP.
43791 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
43793         [BZ #13979]
43794         * include/features.h: Warn if user requests __FORTIFY_SOURCE
43795         checking but the checks are disabled for any reason.
43797 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
43799         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
43800         and ELF64_R_TYPE with ELFW(R_TYPE).
43802 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
43804         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
43805         (ulimit): Likewise.
43807         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
43808         (settimeofday): Likewise.
43810 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
43812         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
43813         a struct th_u2 inside the union, and move tu_block/tu_code into
43814         a new th_u3 union of tu_block/tu_code inside of that.  Move
43815         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
43816         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
43817         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
43818         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
43819         (th_stuff): Change to th_u1.tu_stuff.
43820         (th_data): Define.
43821         (th_msg): Change to th_u1.th_u2.tu_data.
43823 2012-05-07  David S. Miller  <davem@davemloft.net>
43825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43827         [BZ #14074]
43828         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
43829         (SETUP_PIC_REG): Use it.
43830         (SETUP_PIC_REG_LEAF): Use it.
43832 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
43834         [BZ #13885]
43835         [BZ #13923]
43836         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43837         USE_AS_EXPM1L.
43838         (EXPL_FINITE): Likewise.
43839         (FLDLOG): Likewise.
43840         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43841         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43842         e_expl.S.
43843         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43844         USE_AS_EXPM1L.
43845         (EXPL_FINITE): Likewise.
43846         (FLDLOG): Likewise.
43847         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
43848         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
43849         e_expl.S.
43850         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
43851         test of -max_value argument for long double.
43852         * sysdeps/i386/fpu/libm-test-ulps: Update.
43853         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43855 2012-05-06  David S. Miller  <davem@davemloft.net>
43857         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
43858         quad soft-float symbols whose references which are compiler
43859         generated.
43860         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
43862 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
43864         [BZ #13884]
43865         [BZ #13914]
43866         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43867         USE_AS_EXP10L.
43868         (EXPL_FINITE): Likewise.
43869         (FLDLOG): Likewise.
43870         (c0): Likewise.
43871         (c1): Likewise.
43872         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43873         Adjust comments for base varying.
43874         (__expl_finite): Change alias to EXPL_FINITE.
43875         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
43876         e_expl.S.
43877         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
43878         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
43879         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
43880         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
43881         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
43882         USE_AS_EXP10L.
43883         (EXPL_FINITE): Likewise.
43884         (FLDLOG): Likewise.
43885         (c0): Likewise.
43886         (c1): Likewise.
43887         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
43888         Adjust comments for base varying.
43889         (__expl_finite): Change alias to EXPL_FINITE.
43890         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
43891         tests for bugs.
43892         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43894         [BZ #14064]
43895         * math/libm-test.inc (check_float_internal): Correct ulp
43896         calculation for subnormal expected results.
43898 2012-05-06  Andreas Jaeger  <aj@suse.de>
43900         * Makeconfig (+math-flags): New, set to -frounding-math.
43901         (+cflags): Add +math-flags so that all of glibc gets compiled with
43902         it.
43904         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
43906 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
43908         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
43909         Disable one test.
43911         [BZ #13787]
43912         [BZ #13922]
43913         [BZ #14036]
43914         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
43915         (__ieee754_expl): Allow for and saturate large arguments.
43916         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
43917         (u_threshold): Likewise.
43918         (__exp): Call __ieee754_exp before checking for overflow and
43919         underflow.
43920         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
43921         (u_threshold): Likewise.
43922         (__expf): Call __ieee754_expf before checking for overflow and
43923         underflow.
43924         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
43925         (u_threshold): Likewise.
43926         (__expl): Call __ieee754_expl before checking for overflow and
43927         underflow.
43928         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
43929         (__ieee754_expl): Allow for and saturate large arguments.
43930         * math/libm-test.inc (exp_test): Add another test.  Do not allow
43931         missing overflow exception on overflow.
43932         (expm1_test): Do not allow missing overflow exception on overflow.
43934         * sysdeps/i386/fpu/e_expl.c: Move to ...
43935         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
43936         rather than using inline asm.
43937         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
43938         * sysdeps/x86_64/fpu/e_expl.S: Copy from
43939         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
43941         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
43942         (nice): Likewise.
43943         (poll): Likewise.
43944         (signal): Likewise.
43945         (time): Likewise.
43946         (times): Likewise.
43948 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
43950         * sysdeps/unix/syscalls.list (adjtime): Add entry from
43951         sysdeps/unix/common/syscalls.list.
43952         (fchmod): Likewise.
43953         (fchown): Likewise.
43954         (ftruncate): Likewise.
43955         (getrusage): Likewise.
43956         (gettimeofday): Likewise.
43957         (setpgid): Likewise.
43958         (setregid): Likewise.
43959         (setreuid): Likewise.
43960         (sigaction): Likewise.
43961         (truncate): Likewise.
43962         (vhangup): Likewise.
43963         * sysdeps/unix/common/syscalls.list: Remove file.
43964         * sysdeps/unix/bsd/Implies: Don't include unix/common.
43965         * sysdeps/unix/sysv/linux/Implies: Likewise.
43967 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
43969         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
43970         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
43971         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
43972         Moved to ...
43973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
43974         Here.
43975         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
43976         to ...
43977         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
43978         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
43979         to ...
43980         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
43981         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
43982         to ...
43983         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
43984         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
43985         to ...
43986         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
43987         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
43988         to ...
43989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
43990         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
43991         to ...
43992         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
43993         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
43994         to ...
43995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
43996         Here.
43997         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
43998         to ...
43999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
44000         Here.
44001         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
44002         to ...
44003         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
44004         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
44005         Moved to ...
44006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
44007         Here.
44008         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
44009         to ...
44010         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
44012 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44014         * sysdeps/unix/common/bits/dirent.h: Remove file.
44015         * sysdeps/unix/common/bits/fcntl.h: Likewise.
44017         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
44018         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
44019         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
44020         * sysdeps/unix/bsd/isatty.c: Likewise.
44021         * sysdeps/unix/bsd/tcdrain.c: Likewise.
44022         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
44023         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
44025 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44027         [BZ #13563]
44028         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
44029         long double comparison inaccuracies.
44030         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
44031         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44033 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
44035         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
44036         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
44038 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
44040         [BZ #14049]
44041         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
44042         nonzero digits before rounding a hex value.
44043         * stdlib/tst-strtod.c (tests): Add another test.
44045 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
44047         * sysdeps/s390/fpu/libm-test-ulps: Update.
44049 2012-05-03  Andreas Jaeger  <aj@suse.de>
44051         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
44052         does not get optimized out.
44053         (malloc_opt_barrier): New.
44055 2012-05-03  Andreas Jaeger  <aj@suse.de>
44056             Roland McGrath  <roland@hack.frob.com>
44058         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
44059         intermediate file deletion.
44060         (generated): Add .symlist files.
44062 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
44064         [BZ #13775]
44065         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
44066         Redirect under this condition.
44067         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44068         [__USE_GNU] (__dprintf_chk): Not under this condition.
44069         [__USE_GNU] (__vdprintf_chk): Likewise.
44070         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
44071         under this condition.
44072         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
44073         [__USE_XOPEN2K8] (dprintf): Define under this condition.
44074         [__USE_XOPEN2K8] (vdprintf): Likewise.
44075         [__USE_GNU] (__dprintf_chk): Not under this condition.
44076         [__USE_GNU] (__vdprintf_chk): Likewise.
44077         [__USE_GNU] (dprintf): Likewise.
44078         [__USE_GNU] (vdprintf): Likewise.
44080 2012-05-03  Roland McGrath  <roland@hack.frob.com>
44082         * elf/Makefile (common-generated): Set this instead of generated for
44083         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
44084         $(all-built-dso)-derived lists.
44086 2012-05-03  Andreas Jaeger  <aj@suse.de>
44088         * sysdeps/i386/fpu/libm-test-ulps: Update.
44090         * FAQ: Removed.
44091         * FAQ.in: Likewise.
44092         * scripts/gen-FAQ.pl: Likewise.
44093         * manual/install.texi (Installation): Point to online location of
44094         FAQ.
44095         * Makefile (files-for-dist): Remove FAQ.
44096         (FAQ): Remove.
44098 2012-05-02  Allan McRae  <allan@archlinux.org>
44100         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
44101         (LDFLAGS-reldepmod5.so): Likewise.
44102         (LDFLAGS-reldep6mod1.so): Likewise.
44103         (LDFLAGS-reldep6mod4.so): Likewise.
44104         (LDFLAGS-reldep8mod3.so): Likewise.
44105         (LDFLAGS-unload4mod1.so): Likewise.
44106         (LDFLAGS-unload4mod2.so): Likewise.
44107         (LDFLAGS-tst-initorder): Likewise.
44108         (LDFLAGS-tst-initordera2.so): Likewise.
44109         (LDFLAGS-tst-initordera3.so): Likewise.
44110         (LDFLAGS-tst-initordera4.so): Likewise.
44111         (LDFLAGS-tst-initorderb2.so): Likewise.
44112         (LDFLAGS-noload): Likewise.
44113         (LDFLAGS-next): Likewise.
44114         (LDFLAGS-order2mod1.so): Likewise.
44115         (LDFLAGS-order2mod2.so): Likewise.
44116         (LDFLAGS-tst-initorder2): Likewise.
44117         (LDFLAGS-tst-initorder2a.so): Likewise.
44118         (LDFLAGS-tst-initorder2b.so): Likewise.
44119         (LDFLAGS-tst-initorder2c.so): Likewise.
44120         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
44122 2012-05-02  David S. Miller  <davem@davemloft.net>
44124         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44126 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
44128         [BZ #14055]
44129         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
44131 2012-05-02  Andreas Jaeger  <aj@suse.de>
44133         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
44134         since we manipulate rounding mode.
44135         (CPPFLAGS-test-idouble.c): Likewise.
44136         (CPPFLAGS-test-ifloat.c): Likewise.
44137         (CFLAGS-test-ldouble.c): Likewise.
44138         (CFLAGS-test-double.c): Likewise.
44139         (CFLAGS-test-float.c): Likewise.
44140         (CFLAGS-test-misc.c): Likewise.
44141         (CFLAGS-test-test-fenv.c): Likewise.
44143 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44145         [BZ #2550]
44146         [BZ #2570]
44147         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
44148         comparisons to determine direction to adjust input.
44150 2012-05-01  Roland McGrath  <roland@hack.frob.com>
44152         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
44153         output to the target.
44155         * scripts/localplt.awk: New file.
44156         * elf/Makefile ($(objpfx)check-localplt): Target removed.
44157         (check-localplt-CFLAGS): Variable removed.
44158         ($(all-built-dso:=.jmprel)): New static pattern rule.
44159         (generated): Add those targets.
44160         (localplt-built-dso): New variable.
44161         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
44163         * elf/check-localplt.c: File removed.
44165         * scripts/check-execstack.awk: New file.
44166         * elf/Makefile ($(objpfx)check-execstack): Target removed.
44167         (check-execstack-CFLAGS): Variable removed.
44168         ($(objpfx)check-execstack.h): Target removed.
44169         ($(objpfx)execstack-default): New target.
44170         (generated): Add that instead of check-execstack.h.
44171         ($(all-built-dso:=.phdr)): New static pattern rule.
44172         (generated): Add those targets.
44173         * elf/check-execstack.c: File removed.
44175         * scripts/check-textrel.awk: New file.
44176         * elf/Makefile ($(objpfx)check-textrel): Target removed.
44177         (check-textrel-CFLAGS): Variable removed.
44178         (all-built-dso): Use := to define.o
44179         ($(all-built-dso:=.dyn)): New static pattern rule.
44180         (generated): Add those targets.
44181         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
44182         * config.make.in (READELF): New substituted variable.
44183         * elf/check-textrel.c: File removed.
44185 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44187         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
44188         allow.
44189         * conform/data/ctype.h-data [C99-based standards] (isblank):
44190         Expect function.
44191         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
44192         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
44193         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44194         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
44195         Specify type.  Require positive value.
44196         (EILSEQ): Likewise.
44197         (ERANGE): Likewise.
44198         [ISO || POSIX] (EILSEQ): Do not expect.
44199         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
44200         Specify type.  Require positive value.
44201         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
44202         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
44203         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
44204         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
44205         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
44206         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
44207         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
44208         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
44209         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
44210         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
44211         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
44212         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
44213         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
44214         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
44215         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
44216         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
44217         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
44218         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
44219         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
44220         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
44221         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
44222         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
44223         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
44224         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
44225         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
44226         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
44227         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
44228         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
44229         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
44230         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
44231         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
44232         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
44233         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
44234         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
44235         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
44236         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
44237         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
44238         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
44239         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
44240         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
44241         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
44242         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
44243         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
44244         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
44245         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
44246         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
44247         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
44248         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
44249         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
44250         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
44251         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
44252         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
44253         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
44254         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
44255         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
44256         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
44257         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
44258         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
44259         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
44260         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
44261         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
44262         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
44263         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
44264         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
44265         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
44266         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
44267         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
44268         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
44269         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
44270         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
44271         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
44272         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
44273         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
44274         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
44275         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
44276         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
44277         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
44278         Require >= 2.
44279         (FLT_ROUNDS): Expect as macro, not constant.
44280         (FLT_MANT_DIG): Use macro-int-constant.
44281         (DBL_MANT_DIG): Likewise.
44282         (LDBL_MANT_DIG): Likewise.
44283         (FLT_DIG): Likewise.
44284         (DBL_DIG): Likewise.
44285         (LDBL_DIG): Likewise.
44286         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
44287         (DBL_MIN_EXP): Likewise.
44288         (LDBL_MIN_EXP): Likewise.
44289         (FLT_MAX_EXP): Use macro-int-constant.
44290         (DBL_MAX_EXP): Likewise.
44291         (LDBL_MAX_EXP): Likewise.
44292         (FLT_MAX_10_EXP): Likewise.
44293         (DBL_MAX_10_EXP): Likewise.
44294         (LDBL_MAX_10_EXP): Likewise.
44295         (FLT_MAX): Use macro-constant.
44296         (DBL_MAX): Likewise.
44297         (LDBL_MAX): Likewise.
44298         (FLT_EPSILON): Use macro-constant.  Give upper bound.
44299         (DBL_EPSILON): Likewise.
44300         (LDBL_EPSILON): Likewise.
44301         (FLT_MIN): Likewise.
44302         (DBL_MIN): Likewise.
44303         (LDBL_MIN): Likewise.
44304         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
44305         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
44306         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
44307         [ISO11] (FLT_HAS_SUBNORM): Likewise.
44308         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
44309         [ISO11] (DBL_DECIMAL_DIG): Likewise.
44310         [ISO11] (FLT_DECIMAL_DIG): Likewise.
44311         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
44312         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
44313         [ISO11] (FLT_TRUE_MIN): Likewise.
44314         [ISO11] (LDBL_TRUE_MIN): Likewise.
44315         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44316         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
44317         (SCHAR_MIN): Use macro-int-constant.  Specify type.
44318         (SCHAR_MAX): Likewise.
44319         (UCHAR_MAX): Likewise.
44320         (CHAR_MIN): Likewise.
44321         (CHAR_MAX): Likewise.
44322         (MB_LEN_MAX): Use macro-int-constant.
44323         (SHRT_MIN): Use macro-int-constant.  Specify type.
44324         (SHRT_MAX): Likewise.
44325         (USHRT_MAX): Likewise.
44326         (INT_MAX): Likewise.
44327         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
44328         bound negative.
44329         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44330         bound with "U".
44331         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44332         bound with "L".
44333         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
44334         bound negative.  Suffix upper bound with "L".
44335         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
44336         bound with "UL".
44337         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
44338         Specify type.
44339         [C99-based standards] (LLONG_MAX): Likewise.
44340         [C99-based standards] (ULLONG_MAX): Likewise.
44341         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
44342         == 0.
44343         [ISO11] (max_align_t): Require type.
44344         [ISO || ISO99 || ISO11] (*_t): Do not allow.
44346         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
44347         from $CFLAGS, without defining away __attribute__ calls.
44348         (checknamespace): Use $CFLAGS_namespace.
44350         * conform/conformtest.pl (@keywords): Only include C99 keywords
44351         for standards based on C99 or C11.
44353         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
44354         Disable tests.
44355         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
44356         UNIX98]: Likewise.
44358         * conform/conformtest.pl: Handle "macro-int-constant" and test for
44359         usability of symbols in #if.
44361         * conform/conformtest.pl: If macro or constant types start
44362         "promoted:", expect the symbol to be of the following type
44363         promoted by the integer promotions.
44365         * conform/conformtest.pl: Parse all "constant" and "macro" lines
44366         in one place.  Also handle "macro-constant".
44368         * conform/conformtest.pl: Only accept expected macro values with
44369         "==".  Parse all "macro" lines in one place.
44370         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
44372         * conform/conformtest.pl: Handle braced types on "constant" lines
44373         instead of handling "typed-constant".
44374         * conform/data/signal.h-data: Use "constant" instead of
44375         "typed-constant".
44377         * conform/conformtest.pl: Handle "optional-" at start of lines in
44378         one place rather than duplicating several cases.  Handle each
44379         format of "macro" line with initial "optional-".
44381         * conform/conformtest.pl: Only accept expected constant or
44382         optional-constant values with "==".  Parse all "constant" lines in
44383         one place.  Parse all "optional-constant" lines in one place.
44384         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
44385         * conform/data/fmtmsg.h-data: Likewise.
44386         * conform/data/netinet/in.h-data: Likewise.
44387         * conform/data/tar.h-data: Likewise.
44388         * conform/data/limits.h-data: Use "==" form on "constant" and
44389         "optional-constant" lines.
44391         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
44392         Use -std=c99 for XOPEN2K.
44393         (@knownproblems): Remove.
44394         (newtoken): Don't check %isknown.
44396         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
44397         Do not expect macro.
44398         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
44399         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
44400         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
44401         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
44402         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
44403         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
44404         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
44405         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
44406         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
44407         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
44408         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
44409         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
44410         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
44411         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
44412         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
44413         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
44414         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
44415         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
44416         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
44417         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
44418         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
44419         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
44420         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
44421         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
44422         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
44423         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
44424         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
44425         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
44426         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
44427         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
44428         [XPG3] (acosh): Likewise.
44429         [XPG3] (asinh): Likewise.
44430         [XPG3] (atanh): Likewise.
44431         [XPG3] (cbrt): Likewise.
44432         [XPG3] (expm1): Likewise.
44433         [XPG3] (ilogb): Likewise.
44434         [XPG3] (log1p): Likewise.
44435         [XPG3] (logb): Likewise.
44436         [XPG3] (nextafter): Likewise.
44437         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
44438         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
44439         [XPG3] (remainder): Likewise.
44440         [XPG3] (rint): Likewise.
44441         [XPG3 || XPG4 || UNIX98] (round): Likewise.
44442         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
44443         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
44444         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
44445         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
44446         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
44447         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
44448         [UNIX98 || XOPEN2K] (scalb): Expect.
44449         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
44450         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
44451         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
44452         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
44453         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
44454         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
44455         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
44456         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
44457         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
44458         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
44459         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
44460         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
44461         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
44462         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
44463         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
44464         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
44465         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
44466         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
44467         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
44468         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
44469         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
44470         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
44471         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
44472         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
44473         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
44474         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
44475         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
44476         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
44477         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
44478         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
44479         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
44480         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
44481         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
44482         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
44483         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
44484         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
44485         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
44486         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
44487         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
44488         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
44489         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
44490         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
44491         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
44492         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
44493         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
44494         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
44495         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
44496         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
44497         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
44498         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
44499         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
44500         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
44501         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
44502         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
44503         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
44504         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
44505         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
44506         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
44507         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
44508         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
44509         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
44510         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
44511         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
44512         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
44513         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
44514         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
44515         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
44516         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
44517         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
44518         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
44519         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
44520         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
44521         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
44522         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
44523         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
44524         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
44525         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
44526         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
44527         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
44528         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
44529         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
44530         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
44531         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
44532         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
44533         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
44534         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
44535         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
44536         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
44537         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
44538         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
44539         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
44540         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
44541         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
44542         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
44543         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
44544         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
44545         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
44546         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
44547         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
44548         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
44549         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
44550         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
44551         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
44552         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
44553         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
44554         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
44555         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
44556         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
44557         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
44558         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
44559         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
44560         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
44561         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
44562         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
44563         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
44564         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
44565         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
44566         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
44567         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
44568         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
44569         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
44570         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
44571         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
44572         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
44573         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
44574         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
44575         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
44576         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
44577         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
44578         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
44579         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
44580         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
44581         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
44582         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
44583         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
44584         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
44585         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
44587         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
44588         _XOPEN_SOURCE_EXTENDED for XPG4.
44590         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
44592         * Makeconfig (localtime): Remove variable.
44593         (inst_localtime-file): Likewise.
44595 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
44598         Update.
44599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
44600         Update.
44601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
44602         Update.
44603         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
44604         Update.
44605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
44606         Update.
44607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
44608         Update.
44609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
44610         Update.
44611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
44612         Update.
44613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44614         Update.
44616 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
44618         [BZ #2550]
44619         [BZ #2570]
44620         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
44621         comparisons to determine direction to adjust input.
44622         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
44623         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
44624         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
44625         Likewise.
44626         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
44627         Likewise.
44628         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
44629         Likewise.
44630         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
44631         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
44632         Likewise.
44633         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
44634         Likewise.
44635         * math/libm-test.inc (nexttoward_test): Add more tests.
44637 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
44639         [BZ #14040]
44640         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
44641         in version GLIBC_2.1, not GLIBC_2.0.
44642         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
44643         Likewise.
44645 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
44647         [BZ #13942]
44648         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
44649         (1 - x) * (1 + x).
44650         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44651         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
44652         * math/libm-test.inc (acos_test): Add more tests.
44653         (asin_test): Likewise.
44654         * sysdeps/i386/fpu/libm-test-ulps: Update.
44655         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44657         [BZ #14034]
44658         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
44659         of square root.
44660         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
44661         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
44662         * math/libm-test.inc (acos_test_tonearest): New function.
44663         (acos_test_towardzero): Likewise.
44664         (acos_test_downward): Likewise.
44665         (acos_test_upward): Likewise.
44666         (asin_test_tonearest): Likewise.
44667         (asin_test_towardzero): Likewise.
44668         (asin_test_downward): Likewise.
44669         (asin_test_upward): Likewise.
44670         (main): Call the new functions.
44671         * sysdeps/i386/fpu/libm-test-ulps: Update.
44672         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
44674         [BZ #13884]
44675         [BZ #13924]
44676         * math/e_exp10.c: Include <float.h>.
44677         (__ieee754_exp10): Handle underflow here rather than multiplying
44678         large negative argument by M_LN10.
44679         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
44680         of __ieee754_expf.
44681         * math/e_exp10l.c: Include <float.h>.
44682         (__ieee754_exp10l): Handle underflow here rather than multiplying
44683         large negative argument by M_LN10l.
44684         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
44685         spurious overflow exception on underflow.
44687 2012-04-29  Marek Polacek  <polacek@redhat.com>
44689         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
44690         (__fortify_function): New macro.
44691         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
44692         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
44693         __extern_always_inline.
44694         * libio/bits/stdio2.h: Likewise.
44695         * libio/bits/stdio.h: Likewise.
44696         * string/string.h: Likewise.
44697         * string/bits/string3.h: Likewise.
44698         * include/stdio.h: Likewise.
44699         * stdlib/bits/stdlib.h: Likewise.
44700         * stdlib/stdlib.h: Likewise.
44701         * rt/bits/mqueue2.h: Likewise.
44702         * rt/mqueue.h: Likewise.
44703         * posix/bits/unistd.h: Likewise.
44704         * posix/unistd.h: Likewise.
44705         * io/bits/poll2.h: Likewise.
44706         * io/bits/fcntl2.h: Likewise.
44707         * io/fcntl.h: Likewise.
44708         * io/sys/poll.h: Likewise.
44709         * misc/bits/syslog.h: Likewise.
44710         * misc/bits/syslog-ldbl.h: Likewise.
44711         * misc/sys/syslog.h: Likewise.
44712         * socket/bits/socket2.h: Likewise.
44713         * socket/sys/socket.h: Likewise.
44714         * debug/tst-chk1.c: Likewise.
44715         * wcsmbs/bits/wchar2.h: Likewise.
44716         * wcsmbs/bits/wchar-ldbl.h: Likewise.
44717         * wcsmbs/wchar.h: Likewise.
44719 2012-04-29  Andreas Jaeger  <aj@suse.de>
44721         * Makerules (tests): Remove enable-check-abi protection.
44722         (check-abi-warn): Remove.
44723         (check-abi-%): Remove check-abi-warn usage.
44725         * configure.in: Remove check-abi configure option.
44726         * configure: Regenerated.
44727         * config.make.in (enable-check-abi): Remove.
44729 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
44731         [BZ #14033]
44732         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
44733         double functions to double *_finite functions.
44735         [BZ #13941]
44736         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
44737         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
44738         LDBL_MIN_EXP.
44739         * stdio-common/Makefile (tests): Add tst-sprintf3.
44740         * stdio-common/tst-sprintf3.c: New file.
44742         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
44743         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
44745 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44747         * conform/conformtest.pl: Remove duplicate typed-constant
44748         handling.
44750 2012-04-28  David S. Miller  <davem@davemloft.net>
44752         * Makerules (%.abilist): Add vpath on sysdep_dirs.
44753         (check-abi-%): Remove AWK script prerequisite and explicit
44754         abilist directory.
44755         (check-abi): Rewrite to just diff the symlist with the abilist.
44756         (config-tls, config-abi-config): Delete, no longer used.
44757         (update-abi-%): Remove AWK script and explicit abilist directory.
44758         (update-abi): Rewrite to simply compare and conditionally copy the
44759         symlist and the sysdep abilist file.  Remove update-abi-config
44760         checks.
44761         * abilist/ld.abilist: Remove.
44762         * abilist/libBrokenLocale.abilist: Remove.
44763         * abilist/libanl.abilist: Remove.
44764         * abilist/libcrypt.abilist: Remove.
44765         * abilist/libdl.abilist: Remove.
44766         * abilist/librt.abilist: Remove.
44767         * abilist/libthread_db.abilist: Remove.
44768         * abilist/libutil.abilist: Remove.
44769         * scripts/extract-abilist.awk: Remove.
44770         * scripts/merge-abilist.awk: Remove.
44771         * sysdeps/generic/libcidn.abilist: New file.
44772         * sysdeps/generic/libnss_compat.abilist: New file.
44773         * sysdeps/generic/libnss_db.abilist: New file.
44774         * sysdeps/generic/libnss_dns.abilist: New file.
44775         * sysdeps/generic/libnss_files.abilist: New file.
44776         * sysdeps/generic/libnss_hesiod.abilist: New file.
44777         * sysdeps/generic/libnss_nis.abilist: New file.
44778         * sysdeps/generic/libnss_nisplus.abilist: New file.
44779         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
44780         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
44781         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
44782         file.
44783         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
44784         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
44785         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
44786         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
44787         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
44788         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
44789         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
44790         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
44791         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
44792         file.
44793         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
44794         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
44795         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
44796         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
44797         file.
44798         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
44799         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
44800         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
44801         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
44802         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
44803         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
44804         file.
44805         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
44806         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
44807         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
44808         file.
44809         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
44810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
44811         New file.
44812         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
44813         New file.
44814         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
44815         New file.
44816         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
44817         New file.
44818         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
44819         New file.
44820         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
44821         New file.
44822         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
44823         New file.
44824         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
44825         New file.
44826         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
44827         New file.
44828         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
44829         New file.
44830         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
44831         New file.
44832         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
44833         New file.
44834         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
44835         New file.
44836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
44837         file.
44838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
44839         New file.
44840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
44841         New file.
44842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
44843         file.
44844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
44845         New file.
44846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
44847         New file.
44848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
44849         file.
44850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
44851         New file.
44852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
44853         New file.
44854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
44855         New file.
44856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
44857         New file.
44858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
44859         New file.
44860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
44861         New file.
44862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
44863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
44864         file.
44865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
44866         New file.
44867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
44868         file.
44869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
44870         file.
44871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
44872         file.
44873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
44874         file.
44875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
44876         file.
44877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
44878         New file.
44879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
44880         file.
44881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
44882         file.
44883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
44884         New file.
44885         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
44886         file.
44887         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
44888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
44889         file.
44890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
44891         New file.
44892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
44893         file.
44894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
44895         file.
44896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
44897         file.
44898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
44899         file.
44900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
44901         file.
44902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
44903         New file.
44904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
44905         file.
44906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
44907         file.
44908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
44909         New file.
44910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
44911         file.
44912         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
44913         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
44914         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
44915         file.
44916         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
44917         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
44918         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
44919         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
44920         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
44921         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
44922         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
44923         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
44924         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
44925         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
44926         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
44927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
44928         file.
44929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
44930         New file.
44931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
44932         file.
44933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
44934         file.
44935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
44936         file.
44937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
44938         file.
44939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
44940         file.
44941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
44942         New file.
44943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
44944         New file.
44945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
44946         file.
44947         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
44948         New file.
44949         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
44950         file.
44951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
44952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
44953         file.
44954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
44955         New file.
44956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
44957         file.
44958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
44959         file.
44960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
44961         file.
44962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
44963         file.
44964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
44965         file.
44966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
44967         New file.
44968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
44969         New file.
44970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
44971         file.
44972         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
44973         New file.
44974         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
44975         file.
44977 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
44979         * conform/conformtest.pl: Fix typo in handling typed-constant from
44980         allow-header.
44982 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
44984         * README: Cut down references to pre-2.6 Linux kernels and
44985         Linuxthreads.  Update lists of configurations in libc and ports
44986         and sort alphabetically.  Say "or newer" with Linux kernel version
44987         requirements.
44989         * config.h.in [IS_IN_build]: Allow compiling without optimization.
44991 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
44993         [BZ #887]
44994         * math/libm-test.inc (logb_test_downward): New test to expose
44995         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
44996         rounding mode.
44998 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
45000         [BZ #14027]
45001         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
45002         to be done.
45003         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
45004         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
45006 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
45008         * sysdeps/unix/i386/brk.S: Remove file.
45009         * sysdeps/unix/i386/dl-brk.S: Likewise.
45010         * sysdeps/unix/i386/pipe.S: Likewise.
45011         * sysdeps/unix/i386/sigreturn.S: Likewise.
45012         * sysdeps/unix/i386/syscall.S: Likewise.
45013         * sysdeps/unix/i386/vfork.S: Likewise.
45014         * sysdeps/unix/i386/wait.S: Likewise.
45016         * sysdeps/unix/common/tcsendbrk.c: Move to ...
45017         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
45019         * configure.in (arm*-none*): Do not allow without
45020         --enable-hacker-mode.
45021         (netbsd*): Remove case setting base_os.
45022         (386bsd*): Likewise.
45023         (freebsd*): Likewise.
45024         (bsdi*): Likewise.
45025         (osf*): Likewise.
45026         (sunos*): Likewise.
45027         (ultrix*): Likewise.
45028         (newsos*): Likewise.
45029         (dynix*): Likewise.
45030         (*bsd*): Likewise.
45031         (sysv*): Likewise.
45032         (isc*): Likewise.
45033         (esix*): Likewise.
45034         (sco*): Likewise.
45035         (minix*): Likewise.
45036         (irix4*): Likewise.
45037         (irix6*): Likewise.
45038         (solaris[2-9]*): Likewise.
45039         (none): Likewise.
45040         * configure: Regenerated.
45042 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45044         [BZ #11521]
45045         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
45046         overflow or cancellation in calculating denominator.
45047         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
45048         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
45049         down expression to avoid unexpected rounding in newer GCCs.
45050         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
45052 2012-04-26  David S. Miller  <davem@davemloft.net>
45054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
45055         long-double compat symbols.
45056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
45057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
45058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
45059         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
45060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
45061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
45062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
45063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
45064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
45065         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
45066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
45067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
45070 2012-04-25  David S. Miller  <davem@davemloft.net>
45072         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
45073         HWCAP_* values only after the memory barriers have been defined.
45074         (atomic_full_barrier): Define.
45075         (atomic_read_barrier): Define.
45076         (atomic_write_barrier): Define.
45078 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45080         * shlib-versions: Add libgcc_s version information.
45081         * sysdeps/generic/libgcc_s.h: Remove.
45082         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
45083         libgcc_s.h.
45084         * sysdeps/gnu/unwind-resume.c: Likewise.
45085         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
45087 2012-04-25  David S. Miller  <davem@davemloft.net>
45089         * sysdeps/unix/sparc/brk.S: Delete.
45090         * sysdeps/unix/sparc/dl-brk.S: Delete.
45091         * sysdeps/unix/sparc/pipe.S: Delete.
45092         * sysdeps/unix/sparc/sysdep.S: Delete.
45093         * sysdeps/unix/sparc/sysdep.h: Delete.
45094         * sysdeps/unix/sparc/vfork.S: Delete.
45095         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
45096         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
45097         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
45098         (ret_ERRVAL, r0, r1, MOVE): Define.
45099         (JUMPTARGET): Remove.
45100         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
45101         sysdeps/unix/sparc/sysdep.h
45102         (ENTRY, END): Remove.
45103         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45105 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
45107         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
45108         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
45109         -DIS_IN_build.
45111         * timezone/README: Update upstream location and email address for
45112         tzcode and tzdata.
45113         * timezone/zdump.c: Update from tzcode 2012b.
45114         * timezone/zic.c: Likewise.
45116         * configure.in (libc_cv_as_needed): Remove test.
45117         * configure: Regenerated.
45118         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
45119         conditional definition.
45120         [$(have-as-needed) != yes] (no-as-needed): Likewise.
45121         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
45122         * config.make.in (have-as-needed): Remove variable.
45124 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
45125             Paul Pluzhnikov  <ppluzhnikov@google.com>
45127         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
45128         strings correctly.
45130 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
45132         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
45133         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
45134         * sysdeps/sh/strlen.S: Likewise.
45136 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45138         * sysdeps/unix/fork.S: Remove file.
45139         * sysdeps/unix/i386/fork.S: Likewise.
45140         * sysdeps/unix/sparc/fork.S: Likewise.
45142         * sysdeps/unix/system.c: Remove file.
45143         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
45145         * sysdeps/unix/getegid.S: Remove file.
45146         * sysdeps/unix/geteuid.S: Likewise.
45148 2012-04-24  Roland McGrath  <roland@hack.frob.com>
45150         * scripts/check-localplt.awk: New file.
45151         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
45152         of diff.
45153         * scripts/data/localplt-generic.data: Add a comment.
45155         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
45156         NODE when __dir_mkfile failed.
45157         * sysdeps/mach/hurd/symlinkat.c: Likewise.
45158         Reported by Ludovic Courtès <ludo@gnu.org>.
45160 2012-04-24  Andreas Jaeger  <aj@suse.de>
45162         * Makerules (common-clean): Also remove gen-as-const-headers
45163         files.
45165 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45167         * Makerules (native-compile): Do not change working directory for
45168         build.  Use $(OUTPUT_OPTION) in command.
45169         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
45171 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45173         [BZ #13886]
45174         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
45175         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
45176         * math/libm-test.inc (floor_test): Add more tests.
45177         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
45179 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
45181         * sysdeps/unix/getdents.c: Remove file.
45182         * sysdeps/unix/sysv/getdents.c: Likewise.
45183         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
45185         * sysdeps/unix/syscalls.list (madvise): Add syscall from
45186         sysdeps/unix/mman/syscalls.list.
45187         (mmap): Likewise.
45188         (mprotect): Likewise.
45189         (msync): Likewise.
45190         (munmap): Likewise.
45191         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
45192         * sysdeps/unix/mman/syscalls.list: Remove.
45193         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
45195         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
45196         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
45197         * configure: Regenerated.
45198         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
45199         $(libgcc_s_suffix).
45200         * config.make.in (libgcc_s_suffix): Remove variable.
45202 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
45204         * sysdeps/unix/sysv/gethostname.c: Move to ...
45205         * sysdeps/posix/gethostname.c: ... here.
45207         * sysdeps/unix/execve.S: Remove file.
45209         * sysdeps/unix/_exit.S: Remove file.
45211 2012-04-23  Andreas Jaeger  <aj@suse.de>
45213         [BZ #13739]
45214         * manual/Makefile: Remove make dist support, there's no
45215         need for a stand-alone documentation tar ball.
45216         (TEXI2DVI): Define always, it's not in Makeconfig.
45217         (dist): Removed.
45218         (tar-it): Removed.
45219         (edition): Removed.
45220         (glibc-doc-$(edition).tar): Removed
45221         (%.Z): Removed.
45222         (%.gz): Removed.
45223         (%.uu): Removed.
45224         (ETAGS): Remove, it's in Makeconfig.
45225         (move-if-change): Remove, it's in Makeconfig.
45227 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
45229         [BZ #13970]
45230         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
45231         (strtod, strtof, strtold, strtol, strtoul, strtoq)
45232         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
45233         (strtod_l, strtof_l, strtold_l): Remove __wur.
45234         It is not necessarily an error to ignore strtol's return value.
45235         One can reliably look at the stored endptr to decide whether
45236         the number had valid syntax.
45238 2012-04-21  Andreas Jaeger  <aj@suse.de>
45240         [BZ #13739]
45241         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
45243 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
45245         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
45246         * sysdeps/unix/sysv/Versions: Remove file.
45248 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
45250         [BZ #13927]
45251         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45253 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
45255         [BZ #7064]
45256         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
45257         version from __vm86.
45259 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
45261         * sysdeps/unix/common/lxstat.c: Remove file.
45262         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
45264         * sysdeps/unix/sysv/Makefile: Remove file.
45266         * sysdeps/unix/sysv/direct.h: Remove file.
45268         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
45269         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
45270         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
45271         * sysdeps/unix/sysv/bits/signum.h: Likewise.
45272         * sysdeps/unix/sysv/bits/stat.h: Likewise.
45273         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
45274         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
45276         * sysdeps/unix/sysv/setrlimit.c: Remove file.
45278         * sysdeps/unix/xmknod.c: Remove file.
45279         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
45281         * sysdeps/unix/sysv/settimeofday.c: Remove file.
45283         * sysdeps/unix/sysv/i386/time.S: Remove file.
45285         * sysdeps/unix/fxstat.c: Remove file.
45286         * sysdeps/unix/xstat.c: Likewise.
45287         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
45289         * sysdeps/unix/sysv/sigaction.c: Remove file.
45291         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
45292         (sysdep_headers): Remove variable.
45293         [termio.h not in sysdep_headers] (generated): Likewise.
45294         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
45295         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
45296         * sysdeps/unix/sysv/tcdrain.c: Likewise.
45297         * sysdeps/unix/sysv/tcflow.c: Likewise.
45298         * sysdeps/unix/sysv/tcflush.c: Likewise.
45299         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
45300         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
45301         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
45302         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
45303         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
45305         * sysdeps/unix/siglist.c: Remove file.
45307         * sysdeps/unix/getppid.S: Remove file.
45309         * sysdeps/unix/mkdir.c: Remove file.
45310         * sysdeps/unix/rmdir.c: Likewise.
45312 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
45314         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
45315         ERR_MAX value.
45316         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
45317         errlist-compat value.
45319 2012-04-18  David S. Miller  <davem@davemloft.net>
45321         * sysdeps/generic/memcopy.h (reg_char): Delete.
45322         * debug/strcat_chk.c: Use char, not reg_char.
45323         * debug/strcpy_chk.c: Likewise.
45324         * debug/strncat_chk.c: Likewise.
45325         * debug/strncpy_chk.c: Likewise.
45326         * string/memchr.c: Likewise.
45327         * string/memrchr.c: Likewise.
45328         * string/rawmemchr.c: Likewise.
45329         * string/strcat.c: Likewise.
45330         * string/strchr.c: Likewise.
45331         * string/strchrnul.c: Likewise.
45332         * string/strcmp.c: Likewise.
45333         * string/strcpy.c: Likewise.
45334         * string/strncat.c: Likewise.
45335         * string/strncmp.c: Likewise.
45336         * string/strncpy.c: Likewise.
45338 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45340         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
45341         __builtin_memcopy is called when src and dest ranges are known to not
45342         overlap.
45344 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45346         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
45347         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
45348         fwd_align_merge macro call.
45349         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
45350         bwd_align_merge macro call.
45351         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45353 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
45355         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
45356         bwd_align_merge macros.
45357         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
45358         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
45359         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
45361 2012-04-18  David S. Miller  <davem@davemloft.net>
45363         * sysdeps/sparc/sparc64/memcopy.h: Delete.
45365 2012-04-18  Andreas Jaeger  <aj@suse.de>
45367         [BZ# 6794]
45368         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
45369         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
45370         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45372         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
45373         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
45374         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45376         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
45377         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
45378         Adjust for changed ldbl-128 files.
45380         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
45381         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
45382         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
45384 2012-04-17  David S. Miller  <davem@davemloft.net>
45386         * sysdeps/sparc/sparc32/memcopy.h: Delete.
45388 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
45390         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
45391         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
45392         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
45393         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
45394         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45395         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
45397 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45399         [BZ #6794]
45400         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
45401         * math/libm-test.inc: Add ilogb errno and exception tests.
45402         * math/w_ilogb.c: New file: ilogb wrapper.
45403         * math/w_ilogbf.c: New file: ilogbf wrapper.
45404         * math/w_ilogbl.c: New file: ilogbl wrapper.
45405         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
45406         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
45407         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
45408         exception being thrown with 0.0 as argument.
45409         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
45410         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
45411         exception being thrown with 0.0 as argument.
45412         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
45413         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45414         exception being thrown with 0.0 as argument.
45415         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
45416         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
45417         exception being thrown with 0.0 as argument.
45418         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
45419         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
45420         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
45421         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
45422         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
45423         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
45424         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
45425         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
45426         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
45428 2012-04-17  Petr Baudis  <pasky@ucw.cz>
45430         * include/sys/uio.h: Change __vector to __iovec to avoid clash
45431         with altivec.
45433 2012-04-16  Marek Polacek  <polacek@redhat.com>
45435         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
45437 2012-04-16  Marek Polacek  <polacek@redhat.com>
45439         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
45440         operands of fdivp instruction.
45442 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45444         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
45445         * elf/tst-auditmod3b.c: Likewise.
45446         * elf/tst-auditmod4b.c: Likewise.
45447         * elf/tst-auditmod5b.c: Likewise.
45448         * elf/tst-auditmod6b.c: Likewise.
45449         * elf/tst-auditmod6c.c: Likewise.
45450         * elf/tst-auditmod7b.c: Likewise.
45451         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
45452         * sysdeps/x86_64/preconfigure.in: Likewise.
45453         * sysdeps/x86_64/preconfigure: Regenerated.
45455 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
45457         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
45458         __ILP32__.
45460 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
45462         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45463         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
45465 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
45467         [BZ #13973]
45468         * locale/iso-639.def: Fix gl language name. Spotted by
45469         Yaron Shahrabani.
45471 2012-04-12  Roland McGrath  <roland@hack.frob.com>
45473         [BZ #2074]
45474         * libio/libio.h (__io_write_fn): Update comment.
45476 2012-04-12  Petr Baudis  <pasky@ucw.cz>
45478         [BZ #2074]
45479         * stdio.texi (Hook Functions): The user provided writer function
45480         is not allowed to return -1.
45482 2012-04-11  David S. Miller  <davem@davemloft.net>
45484         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45486 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
45488         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
45489         Add a leading slash to rtkaio.
45491 2012-04-11  Jim Meyering  <meyering@redhat.com>
45493         [BZ #11959]
45494         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
45495         It is not necessarily an error to ignore fwrite's return
45496         value.  One can reliably use ferror to test for errors after
45497         the fact.
45499 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45501         * bits/types.h (__snseconds_t): New type.
45502         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
45504         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
45505         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
45506         (__SNSECONDS_T_TYPE): Likewise.
45507         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
45508         (__SNSECONDS_T_TYPE): Likewise.
45509         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
45510         (__SNSECONDS_T_TYPE): Likewise.
45512 2012-04-10  Andreas Jaeger  <aj@suse.de>
45514         [BZ #2636]
45515         * manual/time.texi (Processor Time): Return type of times is
45516         elapsed real time since an arbitrary point in the past.
45517         (CPU Time): Move CLK_TCK from here...
45518         (Processor Time): ...to here.  Correct description.
45519         * manual/conf.texi (Constants for Sysconf): Correct description of
45520         _SC_CLK_TCK.
45522 2012-04-10  David S. Miller  <davem@davemloft.net>
45524         [BZ #13967]
45525         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
45526         where the is a gap between DT_REL(A) and DT_JMPREL.
45528 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
45530         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
45531         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45532         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45534 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
45536         * elf/dl-support.c (_dl_inhibit_cache): New variable.
45537         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
45538         (dl_main): Handle --inhibit-cache.
45539         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
45540         _dl_inhibit_cache.
45541         * elf/dl-load.c (_dl_map_object): Use it.
45542         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
45544 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45546         [BZ #13872]
45547         * sysdeps/i386/fpu/e_powl.S (p78): New object.
45548         (__ieee754_powl): Saturate large exponents rather than testing for
45549         overflow of y*log2(x).
45550         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
45551         * math/libm-test.inc (pow_test): Do not permit spurious overflow
45552         exceptions.
45554         [BZ #11521]
45555         * math/s_ctan.c: Include <float.h>.
45556         (__ctan): Avoid internal overflow or cancellation in calculating
45557         denominator.
45558         * math/s_ctanf.c: Likewise.
45559         * math/s_ctanl.c: Likewise.
45560         * math/s_ctanh.c: Likewise.
45561         * math/s_ctanhf.c: Likewise.
45562         * math/s_ctanhl.c: Likewise.
45563         * math/libm-test.inc (ctan_test): Add more tests.
45564         (ctanh_test): Likewise.
45565         * sysdeps/i386/fpu/libm-test-ulps: Update.
45566         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45568 2012-04-09  Andreas Jaeger  <aj@suse.de>
45570         [BZ #6894]
45571         * manual/filesys.texi (Directory Entries): Mention that d_namlen
45572         is an optional BSD extension.
45574         [BZ #10254]
45575         * manual/stdio.texi (Opening Streams): Document additional fopen
45576         parameters.
45578 2012-04-09  Roland McGrath  <roland@hack.frob.com>
45580         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
45581         %eax without telling the compiler.
45583 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
45585         [BZ # 13963]
45586         * manual/install.texi: Use sourceware.org.
45588 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
45590         [BZ #13873]
45591         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
45592         (__ieee754_pow): Generate overflow and underflow using huge*huge
45593         and tiny*tiny rather than just returning constant infinity or zero
45594         for large exponents.
45595         * math/libm-test.inc (pow_test): Require overflow exceptions for
45596         applicable cases of large exponents.
45598         [BZ #706]
45599         * sysdeps/i386/fpu/e_pow.S (p10): New object.
45600         (__ieee754_pow): Use iterative multiplication algorithm only for
45601         integer exponents with absolute value below 1024.  Check for odd
45602         integer exponents when using algorithm for real exponents.
45603         * math/libm-test.inc (pow_test): Add more tests.
45604         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
45606 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
45608         [BZ #13705]
45609         * math/libm-test.inc (exp_test): Do not allow overflow exception
45610         on underflow test.
45612 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
45614         [BZ #13705]
45615         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
45616         instead of __kernel_standard_f.
45618 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
45620         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
45621         * sysdeps/x86_64/memset_chk.S: Likewise.
45623 2012-04-08  Andreas Jaeger  <aj@suse.de>
45625         [BZ #10153]
45626         * manual/startup.texi (Environment Access): Describe return value
45627         for putenv and setenv.
45629         [BZ #6895]
45630         * manual/filesys.texi (Directory Entries): Add description for
45631         DT_LNK.
45633         [BZ #6890]
45634         * manual/filesys.texi (Directory Entries): Clarify that it's file
45635         system not operating system in the description of DT_UNKNOWN.
45637         [BZ #6578]
45638         * manual/syslog.texi (closelog): Fix reference, it's openlog.
45640 2012-04-08  Stephen Compall  <s11@member.fsf.org>
45642         [BZ #6649]
45643         * manual/llio.texi (Opening and Closing Files): Add cross
45644         reference to explain mode argument.
45646 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
45648         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
45649         * sysdeps/x86_64/memset_chk.S: Likewise.
45651 2012-04-07  David S. Miller  <davem@davemloft.net>
45653         * elf/elf.h (R_SPARC_WDISP10): Define.
45654         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
45655         R_SPARC_SIZE32.
45656         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
45657         R_SPARC_SIZE64 and R_SPARC_H34.
45659 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
45661         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
45662         conditions and remove no longer applicable assertion.
45664 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45666         * bits/byteswap.h: Include <features.h>.
45667         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
45668         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
45670 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
45672         * bits/byteswap.h (__bswap_16): Removed.
45673         Include <bits/byteswap-16.h> to get __bswap_16.
45674         * sysdeps/i386/bits/byteswap.h: Likewise.
45675         * sysdeps/s390/bits/byteswap.h: Likewise.
45676         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45677         * bits/byteswap-16.h: New file.
45678         * sysdeps/i386/bits/byteswap-16.h: Likewise.
45679         * sysdeps/s390/bits/byteswap-16.h: Likewise.
45680         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
45681         * string/Makefile (headers): Add bits/byteswap-16.h.
45683 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
45685         [BZ #13895]
45686         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
45687         extra indirection.
45688         * nss/Makefile (tests-static, tests): Add tst-nss-static.
45689         * nss/tst-nss-static.c: New.
45691 2012-04-06  Robert Millan  <rmh@gnu.org>
45693         [BZ #6486]
45694         * manual/llio.texi (File Position Primitive): lseek
45695         refers to WHENCE when it really means OFFSET.
45697 2012-04-06  Andreas Jaeger  <aj@suse.de>
45699         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
45700         strncmp declarations.
45702         * abilist/libc.abilist: Add __poll and __ppoll.
45704 2012-04-05  David S. Miller  <davem@davemloft.net>
45706         * scripts/check-local-headers.sh: Accept a host triplet in the
45707         path matched by the exclude regexp.
45709         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
45710         definition.
45711         * sysdeps/powerpc/powerpc32/dl-machine.h
45712         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
45713         * sysdeps/s390/s390-32/dl-machine.h
45714         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45715         * sysdeps/sparc/sparc32/dl-machine.h
45716         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45717         * sysdeps/sparc/sparc64/dl-machine.h
45718         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
45720         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
45721         lazy binding.
45722         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
45723         undefined symbol errors.
45725         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
45726         DT_NEEDED entries.
45728 2012-04-05  Michael Matz  <matz@suse.de>
45730         [BZ #13592]
45731         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
45733 2012-04-05  Andreas Jaeger  <aj@suse.de>
45735         [BZ #13908]
45736         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
45737         comment.
45739 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45741         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
45742         which ROUND is no valid rounding mode.
45744 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45746         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
45747         read again.
45748         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
45750 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45752         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
45753         an exception using FPU order intentionally.
45755 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
45757         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
45758         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
45759         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
45760         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
45762 2012-04-05  Simon Josefsson  <simon@josefsson.org>
45764         [BZ #12340]
45765         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
45766         EINVAL when BUFLEN is too smal.
45768 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
45770         [BZ #13553]
45771         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
45772         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
45774 2012-04-03  Andreas Jaeger  <aj@suse.de>
45776         [BZ #13938]
45777         * manual/setjmp.texi (System V contexts): Fix sentence.
45779         [BZ #13926]
45780         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
45781         New macro for this case.
45782         [!__GNUC__] (__bswap_64): New inline function for this case.
45783         * sysdeps/x86_64/bits/byteswap.h: Likewise.
45784         * bits/byteswap.h: Likewise.
45785         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
45786         ull, guard with __GLIBC_HAVE_LONG_LONG.
45788         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
45789         __GLIBC_HAVE_LONG_LONG.
45791         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
45792         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
45794 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
45796         [BZ #13691]
45797         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
45798         inptr and inend, rather than using last_ch.
45800 2012-04-02  David S. Miller  <davem@davemloft.net>
45802         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
45803         * stdio-common/printf-parse.h (read_int): Change return type to
45804         'int', return -1 on INT_MAX overflow.
45805         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
45806         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
45807         overflows INT_MAX.  Check for overflow of in-format-string precision
45808         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
45809         SIZE_MAX not INT_MAX for integer overflow test.
45810         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
45811         skip the construct in the format string but do not record anything.
45812         * stdio-common/bug22.c: Adjust to test both width/prevision
45813         INT_MAX overflow as well as total length INT_MAX overflow.  Check
45814         explicitly for proper errno values.
45816 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
45818         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
45819         CHAR_MAX.
45820         * string/test-strcmp.c [! WIDE]: Likewise.
45821         * time/tst-mktime2.c: Likewise for INT_MAX.
45822         * string/test-string.h: #include <sys/param.h> for MIN.
45824         * csu/init-first.c (__libc_init_first): Call __ctype_init.
45825         * sysdeps/i386/init-first.c (init): Likewise.
45826         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
45827         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
45828         * sysdeps/sh/init-first.c (init): Likewise.
45830 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
45832         * po/ru.po: Update from translation team.
45833         * po/vi.po: Likewise.
45835 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
45837         * resolv/nss_dns/dns-host.c: Merge copyright years.
45839 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
45841         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
45842         Optimize memcpy with prefetch if
45843         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
45844         src, dst pointers have unequal 16 byte alignments.
45846 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
45848         [BZ #13928]
45849         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
45850         from a CNAME entry and return the minimum ttl for the query.
45851         (gaih_getanswer_slice): Likewise.
45853 2012-03-30  Jeff Law  <law@redhat.com>
45855         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
45856         due to long keys.
45857         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
45858         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
45860         * resolv/nss_dns/dns-host.c: Update copyright year.
45862 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
45864         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
45865         requests to save a system call.  Fix check that all bytes are sent.
45867         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
45868         comments for sendmmsg.
45870 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
45872         [BZ #13691]
45873         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
45874         with only 1 character between 0x0041 and 0x01b0.
45875         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
45876         * wcsmbs/tst-mbsnrtowcs.c: New file.
45878 2012-03-29  David S. Miller  <davem@davemloft.net>
45880         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
45881         small copies by hand.
45883 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45885         [BZ #13761]
45886         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
45887         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
45888         group memberships.
45890 2012-03-28  David S. Miller  <davem@davemloft.net>
45892         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
45893         that branches into memcpy.
45894         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
45895         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
45896         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
45897         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
45898         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
45899         bits.
45900         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
45901         implementation too.
45902         * sysdeps/sparc/mempcpy.S: New file.
45904         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
45905         the IFUNC routine in the libc case.
45906         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
45908         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
45909         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
45910         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
45911         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
45912         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
45913         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
45914         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
45915         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
45917         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
45918         loop to 256 bytes instead of 64 bytes and fix test signedness.
45920         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
45921         * sysdeps/sparc/sparc32/Makefile: rather than here...
45922         * sysdeps/sparc/sparc64/Makefile: and here.
45924 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
45926         * malloc/mallocbug.c: Avoid warnings about unused variables.
45928 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
45930         [BZ #13760]
45931         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
45932         in the right place. Discard and retry query if response is
45933         larger than input buffer size.
45935 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
45937         [BZ #369]
45938         [BZ #2678]
45939         [BZ #3866]
45940         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
45941         x for large integer exponent.
45942         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
45943         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
45944         sign of result as needed afterwards.
45945         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
45946         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
45947         result for underflowing pow the same as for overflow.
45948         (__kernel_standard_l): Handle powl overflow and underflow here
45949         rather than calling __kernel_standard.
45950         * math/libm-test.inc (pow_test): Add more tests.
45952         [BZ #3868]
45953         [BZ #13879]
45954         [BZ #13910]
45955         [BZ #13911]
45956         [BZ #13912]
45957         [BZ #13913]
45958         [BZ #13915]
45959         [BZ #13916]
45960         [BZ #13917]
45961         [BZ #13918]
45962         [BZ #13919]
45963         [BZ #13920]
45964         [BZ #13921]
45965         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
45966         * sysdeps/ieee754/k_standard.c: Include <float.h>.
45967         (__kernel_standard_l): New function.
45968         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
45969         __kernel_standard.
45970         * math/w_acosl.c (__acosl): Likewise.
45971         * math/w_asinl.c (__asinl): Likewise.
45972         * math/w_atan2l.c (__atan2l): Likewise.
45973         * math/w_atanhl.c (__atanhl): Likewise.
45974         * math/w_coshl.c (__coshl): Likewise.
45975         * math/w_exp10l.c (__exp10l): Likewise.
45976         * math/w_exp2l.c (__exp2l): Likewise.
45977         * math/w_fmodl.c (__fmodl): Likewise.
45978         * math/w_hypotl.c (__hypotl): Likewise.
45979         * math/w_j0l.c (__j0l, __y0l): Likewise.
45980         * math/w_j1l.c (__j1l, __y1l): Likewise.
45981         * math/w_jnl.c (__jnl, __ynl): Likewise.
45982         * math/w_lgammal.c (__lgammal): Likewise.
45983         * math/w_log10l.c (__log10l): Likewise.
45984         * math/w_log2l.c (__log2l): Likewise.
45985         * math/w_logl.c (__logl): Likewise.
45986         * math/w_powl.c (__powl): Likewise.
45987         * math/w_remainderl.c (__remainderl): Likewise.
45988         * math/w_scalbl.c (sysv_scalbl): Likewise.
45989         * math/w_sinhl.c (__sinhl): Likewise.
45990         * math/w_sqrtl.c (__sqrtl): Likewise.
45991         * math/w_tgammal.c (__tgammal): Likewise.
45992         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
45993         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
45994         * math/libm-test.inc (acos_test): Add more tests.
45995         (acosh_test): Likewise.
45996         (asin_test): Likewise.
45997         (atanh_test): Likewise.
45998         (exp_test): Likewise.
45999         (exp10_test): Likewise.
46000         (exp2_test): Likewise.
46001         (expm1_test): Likewise.
46002         (lgamma_test): Likewise.
46003         (log_test): Likewise.
46004         (log10_test): Likewise.
46005         (log1p_test): Likewise.
46006         (log2_test): Likewise.
46007         (pow_test): Do not allow some spurious overflow exceptions.
46008         (sqrt_test): Add more tests.
46009         (tgamma_test): Likewise.
46010         (y0_test): Likewise.
46011         (y1_test): Likewise.
46012         (yn_test): Likewise.
46014 2012-03-27  Anton Blanchard  <anton@samba.org>
46016         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
46017         MAP_HUGETLB.
46018         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
46019         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
46020         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
46022 2012-03-27  David S. Miller  <davem@davemloft.net>
46024         * conform/Makefile: Run run-conformtest.sh using $(BASH).
46026         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
46027         have-as-vis3 check.
46029 2012-03-27  Andreas Jaeger  <aj@suse.de>
46031         * sysdeps/x86_64/elf/configure.in: Moved to ...
46032         * sysdeps/x86_64/configure.in: ... here.
46033         * sysdeps/x86_64/elf/start.S: Moved to ...
46034         * sysdeps/x86_64/start.S: ... here.
46035         * sysdeps/x86_64/elf/configure: Delete.
46037         * sysdeps/x86_64/configure.in: Merge contents from
46038         sysdeps/i386/configure.in (without i686 check).
46040         * sysdeps/i386/elf/Versions: Merge into ...
46041         * sysdeps/i386/Versions: ... this.
46042         * sysdeps/i386/elf/Versions: Delete file.
46043         * sysdeps/i386/elf/start.S: Moved to ...
46044         * sysdeps/i386/start.S: ...here.
46045         * sysdeps/i386/elf/configure.in: Merge into...
46046         * sysdeps/i386/configure.in: ...here.
46047         * sysdeps/i386/elf/configure.in: Delete file.
46048         * sysdeps/i386/elf/configure: Delete file.
46050         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
46051         * debug/backtracesyms.c: ... here.
46052         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
46053         * debug/backtracesymsfd.c: ... here.
46054         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
46055         * sysdeps/generic/ifunc-sel.h: ... here.
46057         * sysdeps/unix/i386/start.c: Delete file.
46058         * sysdeps/unix/sparc/start.c: Delete file.
46059         * sysdeps/unix/start.c: Delete file.
46061         * sysdeps/sh/elf/configure.in: Moved to ...
46062         * sysdeps/sh/configure.in: ... here.
46063         * sysdeps/sh/elf/start.S: Moved to ...
46064         * sysdeps/sh/start.S: ... here.
46065         * sysdeps/sh/elf/configure: Delete file.
46067         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
46068         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
46069         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
46070         * sysdeps/powerpc/powerpc64/entry.h: ... here.
46071         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
46072         * sysdeps/powerpc/powerpc64/start.S: here.
46073         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
46074         * sysdeps/powerpc/powerpc64/Makefile: ... this.
46075         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
46076         * sysdeps/powerpc/powerpc64/configure.in: ... this.
46077         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
46079         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
46080         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
46081         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
46082         * sysdeps/powerpc/powerpc32/start.S: ... here.
46083         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
46084         * sysdeps/powerpc/powerpc32/configure.in: ... this.
46085         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
46087         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
46088         * sysdeps/powerpc/ifunc-sel.h: ... here.
46089         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
46090         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
46092         * sysdeps/sparc/elf/configure.in: Moved to ...
46093         * sysdeps/sparc/configure.in: ... here.
46094         * sysdeps/sparc/elf/configure: Delete file.
46095         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
46096         * sysdeps/sparc/sparc32/start.S: ... here.
46097         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
46098         * sysdeps/sparc/sparc64/start.S: ... here.
46099         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
46100         * sysdeps/sparc/sparc32/Makefile: ... this.
46101         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
46102         * sysdeps/sparc/sparc64/Makefile: ... this.
46104         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
46105         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
46106         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
46107         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
46108         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
46109         * sysdeps/s390/s390-32/setjmp.S: ... here.
46110         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
46111         * sysdeps/s390/s390-32/configure.in: ... here.
46112         * sysdeps/s390/s390-32/elf/configure: Delete file.
46113         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
46114         * sysdeps/s390/s390-32/start.S: ... here.
46116         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
46117         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
46118         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
46119         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
46120         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
46121         * sysdeps/s390/s390-64/setjmp.S: ... here.
46122         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
46123         * sysdeps/s390/s390-64/configure.in: ... here
46124         * sysdeps/s390/s390-64/elf/configure: Delete file.
46125         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
46126         * sysdeps/s390/s390-64/start.S: ... here.
46127         * sysdeps/s390/s390-64/elf/configure: Delete.
46129         * configure.in: Remove support for elf directories in sysdeps.
46131         * configure: Regenerated.
46132         * sysdeps/i386/configure: Regenerated.
46133         * sysdeps/powerpc/powerpc32/configure: Regenerated.
46134         * sysdeps/powerpc/powerpc64/configure: Regenerated.
46135         * sysdeps/s390/s390-32/configure: Regenerated.
46136         * sysdeps/s390/s390-64/configure: Regenerated.
46137         * sysdeps/sh/configure: Regenerated.
46138         * sysdeps/sparc/configure: Regenerated.
46139         * sysdeps/x86_64/configure: Regenerated.
46141 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
46143         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46145         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
46146         denormal result into account.
46148 2012-03-25  Roland McGrath  <roland@hack.frob.com>
46150         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
46151         Reported by Allan McRae <allan@archlinux.org>.
46153 2012-03-23  Jeff Law  <law@redhat.com>
46155         * nss/getnssent.c (__nss_getent): Fix typo.
46157 2012-03-23  David S. Miller  <davem@davemloft.net>
46159         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46161 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
46163         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
46164         to pad to uint64_t for each field.
46165         (dl_tls_index): Replace unsigned long with uint64_t.
46167 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
46168         Paul Pluzhnikov  <ppluzhnikov@google.com>
46170         [BZ #6528]
46171         * grp/Makefile (otherlibs): Don't set it.
46172         * inet/Makefile (otherlibs): Likewise.
46173         * login/Makefile (otherlibs): Likewise.
46174         * nscd/Makefile (otherlibs): Likewise.
46175         * posix/Makefile (otherlibs): Likewise.
46176         * pwd/Makefile (otherlibs): Likewise.
46177         * rt/Makefile (otherlibs): Likewise.
46178         * sunrpc/Makefile (otherlibs): Likewise.
46179         * nss/Makefile (otherlibs): Likewise.
46180         Add libnss_files to routines and static-only-routines.
46181         ($(objpfx)getent): Remove rule.
46182         * resolv/Makefile: Add libnss_dns and libresolv to routines and
46183         static-only-routines.
46185 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46187         [BZ #13892]
46188         * math/s_cexp.c: Include <float.h>.
46189         (__cexp): Handle exp result overflowing not necessarily
46190         overflowing both real and imaginary parts of result.
46191         * math/s_cexpf.c: Likewise.
46192         * math/s_cexpl.c: Likewise.
46193         * math/libm-test.inc (cexp_test): Add more tests.
46194         * sysdeps/i386/fpu/libm-test-ulps: Update.
46195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46197 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46199         * include/link.h (ELFW): New macro.
46200         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
46201         Replace ELF64_R_TYPE with ELFW(R_TYPE).
46203 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46205         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
46206         with uint64_t.
46208 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46210         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
46211         declaration.
46212         (struct La_x32_retval): Likewise.
46214 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
46216         * sysdeps/x86_64/preconfigure.in: New file.
46217         * sysdeps/x86_64/preconfigure: New generated file.
46219 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
46221         [BZ #13824]
46222         * math/e_exp2l.c: Include <float.h>.
46223         (__ieee754_exp2l): Handle overflow and underflow cases
46224         separately.  Only pass fractional part of argument to
46225         __ieee754_expl.
46226         * math/libm-test.inc (exp2_test): Add more tests.
46228         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
46229         negating x to take absolute value.
46230         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
46231         Likewise.
46232         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46233         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
46234         Likewise.
46235         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
46236         computing low part if x was negated.
46237         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46239 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46241         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
46242         la_x32_gnu_pltexit.
46243         (pltexit): Cast int_retval to ptrdiff_t.
46244         * elf/tst-auditmod3b.c: Likewise.
46245         * elf/tst-auditmod4b.c: Likewise.
46246         * elf/tst-auditmod5b.c: Likewise.
46247         * elf/tst-auditmod6b.c: Likewise.
46248         * elf/tst-auditmod6c.c: Likewise.
46249         * elf/tst-auditmod7b.c: Likewise.
46251         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
46252         and x32_gnu_pltexit.
46254         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
46255         __ELF_NATIVE_CLASS.
46256         (La_x32_regs): New macro.
46257         (La_x32_retval): Likewise.
46258         (la_x32_gnu_pltenter): New function prototype.
46259         (la_x32_gnu_pltexit): Likewise.
46261 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
46263         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
46264         exponent.
46266         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46268         * configure.in (libc_cv_cc_nofma): Check for option to disable
46269         generation of FMA instructions.
46270         * configure: Regenerate.
46271         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
46272         * sysdeps/ieee754/dbl-64/Makefile: New file.
46273         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
46274         Remove brandred-fma4.
46275         (CFLAGS-brandred-fma4.c): Remove.
46276         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
46277         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
46278         define.
46279         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
46280         define.
46282 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46284         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
46285         LLONG_MAX != LONG_MAX.
46286         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46287         (_fitoa_word): Likewise.
46288         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
46289         LLONG_MAX != LONG_MAX.
46290         * stdio-common/_itowa.h: Include <_itoa.h>.
46291         (_itowa_word): Use _ITOA_WORD_TYPE on value.
46292         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
46293         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
46294         only if not defined.
46295         (_ITOA_WORD_TYPE): Likewise.
46296         (_itoa_word): Use _ITOA_WORD_TYPE on value.
46297         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
46299 2012-03-21  David S. Miller  <davem@davemloft.net>
46301         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46303 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
46305         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
46306         of x86_64 when setting libc_cv_slibdir, libdir and
46307         libc_cv_localedir.
46308         * sysdeps/unix/sysv/linux/configure: Regenerated.
46310 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46312         * manual/lang.texi (Old Varargs): Remove section.
46313         (How Variadic): Update menu.
46314         (va_start): Do not mention varargs.h.
46316 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46317             Joseph Myers  <joseph@codesourcery.com>
46319         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
46320         link test.
46321         * configure: Regenerated.
46323 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
46325         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
46326         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
46327         conformtest.pl
46329 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46331         * NOTES: Remove.
46332         * Makefile (files-for-dist): Remove NOTES.
46333         (NOTES): Remove rule.
46334         * README: Don't refer to NOTES.
46335         * manual/creature.texi: Don't include macros.texi.
46336         * manual/intro.texi (creature.texi): Remove comment referring to
46337         NOTES.
46339         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
46340         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
46341         * configure: Regenerated.
46342         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
46343         LIBC_TRY_CC_OPTION.
46344         (libc_cv_as_i686): Likewise.
46345         (libc_cv_cc_avx): Likewise.
46346         (libc_cv_cc_sse2avx): Likewise.
46347         (libc_cv_cc_fma4): Likewise.
46348         (libc_cv_cc_novzeroupper): Likewise.
46349         * sysdeps/i386/configure: Regenerated.
46351         [BZ #13883]
46352         * sysdeps/i386/fpu/s_cexp.S: Remove.
46353         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46354         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46355         * math/libm-test.inc (cexp_test): Add more tests.
46356         * sysdeps/i386/fpu/libm-test-ulps: Update.
46357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46359 2012-03-21  Allan McRae  <allan@archlinux.org>
46361         * timezone/Makefile: Do not install iso3166.tab and zone.tab
46363 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
46365         [BZ #13871]
46366         * math/w_exp2.c: Do not include <float.h>.
46367         (o_threshold, u_threshold): Remove.
46368         (__exp2): Calculate result before checking finiteness and calling
46369         __kernel_standard.
46370         * math/w_exp2f.c: Likewise.
46371         * math/w_exp2l.c: Likewise.
46372         * math/libm-test.inc (exp2_test): Require overflow exception for
46373         1e6 input.
46375         [BZ #3866]
46376         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
46377         range of signed 64-bit integers before using fistpll.  Remove
46378         checks for whether integers fit in mantissa bits.
46379         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
46380         the range of signed 32-bit integers before using fistpl.  Remove
46381         checks for whether integers fit in mantissa bits.
46382         * sysdeps/i386/fpu/e_powl.S (p64): New object.
46383         (__ieee754_powl): Test for y outside the range of signed 64-bit
46384         integers before using fistpll.  Reduce 64-bit values to 63-bit
46385         ones as needed.
46386         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
46387         divide-by-zero is raised for zero to large negative powers.
46388         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
46389         (__ieee754_powl): Test for y outside the range of signed 64-bit
46390         integers before using fistpll.  Reduce 64-bit values to 63-bit
46391         ones as needed.
46392         * math/libm-test.inc (pow_test): Add more tests.
46394 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46396         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
46397         <stdio-common/_itoa.h>.
46398         * debug/segfault.c: Likewise.
46399         * elf/dl-cache.c: Likewise.
46400         * elf/dl-minimal.c: Likewise.
46401         * elf/dl-misc.c: Likewise.
46402         * elf/dl-sysdep.c: Likewise.
46403         * elf/dl-version.c: Likewise.
46404         * elf/rtld.c: Likewise.
46405         * hurd/hurdsock.c: Likewise.
46406         * hurd/lookup-retry.c: Likewise.
46407         * malloc/malloc.c: Likewise.
46408         * malloc/mtrace.c: Likewise.
46409         * nscd/nscd_getgr_r.c: Likewise.
46410         * nscd/nscd_getpw_r.c: Likewise.
46411         * nscd/nscd_getserv_r.c: Likewise.
46412         * posix/getopt_init.c: Likewise.
46413         * posix/wordexp.c: Likewise.
46414         * stdio-common/_itoa.c: Likewise.
46415         * stdio-common/printf_fphex.c: Likewise.
46416         * stdio-common/vfprintf.c: Likewise.
46417         * string/_strerror.c: Likewise.
46418         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
46419         * sysdeps/i386/i686/hp-timing.h: Likewise.
46420         * sysdeps/mach/_strerror.c: Likewise.
46421         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
46422         * sysdeps/mach/hurd/sethostid.c: Likewise.
46423         * sysdeps/mach/hurd/xmknodat.c: Likewise.
46424         * sysdeps/mach/xpg-strerror.c: Likewise.
46425         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
46426         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
46427         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
46428         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
46429         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
46430         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
46431         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
46432         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
46433         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
46434         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
46435         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
46436         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
46437         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
46438         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
46439         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
46440         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
46441         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
46442         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
46443         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
46444         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
46445         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
46447         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
46449         * stdio-common/_itoa.h: Moved to ...
46450         * sysdeps/generic/_itoa.h: Here.
46452         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
46454         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
46455         instead of "_itoa.h" and "_itowa.h".
46456         * stdio-common/vfprintf.: Likewise.
46458 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46460         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
46461         <bits/wordsize.h>.
46462         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
46463         (__signbit): Likwise.
46464         (llrintf): Likwise.
46465         (llrint): Likwise.
46467 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
46469         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
46470         __WORDSIZE != 64.
46472 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
46474         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
46475         OVERFLOW_EXCEPTION_OK.
46476         * math/libm-test.inc ("Philosophy"): Update comment about
46477         exception testing.
46478         (OVERFLOW_EXCEPTION): Define.
46479         (OVERFLOW_EXCEPTION_OK): Likewise.
46480         (INVALID_EXCEPTION_OK): Renumber.
46481         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
46482         (IGNORE_ZERO_INF_SIGN): Likewise.
46483         (test_exceptions): Handle FE_OVERFLOW.
46484         (exp10_test): Expect overflow exceptions.
46485         (exp2_test): Likewise.
46486         (expm1_test): Likewise.
46487         (nextafter_test): Likewise.
46488         (pow_test): Likewise.
46489         (scalbn_test): Likewise.
46490         (scalbln_test): Likewise.
46492 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46494         * sysdeps/x86_64/bits/atomic.h
46495         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
46496         64bit integer.
46497         (atomic_exchange_acq): Likewise.
46498         (__arch_exchange_and_add_body): Likewise.
46499         (__arch_add_body): Likewise.
46500         (atomic_add_negative): Likewise.
46501         (atomic_add_zero): Likewise.
46503 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46505         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
46506         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
46508 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46510         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
46511         Check __x86_64__ instead of __WORDSIZE.
46513 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46515         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
46517 2012-03-19  David S. Miller  <davem@davemloft.net>
46519         * sysdeps/sparc/fpu/libm-test-ulps: Update.
46521         * sysdeps/sparc/fpu/fenv_private.h: New file.
46522         * sysdeps/sparc/fpu/math_private.h: Use it.
46523         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
46524         Remove.
46525         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
46526         (libc_feholdexcept_setroundl): Remove.
46527         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
46528         Remove.
46529         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
46530         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
46532 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46534         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
46535         int64_t instead of long int.
46536         (INSERT_WORDS64): Likwise.
46538 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
46540         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
46541         _Unwind_GetCFA return to _Unwind_Ptr first.
46543 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
46545         [BZ #13629]
46546         * math/s_clog.c: Include <float.h>.
46547         (__clog): Scale large or subnormal inputs.
46548         * math/s_clogf.c: Likewise.
46549         * math/s_clogl.c: Likewise.
46550         * math/s_clog10.c: Include <float.h>.
46551         (M_LOG10_2): Define.
46552         (__clog10): Scale large or subnormal inputs.
46553         * math/s_clog10f.c: Likewise.
46554         * math/s_clog10l.c: Likewise.
46555         * math/libm-test.inc (clog_test): Add more tests.
46556         (clog10_test): Likewise.
46557         * sysdeps/i386/fpu/libm-test-ulps: Update.
46558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46560         [BZ #11451]
46561         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
46562         x and y.
46563         * math/libm-test.inc (atan2_test): Add another test.
46565         * Makerules (common-objdir-compile): Remove.
46566         * sysdeps/unix/Makefile (config-generated): Do not add
46567         $(unix-generated) to variable.
46568         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
46569         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
46570         Remove rule.
46571         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
46572         Likewise.
46573         [generic bits/local_lim.h] (before-compile): Do not append to
46574         variable.
46575         [generic bits/local_lim.h] (common-generated): Likewise.
46576         [generic sys/param.h] (before-compile): Do not append to variable.
46577         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
46578         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
46579         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
46580         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
46581         include.
46582         [generic sys/param.h] (sys/param.h-includes): Remove variable.
46583         [generic sys/param.h] (sys/param.h-includes): Remove rule.
46584         [generic sys/param.h] ($(addprefix
46585         $(common-objpfx),$(sys/param.h-includes))): Likewise.
46586         [generic sys/param.h] (common-generated): Do not append to
46587         variable.
46588         [generic sys/param.h] (sysdep_headers): Likewise.
46589         [generic bits/errno.h] (before-compile): Do not append to
46590         variable.
46591         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
46592         rule.
46593         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
46594         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
46595         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
46596         [generic bits/errno.h] (common-generated): Do not append to
46597         variable.
46598         [generic bits/ioctls.h] (before-compile): Do not append to
46599         variable.
46600         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
46601         rule.
46602         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
46603         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
46604         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
46605         rule.
46606         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
46607         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
46608         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
46609         [generic bits/ioctls.h] (common-generated): Do not append to
46610         variable.
46611         [generic sys/syscall.h] (syscall.h): Remove variable.
46612         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
46613         rule.
46614         [generic sys/syscall.h] (before-compile): Do not append to
46615         variable.
46616         [generic sys/syscall.h] (common-generated): Likewise.
46617         * sysdeps/unix/errnos-tmpl.c: Remove file.
46618         * sysdeps/unix/errnos.awk: Likewise.
46619         * sysdeps/unix/ioctls-tmpl.c: Likewise.
46620         * sysdeps/unix/ioctls.awk: Likewise.
46621         * sysdeps/unix/mk-local_lim.c: Likewise.
46622         * sysdeps/unix/snarf-ioctls: Likewise.
46624 2012-03-19  Richard Henderson  <rth@twiddle.net>
46626         * sysdeps/i386/fpu/fenv_private.h: New file.
46627         * sysdeps/i386/fpu/math_private.h: Use it.
46628         (math_opt_barrier, math_force_eval): Remove.
46629         (libc_feholdexcept_setround_53bit): Remove.
46630         (libc_feupdateenv_53bit): Remove.
46631         * sysdeps/x86_64/fpu/math_private.h: Likewise.
46632         (math_opt_barrier, math_force_eval): Remove.
46633         (libc_feholdexcept): Remove.
46634         (libc_feholdexcept_setround): Remove.
46635         (libc_fetestexcept, libc_fesetenv): Remove.
46636         (libc_feupdateenv_test): Remove.
46637         (libc_feupdateenv, libc_feholdsetround): Remove.
46638         (libc_feresetround): Remove.
46640         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
46641         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
46643         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
46644         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
46645         (libc_feupdateenv_testl): New.
46646         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
46647         (libc_feupdateenv_testf): New.
46648         (libc_feupdateenv): Use libc_feupdateenv_test.
46649         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
46650         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
46652         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
46653         (libc_feholdsetroundf, libc_feholdsetroundl): New.
46654         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
46655         (libc_feresetround_noex): New.
46656         (libc_feresetround_noexf): New.
46657         (libc_feresetround_noexl): New.
46658         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
46659         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
46660         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
46661         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
46662         SET_RESTORE_ROUND.
46663         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
46664         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
46665         (__cos): Likewise.
46666         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
46667         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
46668         SET_RESTORE_ROUND_NOEX.
46669         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
46670         SET_RESTORE_ROUND_NOEXF.
46671         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
46672         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
46673         (libc_feholdsetroundf): New.
46674         (libc_feresetround, libc_feresetroundf): New.
46676         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
46677         (libc_feholdexcept_setround_53bit): Convert from macro to function.
46678         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
46680         * sysdeps/generic/math_private.h: Include <fenv.h>.
46681         (default_libc_feholdexcept): New.
46682         (default_libc_feholdexcept_setround): New.
46683         (default_libc_fesetenv, default_libc_feupdateenv): New.
46684         (libc_feholdexcept): Only define if undefined.
46685         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
46686         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
46687         (libc_feholdexcept_setroundl): Likewise.
46688         (libc_feholdexcept_setround_53bit): Likewise.
46689         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
46690         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
46691         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
46692         (libc_feupdateenv_53bit): Likewise.
46693         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
46694         (libc_feholdexcept): Convert from macro to inline function.
46695         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
46696         (libc_fesetenv, libc_feupdateenv): Likewise.
46698         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
46699         not previously defined.
46700         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
46701         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
46702         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
46703         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
46704         * sysdeps/ieee754/flt-32/math_private.h: New file.
46705         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
46706         math_private.h below SET_FLOAT_WORD.
46707         (__isnan, __isinf_ns, __finite): Remove.
46708         (__isnanf, __isinf_nsf, __finitef): Remove.
46710 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
46712         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46714 2012-03-17  David S. Miller  <davem@davemloft.net>
46716         [BZ #6471]
46717         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
46718         for 2.16.
46720 2012-03-16  David S. Miller  <davem@davemloft.net>
46722         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
46723         warnings.
46725         [BZ #6471]
46726         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
46727         properly.
46728         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
46729         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
46730         sysdep_routines when subdir is sysvipc.
46731         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
46732         __getshmlba helper.
46734         * sysdeps/sparc/fpu/libm-test/ulps: Update.
46736 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46738         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
46739         [__LP64__].
46741 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46743         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
46744         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
46745         (__lround): Renamed to ...
46746         (__llround): This.  Replace long int with long long int.
46747         Define lround functions as aliases of llround functions.
46748         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
46750 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46752         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
46753         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
46754         adresses to uintptr_t.  Replace "long int" and "unsigned long
46755         int" with "greg_t" on va_arg.
46757 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46759         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
46760         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
46762         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
46763         Move e_machine check before EI_CLASS check.  Handle x32
46764         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
46765         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
46766         SKIP_EM_IA_64 and include
46767         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
46769         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
46770         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
46771         (add_system_dir): New macro.
46773         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
46774         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
46776 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46778         [BZ #2551]
46779         [BZ #2552]
46780         [BZ #2553]
46781         [BZ #2554]
46782         [BZ #2562]
46783         [BZ #2563]
46784         [BZ #2565]
46785         [BZ #2566]
46786         [BZ #2576]
46787         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
46788         (y0): Likewise.
46789         * math/w_j0f.c (j0f): Likewise.
46790         (y0f): Likewise.
46791         * math/w_j0l.c (__j0l): Likewise.
46792         (__y0l): Likewise.
46793         * math/w_j1.c (j1): Likewise.
46794         (y1): Likewise.
46795         * math/w_j1f.c (j1f): Likewise.
46796         (y1f): Likewise.
46797         * math/w_j1l.c (__j1l): Likewise.
46798         (__y1l): Likewise.
46799         * math/w_jn.c (jn): Likewise.
46800         (yn): Likewise.
46801         * math/w_jnf.c (jnf): Likewise.
46802         (ynf): Likewise.
46803         * math/w_jnl.c (__jnl): Likewise.
46804         (__ynl): Likewise.
46805         * math/libm-test.inc (j0_test): Add more tests.
46806         (j1_test): Likewise.
46807         (jn_test): Likewise.  Add trailing semicolon to existing test.
46808         (y0_test): Likewise.
46809         (y1_test): Likewise.
46810         * sysdeps/i386/fpu/libm-test-ulps: Update.
46811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46813         [BZ #13851]
46814         [BZ #13854]
46815         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
46816         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
46817         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
46818         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
46819         (__tanl): Set errno for infinite argument.
46820         * sysdeps/i386/fpu/mptan.c: Remove.
46821         * sysdeps/i386/fpu/s_tan.S: Likewise.
46822         * sysdeps/i386/fpu/s_tanl.S: Likewise.
46823         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
46824         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
46825         * math/libm-test.inc (tan_test): Add more tests and enable more
46826         tests for double and long double.
46827         * sysdeps/i386/fpu/libm-test-ulps: Update.
46828         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46830 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
46832         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
46833         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
46835 2012-03-16  Roland McGrath  <roland@hack.frob.com>
46837         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
46838         * configure.in: Use it for both main tree and add-ons.
46839         * configure: Regenerated.
46841 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
46843         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
46845 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
46847         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
46848         in comment.
46850         [BZ #13851]
46851         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
46852         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
46853         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
46854         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
46855         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
46856         infinite argument.
46857         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
46858         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
46859         != 0 for prec == 2.
46860         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
46861         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
46862         * sysdeps/i386/fpu/s_cosl.S: Likewise.
46863         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
46864         * sysdeps/i386/fpu/s_sinl.S: Likewise.
46865         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
46866         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
46867         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
46868         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
46869         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
46870         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
46871         * math/libm-test.inc (cos_test): Add more tests and enable more
46872         tests for long double.
46873         (sin_test): Likewise.
46874         (sincos_test): Likewise.
46875         * sysdeps/i386/fpu/libm-test-ulps: Update.
46876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46878 2012-03-16  David S. Miller  <davem@davemloft.net>
46880         * sysdeps/sparc/fpu/math_private.h: New file.
46882 2012-03-15  David S. Miller  <davem@davemloft.net>
46884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
46885         file.
46886         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
46887         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
46888         file.
46889         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
46890         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
46891         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
46892         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
46893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
46894         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
46895         sysdep routines.
46896         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
46898         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
46899         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
46901         * sysdeps/sparc/sparc-ifunc.h: New file.
46902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
46903         sparc-ifunc.h
46904         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
46905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
46906         Likewise.
46907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
46908         Likewise.
46909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
46910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
46911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
46912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
46913         Likewise.
46914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
46915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
46917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
46918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
46919         Likewise.
46920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
46921         Likewise.
46922         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
46923         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
46924         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
46925         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
46926         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
46927         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
46928         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
46929         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
46930         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
46931         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
46932         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
46933         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
46934         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
46935         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
46936         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
46937         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
46938         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
46939         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
46940         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
46941         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
46942         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
46943         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
46944         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
46945         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
46947 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
46949         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
46950         scaling.
46951         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46953 2012-03-15  Andreas Jaeger  <aj@suse.de>
46955         [BZ #13852]
46956         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
46957         ieee754/flt-32 implementation for sin, cos and sincos.
46958         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
46959         * sysdeps/i386/fpu/s_cosf.S: Likewise.
46960         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
46961         * sysdeps/i386/fpu/s_sinf.S: Likewise.
46962         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
46963         ieee754/flt-32 implementation for tan.
46965         * math/libm-test.inc (cos_test): Enable some large input tests for
46966         float as well
46967         (sin_test): Likewise.
46968         (sincos_test): Likewise.
46969         (tan_test): Add tests for large input.
46971         * sysdeps/i386/fpu/libm-test-ulps: Update.
46973 2012-03-15  Andreas Jaeger  <aj@suse.de>
46975         [BZ #13658]
46976         * math/libm-test.inc (cos_test): Add more test cases.
46977         (sin_test): Likewise.
46978         (sincos_test): Likewise.
46980 2012-03-15  Andreas Jaeger  <aj@suse.de>
46982         [BZ #13837]
46983         * math/libm-test.inc (cos_test): Add a test case for large input
46984         value.
46985         (sin_test): Likewise.
46986         (sincos_test): Likewise.
46988 2012-03-15  Andreas Jaeger  <aj@suse.de>
46989             Joseph Myers  <joseph@codesourcery.com>
46991         [BZ #13658]
46992         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
46993         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
46994         * sysdeps/i386/fpu/branred.c: Likewise.
46995         * sysdeps/i386/fpu/dosincos.c: Likewise.
46996         * sysdeps/i386/fpu/mpa.c: Likewise.
46997         * sysdeps/i386/fpu/s_cos.S: Likewise.
46998         * sysdeps/i386/fpu/s_sin.S: Likewise.
46999         * sysdeps/i386/fpu/s_sincos.S: Likewise.
47000         * sysdeps/i386/fpu/sincos32.c: Likewise.
47002         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
47003         Define.
47004         (libc_feupdateenv_53bit): Define.
47005         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
47006         Define.
47007         (libc_feupdateenv_53bit): Define.
47009         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
47010         53 bit (without extend i386 double precision).
47012         * math/libm-test.inc (sincos_test): Add tests for large input.
47013         (sin): Likewise.
47014         (cos): Likewise.
47016         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
47018 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
47020         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47022 2012-03-15  David S. Miller  <davem@davemloft.net>
47024         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
47025         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
47026         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
47027         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
47028         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
47029         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
47030         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
47031         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
47032         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
47033         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
47034         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
47035         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
47036         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
47037         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
47038         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
47039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
47040         file.
47041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
47042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
47043         file.
47044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
47045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
47046         file.
47047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
47048         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
47049         file.
47050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
47051         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
47052         fmin/fmax sysdep routines.
47053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
47055 2012-03-14  David S. Miller  <davem@davemloft.net>
47057         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
47058         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
47059         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
47060         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
47061         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
47062         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
47063         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
47064         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
47065         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
47066         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
47067         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
47068         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
47069         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
47070         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
47071         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
47072         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
47073         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
47074         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
47075         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
47076         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
47077         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
47078         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
47079         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
47080         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
47081         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
47082         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
47083         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
47084         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
47085         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
47086         routines.
47087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
47088         file.
47089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
47090         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
47091         file.
47092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
47093         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
47094         file.
47095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
47096         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
47097         file.
47098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
47099         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
47100         file.
47101         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
47102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
47103         file.
47104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
47105         file.
47106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
47107         file.
47108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
47109         file.
47110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
47111         New file.
47112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
47113         file.
47114         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
47115         file.
47116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
47117         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
47118         file.
47119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
47120         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
47121         file.
47122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
47123         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
47124         file.
47125         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
47126         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
47127         VIS3 routines.
47129         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
47130         New file.
47132         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47134         * sysdeps/sparc/configure.in: New file.
47135         * sysdeps/sparc/configure: Generate.
47136         * configure.in (libc_cv_sparc_as_vis3): Substitute.
47137         * configure: Regenerate.
47138         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
47139         * config.make.in (have-as-vis3): New.
47140         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
47141         available use -Av9d instead of -Av9a.
47142         * sysdeps/sparc/sparc64/Makefile: Likewise.
47143         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
47144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
47145         New file.
47146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
47147         file.
47148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
47149         New file.
47150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
47151         file.
47152         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
47153         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
47154         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
47155         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
47156         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
47158         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
47159         fzeros/fnegs to load 0x80000000 into a float register instead of
47160         using the stack.
47161         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
47163 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
47165         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47166         bits/syscall.h.
47167         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
47168         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
47169         ($(inst_includedir)/bits/syscall.h): Remove rule.
47170         ($(objpfx)bits/syscall.d): Include instead of
47171         $(objpfx)syscall-list.d.
47172         (generated): Change syscall-list.h and syscall-list.d to
47173         bits/syscall.h and bits/syscall.d.
47175 2012-03-14  Roland McGrath  <roland@hack.frob.com>
47177         [BZ #13846]
47178         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
47180 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
47182         [BZ #13841]
47183         * math/s_csqrt.c: Include <float.h>.
47184         (__csqrt): Scale large or subnormal inputs.
47185         * math/s_csqrtf.c: Likewise.
47186         * math/s_csqrtl.c: Likewise.
47187         * math/libm-test.inc (csqrt_test): Add more tests.
47188         * sysdeps/i386/fpu/libm-test-ulps: Update.
47189         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47191         [BZ #13840]
47192         * math/libm-test.inc (hypot_test): Add more tests.
47194 2012-03-13  David S. Miller  <davem@davemloft.net>
47196         [BZ #13840]
47197         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
47198         double-precision for the calculation instead of scaling.
47200 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
47202         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
47203         manipulate bits before adding and subtracting TWO52[sx].
47204         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
47205         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
47206         Likewise.
47207         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
47209 2012-03-13  David S. Miller  <davem@davemloft.net>
47211         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
47212         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
47213         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
47214         rtld-global-offsets.h
47215         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
47217         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
47218         large parameters.
47220         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
47222         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
47223         'err' in the ifdef scope in which it is actually used.
47225         * nss/nss_db/db-init.c: Include string.h
47227 2012-03-12  David S. Miller  <davem@davemloft.net>
47229         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
47230         masking out of the most significant byte of random value used.
47231         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47232         Fix coding style in previous change.
47234         * sysdeps/unix/sysv/linux/kernel-features.h
47235         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
47236         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
47237         expression.
47238         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
47239         later.
47241 2012-03-11  David S. Miller  <davem@davemloft.net>
47243         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
47244         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
47245         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
47246         for 'resultvar' otherwise things get truncated on 64-bit.
47248         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47249         Fix masking out of the most significant byte of random value used.
47251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47253 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
47255         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47257 2012-03-09  David S. Miller  <davem@davemloft.net>
47259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
47260         variables with appropriate CPP guards.
47261         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
47262         from the frame pointer, not the stack pointer.  Correct layout
47263         comments.  Fix test on resulting framesize and the management of
47264         the outregs buffer for pltexit.  Preserve floating point return
47265         values across _dl_call_pltexit call.
47266         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
47267         framesize and the management of the outregs buffer for pltexit.
47268         Preserve floating point return values across _dl_call_pltexit
47269         call.
47270         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
47271         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
47272         (la_sparc64_gnu_pltexit): New functions.
47273         (print_exit): Fix format string for return register value.
47275 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
47277         * sunrpc/Makefile (others): Add rpcgen.
47278         ($(objpfx)rpcgen): Remove special build rule and dependency on
47279         libc.
47280         * sunrpc/rpcgen.c: New file.
47282 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
47284         [BZ #13673]
47285         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
47286         * stdio-common/bug-vfprintf-nargs.c: Likewise.
47287         * sysdeps/i386/crti.S: Likewise.
47288         * sysdeps/i386/crtn.S: Likewise.
47289         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
47290         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
47291         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
47292         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
47293         * sysdeps/sh/crti.S: Likewise.
47294         * sysdeps/sh/crtn.S: Likewise.
47295         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
47297         [BZ #13673]
47298         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
47299         with URL.
47300         * locale/programs/locfile-kw.gperf: Likewise.
47301         * locale/programs/charmap-kw.h: Regenerated.
47302         * locale/programs/locfile-kw.h: Likewise.
47304         [BZ #13673]
47305         * intl/plural.y: Replace FSF snail mail address with URL.
47306         * intl/plural.c: Regenerated.
47308 2012-03-09  Richard Henderson  <rth@twiddle.net>
47310         * include/math_private.h: Remove file.
47311         * math/math_private.h: Move file ...
47312         * sysdeps/generic/math_private.h: ... here.
47314         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
47315         * sysdeps/powerpc/fpu/math_private.h: Likewise.
47316         * sysdeps/x86_64/fpu/math_private.h: Likewise.
47318         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
47319         and <math_private.h>.
47320         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47321         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47322         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47323         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47324         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47325         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
47326         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
47327         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
47328         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
47329         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
47330         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
47331         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
47332         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
47333         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
47334         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
47335         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
47336         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
47337         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
47338         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
47339         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
47340         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
47341         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
47342         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
47343         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
47344         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
47345         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
47346         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
47347         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
47348         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
47349         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47350         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
47351         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
47352         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
47353         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
47354         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47355         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47356         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
47357         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47358         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47359         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47360         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
47361         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47362         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47363         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
47364         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
47365         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47366         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
47367         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
47368         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
47369         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47370         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
47371         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
47372         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
47373         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47374         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
47375         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
47376         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
47377         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47378         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
47379         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
47380         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
47381         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
47382         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
47383         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47384         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
47385         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
47386         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
47387         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
47388         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
47389         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
47390         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
47391         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
47392         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
47393         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
47394         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
47395         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
47396         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
47397         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47398         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
47399         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
47400         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
47401         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
47402         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
47403         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
47404         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
47405         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47406         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
47407         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
47408         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
47409         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47410         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47411         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
47412         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
47413         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
47414         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
47415         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
47416         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
47417         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
47418         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
47419         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
47420         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
47421         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
47422         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
47423         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
47424         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47425         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
47426         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
47427         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
47428         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47429         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47430         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47431         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47432         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
47433         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47434         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
47435         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
47436         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47437         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47438         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47439         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
47440         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47441         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47442         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
47443         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
47444         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47445         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47446         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
47447         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
47448         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47449         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
47450         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
47451         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
47452         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47453         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
47454         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
47455         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47456         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
47457         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47458         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
47459         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
47460         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
47461         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47462         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47463         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
47464         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
47465         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47466         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47467         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47468         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
47469         * sysdeps/ieee754/k_standard.c: Likewise.
47470         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
47471         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
47472         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47473         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
47474         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
47475         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
47476         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
47477         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
47478         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
47479         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
47480         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
47481         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
47482         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
47483         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
47484         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
47485         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
47486         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
47487         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
47488         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
47489         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
47490         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
47491         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
47492         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47493         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47494         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
47495         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
47496         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47497         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47498         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47499         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47500         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
47501         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47502         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47503         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47504         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
47505         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47506         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47507         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
47508         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
47509         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47510         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
47511         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
47512         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
47513         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47514         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
47515         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
47516         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47517         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47518         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47519         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47520         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47521         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
47522         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47523         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
47524         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47525         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47526         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
47527         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
47528         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47529         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47530         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47531         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
47532         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47533         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
47534         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47535         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47536         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
47537         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
47538         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
47539         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
47540         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
47541         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47542         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
47543         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
47544         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
47545         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
47546         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
47547         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
47548         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47549         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
47550         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
47551         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
47552         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47553         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47554         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
47555         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47556         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47557         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
47558         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
47559         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47560         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
47561         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47562         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
47563         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
47564         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47565         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47566         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
47567         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
47568         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
47569         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
47570         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47571         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47572         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47573         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47574         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
47575         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47576         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47577         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
47578         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
47579         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47580         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47581         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47582         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
47583         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47584         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
47585         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
47586         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
47587         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47588         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
47589         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
47590         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
47591         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
47592         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
47593         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
47594         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47595         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
47596         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47597         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47598         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47599         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47600         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47601         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47602         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47603         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
47604         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47605         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47606         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
47607         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
47608         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47609         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
47610         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
47611         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47612         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
47613         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
47614         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47615         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47616         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47617         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47618         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47619         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
47620         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47621         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
47622         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47623         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47624         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
47625         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
47626         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47627         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47628         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47629         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
47630         * sysdeps/ieee754/s_lib_version.c: Likewise.
47631         * sysdeps/ieee754/s_matherr.c: Likewise.
47632         * sysdeps/ieee754/s_signgam.c: Likewise.
47633         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
47634         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
47635         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
47636         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
47637         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
47638         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
47639         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
47640         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
47641         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
47642         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
47643         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
47644         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
47645         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47646         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47647         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
47648         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
47649         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
47650         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
47651         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
47652         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47653         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47655 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47657         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
47658         * sunrpc/rpc_main.c: Likewise.
47659         * sunrpc/rpc_svcout.c: Likewise.
47661 2012-03-09  David S. Miller  <davem@davemloft.net>
47663         * include/math_private.h: New file.
47665 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
47667         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
47668         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
47669         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
47670         from <bits/socket_type.h>.
47671         (enum __socket_type): Don't define here.
47672         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
47673         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
47674         bits/socket_type.h.
47676         [BZ #13566]
47677         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
47678         checking __USE_GNU.
47680         * Makerules ($(inst_includedir)/%.h): New rule.
47681         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
47682         (install-others): Remove variable setting.
47683         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
47685 2012-03-08  Richard Henderson  <rth@twiddle.net>
47687         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
47688         from macro to inline function; merge with the
47689         !__LIBC_INTERNAL_MATH_INLINES version.
47690         (__ieee754_sqrtf): Likewise.
47692         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
47693         to inline function.
47694         (__rintf, __floor, __floorf): Likewise.
47696         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
47697         macro to inline function.
47698         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
47700         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
47701         not <math/math_private.h>.
47703 2012-03-08  David S. Miller  <davem@davemloft.net>
47705         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
47706         copyright year.
47707         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
47709 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
47711         * resolv/gai_misc.c (handle_requests): Fix struct timespec
47712         normalization.
47713         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
47714         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
47716 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
47718         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
47719         be defined individually, they must be defined as a block.  Define
47720         S for printing a string instead of hidint the different by using a
47721         macro for adding the 'l'.
47722         * stdio-common/tst-fphex-wide.c: Adjust.
47724 2012-03-07  Marek Polacek  <polacek@redhat.com>
47726         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
47728 2012-03-08  Marek Polacek  <polacek@redhat.com>
47730         [BZ #13806]
47731         * stdio-common/Makefile (tests): Add tst-fphex-wide.
47732         * stdio-common/tst-fphex.c: Define a few macros to make the
47733         test reusable.  Use them.
47734         * stdio-common/tst-fphex-wide.c: New file.
47736 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
47738         [BZ #6911]
47739         * manual/macros.texi (gnusystems): New macro.
47740         (nongnusystems): Likewise.
47741         (gnulinuxhurdsystems): Likewise.
47742         (gnuhurdsystems): Likewise..
47743         (gnulinuxsystems): Likewise.
47744         * manual/charset.texi: Use new macros or @theglibc{} to refer to
47745         variants of the GNU system, not "GNU system".
47746         * manual/conf.texi: Likewise.
47747         * manual/errno.texi: Likewise.  Update example of errno macro
47748         expansion.
47749         * manual/filesys.texi: Likewise.
47750         (getumask): Document as specific to GNU/Hurd.
47751         * manual/install.texi: Likewise.  Reword some references to
47752         GNU/Linux.
47753         * manual/intro.texi: Likewise.
47754         * manual/io.texi: Likewise.
47755         (File Name Portability): Detail which constraints are inapplicable
47756         to all GNU systems and which are only inapplicable to GNU/Hurd.
47757         * manual/job.texi: Likewise.
47758         * manual/llio.texi: Likewise.
47759         (O_NOCTTY): Document as present on GNU/Linux.
47760         * manual/maint.texi: Likewise.
47761         * manual/memory.texi: Likewise.
47762         * manual/pattern.texi: Likewise.
47763         * manual/pipe.texi: Likewise.
47764         * manual/process.texi: Likewise.
47765         * manual/resource.texi: Likewise.
47766         (RUSAGE_CHILDREN): Remove statement about specifying a particular
47767         child on GNU/Hurd.
47768         * manual/setjmp.texi: Likewise.
47769         * manual/signal.texi: Likewise.
47770         * manual/startup.texi: Likewise.
47771         * manual/stdio.texi: Likewise.
47772         * manual/terminal.texi: Likewise.
47773         (ONLCR): Document as POSIX.
47774         (OXTABS): Document availability on GNU/Linux as XTABS.
47775         (ONOEOT): Document availability separately from other bits.
47776         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
47777         * manual/time.texi: Likewise.
47778         * manual/users.texi: Likewise.
47779         * INSTALL: Regenerated.
47780         * sysdeps/gnu/errlist.c: Regenerated.
47782         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
47783         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
47784         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
47785         puts.
47786         * configure: Regenerated.
47788 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
47790         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
47791         default includes instead of AC_HEADER_CHECK.
47792         * sysdeps/i386/configure: Regenerated.
47794         [BZ #10716]
47795         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
47796         * math/s_cacoshf.c (__cacoshf): Likewise.
47797         * math/s_cacoshl.c (__cacoshl): Likewise.
47798         * math/s_casinh.c (__casinh): Set signs of result from argument.
47799         * math/s_casinhf.c (__casinhf): Likewise.
47800         * math/s_casinhl.c (__casinhl): Likewise.
47801         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
47802         (casinh_test): Add more tests.
47803         * sysdeps/i386/fpu/libm-test-ulps: Update.
47804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47806 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
47808         * po/zh_TW.po: Update from translation team.
47810         * login/Makefile (distribute): Remove variable.
47811         * catgets/Makefile: Likewise.
47812         * mach/Makefile: Likewise.
47813         * malloc/Makefile: Likewise.
47814         * misc/Makefile: Likewise.
47815         * iconv/Makefile: Likewise.
47816         * nscd/Makefile: Likewise.
47817         * hurd/Makefile: Likewise.
47818         * manual/Makefile: Likewise.
47819         * locale/Makefile: Likewise.
47820         * intl/Makefile: Likewise.
47821         * conform/Makefile: Likewise.
47822         * nss/Makefile: Likewise.
47823         * time/Makefile: Likewise.
47824         * soft-fp/Makefile: Likewise.
47825         * dirent/Makefile: Likewise.
47826         * gmon/Makefile: Likewise.
47827         * po/Makefile: Likewise.
47828         * rt/Makefile: Likewise.
47829         * socket/Makefile: Likewise.
47830         * math/Makefile: Likewise.
47831         * signal/Makefile: Likewise.
47832         * debug/Makefile: Likewise.
47833         * elf/Makefile: Likewise.
47834         * timezone/Makefile: Likewise.
47835         * stdlib/Makefile: Likewise.
47836         * iconvdata/Makefile: Likewise.
47837         * sunrpc/Makefile: Likewise.
47838         * io/Makefile: Likewise.
47839         * argp/Makefile: Likewise.
47840         * inet/Makefile: Likewise.
47841         * hesiod/Makefile: Likewise.
47842         * grp/Makefile: Likewise.
47843         * csu/Makefile: Likewise.
47844         * wctype/Makefile: Likewise.
47845         * crypt/Makefile: Likewise.
47846         * libio/Makefile: Likewise.
47847         * string/Makefile: Likewise.
47848         * nis/Makefile: Likewise.
47849         * resolv/Makefile: Likewise.
47850         * stdio-common/Makefile: Likewise.
47851         * wcsmbs/Makefile: Likewise.
47852         * dlfcn/Makefile: Likewise.
47853         * posix/Makefile: Likewise.
47855         [BZ #6959]
47856         * timezone/Makefile: Don't install timezone files, just the programs
47857         and scripts.
47859 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
47861         * nss/databases.def: Add missing gshadow entry.
47863         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
47865 2012-03-06  Marek Polacek  <polacek@redhat.com>
47867         [BZ #13726]
47868         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
47869         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
47870         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
47871         * stdio-common/tst-long-dbl-fphex.c: New file.
47873 2012-03-06  David S. Miller  <davem@davemloft.net>
47875         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
47876         (set_obp_int): New function.
47877         (get_obp_int): New function.
47878         (__get_clockfreq_via_dev_openprom): Likewise.
47879         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
47880         Avoid unused variable warnings on 'val' and use builtin_expect.
47881         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
47882         __builtin_expect.
47883         (INLINE_CLONE_SYSCALL): Likewise.
47885 2012-03-05  David S. Miller  <davem@davemloft.net>
47887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47889 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
47891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47893         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
47894         only for |x| >= 40.
47895         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
47897 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
47899         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
47900         Replace gettimeofday with __vdso_gettimeofday.
47902         * sysdeps/unix/sysv/linux/x86_64/init-first.c
47903         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
47904         __vdso_clock_gettime and __vdso_getcpu.
47906         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
47907         time with __vdso_time.
47909 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47911         * manual/lang.texi (size_t): Note types to which size_t may be
47912         equivalent with the GNU C Library, but do not describe when
47913         differences between them are significant.
47915 2012-03-05  Andreas Jaeger  <aj@suse.de>
47917         * sysdeps/i386/fpu/libm-test-ulps: Update.
47919 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
47921         [BZ #3976]
47922         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
47923         (__ieee754_pow): Save and restore rounding mode and use
47924         round-to-nearest for main computations.
47925         * math/libm-test.inc (pow_test_tonearest): New function.
47926         (pow_test_towardzero): Likewise.
47927         (pow_test_downward): Likewise.
47928         (pow_test_upward): Likewise.
47929         (main): Call the new functions.
47930         * sysdeps/i386/fpu/libm-test-ulps: Update.
47931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47933         [BZ #3976]
47934         * math/libm-test.inc (cosh_test_tonearest): New function.
47935         (cosh_test_towardzero): Likewise.
47936         (cosh_test_downward): Likewise.
47937         (cosh_test_upward): Likewise.
47938         (sinh_test_tonearest): Likewise.
47939         (sinh_test_towardzero): Likewise.
47940         (sinh_test_downward): Likewise.
47941         (sinh_test_upward): Likewise.
47942         (main): Call the new functions.
47943         * sysdeps/i386/fpu/libm-test-ulps: Update.
47944         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47946 2012-03-05  Tom de Vries  <tom@codesourcery.com>
47948         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
47949         default stack guard is set in last bytes.
47950         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
47952 2012-03-05  Kees Cook  <keescook@chromium.org>
47954         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
47956         [BZ #13656]
47957         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
47958         possibly allocate from heap instead of stack.
47959         * stdio-common/bug-vfprintf-nargs.c: New file.
47960         * stdio-common/Makefile (tests): Add nargs overflow test.
47962 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
47964         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47966 2012-03-03  Marek Polacek  <polacek@redhat.com>
47968         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
47969         * math/math_private.h: Likewise.
47970         * stdlib/tst-strtod.c: Likewise.
47971         * sysdeps/i386/i486/bits/atomic.h: Likewise.
47972         * sysdeps/x86_64/bits/atomic.h: Likewise.
47974 2012-03-02  David S. Miller  <davem@davemloft.net>
47976         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
47977         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
47978         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
47979         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
47980         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
47981         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
47982         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
47983         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
47985 2012-03-02  Roland McGrath  <roland@hack.frob.com>
47987         [BZ #13792]
47988         * manual/examples/README: New file, says the example source files
47989         can be used under GPL>=2.
47990         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
47991         line containing just "*/".
47992         * manual/examples/add.c: Add copyright header (GPL>=2).
47993         * manual/examples/argp-ex1.c: Likewise.
47994         * manual/examples/argp-ex2.c: Likewise.
47995         * manual/examples/argp-ex3.c: Likewise.
47996         * manual/examples/argp-ex4.c: Likewise.
47997         * manual/examples/atexit.c: Likewise.
47998         * manual/examples/db.c: Likewise.
47999         * manual/examples/dir.c: Likewise.
48000         * manual/examples/dir2.c: Likewise.
48001         * manual/examples/execinfo.c: Likewise.
48002         * manual/examples/filecli.c: Likewise.
48003         * manual/examples/filesrv.c: Likewise.
48004         * manual/examples/fmtmsgexpl.c: Likewise.
48005         * manual/examples/genpass.c: Likewise.
48006         * manual/examples/inetcli.c: Likewise.
48007         * manual/examples/inetsrv.c: Likewise.
48008         * manual/examples/isockad.c: Likewise.
48009         * manual/examples/longopt.c: Likewise.
48010         * manual/examples/memopen.c: Likewise.
48011         * manual/examples/memstrm.c: Likewise.
48012         * manual/examples/mkfsock.c: Likewise.
48013         * manual/examples/mkisock.c: Likewise.
48014         * manual/examples/mygetpass.c: Likewise.
48015         * manual/examples/pipe.c: Likewise.
48016         * manual/examples/popen.c: Likewise.
48017         * manual/examples/rprintf.c: Likewise.
48018         * manual/examples/search.c: Likewise.
48019         * manual/examples/select.c: Likewise.
48020         * manual/examples/setjmp.c: Likewise.
48021         * manual/examples/sigh1.c: Likewise.
48022         * manual/examples/sigusr.c: Likewise.
48023         * manual/examples/stpcpy.c: Likewise.
48024         * manual/examples/strdupa.c: Likewise.
48025         * manual/examples/strftim.c: Likewise.
48026         * manual/examples/strncat.c: Likewise.
48027         * manual/examples/subopt.c: Likewise.
48028         * manual/examples/swapcontext.c: Likewise.
48029         * manual/examples/termios.c: Likewise.
48030         * manual/examples/testopt.c: Likewise.
48031         * manual/examples/testpass.c: Likewise.
48032         * manual/examples/timeval_subtract.c: Likewise.
48034         [BZ #13792]
48035         * manual/time.texi (Elapsed Time): Move timeval_subtract example
48036         function to ...
48037         * manual/timeval_subtract.c.texi: ... here, new file.
48039 2012-03-02  David S. Miller  <davem@davemloft.net>
48041         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
48043 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
48045         [BZ #3976]
48046         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
48047         (__sin): Save and restore rounding mode and use round-to-nearest
48048         for all computations.
48049         (__cos): Save and restore rounding mode and use round-to-nearest
48050         for all computations.
48051         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
48052         <fenv.h>.
48053         (tan): Save and restore rounding mode and use round-to-nearest for
48054         all computations.
48055         * math/libm-test.inc (cos_test_tonearest): New function.
48056         (cos_test_towardzero): Likewise.
48057         (cos_test_downward): Likewise.
48058         (cos_test_upward): Likewise.
48059         (sin_test_tonearest): Likewise.
48060         (sin_test_towardzero): Likewise.
48061         (sin_test_downward): Likewise.
48062         (sin_test_upward): Likewise.
48063         (tan_test_tonearest): Likewise.
48064         (tan_test_towardzero): Likewise.
48065         (tan_test_downward): Likewise.
48066         (tan_test_upward): Likewise.
48067         (main): Call the new functions.
48068         * sysdeps/i386/fpu/libm-test-ulps: Update.
48069         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48071         [BZ #10135]
48072         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
48073         small n, then large n, before computing and testing k+n.
48074         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
48075         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
48076         Likewise.
48077         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
48078         Likewise.
48079         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
48080         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
48081         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
48082         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
48083         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
48084         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
48085         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
48086         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
48087         * math/libm-test.inc (scalbn_test): Add more tests.
48088         (scalbln_test): Likewise.
48090         * manual/filesys.texi (mode_t): Describe constraints on size and
48091         signedness, not exact equivalence to a particular type.
48092         (ino_t): Likewise.
48093         (ino64_t): Likewise.
48094         (dev_t): Likewise.
48095         (nlink_t): Likewise.
48096         (blkcnt_t): Likewise.
48097         (blkcnt64_t): Likewise.
48098         * manual/llio.texi (off_t): Likewise.
48100         [BZ #3976]
48101         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
48102         (__ieee754_exp): Save and restore rounding mode and use
48103         round-to-nearest for all computations.
48104         * math/libm-test.inc (exp_test_tonearest): New function.
48105         (exp_test_towardzero): Likewise.
48106         (exp_test_downward): Likewise.
48107         (exp_test_upward): Likewise.
48108         (main): Call the new functions.
48109         * sysdeps/i386/fpu/libm-test-ulps: Update.
48110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48112 2012-03-01  Chris Demetriou  <cgd@google.com>
48114         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
48115         have predictable order.
48117 2012-03-01  David S. Miller  <davem@davemloft.net>
48119         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
48121         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
48122         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
48123         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
48124         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
48126         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
48127         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
48128         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
48129         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
48130         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
48131         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
48132         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
48133         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
48134         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
48136         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48138         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
48139         * sysdeps/sparc/fpu/libm-test-ulps: to here.
48140         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
48142         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
48143         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
48144         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48145         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
48146         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
48147         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
48148         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
48149         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
48150         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48151         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
48152         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
48153         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48154         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
48155         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48156         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48157         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48158         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
48159         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
48160         * sysdeps/sparc/elf/configure: Regenerated.
48162 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
48164         * configure.in (AS, LD): Require binutils 2.20 or later.
48165         * configure: Regenerated.
48166         * manual/install.texi (Tools for Compilation): Give binutils 2.20
48167         as required minimum version.
48168         * INSTALL: Regenerated.
48170         [BZ #2541]
48171         [BZ #4108]
48172         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
48173         before squaring exponent.
48174         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
48175         bottom long double and 27 bits of top long double before squaring
48176         exponent.
48177         * math/libm-test.inc (erfc_test): Add more tests.
48178         * sysdeps/i386/fpu/libm-test-ulps: Update.
48179         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48182 2012-03-01  Kai Tietz  <ktietz@redhat.com>
48184         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
48185         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
48186         containing bit-fields.
48187         * soft-fp/extended.h (_FP_UNION_E): Likewise.
48188         * soft-fp/single.h (_FP_UNION_S): Likewise.
48189         * soft-fp/double.h (_FP_UNION_D): Likewise.
48191 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48193         [BZ #13786]
48194         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
48195         not include ../strcmp.S.
48196         [USE_AS_STRNCASECMP_L]: Likewise.
48197         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
48198         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
48199         * sysdeps/i386/i686/multiarch/strncase_l-c.c
48200         (__strncasecmp_l_ia32): Define as alias to
48201         __strncasecmp_l_nonascii.
48203         [BZ #5794]
48204         * math/libm-test.inc (expm1_test): Add test for bug 5794.
48205         * sysdeps/i386/fpu/libm-test-ulps: Update.
48206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48208         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
48209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48211 2012-02-29  Jeff Law  <law@redhat.com>
48213         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
48214         out of bounds read.
48216 2012-02-29  Marek Polacek  <polacek@redhat.com>
48218         [BZ #13706]
48219         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
48220         * elf/Makefile: Add rules to run tst-unused-dep.out.
48222 2012-02-28  David S. Miller  <davem@davemloft.net>
48224         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
48225         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
48226         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
48227         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
48228         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
48229         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
48231 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
48233         * math/libm-test.inc (llround_test): Move one test from
48234         lround_test.  Use TEST_f_L in moved test.
48235         (lround_test): Move misplaced test to llround_test.  Add testcase
48236         from bug 2561.
48238 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
48240         * sysdeps/x86_64/fpu/e_expf.S: New file.
48241         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
48243 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
48245         [BZ #13637]
48246         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
48247         of remain_len that may cause incomplete multi-byte character and
48248         false match.
48249         * posix/bug-regex33.c: New file.
48250         * posix/Makefile (tests): Add bug-regex33.
48252 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
48254         * manual/macros.texi: New file.
48255         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
48256         * manual/libc.texinfo: Include macros.texi.
48257         * manual/creatute.texi: Likewise.
48258         * manual/install.texi: Likewise.
48259         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
48260         @glibcadj{} in references to the GNU C Library.
48261         * manual/charset.texi: Likewise.
48262         * manual/conf.texi: Likewise.
48263         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
48264         when not using those macros.
48265         * manual/creature.texi: Likewise.
48266         * manual/crypt.texi: Likewise.
48267         * manual/errno.texi: Likewise.
48268         * manual/filesys.texi: Likewise.
48269         * manual/header.texi: Likewise.
48270         * manual/install.texi: Likewise.
48271         * manual/intro.texi: Likewise.
48272         * manual/io.texi: Likewise.
48273         * manual/job.texi: Likewise.
48274         * manual/lang.texi: Likewise.
48275         * manual/libc.texiinfo: Likewise.
48276         * manual/llio.texi: Likewise.
48277         * manual/locale.texi: Likewise.
48278         * manual/maint.texi: Likewise.
48279         * manual/math.texi: Likewise.
48280         * manual/memory.texi: Likewise.
48281         * manual/message.texi: Likewise.
48282         * manual/nss.texi: Likewise.
48283         * manual/pattern.texi: Likewise.
48284         * manual/process.texi: Likewise.
48285         * manual/resource.texi: Likewise.
48286         * manual/search.texi: Likewise.
48287         * manual/setjmp.texi: Likewise.
48288         * manual/signal.texi: Likewise.
48289         * manual/socket.texi: Likewise.
48290         * manual/startup.texi: Likewise.
48291         * manual/stdio.texi: Likewise.
48292         * manual/string.texi: Likewise.
48293         * manual/sysinfo.texi: Likewise.
48294         * manual/syslog.texi: Likewise.
48295         * manual/terminal.texi: Likewise.
48296         * manual/time.texi: Likewise.
48297         * manual/users.texi: Likewise.
48298         * INSTALL: Regenerated.
48299         * NOTES: Regenerated.
48300         * sysdeps/gnu/errlist.c: Regenerated.
48302 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
48304         * include/dirent.h: Include <dirstream.h> before
48305         <dirent/dirent.h>.
48307 2012-02-28  David S. Miller  <davem@davemloft.net>
48309         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
48310         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
48311         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
48312         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
48314 2012-02-27  David S. Miller  <davem@davemloft.net>
48316         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
48317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
48318         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
48319         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
48321         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
48322         frame pointer instead of stack pointer relative arg slot.
48323         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48324         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48325         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48327 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
48329         [BZ #3992]
48330         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
48332 2012-02-27  David S. Miller  <davem@davemloft.net>
48334         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
48335         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
48336         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
48337         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
48338         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
48339         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
48340         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
48341         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
48343 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48345         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
48346         later.  Allow versions 5-9.
48347         * configure: Regenerated.
48348         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
48349         required minimum version and 4.6 as recommended version.  Do not
48350         mention bugs in GCC 2.7 and 2.8.
48351         * INSTALL: Regenerated.
48353 2012-02-27  David S. Miller  <davem@davemloft.net>
48355         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
48356         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
48357         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
48358         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
48359         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
48360         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
48361         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
48362         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
48364         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
48365         manipulate bits before adding and subtracting TWO112[sx].
48366         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
48368 2012-02-27  Roland McGrath  <roland@hack.frob.com>
48370         [BZ #13775]
48371         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
48372         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
48373         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
48374         being in POSIX, because they are in 1003.1-2008.
48376         * rt/tst-aio.c: Include <fcntl.h>.
48377         * rt/tst-aio7.c: Likewise.
48378         * rt/tst-aio64.c: Likewise.
48380         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
48382 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
48384         * manual/install.texi (--with-headers): Describe headers as
48385         interface headers, not private headers.
48386         (Specific advice for GNU/Linux systems): Describe use of headers
48387         from "make headers_install", not private headers from older
48388         kernels.
48389         * INSTALL: Regenerated.
48390         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
48391         Change to 2.6.19.
48392         * sysdeps/unix/sysv/linux/configure: Regenerated.
48394         * manual/llio.texi (fclean): Remove documentation.
48396         * manual/Makefile (libc-texi-generated): New variable.  Include
48397         version.texi.
48398         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
48399         $(libc-texi-generated), not duplicated list of files.
48400         (version.texi, stamp-version): New rules.
48401         (realclean): Remove $(libc-texi-generated), not individual files
48402         from that list.  Do not remove dir-add.texinfo.
48403         * manual/libc.texinfo: Comment out uses of edition numbers and
48404         references to printed manual.  Remove last-updated dates.
48405         (EDITION): Comment out.
48406         (ISBN): Likewise.
48407         (VERSION, UPDATED): Remove.
48408         (version.texi): Include.
48410 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
48412         * sysdeps/posix/spawni.c: Include <signal.h>.
48413         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
48414         * sysdeps/pthread/aio_fsync.c: Likewise.
48416 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
48418         * conform/Makefile (tests): Run only when not cross-compiling and
48419         when fast-check is not defined.
48421         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
48422         * conform/data/limits.h-data: Fixes for POSIX2008.
48423         * conform/run-conformtest.sh: Run all tests.
48424         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
48425         headers.
48426         * include/bits/dlfcn.h: Likewise.
48427         * include/langinfo.h: Likewise.
48428         * include/monetary.h: Likewise.
48429         * include/sys/poll.h: Likewise.
48431         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
48432         for __USE_GNU.
48433         * posix/spawn.h: Define __need_sigset_t.
48434         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
48435         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
48436         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
48437         to get sigevent_t only.
48438         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
48439         only for __USE_GNU.
48440         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
48441         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48442         process_vm_writev only for __USE_GNU.
48443         * termios/termios.h: Declare tcgetsid also for POSIX2008.
48445         * conform/Makefile: For now ignore errors from run-conformtest.
48446         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
48447         POSIX to avoid namespace pollution.  Don't prepend headers.
48448         * conform/data/aio.h-data: Fixes for POSIX testing.
48449         * conform/data/fcntl.h-data: Likewise.
48450         * conform/data/glob.h-data: Likewise.
48451         * conform/data/grp.h-data: Likewise.
48452         * conform/data/pthread.h-data: Likewise.
48453         * conform/data/pwd.h-data: Likewise.
48454         * conform/data/signal.h-data: Likewise.
48455         * conform/data/spawn.h-data: Likewise.
48456         * conform/data/stdio.h-data: Likewise.
48457         * conform/data/stdlib.h-data: Likewise.
48458         * conform/data/stropts.h-data: Likewise.
48459         * conform/data/sys/mman.h-data: Likewise.
48460         * conform/data/sys/stat.h-data: Likewise.
48461         * conform/data/sys/types.h-data: Likewise.
48462         * conform/data/sys/wait.h-data: Likewise.
48463         * conform/data/time.h-data: Likewise.
48464         * conform/data/unistd.h-data: Likewise.
48465         * conform/data/utime.h-data: Likewise.
48467         * io/sys/stat.h: fchmod was always in POSIX.
48468         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
48469         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
48470         * rt/aio.h: Define __need_timespec before including <time.h>.
48471         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
48472         struct.  Add forward declaration of pthread_attr_t and use it in
48473         sigevent.
48474         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
48475         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
48476         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
48477         always remove CLK_TCK definition.
48479 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
48481         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
48483 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
48485         * conform/run-conformtest.sh: New file.
48486         * conform/Makefile: Run run-conformtest for tests.
48487         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
48488         support.
48490         * conform/data/uchar.h-data: New file.
48491         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
48492         * conform/data/arpa/inet.h-data: Likewise.
48493         * conform/data/assert.h-data: Likewise.
48494         * conform/data/complex.h-data: Likewise.
48495         * conform/data/cpio.h-data: Likewise.
48496         * conform/data/ctype.h-data: Likewise.
48497         * conform/data/dirent.h-data: Likewise.
48498         * conform/data/dlfcn.h-data: Likewise.
48499         * conform/data/errno.h-data: Likewise.
48500         * conform/data/fcntl.h-data: Likewise.
48501         * conform/data/float.h-data: Likewise.
48502         * conform/data/fmtmsg.h-data: Likewise.
48503         * conform/data/fnmatch.h-data: Likewise.
48504         * conform/data/ftw.h-data: Likewise.
48505         * conform/data/glob.h-data: Likewise.
48506         * conform/data/grp.h-data: Likewise.
48507         * conform/data/iconv.h-data: Likewise.
48508         * conform/data/inttypes.h-data: Likewise.
48509         * conform/data/langinfo.h-data: Likewise.
48510         * conform/data/libgen.h-data: Likewise.
48511         * conform/data/limits.h-data: Likewise.
48512         * conform/data/locale.h-data: Likewise.
48513         * conform/data/math.h-data: Likewise.
48514         * conform/data/monetary.h-data: Likewise.
48515         * conform/data/mqueue.h-data: Likewise.
48516         * conform/data/ndbm.h-data: Likewise.
48517         * conform/data/net/if.h-data: Likewise.
48518         * conform/data/netdb.h-data: Likewise.
48519         * conform/data/netinet/in.h-data: Likewise.
48520         * conform/data/nl_types.h-data: Likewise.
48521         * conform/data/poll.h-data: Likewise.
48522         * conform/data/pthread.h-data: Likewise.
48523         * conform/data/pwd.h-data: Likewise.
48524         * conform/data/regex.h-data: Likewise.
48525         * conform/data/sched.h-data: Likewise.
48526         * conform/data/search.h-data: Likewise.
48527         * conform/data/semaphore.h-data: Likewise.
48528         * conform/data/setjmp.h-data: Likewise.
48529         * conform/data/signal.h-data: Likewise.
48530         * conform/data/spawn.h-data: Likewise.
48531         * conform/data/stdarg.h-data: Likewise.
48532         * conform/data/stdio.h-data: Likewise.
48533         * conform/data/stdlib.h-data: Likewise.
48534         * conform/data/string.h-data: Likewise.
48535         * conform/data/strings.h-data: Likewise.
48536         * conform/data/stropts.h-data: Likewise.
48537         * conform/data/sys/ipc.h-data: Likewise.
48538         * conform/data/sys/mman.h-data: Likewise.
48539         * conform/data/sys/msg.h-data: Likewise.
48540         * conform/data/sys/resource.h-data: Likewise.
48541         * conform/data/sys/select.h-data: Likewise.
48542         * conform/data/sys/sem.h-data: Likewise.
48543         * conform/data/sys/shm.h-data: Likewise.
48544         * conform/data/sys/socket.h-data: Likewise.
48545         * conform/data/sys/stat.h-data: Likewise.
48546         * conform/data/sys/statvfs.h-data: Likewise.
48547         * conform/data/sys/time.h-data: Likewise.
48548         * conform/data/sys/timeb.h-data: Likewise.
48549         * conform/data/sys/times.h-data: Likewise.
48550         * conform/data/sys/types.h-data: Likewise.
48551         * conform/data/sys/uio.h-data: Likewise.
48552         * conform/data/sys/un.h-data: Likewise.
48553         * conform/data/sys/utsname.h-data: Likewise.
48554         * conform/data/sys/wait.h-data: Likewise.
48555         * conform/data/syslog.h-data: Likewise.
48556         * conform/data/tar.h-data: Likewise.
48557         * conform/data/termios.h-data: Likewise.
48558         * conform/data/utime.h-data: Likewise.
48559         * conform/data/utmpx.h-data: Likewise.
48560         * conform/data/varargs.h-data: Likewise.
48561         * conform/data/wchar.h-data: Likewise.
48562         * conform/data/wctype.h-data: Likewise.
48563         * conform/data/wordexp.h-data: Likewise.
48565         * include/stropts.h: New file.
48566         * include/uchar.h: New file.
48567         * include/aio.h: Changes to allow conformtest.pl to use the headers.
48568         * include/assert.h: Likewise.
48569         * include/ctype.h: Likewise.
48570         * include/dirent.h: Likewise.
48571         * include/dlfcn.h: Likewise.
48572         * include/fcntl.h: Likewise.
48573         * include/fnmatch.h: Likewise.
48574         * include/glob.h: Likewise.
48575         * include/grp.h: Likewise.
48576         * include/libio.h: Likewise.
48577         * include/locale.h: Likewise.
48578         * include/math.h: Likewise.
48579         * include/net/if.h: Likewise.
48580         * include/netdb.h: Likewise.
48581         * include/netinet/in.h: Likewise.
48582         * include/pthread.h: Likewise.
48583         * include/pwd.h: Likewise.
48584         * include/regex.h: Likewise.
48585         * include/sched.h: Likewise.
48586         * include/search.h: Likewise.
48587         * include/setjmp.h: Likewise.
48588         * include/signal.h: Likewise.
48589         * include/stdio.h: Likewise.
48590         * include/stdlib.h: Likewise.
48591         * include/string.h: Likewise.
48592         * include/sys/cdefs.h: Likewise.
48593         * include/sys/mman.h: Likewise.
48594         * include/sys/msg.h: Likewise.
48595         * include/sys/resource.h: Likewise.
48596         * include/sys/select.h: Likewise.
48597         * include/sys/socket.h: Likewise.
48598         * include/sys/stat.h: Likewise.
48599         * include/sys/statvfs.h: Likewise.
48600         * include/sys/time.h: Likewise.
48601         * include/sys/times.h: Likewise.
48602         * include/sys/uio.h: Likewise.
48603         * include/sys/utsname.h: Likewise.
48604         * include/sys/wait.h: Likewise.
48605         * include/termios.h: Likewise.
48606         * include/time.h: Likewise.
48607         * include/ulimit.h: Likewise.
48608         * include/unistd.h: Likewise.
48609         * include/utime.h: Likewise.
48610         * include/wchar.h: Likewise.
48611         * include/wctype.h: Likewise.
48612         * include/wordexp.h: Likewise.
48614         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
48616         * time/time.h: TIME_UTC must be a macro.
48617         Make timespec_get available for ISO C11 only as well.
48619 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
48621         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
48622         Reported by Peng Haitao <penght@cn.fujitsu.com>.
48624 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48626         * configure.in: Use -o not -a in test for unsupported multi-arch.
48628 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48630         * manual/texinfo.tex: Update to version 2012-01-19.16.
48632 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
48634         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
48636 2012-02-24  Roland McGrath  <roland@hack.frob.com>
48638         [BZ #13738]
48639         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
48640         * manual/fdl-1.3.texi: New file.
48641         * manual/fdl-1.1.texi: File removed.
48643         [BZ #13738]
48644         * manual/libc.texinfo (FDL_VERSION): New @set.
48645         Use it for mention of FDL in cover text.
48646         (Documentation License): Use it in @include file name.
48648 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48649             Roland McGrath  <roland@hack.frob.com>
48651         [BZ #5461]
48652         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
48653         (not LONG_LONG_MAX and LONG_LONG_MIN.
48654         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
48655         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
48656         name.
48657         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
48659 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48661         [BZ #2547]
48662         [BZ #11365]
48663         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
48664         manipulate bits before adding and subtracting TWO23[sx].
48665         * math/libm-test.inc (nearbyint_test): Add more tests.
48667 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48669         [BZ #2548]
48670         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
48671         bits before adding and subtracting TWO23[sx].
48672         * math/libm-test.inc (rint_test): Add more tests.
48673         (rint_test_tonearest): Likewise.
48674         (rint_test_towardzero): Likewise.
48675         (rint_test_downward): Likewise.
48676         (rint_test_upward: Likewise.
48678 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48680         [BZ #10110]
48681         * include/stdc-predef.h: New file.  Extracted from features.h.
48682         * include/features.h: Include stdc-predef.h.
48683         * Makefile (headers): Add stdc-predef.h.
48684         * CONFORMANCE (Compiler limitations): Update.
48686 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
48688         * manual/libc.texinfo (VERSION, UPDATED): Revert.
48690 2012-02-21  David S. Miller  <davem@davemloft.net>
48692         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
48693         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48695 2012-02-20  David S. Miller  <davem@davemloft.net>
48697         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
48698         using a normal save/restore sequence, rather than allocating a
48699         dummy stack frame just to store a frame pointer and restore.
48700         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48702 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48704         * manual/install.texi: Fix stray word in line-wrapped comment.
48706 2012-02-20  David S. Miller  <davem@davemloft.net>
48708         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
48709         both binutils and gcc support GOTDATA.
48711         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
48712         "rd %pc" in the PIC register setup sequences.
48714         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
48715         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
48716         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
48717         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
48718         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
48719         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
48720         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
48721         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
48722         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
48723         (SYSCALL_ERROR_HANDLER): Likewise.
48724         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
48725         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48726         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
48727         (SYSCALL_ERROR_HANDLER): Likewise.
48729         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
48730         (HAVE_GCC_GOTDATA): New.
48731         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
48732         relocation support in both binutils and gcc.
48733         * sysdeps/sparc/elf/configure: Regenerate.
48735         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
48736         * sysdeps/sparc/sparc32/elf/configure: Delete.
48737         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
48738         * sysdeps/sparc/sparc64/elf/configure: Delete.
48739         * sysdeps/sparc/elf/configure.in: New file.
48740         * sysdeps/sparc/elf/configure: Generate.
48742         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
48743         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
48744         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
48745         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
48746         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
48748 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48750         * manual/install.texi: Do not mention specific glibc version
48751         numbers.
48752         * manual/libc.texinfo (VERSION, UPDATED): Update.
48753         (@copying): Use @copyright{} and range of years.
48755 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
48757         [BZ #13695]
48758         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
48759         [crti.S not in sysdirs] (generated): Do not append.
48760         [crti.S not in sysdirs] (omit-deps): Likewise.
48761         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
48762         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
48763         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
48764         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
48765         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
48766         Likewise.
48767         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
48768         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
48769         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
48770         * csu/defs.awk: Remove file.
48771         * sysdeps/generic/initfini.c: Likewise.
48772         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
48773         variable.
48774         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
48775         Likewise.
48777 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48779         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
48780         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
48781         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
48782         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
48783         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48784         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
48785         <bits/epoll.h>.
48786         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
48787         (__EPOLL_PACKED): Define to empty if not defined by
48788         <bits/epoll.h>.
48789         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
48790         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48791         bits/epoll.h.
48793 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48795         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
48796         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
48797         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
48798         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
48799         <bits/timerfd.h>.
48800         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
48801         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
48802         bits/timerfd.h.
48804 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
48806         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
48807         in C locale.
48808         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
48809         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
48810         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
48811         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48813 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
48815         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
48816         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
48818 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
48820         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
48821         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
48822         defined.
48823         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
48824         Likewise.
48825         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
48826         entry for 2.16.
48828 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
48830         * math/w_acos.c: Use non-signaling floating-point comparisons.
48831         * math/w_acosf.c: Likewise.
48832         * math/w_acosh.c: Likewise.
48833         * math/w_acoshf.c: Likewise.
48834         * math/w_acoshl.c: Likewise.
48835         * math/w_acosl.c: Likewise.
48836         * math/w_asin.c: Likewise.
48837         * math/w_asinf.c: Likewise.
48838         * math/w_asinl.c: Likewise.
48839         * math/w_atanh.c: Likewise.
48840         * math/w_atanhf.c: Likewise.
48841         * math/w_atanhl.c: Likewise.
48842         * math/w_exp2.c: Likewise.
48843         * math/w_exp2f.c: Likewise.
48844         * math/w_exp2l.c: Likewise.
48845         * math/w_j0.c: Likewise.
48846         * math/w_j0f.c: Likewise.
48847         * math/w_j0l.c: Likewise.
48848         * math/w_j1.c: Likewise.
48849         * math/w_j1f.c: Likewise.
48850         * math/w_j1l.c: Likewise.
48851         * math/w_jn.c: Likewise.
48852         * math/w_jnf.c: Likewise.
48853         * math/w_log.c: Likewise.
48854         * math/w_log10.c: Likewise.
48855         * math/w_log10f.c: Likewise.
48856         * math/w_log10l.c: Likewise.
48857         * math/w_log2.c: Likewise.
48858         * math/w_log2f.c: Likewise.
48859         * math/w_log2l.c: Likewise.
48860         * math/w_logf.c: Likewise.
48861         * math/w_logl.c: Likewise.
48862         * math/w_sqrt.c: Likewise.
48863         * math/w_sqrtf.c: Likewise.
48864         * math/w_sqrtl.c: Likewise.
48865         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
48866         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
48867         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48868         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
48869         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
48871 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48873         [BZ #9739]
48874         * manual/string.texi (strnlen): Use correct parameter name in
48875         equivalent expression.
48877 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48879         [BZ #11174]
48880         * manual/users.texi (seteuid): Consistently use neweuid for
48881         argument name.
48883 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
48885         [BZ #13704]
48886         * manual/nss.texi (Services in the NSS configuration): Correct
48887         list of services in example configuration file.
48889 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
48891         [BZ #11322]
48892         * manual/arith.texi: Remove statements about negative zero
48893         behaving identically to zero.
48895 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48897         [BZ #5993]
48898         * manual/install.texi: Do not document upgrading from libc5.
48900 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
48902         [BZ #4596]
48903         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
48905 2012-02-18  David S. Miller  <davem@davemloft.net>
48907         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
48908         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
48909         %o7 across the call.
48910         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
48911         instead.
48912         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
48913         SETUP_PIC_REG_LEAF.
48914         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
48915         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
48916         * sysdeps/sparc/crtn.S: Likewise.
48918 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
48920         * aout/Makefile: Remove.
48922 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
48924         [BZ #13058]
48925         * manual/examples/argp-ex1.c (main): Format definition in GNU
48926         style.
48927         * manual/examples/argp-ex2.c (main): Likewise.
48928         * manual/examples/argp-ex3.c (main): Likewise.
48929         * manual/examples/argp-ex4.c (main): Likewise.
48930         * manual/examples/longopt.c (main): Use new-style prototype
48931         definition.
48932         * manual/examples/strncat.c (main): Specify return type and use
48933         (void) for arguments.
48934         * manual/examples/subopt.c (main): Use char **argv argument.
48936 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48938         [BZ #5077]
48939         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
48940         rounding modes.
48942 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
48944         [BZ #6907]
48945         * manual/string.texi (strchr): Change when strchrnul is
48946         recommended.
48948 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
48950         [BZ #174]
48951         * manual/locale.texi (setlocale): Document LOCPATH.
48953 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
48955         [BZ #10210]
48956         * manual/process.texi (execle): Move @dots{} before last argument.
48958 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
48960         [BZ #12047]
48961         * manual/charset.texi (Generic Charset Conversion): Fix typo
48962         (LC_TYPE -> LC_CTYPE).
48964 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
48966         [BZ #5805]
48967         * manual/arith.texi (scalbn): Use @var{} on parameter names.
48968         (scalbnf): Likewise.
48969         (scalbnl): Likewise.
48970         (scalbln): Likewise.
48971         (scalblnf): Likewise.
48972         (scalblnl): Likewise.
48973         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
48974         (vwarnx): Likewise.
48975         (verr): Likewise.
48976         (verrx): Likewise.
48977         * manual/filesys.texi (telldir): Use braces around return type.
48978         * manual/llio.texi (mmap): Add space after comma.
48979         (mmap64): Likewise.
48980         * manual/math.texi (jn): Use @var{} on parameter names.
48981         (jnf): Likewise.
48982         (jnl): Likewise.
48983         (yn): Likewise.
48984         (ynf): Likewise.
48985         (ynl): Likewise.
48986         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
48987         line.
48988         * manual/resource.texi (ulimit): Use @dots{} instead of literal
48989         "...".
48990         (sched_get_priority_min): Remove semicolon on @deftypefun line.
48991         (sched_get_priority_max): Likewise.
48992         * manual/signal.texi (sigvec): Add space after comma.
48993         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
48994         names.
48995         (if_indextoname): Likewise.
48996         (if_freenameindex): Likewise.
48997         (sendto): Use ',' instead of '.' in prototype.
48998         * manual/startup.texi (syscall): Use @dots{} instead of literal
48999         "...".
49000         * manual/stdio.texi (__fpending): Separate initial words of
49001         paragraph from @deftypefun line.
49002         * manual/syslog.texi (syslog): Use @dots{} instead of literal
49003         "...".
49004         (vsyslog): Use @var{} on parameter names.
49005         * manual/terminal.texi (stty): Use @var{} on parameter names.
49006         * manual/users.texi (getutmp): Use @var{} on parameter names.
49007         (getutmpx): Likewise.
49009 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49011         [BZ #6884]
49012         * manual/stdio.texi (fopen): Fix typos in description of
49013         ",ccs=STRING".
49015 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
49017         [BZ #4026]
49018         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
49019         get clock_id definition.
49021 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
49023         [BZ #4822]
49024         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
49025         (madvise): Cast every argument to void on its own.
49027 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49029         [BZ #9902]
49030         * manual/startup.texi (Exit Status): Fix typo.
49032 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
49034         [BZ #10140]
49035         * manual/examples/argp-ex1.c: Include <stdlib.h>.
49036         * manual/examples/argp-ex2.c: Likewise.
49037         * manual/examples/argp-ex3.c: Likewise.
49039 2012-02-16  Richard Henderson  <rth@redhat.com>
49041         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
49042         * sysdeps/s390/s390-32/initfini.c: Remove.
49043         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
49044         * sysdeps/s390/s390-64/initfini.c: Remove.
49046 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
49048         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
49049         compiler output for sysdeps/generic/initfini.c.
49050         * sysdeps/sh/elf/initfini.c: Remove file.
49052 2012-02-16  David S. Miller  <davem@davemloft.net>
49054         [BZ #11494]
49055         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
49057         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
49058         * sysdeps/sparc/crti.S: New file.
49059         * sysdeps/sparc/crtn.S: New file.
49060         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
49061         * sysdeps/sparc/sparc64/Makefile: Likewise.
49063 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
49065         [BZ #3335]
49066         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
49068 2012-02-15  Roland McGrath  <roland@hack.frob.com>
49070         [BZ #4822]
49071         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
49073         * mach/devstream.c (cookie_io_functions_t): Macro removed.
49074         (write, read, close): Likewise.
49075         Patch by Aurelien Jarno <aurelien@aurel32.net>.
49077 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
49079         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
49080         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
49081         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
49082         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
49083         <bits/signalfd.h>.
49084         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
49085         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49086         bits/signalfd.h.
49088 2012-02-14  Marek Polacek  <polacek@redhat.com>
49090         * sysdeps/x86_64/crti.S: New file.
49091         * sysdeps/x86_64/crtn.S: New file.
49092         * sysdeps/x86_64/elf/initfini.c: Remove file.
49094 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
49096         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
49097         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
49098         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
49099         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
49100         <bits/inotify.h>.
49101         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
49102         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49103         bits/inotify.h.
49105 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
49107         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
49108         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
49109         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
49110         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
49111         <bits/eventfd.h>.
49112         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
49113         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
49114         bits/eventfd.h.
49116 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
49118         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
49119         __feraiseexcept instead of feraiseexcept.
49121         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
49122         nanosleep invocations.
49123         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
49124         strings, and add error checking for a nanosleep invocations.
49126 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
49128         Replace FSF snail mail address with URLs, as per GNU coding standards.
49129         Most of the snail mail addresses were wrong anyway, and omitting
49130         them makes the source code easier to maintain.  Almost all of the
49131         changes are to license notices and to locale LC_IDENTIFICATION
49132         addresses, except for this one:
49133         * manual/libc.texinfo: In "Published by", give the FSF's URL,
49134         not its snail mail address.
49136 2012-02-09  Richard Henderson  <rth@twiddle.net>
49138         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
49139         of kernel-features.h.
49141         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
49143 2012-02-08  Marek Polacek  <polacek@redhat.com>
49145         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
49146         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
49147         * sysdeps/gnu/_G_config.h: Likewise.
49148         * sysdeps/generic/_G_config.h: Likewise.
49150 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
49152         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
49153         tests.
49154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49156         * sysdeps/powerpc/powerpc32/crti.S: New file.
49157         * sysdeps/powerpc/powerpc32/crtn.S: New file.
49158         * sysdeps/powerpc/powerpc64/crti.S: New file.
49159         * sysdeps/powerpc/powerpc64/crtn.S: New file.
49161         * Makeconfig (have-initfini): Don't set.
49162         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
49163         * configure.in (nopic_initfini): Don't substitute.
49164         * config.h.in (HAVE_INITFINI): Don't #undef.
49165         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
49166         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
49168 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
49170         Support crti.S and crtn.S provided directly by architectures.
49171         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
49172         [crti.S in sysdirs] (omit-deps): Likewise.
49173         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
49174         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
49175         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
49176         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
49177         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
49178         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
49179         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
49180         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
49181         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
49182         compiler output for sysdeps/generic/initfini.c.
49183         * sysdeps/i386/elf/Makefile: Remove file.
49184         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
49186 2012-02-07  Marek Polacek  <polacek@redhat.com>
49188         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
49189         * sysdeps/gnu/_G_config.h: Likewise.
49190         * sysdeps/mach/hurd/_G_config.h: Likewise.
49192 2012-02-07  Marek Polacek  <polacek@redhat.com>
49194         * math/Makefile (tests): Add tst-CMPLX2.
49195         * math/tst-CMPLX2.c: New file.
49197 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
49199         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49201         * math/libm-test.inc (jn_test): Add missing L suffix.
49203 2012-02-06  Marek Polacek  <polacek@redhat.com>
49205         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
49206         * sysdeps/i386/fpu/e_powf.S: Likewise.
49207         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49208         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
49209         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49210         * sysdeps/i386/fpu/e_pow.S: Likewise.
49211         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
49212         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49213         * sysdeps/i386/fpu/s_expm1.S: Likewise.
49214         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
49215         * sysdeps/i386/fpu/e_log2.S: Likewise.
49216         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49217         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49218         * sysdeps/i386/fpu/e_powl.S: Likewise.
49219         * sysdeps/i386/fpu/s_log1p.S: Likewise.
49220         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49221         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
49222         * sysdeps/i386/fpu/e_logl.S: Likewise.
49223         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
49224         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
49225         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
49226         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
49227         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49228         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49229         * sysdeps/i386/fpu/e_log.S: Likewise.
49230         * sysdeps/i386/fpu/s_cexp.S: Likewise.
49231         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49232         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
49233         * sysdeps/i386/fpu/e_logf.S: Likewise.
49234         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49235         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49236         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
49237         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
49238         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
49239         * sysdeps/i386/fpu/e_log10.S: Likewise.
49240         * sysdeps/i386/fpu/s_frexp.S: Likewise.
49241         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49242         * sysdeps/i386/fpu/s_asinh.S: Likewise.
49243         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
49244         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49245         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
49246         * sysdeps/i386/asm-syntax.h: Likewise.
49247         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49248         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49249         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49250         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
49251         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
49252         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49253         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
49254         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
49255         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49256         * sysdeps/powerpc/sysdep.h: Likewise.
49257         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
49258         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
49260 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49262         [BZ #411]
49263         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
49265 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
49267         * sysdeps/i386/sysdep.h: Include <features.h>.
49268         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
49269         version.
49271 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
49273         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
49274         Define.
49275         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
49276         LOAD_PIC_REG_STR.
49278 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49280         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
49281         (SETUP_PIC_REG): Use GET_PC_THUNK.
49282         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
49283         macro.
49285 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49287         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
49288         for non-PIC compilation.
49289         (SETUP_PIC_REG): Add .p2align directive.
49290         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
49291         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
49292         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
49293         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
49294         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
49295         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
49296         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
49297         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
49298         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
49299         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
49300         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
49301         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
49302         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
49303         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
49304         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
49305         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
49306         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
49307         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
49308         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
49309         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
49310         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
49311         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
49312         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
49313         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
49314         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
49315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
49316         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
49317         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
49318         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
49319         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
49320         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
49321         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
49322         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
49323         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
49324         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
49325         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
49326         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
49327         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
49328         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
49329         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
49330         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
49332 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
49334         * math/tst-CMPLX.c: Include <stdio.h>.
49336 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
49338         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
49339         float.
49340         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49341         * sysdeps/sparc/bits/mathdef.h: Likewise.
49343 2012-01-31  Marek Polacek  <polacek@redhat.com>
49345         * libio/libio.h: Don't define _PARAMS.
49346         * locale/programs/config.h: Don't define PARAMS.
49347         * stdlib/strtol_l.c: Likewise.
49348         (__strtol_l): Remove PARAMS from the prototype.
49350 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
49352         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
49353         names.  Just use the correct names.  Remove unnecessary wrapper
49354         functions.
49355         * malloc/arena.c: Likewise.
49356         * malloc/hooks.c: Likewise.
49358         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
49359         ARENA_TEST says not to.  Simplify test for creation of a new arena.
49360         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
49362 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
49364         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
49365         into tail calls.
49366         (update_get_addr): New function.
49367         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
49368         GET_ADDR_MODULE parameter.
49370 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49372         * crypt/cert.c: Remove __STDC__ conditionals.
49373         * crypt/crypt-entry.c: Likewise.
49374         * crypt/crypt_util.c: Likewise.
49375         * libio/filedoalloc.c: Likewise.
49376         * libio/fileops.c: Likewise.
49377         * libio/genops.c: Likewise.
49378         * libio/iofclose.c: Likewise.
49379         * libio/iofdopen.c: Likewise.
49380         * libio/iofopen.c: Likewise.
49381         * libio/iofopen64.c: Likewise.
49382         * libio/iogetdelim.c: Likewise.
49383         * libio/iopopen.c: Likewise.
49384         * libio/obprintf.c: Likewise.
49385         * libio/oldfileops.c: Likewise.
49386         * libio/oldiofclose.c: Likewise.
49387         * libio/oldiofdopen.c: Likewise.
49388         * libio/oldiofopen.c: Likewise.
49389         * libio/oldiopopen.c: Likewise.
49390         * libio/wfiledoalloc.c: Likewise.
49391         * libio/wgenops.c: Likewise.
49392         * locale/programs/xmalloc.c: Likewise.
49393         * misc/syslog.c: Likewise.
49394         * stdio-common/xbug.c: Likewise.
49395         * string/memchr.c: Likewise.
49396         * string/memcmp.c: Likewise.
49397         * string/memrchr.c: Likewise.
49398         * string/rawmemchr.c: Likewise.
49399         * sysdeps/posix/getcwd.c: Likewise.
49400         * time/strftime_l.c: Likewise.
49402 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
49404         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
49405         * config.make.in (config-cflags-sse2avx): Define.
49406         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
49407         Fix typo.
49409 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
49411         * scripts/config.guess: Update from upstream config git repository.
49412         * scripts/config.sub: Likewise.
49414 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
49416         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
49417         (EM_NUM): Update.
49418         (R_TILEPRO_*, R_TILEGX_*): New macros.
49420         * scripts/firstversions.awk: Fix bug in version range handling.
49422         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
49424         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
49426         * include/sys/epoll.h: New file.
49427         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
49428         libc_hidden_def.
49430 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
49432         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
49433         Avoid unnecessary __WORDSIZE == 64 test.
49434         (fmaxf): Use VEX format if possible.
49435         (fmax): Likewise.
49436         (fminf): Likewise.
49437         (fmin): Likewise.
49439         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
49440         * math/math_private.h: Remove libc_fegetround* and
49441         libc_fesetround*.
49442         * sysdeps/i386/configure.in: Check for -msse2avx.
49443         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
49444         also if SSE2AVX is defined.
49445         Remove libc_fegetround* and libc_fesetround*.
49446         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
49447         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
49448         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
49449         of HAS_YMM_USABLE.
49450         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49451         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49452         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49453         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49454         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49456         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
49458 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49460         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
49461         size is not set.
49462         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
49464 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
49466         [BZ #13618]
49467         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
49468         relocation.
49469         * Makeconfig (libm): Define.
49470         * elf/Makefile: Add rules to build and run tst-relsort1.
49471         * elf/tst-relsort1.c: New file.
49472         * elf/tst-relsort1mod1.c: New file.
49473         * elf/tst-relsort1mod2.c: New file.
49475 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
49477         * math/s_ldexp.c: Remove __STDC__ conditionals.
49478         * math/s_ldexpf.c: Likewise.
49479         * math/s_ldexpl.c: Likewise.
49480         * math/s_nextafter.c: Likewise.
49481         * math/s_nexttowardf.c: Likewise.
49482         * math/s_significand.c: Likewise.
49483         * math/s_significandf.c: Likewise.
49484         * math/s_significandl.c: Likewise.
49485         * math/w_jnl.c: Likewise.
49486         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
49487         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
49488         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
49489         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
49490         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
49491         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
49492         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
49493         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
49494         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
49495         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
49496         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
49497         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49498         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
49499         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
49500         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
49501         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
49502         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
49503         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
49504         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
49505         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49506         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49507         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
49508         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
49509         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
49510         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
49511         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
49512         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
49513         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
49514         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
49515         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
49516         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
49517         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
49518         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
49519         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
49520         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
49521         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
49522         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
49523         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
49524         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
49525         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
49526         * sysdeps/ieee754/k_standard.c: Likewise.
49527         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49528         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
49529         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
49530         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
49531         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
49532         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
49533         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
49534         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
49535         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
49536         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
49537         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
49538         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
49539         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
49540         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
49541         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
49542         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
49543         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
49544         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
49545         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
49546         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
49547         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
49548         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
49549         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
49550         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
49551         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
49552         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
49553         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49554         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49555         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
49556         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
49557         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
49558         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
49559         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
49560         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
49561         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
49562         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
49563         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
49564         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
49565         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
49566         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
49567         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
49568         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
49569         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
49570         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
49571         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
49572         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
49573         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
49574         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
49575         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
49576         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
49577         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
49578         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
49579         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
49580         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
49581         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
49582         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
49583         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
49584         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49585         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49586         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49587         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
49588         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
49589         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
49590         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
49591         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
49592         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
49593         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
49594         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
49595         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
49596         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
49597         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
49598         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
49599         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
49600         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
49601         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
49602         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
49603         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
49604         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
49605         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
49606         * sysdeps/ieee754/s_matherr.c: Likewise.
49607         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
49608         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49609         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49610         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49612 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49614         * crypt/md5.h: Remove __STDC__ conditionals.
49615         * libio/libioP.h: Likewise.
49616         * locale/programs/config.h: Likewise.
49617         * sysdeps/generic/sysdep.h: Likewise.
49618         * sysdeps/i386/asm-syntax.h: Likewise.
49619         * sysdeps/s390/asm-syntax.h: Likewise.
49620         * sysdeps/unix/sysdep.h: Likewise.
49621         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
49622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
49624 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
49626         * libio/libio.h: Remove __STDC__ conditionals.
49627         * malloc/obstack.h: Likewise.
49628         * math/complex.h: Likewise.
49629         * math/math.h: Likewise.
49630         * sysdeps/generic/_G_config.h: Likewise.
49631         * sysdeps/gnu/_G_config.h: Likewise.
49632         * sysdeps/mach/hurd/_G_config.h: Likewise.
49633         * sysdeps/powerpc/bits/mathdef.h: Likewise.
49634         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
49635         * sysdeps/sparc/bits/mathdef.h: Likewise.
49637 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
49639         [BZ #13583]
49640         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
49641         Clean up HAS_* macros.
49642         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
49643         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
49644         possible.
49645         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
49646         HAS_AVX.
49647         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
49648         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
49649         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
49650         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
49651         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
49653 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
49655         * elf/tst-unique3.cc (gets): Remove declaration.
49656         * elf/tst-unique3lib.cc (gets): Likewise.
49657         * elf/tst-unique3lib2.cc (gets): Likewise.
49658         * elf/tst-unique4.cc (gets): Likewise.
49660 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
49662         * include/stdio.h: Add C++ protection.  Add gets declarations and
49663         definitions.
49664         * debug/tst-chk1.c: Don't declare gets here.
49665         * stdio-common/tst-gets.c: Likewise.
49667 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49669         * posix/glob: Remove directory.
49671 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
49673         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
49675 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
49677         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
49678         of the non-standard EPFNOSUPPORT.
49680 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
49682         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
49683         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
49684         ANYWHERE set to 1 only on KERN_NO_SPACE error.
49686 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
49688         * wcsmbs/uchar.h: Test __STDC_VERSION__.
49690 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
49692         * nscd/aicache.c (addhstaiX): Do not cache negative results of
49693         transient errors.
49694         * nscd/grpcache.c (cache_addgr): Likewise.
49695         * nscd/hstcache.c (cache_addhst): Likewise.
49696         * nscd/initgrcache.c (addinitgroupsX): Likewise.
49697         * nscd/pwdcache.c (cache_addpw): Likewise.
49698         * nscd/servicescache.c (cache_addserv): Likewise.
49700 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
49702         * malloc/malloc.c: Various cleanups.
49703         * malloc/hooks.c: Likewise.
49705         * stdlib/Makefile (tests): Add bug-fmtmsg1.
49706         * stdlib/bug-fmtmsg1.c: New file.
49708         * stdlib/fmtmsg.c (init): Add missing unlock.
49709         Patch by Peng Haitao <penght@cn.fujitsu.com>.
49711 2012-01-12  Marek Polacek  <polacek@redhat.com>
49713         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
49714         and _GNU_SOURCE.
49716 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
49718         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
49719         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
49720         macro to ensure uniqueness of label name.
49721         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
49722         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
49724 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
49726         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
49728         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
49729         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
49730         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
49731         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
49733 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
49735         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
49737         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
49738         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
49739         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
49741         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
49743         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
49744         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
49745         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
49746         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
49748         * math/bits/math-finite.h: Add ldexp support.
49750 2012-01-10  Marek Polacek  <polacek@redhat.com>
49752         * locale/programs/localedef.h (show_archive_content): Add noreturn
49753         attribute.
49755 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
49757         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
49759 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49761         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
49763         * io/Makefile (headers): Add bits/poll2.h.
49765 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
49767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
49768         typo #include statement.
49770 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49772         * include/sys/cdefs.h: Define __attribute_alloc_size.
49773         * catgets/gencat.c: Add alloc_size attribute and apply consistently
49774         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
49775         * elf/pldd.c: Likewise.
49776         * iconv/iconv_charmap.c: Likewise.
49777         * iconv/iconvconfig.c: Likewise.
49778         * iconv/strtab.c: Likewise.
49779         * locale/programs/locale.c: Likewise.
49780         * locale/programs/localedef.h: Likewise.
49781         * locale/programs/simple-hash.c: Likewise.
49782         * nscd/nscd.h: Likewise.
49783         * nss/makedb.c: Likewise.
49784         * sysdeps/generic/ldconfig.h: Likewise.
49785         * locale/programs/localedef.c: Remove xmalloc prototype.
49786         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
49788 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
49790         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
49791         appropriate.
49793 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
49795         * math/Makefile (tests): Add tst-CMPLX.
49796         * math/tst-CMPLX.c: New file.
49798         * math/complex.h (CMPLXL): Fix typo.
49800         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
49801         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
49802         GLIBC_2.16.
49803         * debug/tst-chk1.c: Add poll and ppoll tests.
49804         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
49805         * include/sys/poll.h: Add hidden proto for ppoll.
49806         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
49807         * sysdeps/mach/hurd/ppoll.c: Likewise.
49808         * io/ppoll.c: Likewise.
49809         * debug/poll_chk.c: New file.
49810         * debug/ppoll_chk.c: New file.
49811         * include/bits/poll2.h: New file.
49812         * io/bits/poll2.h: New file.
49814         [BZ #1350]
49815         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
49817         * configure.in: static is always set to yes.  Remove.
49818         * config.make.in: Don't set build-static.
49819         * Makeconfig: Remove use of build-static.
49820         * dlfcn/Makefile: Likewise.
49821         * elf/Makefile: Likewise.
49822         * math/Makefile: Likewise.
49823         * misc/Makefile: Likewise.
49824         * nptl/Makefile: Likewise.
49825         * sysdeps/mach/hurd/Makefile: Likewise.
49827         * configure.in: PWD_P is not used anymore.
49828         * config.make.in: Remove PWD_P entry.
49830         * configure.in: Remove last remnants of RANLIB.
49831         No need to check for signed size_t anymore.
49832         Don't set libc_commonpagesize and libc_relro_required here for Alpha
49833         and IA-64.
49834         Remove __builtin_expect test because we require at least gcc 3.4.
49835         * aclocal.m4: Likewise.
49837         * wcsmbs/mbrtoc16.c: Implement using towc function.
49838         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
49839         * wcsmbs/wcsmbsload.c: Likewise.
49840         * iconv/gconv_simple.c: Likewise.
49841         * iconv/gconv_int.h: Likewise.
49842         * iconv/gconv_builtin.h: Likewise.
49843         * iconv/iconv_prog.c: Remove CHAR16 handling.
49845         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
49847         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
49849         * configure.in: Remove --with-elf and --enable-bounded options.
49850         Dont set base_machine for ia64.  More non-ELF conditions removed.
49851         Remove testing and setting of leading underscore information.
49852         * config.make.in (build-bounded): Set to no.
49853         * config.h.in: Remove NO_UNDERSCORES entry.
49854         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
49855         them.
49856         * csu/start.c: Remove !NO_UNDERSCORE code.
49857         * locale/localeinfo.h: Likewise.
49858         * sysdeps/generic/machine-gmon.h: Likewise.
49859         * sysdeps/generic/sysdep.h: Likewise.
49860         * sysdeps/i386/sysdep.h: Likewise.
49861         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
49862         * sysdeps/mach/sysdep.h: Likewise.
49863         * sysdeps/s390/s390-32/sysdep.h: Likewise.
49864         * sysdeps/s390/s390-64/sysdep.h: Likewise.
49865         * sysdeps/sh/sysdep.h: Likewise.
49866         * sysdeps/sparc/sparc32/alloca.S: Likewise.
49867         * sysdeps/unix/i386/sysdep.S: Likewise.
49868         * sysdeps/unix/sparc/start.c: Likewise.
49869         * sysdeps/unix/sparc/sysdep.S: Likewise.
49870         * sysdeps/unix/sparc/sysdep.h: Likewise.
49871         * sysdeps/unix/start.c: Likewise.
49872         * sysdeps/unix/x86_64/sysdep.S: Likewise.
49873         * sysdeps/x86_64/sysdep.h: Likewise.
49875 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
49877         [BZ #13553]
49878         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
49879         for non-gcc.
49880         * argp/argp-fmtstream.h: Use const instead __const.
49881         * argp/argp.h: Likewise.
49882         * assert/assert.h: Likewise.
49883         * bits/fenv.h: Likewise.
49884         * bits/sched.h: Likewise.
49885         * bits/sigset.h: Likewise.
49886         * bits/sigthread.h: Likewise.
49887         * catgets/nl_types.h: Likewise.
49888         * conform/data/pthread.h-data: Likewise.
49889         * crypt/crypt-private.h: Likewise.
49890         * crypt/crypt.h: Likewise.
49891         * crypt/crypt_util.c: Likewise.
49892         * ctype/ctype.h: Likewise.
49893         * debug/execinfo.h: Likewise.
49894         * debug/mbsnrtowcs_chk.c: Likewise.
49895         * debug/mbsrtowcs_chk.c: Likewise.
49896         * debug/wcsnrtombs_chk.c: Likewise.
49897         * debug/wcsrtombs_chk.c: Likewise.
49898         * debug/wcstombs_chk.c: Likewise.
49899         * dirent/dirent.h: Likewise.
49900         * dlfcn/dlfcn.h: Likewise.
49901         * elf/neededtest4.c: Likewise.
49902         * grp/grp.h: Likewise.
49903         * gshadow/gshadow.h: Likewise.
49904         * iconv/gconv.h: Likewise.
49905         * iconv/gconv_int.h: Likewise.
49906         * iconv/gconv_simple.c: Likewise.
49907         * iconv/iconv.h: Likewise.
49908         * iconv/loop.c: Likewise.
49909         * iconv/skeleton.c: Likewise.
49910         * include/aio.h: Likewise.
49911         * include/aliases.h: Likewise.
49912         * include/argz.h: Likewise.
49913         * include/arpa/inet.h: Likewise.
49914         * include/assert.h: Likewise.
49915         * include/dirent.h: Likewise.
49916         * include/dlfcn.h: Likewise.
49917         * include/execinfo.h: Likewise.
49918         * include/fcntl.h: Likewise.
49919         * include/fenv.h: Likewise.
49920         * include/glob.h: Likewise.
49921         * include/grp.h: Likewise.
49922         * include/libintl.h: Likewise.
49923         * include/mntent.h: Likewise.
49924         * include/netdb.h: Likewise.
49925         * include/pwd.h: Likewise.
49926         * include/rpc/netdb.h: Likewise.
49927         * include/sched.h: Likewise.
49928         * include/search.h: Likewise.
49929         * include/shadow.h: Likewise.
49930         * include/signal.h: Likewise.
49931         * include/stdio.h: Likewise.
49932         * include/stdlib.h: Likewise.
49933         * include/string.h: Likewise.
49934         * include/sys/socket.h: Likewise.
49935         * include/sys/stat.h: Likewise.
49936         * include/sys/statfs.h: Likewise.
49937         * include/sys/statvfs.h: Likewise.
49938         * include/sys/syslog.h: Likewise.
49939         * include/sys/time.h: Likewise.
49940         * include/sys/uio.h: Likewise.
49941         * include/time.h: Likewise.
49942         * include/unistd.h: Likewise.
49943         * include/utmp.h: Likewise.
49944         * include/wchar.h: Likewise.
49945         * include/wctype.h: Likewise.
49946         * inet/aliases.h: Likewise.
49947         * inet/arpa/inet.h: Likewise.
49948         * inet/netinet/ether.h: Likewise.
49949         * inet/netinet/in.h: Likewise.
49950         * intl/libintl.h: Likewise.
49951         * io/bits/fcntl2.h: Likewise.
49952         * io/fcntl.h: Likewise.
49953         * io/ftw.h: Likewise.
49954         * io/sys/poll.h: Likewise.
49955         * io/sys/stat.h: Likewise.
49956         * io/sys/statfs.h: Likewise.
49957         * io/sys/statvfs.h: Likewise.
49958         * io/utime.h: Likewise.
49959         * libio/bits/stdio.h: Likewise.
49960         * libio/bits/stdio2.h: Likewise.
49961         * libio/libio.h: Likewise.
49962         * libio/libioP.h: Likewise.
49963         * libio/stdio.h: Likewise.
49964         * locale/lc-ctype.c: Likewise.
49965         * locale/locale.h: Likewise.
49966         * login/utmp.h: Likewise.
49967         * malloc/arena.c: Likewise.
49968         * malloc/malloc.c: Likewise.
49969         * malloc/malloc.h: Likewise.
49970         * malloc/mcheck.c: Likewise.
49971         * malloc/mtrace.c: Likewise.
49972         * math/bits/mathcalls.h: Likewise.
49973         * math/fenv.h: Likewise.
49974         * math/math_private.h: Likewise.
49975         * misc/bits/error.h: Likewise.
49976         * misc/bits/syslog.h: Likewise.
49977         * misc/err.h: Likewise.
49978         * misc/error.h: Likewise.
49979         * misc/fstab.h: Likewise.
49980         * misc/mntent.h: Likewise.
49981         * misc/regexp.h: Likewise.
49982         * misc/search.h: Likewise.
49983         * misc/sgtty.h: Likewise.
49984         * misc/sys/mman.h: Likewise.
49985         * misc/sys/syslog.h: Likewise.
49986         * misc/sys/uio.h: Likewise.
49987         * misc/sys/xattr.h: Likewise.
49988         * misc/ttyent.h: Likewise.
49989         * nis/rpcsvc/ypclnt.h: Likewise.
49990         * nss/nss.h: Likewise.
49991         * posix/bits/unistd.h: Likewise.
49992         * posix/fnmatch.h: Likewise.
49993         * posix/glob.h: Likewise.
49994         * posix/sched.h: Likewise.
49995         * posix/spawn.h: Likewise.
49996         * posix/sys/wait.h: Likewise.
49997         * posix/unistd.h: Likewise.
49998         * posix/wordexp.h: Likewise.
49999         * pwd/pwd.h: Likewise.
50000         * resolv/netdb.h: Likewise.
50001         * resource/sys/resource.h: Likewise.
50002         * rt/aio.h: Likewise.
50003         * rt/bits/mqueue2.h: Likewise.
50004         * rt/mqueue.h: Likewise.
50005         * shadow/shadow.h: Likewise.
50006         * signal/signal.h: Likewise.
50007         * socket/send.c: Likewise.
50008         * socket/sendto.c: Likewise.
50009         * socket/sys/socket.h: Likewise.
50010         * stdio-common/printf.h: Likewise.
50011         * stdlib/bits/stdlib.h: Likewise.
50012         * stdlib/fmtmsg.h: Likewise.
50013         * stdlib/monetary.h: Likewise.
50014         * stdlib/stdlib.h: Likewise.
50015         * stdlib/ucontext.h: Likewise.
50016         * streams/stropts.h: Likewise.
50017         * string/argz.h: Likewise.
50018         * string/bits/string2.h: Likewise.
50019         * string/string.h: Likewise.
50020         * string/strings.h: Likewise.
50021         * sunrpc/rpc/auth.h: Likewise.
50022         * sunrpc/rpc/auth_des.h: Likewise.
50023         * sunrpc/rpc/clnt.h: Likewise.
50024         * sunrpc/rpc/netdb.h: Likewise.
50025         * sunrpc/rpc/pmap_clnt.h: Likewise.
50026         * sunrpc/rpc/xdr.h: Likewise.
50027         * sysdeps/generic/inttypes.h: Likewise.
50028         * sysdeps/generic/net/if.h: Likewise.
50029         * sysdeps/generic/sys/swap.h: Likewise.
50030         * sysdeps/gnu/net/if.h: Likewise.
50031         * sysdeps/gnu/utmpx.h: Likewise.
50032         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
50033         * sysdeps/i386/i486/bits/string.h: Likewise.
50034         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
50035         * sysdeps/s390/bits/string.h: Likewise.
50036         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
50037         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
50038         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
50039         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
50040         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
50041         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
50042         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
50043         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
50044         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
50045         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
50046         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
50047         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50048         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
50049         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50050         * sysdeps/unix/sysv/linux/readv.c: Likewise.
50051         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
50052         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50053         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50054         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
50055         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
50056         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50057         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
50058         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
50059         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
50060         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
50061         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
50062         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
50063         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50064         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
50065         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
50066         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
50067         * sysvipc/sys/ipc.h: Likewise.
50068         * sysvipc/sys/msg.h: Likewise.
50069         * sysvipc/sys/sem.h: Likewise.
50070         * sysvipc/sys/shm.h: Likewise.
50071         * termios/termios.h: Likewise.
50072         * time/sys/time.h: Likewise.
50073         * time/time.h: Likewise.
50074         * wcsmbs/bits/wchar2.h: Likewise.
50075         * wcsmbs/uchar.h: Likewise.
50076         * wcsmbs/wchar.h: Likewise.
50077         * wctype/wctype.h: Likewise.
50079         [BZ #13551]
50080         * Makeconfig: Remove all but ELF support including AIX support.
50081         * Makerules: Likewise.
50082         * config.h.in: Likewise.
50083         * config.make.in: Likewise.
50084         * configure: Likewise.
50085         * configure.in: Likewise.
50086         * csu/Makefile: Likewise.
50087         * csu/version.c: Likewise.
50088         * debug/Makefile: Likewise.
50089         * dlfcn/Makefile: Likewise.
50090         * elf/Makefile: Likewise.
50091         * extra-lib.mk: Likewise.
50092         * iconv/Makefile: Likewise.
50093         * include/libc-symbols.h: Likewise.
50094         * include/shlib-compat.h: Likewise.
50095         * resolv/Makefile: Likewise.
50096         * resolv/res_libc.c: Likewise.
50097         * rt/Makefile: Likewise.
50098         * sysdeps/i386/asm-syntax.h: Likewise.
50099         * sysdeps/i386/sysdep.h: Likewise.
50100         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
50101         * sysdeps/mach/sysdep.h: Likewise.
50102         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
50103         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
50104         * sysdeps/s390/asm-syntax.h: Likewise.
50105         * sysdeps/s390/s390-32/sysdep.h: Likewise.
50106         * sysdeps/s390/s390-64/sysdep.h: Likewise.
50107         * sysdeps/sh/sysdep.h: Likewise.
50108         * sysdeps/unix/sparc/sysdep.h: Likewise.
50109         * sysdeps/wordsize-32/divdi3.c: Likewise.
50110         * sysdeps/x86_64/sysdep.h: Likewise.
50112         * argp/Versions: Remove _argp_unlock_xxx.
50114         [BZ #13559]
50115         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
50116         * abilist/libBrokenLocale.abilist: Likewise.
50117         * abilist/libanl.abilist: Likewise.
50118         * abilist/libc.abilist: Likewise.
50119         * abilist/libcrypt.abilist: Likewise.
50120         * abilist/libdl.abilist: Likewise.
50121         * abilist/libm.abilist: Likewise.
50122         * abilist/libnsl.abilist: Likewise.
50123         * abilist/libpthread.abilist: Likewise.
50124         * abilist/libresolv.abilist: Likewise.
50125         * abilist/librt.abilist: Likewise.
50126         * abilist/libthread_db.abilist: Likewise.
50127         * abilist/libutil.abilist: Likewise.
50128         * abilist/libnss_db.abilist: New file.
50130         * scripts/abilist.awk: Add support for indirect functions.
50132         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
50134         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
50136         * shlib-versions: Remove entries for ports architectures.
50138         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
50139         files in ports.
50140         * elf/stackguard-macros.h: Remove support for IA-64.
50141         * elf/tst-auditmod1.c: Likewise.
50142         * sysdeps/generic/ldsodefs.h: Likewise.
50144         * sysdeps/unix/sysv/linux/configure.in: Ports should define
50145         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
50146         configure files.
50148         [BZ #13552]
50149         * configure.in: Remove --enable-omitfp support.
50150         * FAQ.in: Adjust.
50151         * config.make.in: Likewise.
50152         * Makeconfig: Likewise.
50153         * manual/install.texi: Likewise.
50155         In case anyone cares, the IA-64 architecture could move to ports.
50156         * sysdeps/ia64/*: Removed.
50157         * sysdeps/unix/sysv/linux/ia64/*: Removed.
50158         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
50160         [BZ #13555]
50161         * configure.in: Remove entries for unsupported architectures.
50163         [BZ #13533]
50164         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
50165         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
50166         routines.
50167         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
50168         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
50169         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
50170         fall back to using wcrtomb.
50171         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
50172         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
50173         renaming.
50174         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
50175         * wcsmbs/tst-c16c32-1.c: New file.
50177         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
50178         local variable.
50180         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
50182         * elf/tst-unique3.cc: Add explicit declaration of gets.
50183         * elf/tst-unique3lib.cc: Likewise.
50184         * elf/tst-unique3lib2.cc: Likewise.
50185         * elf/tst-unique4.cc: Likewise.
50187         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
50189 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
50191         [BZ #13566]
50192         * assert/assert.h (static_assert): Don't define for C++.
50193         * libio/stdio.h (gets): Do declare for C++ <= C++11.
50194         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
50196 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
50198         * iconv/loop.c (single loop): Fix assertion in storing of
50199         remaining bytes.
50201         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
50203 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
50205         * posix/getconf.c: Update copyright year.
50206         * nss/getent.c: Likewise.
50207         * nss/makedb.c: Likewise.
50208         * iconv/iconvconfig.c: Likewise.
50209         * iconv/iconv_prog.c: Likewise.
50210         * elf/ldconfig.c: Likewise.
50211         * elf/pldd.c: Likewise.
50212         * elf/sotruss.ksh: Likewise.
50213         * catgets/gencat.c: Likewise.
50214         * csu/version.c: Likewise.
50215         * elf/ldd.bash.in: Likewise.
50216         * elf/sprof.c (print_version): Likewise.
50217         * locale/programs/locale.c: Likewise.
50218         * locale/programs/localedef.c: Likewise.
50219         * login/programs/pt_chown.c: Likewise.
50220         * nscd/nscd.c (print_version): Likewise.
50221         * debug/xtrace.sh: Likewise.
50222         * malloc/memusage.sh: Likewise.
50223         * malloc/mtrace.pl: Likewise.
50224         * debug/catchsegv.sh: Likewise.
50226 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
50228         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
50229         pure attribute.
50231 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
50233         [BZ #13533]
50234         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
50235         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
50236         transformations.
50237         * iconv/gconv_int.h: Likewise.
50238         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
50239         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
50240         from libc for GLIBC_2.16.
50241         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
50242         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
50243         * wcsmbs/uchar.h: Really define mbstate_t.
50244         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
50245         * wcsmbs/c16rtomb.c: New file.
50246         * wcsmbs/mbrtoc16.c: New file.
50247         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
50248         for C/POSIX locale.
50249         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
50250         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
50252         * wcsmbs/wchar.h: Add missing __restrict.
50254 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50256         [BZ #13532]
50257         * time/Makefile (routines): Add timespec_get.
50258         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
50259         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
50260         timespec for ISO C11.
50261         * time/timespec_get.c: New file.
50262         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
50263         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
50265         [BZ #13531]
50266         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
50267         * stdlib/stdlib.h: Declare aligned_alloc.
50268         * Versions.def: Add GLIBC_2.16 for libc.
50269         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
50271         [BZ 13527]
50272         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
50273         ISO C11.
50275         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
50276         code.
50278         [BZ #13528]
50279         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
50281         [BZ #13529]
50282         * assert/assert.h (static_assert): Define.
50284         * version.h: Update for 2.16 development version.
50286         [BZ #13526]
50287         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
50288         _ISOC11_SOURCE.
50290         * version.h (RELEASE): Bump for 2.15 release.
50291         * include/features.h (__GLIBC_MINOR__): Bump to 15.
50293         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
50294         Patch by Marek Polacek <mpolacek@redhat.com>.
50296         * bits/byteswap.h: Protect long long constants with __extension__.
50297         * sysdeps/i386/bits/byteswap.h: Likewise.
50298         * sysdeps/ia64/bits/byteswap.h: Likewise.
50299         * sysdeps/s390/bits/byteswap.h: Likewise.
50300         * sysdeps/x86_64/bits/byteswap.h: Likewise.
50302 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50304         [BZ #13540]
50305         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
50306         destination buffer.
50307         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
50309 2011-12-23  Marek Polacek  <polacek@redhat.com>
50311         * elf/dl-addr.c (determine_info): Add inline keyword.
50312         * elf/tst-auditmod4b.c (check_avx): Likewise.
50313         * elf/tst-auditmod6b.c (check_avx): Likewise.
50314         * elf/tst-auditmod6c.c (check_avx): Likewise.
50315         * elf/tst-auditmod7b.c (check_avx): Likewise.
50317 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
50319         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
50320         !__SSE_MATH__.
50322 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50324         [BZ #13540]
50325         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
50326         processing for last bytes.
50328 2011-08-06  Bruno Haible  <bruno@clisp.org>
50330         [BZ #13061]
50331         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
50332         U+0385, not to U+1FEE.
50334         [BZ #13062]
50335         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
50336         entry for U+00A5 U+0301.
50338 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50340         [BZ #13166]
50341         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
50342         buffer for the output is too small.
50344         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
50345         optimization.
50347         [BZ #13185]
50348         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
50349         SSE flags if possible.
50351 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50353         [BZ #13540]
50354         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
50355         processing for last bytes.
50357 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
50359         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
50360         (syscall-list-default-options, syscall-list-default-condition)
50361         (syscall-list-includes): Define.
50362         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
50363         list of ABIs and options and #if conditions for each ABI.  Do not
50364         handle common syscalls between ABIs specially.
50365         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
50366         Remove.
50367         (syscall-list-variants, syscall-list-32bit-options)
50368         (syscall-list-32bit-condition, syscall-list-64bit-options)
50369         (syscall-list-64bit-condition): Define.
50370         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
50371         (syscall-list-variants, syscall-list-32bit-options)
50372         (syscall-list-32bit-condition, syscall-list-64bit-options)
50373         (syscall-list-64bit-condition): Define.
50374         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
50375         Remove.
50376         (syscall-list-variants, syscall-list-32bit-options)
50377         (syscall-list-32bit-condition, syscall-list-64bit-options)
50378         (syscall-list-64bit-condition): Define.
50379         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
50380         Remove.
50381         (syscall-list-variants, syscall-list-32bit-options)
50382         (syscall-list-32bit-condition, syscall-list-64bit-options)
50383         (syscall-list-64bit-condition): Define.
50385 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
50387         * locale/iso-639.def: Add brx entry.
50389         [BZ #13328]
50390         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
50391         Proposed by Mariusz_Cukr <marcukr@op.pl>.
50393         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
50394         __feraiseexcept_renamed.
50396 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50398         [BZ #13538]
50399         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
50400         EPOLLET with unsigned values.
50401         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
50402         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
50404         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
50405         to large cancellation.
50406         * math/s_cacoshf.c: Likewise.
50407         * math/s_cacoshl.c: Likewise.
50409 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
50411         [BZ #13305]
50412         [BZ #12786]
50413         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
50414         * math/s_cacoshf.c: Likewise.
50415         * math/s_cacoshl.c: Likewise.
50417 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
50419         [BZ #13439]
50420         * iconv/gconv.h: Define __GCONV_SWAP.
50421         * iconvdata/unicode.c: The swap bit must be stored in __flags.
50422         * iconvdata/utf-16.c: Likewise.
50423         * iconvdata/utf-32.c: Likewise.
50425 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
50427         [BZ #13524]
50428         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
50429         numerator after shifting it by one limb.
50431 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
50433         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
50434         under [__USE_EXTERN_INLINES].
50436 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50438         [BZ #13446]
50439         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
50441 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50443         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
50444         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
50445         optimized code.
50446         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
50447         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
50448         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
50449         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
50450         for strncasecmp/strncasecmp_l compilation.
50451         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
50452         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
50454 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
50456         [BZ #13484]
50457         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
50458         of __asm__.
50460 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
50462         [BZ #13506]
50463         * time/tzfile.c (__tzfile_read): Check values from file header.
50465 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
50467         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
50468         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
50469         * powerpc/powerpc32/dl-start.S: Likewise.
50470         * powerpc/powerpc32/elf/start.S: Likewise.
50471         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50472         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
50473         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
50474         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
50475         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
50476         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
50477         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
50478         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
50479         * powerpc/powerpc32/fpu/s_round.S: Likewise.
50480         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
50481         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
50482         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
50483         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
50484         * powerpc/powerpc32/memset.S: Likewise.
50485         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
50486         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
50487         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
50488         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
50489         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
50490         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
50491         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
50492         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
50493         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
50494         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
50495         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
50496         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
50497         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
50499 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50501         * math/libm-test.inc: Added more nearbyint tests.
50502         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
50503         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
50504         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
50505         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
50507 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
50509         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
50510         FD_CLOEXEC.
50512 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50514         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
50515         Add wcscpy-ssse3 wcscpy-c.
50516         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
50517         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
50518         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
50519         * sysdeps/x86_64/wcschr.S: New file.
50520         * sysdeps/x86_64/wcsrchr.S: New file.
50521         * string/test-strcmp.c: Remove checking of wcscmp function for
50522         wrong alignments.
50523         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
50524         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
50525         wcsrchr-sse2 wcsrchr-c.
50526         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
50527         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
50528         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
50529         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
50530         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
50531         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
50532         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
50533         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
50534         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
50535         * wcsmbc/wcschr.c (WCSCHR): New macro.
50537 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50539         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
50540         * wcsmbs/test-wcsrchr.c: New file.
50541         * string/test-strrchr.c: Add wcsrchr support.
50542         (WIDE): New macro.
50543         * wcsmbs/test-wcscpy.c: New file.
50544         * string/test-strcpy.c: Add wcscpy support.
50545         (WIDE): New macro.
50547 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
50549         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
50550         the inner loop.
50552 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
50554         [BZ #13472]
50555         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
50557 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
50559         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
50560         Minor optimizations.
50562         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
50563         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
50564         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
50566 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
50568         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
50569         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
50570         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
50571         for gcc to avoid warnings.
50572         * inet/Makefile (tests): Add tst-checks.
50573         * inet/tst-checks.c: New file.
50575         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
50576         warning.
50578         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
50579         __wmemcmp_sse2.
50581         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
50582         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
50584         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
50586 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
50588         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
50589         problem.
50591         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
50593 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
50595         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
50596         conditional on GCC version.
50597         (__arch_compare_and_exchange_val_8_acq)
50598         (__arch_compare_and_exchange_val_16_acq)
50599         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
50600         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
50601         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
50603 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
50605         * sysdeps/sh/backtrace.c: New file.
50607 2011-12-02  Andreas Schwab  <schwab@redhat.com>
50609         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
50610         parenthesis.
50612 2011-12-01  Andreas Schwab  <schwab@redhat.com>
50614         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
50615         falling back to utime.
50617 2011-11-30  Andreas Schwab  <schwab@redhat.com>
50619         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
50620         expectations for float.
50622 2011-11-29  Andreas Schwab  <schwab@redhat.com>
50624         * locale/weight.h (findidx): Add parameter len.
50625         * locale/weightwc.h (findidx): Likewise.
50626         * posix/fnmatch_loop.c (FCT): Adjust caller.
50627         * posix/regcomp.c (build_equiv_class): Likewise.
50628         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
50629         * posix/regexec.c (check_node_accept_bytes): Likewise.
50630         * string/strcoll_l.c (STRCOLL): Likewise.
50631         * string/strxfrm_l.c (STRXFRM): Likewise.
50633 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
50635         * Makefile.in: Remove CVSOPT handling.
50636         * configure.in: Remove use of AC_REVISION.
50637         * iconvdata/Makefile (distribute): No need to filter out CVS.
50638         * scripts/list-sources.sh: Remove CVS, subversion and monotone
50639         handling.
50641 2011-11-16  Andreas Schwab  <schwab@redhat.com>
50643         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
50644         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
50645         [USE_AS_STRNCASECMP_L]: Likewise.
50646         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
50647         NO_TLS_DIRECT_SEG_REFS.
50648         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
50649         Fix argument offsets for non-PIC.
50650         [USE_AS_STRNCASECMP_L]: Likewise.
50651         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
50652         NO_TLS_DIRECT_SEG_REFS.
50654 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50656         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
50657         O_CLOEXEC.
50658         * locale/loadlocale.c (_nl_load_locale): Likewise.
50660 2011-11-15  Andreas Schwab  <schwab@redhat.com>
50662         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
50663         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
50664         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
50665         (SYSCALL_GETTIME): Set errno on error.
50667         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
50668         count references to noai6ai_cached.
50670 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
50672         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
50674         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
50675         FD_CLOEXEC for /proc/self/maps.
50677         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
50678         FD_CLOEXEC for /proc/meminfo.
50680         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
50681         gai.conf.
50683         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
50684         FD_CLOEXEC for given file.
50686         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
50688         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
50689         FD_CLOEXEC for /etc/hosts.
50690         (_gethtent): Likewise.
50692         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
50694         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
50695         cancellation and set FD_CLOEXEC for /etc/netgroup.
50697         * nss/nss_files/files-key.c (search): Don't allow cancellation when
50698         reading /etc/publickey.
50700         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
50701         allow cancellation when reading /etc/group.
50703         * nss/nss_files/files-alias.c (internal_setent): Don't allow
50704         cancellation.
50705         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
50707         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
50708         when using data file.
50710         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
50712         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
50713         (write_nis_obj): Use "c" and "e" in fopen.
50715         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
50717         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
50719         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
50721         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
50723         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
50724         locale.alias.
50726         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
50728         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
50730         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
50732         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
50733         file parsing and set FD_CLOEXEC.
50735 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50737         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
50739 2011-11-14  Andreas Schwab  <schwab@redhat.com>
50741         * malloc/arena.c (arena_get2): Don't call reused_arena when
50742         _int_new_arena failed.
50744 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
50746         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
50747         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
50748         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
50749         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
50750         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
50751         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
50752         to compile strcasecmp and strncasecmp.
50753         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
50754         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
50756         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
50758 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
50760         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
50761         locale-defines.sym to gen-as-const-headers.
50762         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
50763         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
50764         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
50765         to compile strcasecmp and strncasecmp.
50766         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
50767         strcasecmp_l and strncasecmp_l.
50768         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
50769         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
50770         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
50771         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
50772         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
50773         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
50774         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
50775         * sysdeps/i386/i686/multiarch/strncase.S: New file.
50776         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
50777         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
50778         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
50780 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
50782         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
50783         result of SYSDEP_GETTIME_CPU to retval.
50784         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
50785         parameter list to macro.  Remove trailing semicolon.  Adjust users.
50787         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
50788         variable.
50790         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
50791         mantissa words.
50792         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
50794         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
50795         from unused variable.
50797         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
50798         DWARF definitions.
50799         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
50800         for assembling.
50802         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
50803         over namespaces.
50805         * sunrpc/rpc_prot.c (rejected): Fix case value.
50807         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
50808         unsigned long long int to avoid warnings in shift.
50810         * posix/regex_internal.c (re_string_reconstruct): Actually use result
50811         of use of trans.
50812         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
50813         variable tmp.
50815         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
50816         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
50817         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
50819         * nis/nis_table.c (nis_list): Use variable of correct type for
50820         result of __follow_path call.
50822 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50824         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
50825         of math functions ceil, trunc, floor, round, and sqrt, when
50826         avaliable on the platform.
50827         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
50828         name clash.
50829         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50830         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
50831         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
50833 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
50835         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
50836         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
50838 2011-11-11  Roland McGrath  <roland@hack.frob.com>
50840         * include/unistd.h: Fix __readlink return type.
50841         Reported by Chris Metcalf <cmetcalf@tilera.com>.
50843 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
50845         * stdlib/ucontext.h: Undo last change for makecontext.
50847 2011-11-11  Andreas Schwab  <schwab@redhat.com>
50849         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
50851         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
50852         * setjmp/setjmp.h: Mark functions as non-leaf.
50853         * setjmp/bits/setjmp2.h: Likewise.
50854         * stdlib/ucontext.h: Likewise.
50856 2011-11-10  Andreas Schwab  <schwab@redhat.com>
50858         * malloc/arena.c (_int_new_arena): Don't increment narenas.
50859         (reused_arena): Don't check arena limit.
50860         (arena_get2): Atomically check arena limit.
50862 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
50864         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
50865         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
50867         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
50868         instructions.
50870 2011-11-07  Andreas Schwab  <schwab@redhat.com>
50872         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
50873         handler when locking.
50875         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50876         Fix size of allocated buffer.
50878 2011-11-04  Andreas Schwab  <schwab@redhat.com>
50880         [BZ #10103]
50881         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
50882         declarations for long double functions.
50883         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
50885         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
50887 2011-11-03  Andreas Schwab  <schwab@redhat.com>
50889         * nscd/nscd.c (main): Don't start AVC thread until credentials are
50890         installed.
50892         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
50893         is disabled.
50895 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50897         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
50899 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
50901         * include/alloca.h (stackinfo_alloca_round): Define.
50902         (extend_alloca): Use it.
50903         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
50904         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
50905         here.
50907         * scripts/check-local-headers.sh: Ignore libaudit.h.
50909         * nscd/Makefile (extra-objs): Make recursively expanded.
50911 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
50913         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
50914         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
50916         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
50917         * posix/tst-rfc3484-2.c: Likewise.
50918         * posix/tst-rfc3484-3.c: Likewise.
50920         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
50921         process_vm_writev.
50922         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
50923         process_vm_writev.
50924         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
50925         process_vm_writev from libc using GLIBC_2.15 version.
50927         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
50929 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
50931         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
50932         stack usage.
50934 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
50936         [BZ #13367]
50937         * nss/getent.c (initgroups_keys): Show error message in case no group
50938         names are given.
50940         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
50941         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
50942         __bump_nl_timestamp.
50943         * nscd/connections (nscd_init): When host database is served open
50944         netlink socket and request notification about configuration changes.
50945         (main_loop_poll): Track netlink file descriptor and bump timestamp
50946         in case data becomes available.
50947         (main_loop_epoll): Likewise.
50948         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
50949         (database_pers_head): Add extra_data fileds.
50950         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
50951         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
50952         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
50953         Adjust caller.
50954         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
50955         in6ai data, call __free_in6ai.
50956         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
50957         Add -DHAVE_NETLINK.
50958         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
50959         interface information.  Reuse previous data if netlink timestamp
50960         is not changed.
50961         (__bump_nl_timestamp): New function.
50962         (__free_in6ai): New function.
50964 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
50966         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
50967         close_not_cancel_no_status here.
50968         (__check_pf): Reorganize code a bit to not call close twice if OOM.
50970 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50972         [BZ #13276]
50973         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
50974         return value.
50976         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
50977         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
50978         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
50980 2011-07-03  Andreas Jaeger  <aj@suse.de>
50982         [BZ #10709]
50983         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
50984         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
50985         * math/libm-test.inc (sin_test): Add test case.
50987 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
50989         [BZ #13337]
50990         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
50991         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
50993         * elf/chroot_canon.c (chroot_canon): Cleanups.
50995         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
50997         [BZ #13335]
50998         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
50999         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
51001         * string/test-strchr.c: Make usable for strchrnul testing.
51002         * string/test-strchrnul.c: New file.
51003         * string/Makefile (strop-tests): Add strchrnul.
51005         * po/it.po: Update from translation team.
51006         * po/es.po: Likewise.
51008 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
51010         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
51011         the three constants needed as parameters.  Drop the others.
51012         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
51013         __m128i_strloadu_tolower.
51014         Create and initialize variable zero and use it in all the places
51015         where _mm_setzero_si128 was used.
51017         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
51018         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
51019         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
51020         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
51021         anymore.
51022         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
51023         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
51024         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
51025         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
51026         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
51027         __mpranred, __mptan.
51028         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
51029         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
51030         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
51031         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
51032         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
51033         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
51034         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
51035         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
51036         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
51038 2011-10-28  Andreas Schwab  <schwab@redhat.com>
51040         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
51041         redefine if SHARED.
51042         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
51044         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
51045         wide char related routines to wcsmbs subdir.
51047 2011-10-27  Andreas Schwab  <schwab@redhat.com>
51049         [BZ #13344]
51050         * misc/sys/cdefs.h (__THROWNL): Define.
51051         * posix/unistd.h: Use __THREADNL instead of __THREAD
51052         for memory synchronization functions.
51054 2011-10-26  Roland McGrath  <roland@hack.frob.com>
51056         [BZ #13349]
51057         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
51058         doesn't exist.
51059         * manual/stdio.texi (Obstack Streams): Node removed.
51061 2011-10-26  Andreas Schwab  <schwab@redhat.com>
51063         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
51064         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51065         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51067         * math/math_private.h (math_force_eval): Allow non-addressable
51068         arguments.
51069         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
51071 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51073         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
51074         file is not needed.
51076         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
51077         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
51078         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
51079         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
51080         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
51081         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
51082         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
51083         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
51084         Add AVX variants.
51085         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
51086         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
51087         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
51088         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
51089         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
51090         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
51091         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
51092         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
51093         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
51094         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
51095         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
51096         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
51097         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
51098         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
51099         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
51100         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
51101         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
51102         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
51103         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
51105         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
51106         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
51108         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
51109         place.  Use VEX encoding when compiling for AVX.
51111 2011-10-25  Andreas Schwab  <schwab@redhat.com>
51113         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
51114         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
51116         * string/test-strchr.c (do_test): Don't generate NUL bytes.
51118 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51120         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
51121         useless if() expression.
51122         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51123         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51124         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51125         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51126         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51127         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
51128         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51129         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51130         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
51131         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51132         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51133         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51134         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
51135         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51136         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
51137         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
51138         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51139         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51140         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
51142         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
51144 2011-10-25  Andreas Schwab  <schwab@redhat.com>
51146         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
51147         condition.
51148         * elf/dl-fini.c (_dl_sort_fini): Likewise.
51150 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
51152         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
51153         .text section.  Avoid duplicate constants.
51154         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
51155         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51156         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51157         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51158         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51159         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51160         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51161         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51162         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51163         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
51164         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51165         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
51166         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
51167         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
51168         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
51169         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
51170         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
51171         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51172         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51173         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51174         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
51175         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
51176         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
51177         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
51178         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
51179         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
51180         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
51181         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
51182         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
51183         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
51184         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
51185         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
51186         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
51187         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
51188         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
51189         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
51190         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
51191         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
51192         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
51193         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
51194         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
51195         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
51196         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
51197         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
51198         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
51200 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
51202         * sysdeps/x86_64/dla.h: Move to ...
51203         * sysdeps/x86_64/fpu/dla.h: ...here.
51204         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
51205         situations.  Use __builtin_fma only for gcc 4.6 and up.
51207         * config.make.in: Add have-mfma4 entry.
51208         * configure.in: Substitute libc_cv_cc_fma4.
51209         * math/Makefile (dbl-only-routines): Add sincostab.
51210         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
51211         Use __sincostab not sincos.
51212         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
51213         name is a macro.
51214         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51215         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51216         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51217         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
51218         using __copysign.
51219         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
51220         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
51221         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
51222         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
51223         and __inv.
51224         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
51225         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
51226         __copysign.
51227         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
51228         define aliases when function name is a macro.
51229         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
51230         sysdeps/ieee754/dbl-64/sincos.tbl.
51231         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
51232         fma4-enabled routines.
51233         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
51234         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
51235         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
51236         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
51237         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
51238         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
51239         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
51240         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
51241         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
51242         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
51243         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
51244         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
51245         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
51246         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
51247         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
51248         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
51249         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
51250         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
51251         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
51252         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
51253         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
51254         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
51255         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
51256         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
51257         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
51258         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
51259         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
51260         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
51261         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
51262         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
51264         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
51265         rename.
51266         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51267         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51268         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51269         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51270         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51271         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51272         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51273         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51275 2011-10-24  Andreas Schwab  <schwab@redhat.com>
51277         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
51279 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51281         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
51283         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
51284         prediction.
51285         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
51287         * string/strnlen.c: Don't define STRNLEN, reverse logic.
51288         Remove unused variable magic_bits.
51289         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
51291         * string/strnlen.c: Define and use STRNLEN macro.
51292         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
51293         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
51294         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
51295         * wcsmbs/wcslen.c: Define and use WCSLEN.
51296         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
51297         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
51298         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
51299         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
51300         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
51301         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
51302         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
51304 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51306         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51307         strnlen-sse2-no-bsf.
51308         Rename strlen-no-bsf to strlen-sse2-no-bsf.
51309         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
51310         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
51311         Add strnlen support.
51312         (USE_AS_STRNLEN): New macro.
51313         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
51314         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
51315         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
51316         * sysdeps/x86_64/wcslen.S: New file.
51318 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
51320         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
51321         XMM-moves are used for copying on small sizes.
51323 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51325         * wcsmbs/Makefile (strop-tests): Add wcschr.
51326         * wcsmbs/test-wcschr.c: New file.
51327         * string/test-strchr.c: Update.
51328         Add wcschr support.
51329         (WIDE): New macro.
51331 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51333         * wcsmbs/Makefile (strop-tests): Add wcslen.
51334         * wcsmbs/test-wcslen.c: New file.
51335         * string/test-strlen.c: Update.
51336         Add wcslen support.
51337         (WIDE): New macro.
51339 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51341         * po/it.po: Update from translation team.
51343 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51345         * sysdeps/x86_64/wcscmp.S: Update.
51346         Fix wrong comparison semantics.
51347         wcscmp shall use signed comparison not unsigned.
51348         Don't use substraction to avoid overflow bug.
51349         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
51350         * wcsmbc/wcscmp.c: Likewise.
51351         * string/test-strcmp.c: Likewise.
51352         Add new tests to check cases with negative values.
51354 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
51356         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
51357         * sysdeps/x86_64/dla.h: ...here.  New file.
51358         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
51359         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51360         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51361         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51362         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51363         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51364         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51365         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51366         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51368 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
51370         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
51371         __ynl_finite aliases.
51373 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51375         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51377         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
51378         define DLA_FMA.
51379         [DLA_FMA] (EMULV): Use DLA_FMA.
51380         [DLA_FMA] (MUL12): Use EMULV.
51381         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
51382         that are not needed.
51383         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51384         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51385         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51386         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51387         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51388         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51389         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51391 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
51393         * math/s_nan.c: Undef __nan.
51394         * math/s_nanf.c: Undef __nanf.
51395         * math/s_nanl.c: Undef __nanl.
51396         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
51397         "math_private.h".
51399 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
51401         * math/s_catan.c: Add branch predictions.
51402         * math/s_catanf.c: Likewise.
51403         * math/s_catanh.c: Likewise.
51404         * math/s_catanhf.c: Likewise.
51405         * math/s_catanhl.c: Likewise.
51406         * math/s_catanl.c: Likewise.
51407         * math/s_cexp.c: Likewise.
51408         * math/s_cexpf.c: Likewise.
51409         * math/s_cexpl.c: Likewise.
51410         * math/s_clog.c: Likewise.
51411         * math/s_clog10.c: Likewise.
51412         * math/s_clog10f.c: Likewise.
51413         * math/s_clog10l.c: Likewise.
51414         * math/s_clogf.c: Likewise.
51415         * math/s_clogl.c: Likewise.
51416         * math/s_csqrt.c: Likewise.
51417         * math/s_csqrtf.c: Likewise.
51418         * math/s_csqrtl.c: Likewise.
51419         * math/s_ctanf.c: Likewise.
51420         * math/s_ctanh.c: Likewise.
51421         * math/s_ctanhf.c: Likewise.
51422         * math/s_ctanhl.c: Likewise.
51423         * math/s_ctanl.c: Likewise.
51425         * math/math_private.h: Define __nan, __nanf, __nanl.
51426         * math/s_cacosh.c: Include <math_private.h>.
51427         * math/s_cacoshl.c: Likewise.
51428         * math/s_casinh.c: Likewise.
51429         * math/s_casinhf.c: Likewise.
51430         * math/s_casinhl.c: Likewise.
51431         * math/s_ccos.c: Rely entire on ccosh.
51432         * math/s_ccosf.c: Rely entire on ccoshf.
51433         * math/s_ccosl.c: Rely entirely on ccoshl.
51434         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
51435         Remove tests for FE_INVALID.
51436         * math/s_ccoshf.c: Likewise.
51437         * math/s_ccoshl.c: Likewise.
51438         * math/s_csin.c: Likewise.
51439         * math/s_csinf.c: Likewise.
51440         * math/s_csinh.c Likewise.
51441         * math/s_csinhf.c: Likewise.
51442         * math/s_csinhl.c: Likewise.
51443         * math/s_csinl.c: Likewise.
51444         * math/s_ctan.c: Likewise.
51445         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
51446         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
51447         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
51449 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
51451         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
51452         compilation problems.
51454         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
51455         __builtin_expect.
51457 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
51459         * sysdeps/i386/configure.in: Test for -mfma4 option.
51460         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
51461         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
51462         COMMON_CPUID_INDEX_80000001.
51463         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
51464         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
51465         use it if FMA3 is not supported.
51466         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
51468         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
51469         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
51471 2011-10-20  Andreas Schwab  <schwab@redhat.com>
51473         [BZ #12892]
51474         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
51475         it would create a cycle with a link time dependency.
51477 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
51479         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
51480         instruction.
51481         * string/Makefile (strop-tests): Add rawmemchr.
51482         * string/test-rawmemchr.c: New file.
51484         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
51485         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
51486         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
51487         when compiling str{,n}casecmp and when AVX is available.  Hook up
51488         new optimized code in initializers.
51490 2011-10-19  Andreas Schwab  <schwab@redhat.com>
51492         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
51493         __feraiseexcept instead of feraiseexcept.
51495 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
51497         * math/math_private.h: Define defaults for libc_fetestexcept and
51498         libc_feupdateenv.
51499         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
51500         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
51501         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51502         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51503         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
51504         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51505         libc_fetestexcept and libc_feupdateenv.
51507         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
51508         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
51509         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
51510         * sysdeps/x86_64/fpu/math_private.h: Define special version of
51511         libc_feholdexcept_setround.
51513         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
51514         Add s_nearbyint-c and s_nearbyintf-c.
51515         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
51516         nearbyintf inlines.
51517         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
51518         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
51519         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
51520         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
51522         * math/math_private.h: Define defaults for libc_fegetround,
51523         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
51524         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
51525         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
51526         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
51527         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
51528         standard functions.
51529         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51530         Remove comments and hacks for old compiler versions.
51531         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
51532         libc_fegetround, libc_fesetround, libc_feholdexcept, and
51533         libc_feholdexceptl.
51535 2011-10-18  Andreas Schwab  <schwab@redhat.com>
51537         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
51538         (__feraiseexcept_renamed): Add __NTH.
51539         (feraiseexcept): Add __NTH.  Rename local variables to fix
51540         namespace violations.
51542 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
51544         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
51546         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
51548         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
51549         recently added interfaces.
51550         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
51552         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
51553         about macro parameter expansion.
51555         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
51556         __NO_MATH_INLINES is defined.  Cleanups.
51558         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
51559         and __floorf is target has SSE4.1.
51560         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
51561         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
51562         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
51563         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
51565         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
51566         name.
51567         (floorf): Likewise.
51569         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
51571 2011-10-17  Andreas Schwab  <schwab@redhat.com>
51573         * misc/sys/cdefs.h: Fix last change.
51575         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
51576         database lookup.
51578 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
51580         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
51582         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
51583         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51584         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51585         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
51586         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
51587         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
51588         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
51589         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
51590         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
51591         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
51592         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
51593         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
51594         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
51595         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
51596         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
51597         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
51598         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
51599         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
51600         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
51601         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
51602         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
51603         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
51605         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
51606         ceil, ceilf, floor, floorf.
51608         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
51609         Perform IRELATIVE relocations last.
51611         * elf/do-rel.h: Add another parameter nrelative, replacing the
51612         local variable with the same name.  Change name of the function
51613         to end in Rel or Rela (uppercase).
51614         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
51615         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
51616         elf_dynamic_do_##reloc function.
51618 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51620         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
51621         is sufficient, at least on modern CPUs.
51623         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
51625         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
51626         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
51628         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
51629         __expl_finite.
51630         * math/bits/math-finite.h: Add entries for exp.
51631         * math/e_expl.c: Add __*_finite alias.
51632         * sysdeps/i386/fpu/e_exp.S: Likewise.
51633         * sysdeps/i386/fpu/e_expf.S: Likewise.
51634         * sysdeps/i386/fpu/e_expl.c: Likewise.
51635         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
51636         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
51637         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
51638         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
51639         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
51640         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
51641         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
51643         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
51644         is sufficient, at least on modern CPUs.
51646         * ctype/ctype-info.c (__ctype_init): Define.
51647         * include/ctype.h (__ctype_init): Declare.
51648         (__ctype_b_loc): The variable is always initialized.
51649         (__ctype_toupper_loc): Likewise.
51650         (__ctype_tolower_loc): Likewise.
51651         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
51652         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
51654 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
51656         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
51658         * configure.in: Also look in $cxxmachine/include for C++ system
51659         headers.
51661 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51663         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
51664         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
51665         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
51666         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
51667         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
51668         (USE_AS_WMEMCMP): New macro.
51669         Fixing indents.
51670         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
51671         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
51672         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
51673         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
51674         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51675         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
51676         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
51677         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
51678         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
51679         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
51680         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
51681         (USE_AS_WMEMCMP): New macro.
51682         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
51683         * sysdeps/string/test-memcmp.c: Update.
51684         Fix simple_wmemcmp.
51685         Add new tests.
51686         * wcsmbs/wmemcmp.c: Update.
51687         (WMEMCMP): New macro.
51688         Fix overflow bug.
51690 2011-10-12  Andreas Jaeger  <aj@suse.de>
51692         [BZ #13268]
51693         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
51695 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
51697         * libio/iofwide.c (do_length): Avoid warning.
51699         * ctype/ctype.h (__isctype_f): Add missing __THROW.
51701 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
51703         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
51705         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
51706         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
51707         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
51708         * sysdeps/i386/i686/fpu/e_log.S: New file.
51709         * sysdeps/i386/i686/fpu/e_logf.S: New file.
51710         * sysdeps/i386/i686/fpu/e_logl.S: New file.
51712         * ctype/ctype.h: Add support for inlined isXXX functions when
51713         compiling C++ code.
51715 2011-10-14  Andreas Schwab  <schwab@redhat.com>
51717         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
51719         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
51721 2011-10-13  Roland McGrath  <roland@hack.frob.com>
51723         [BZ #13291]
51724         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
51726 2011-10-13  Andreas Schwab  <schwab@redhat.com>
51728         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
51729         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
51730         feraiseexcept.
51732         * sysdeps/x86_64/memrchr.S: Check for zero size.
51734         * string/stratcliff.c: Add memrchr tests.
51736 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51738         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51739         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
51740         rawmemchr-sse2 rawmemchr-sse2-bsf.
51741         * sysdeps/i386/i686/multiarch/memchr.S: New file.
51742         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
51743         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
51744         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
51745         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
51746         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
51747         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
51748         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
51749         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
51750         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
51751         * string/memrchr.c (MEMRCHR): New macro.
51753 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
51755         Add integration with gcc's -ffinite-math-only and optimize wrapper
51756         functions in libm.
51757         * Versions.def: Define GLIBC_2.15 version for libm.
51758         * math/Makefile (headers): Add bits/math-finite.h.
51759         * math/bits/math-finite.h: New file.
51760         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
51761         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
51762         * math/e_acoshl.c: Add __*_finite alias.
51763         * math/e_acosl.c: Likewise.
51764         * math/e_asinl.c: Likewise.
51765         * math/e_atan2l.c: Likewise.
51766         * math/e_atanhl.c: Likewise.
51767         * math/e_coshl.c: Likewise.
51768         * math/e_exp10.c: Likewise.
51769         * math/e_exp10f.c: Likewise.
51770         * math/e_exp10l.c: Likewise.
51771         * math/e_exp2l.c: Likewise.
51772         * math/e_fmodl.c: Likewise.
51773         * math/e_gammal_r.c: Likewise.
51774         * math/e_hypotl.c: Likewise.
51775         * math/e_j0l.c: Likewise.
51776         * math/e_j1l.c: Likewise.
51777         * math/e_jnl.c: Likewise.
51778         * math/e_lgammal_r.c: Likewise.
51779         * math/e_log10l.c: Likewise.
51780         * math/e_log2l.c: Likewise.
51781         * math/e_logl.c: Likewise.
51782         * math/e_powl.c: Likewise.
51783         * math/e_sinhl.c: Likewise.
51784         * math/e_sqrtl.c: Likewise.
51785         * math/e_scalb.c: Completely rewritten and optimized.
51786         * math/e_scalbf.c: Likewise.
51787         * math/e_scalbl.c: Likewise.
51788         * math/w_acos.c: Likewise.
51789         * math/w_acosf.c: Likewise.
51790         * math/w_acosl.c: Likewise.
51791         * math/w_acosh.c: Likewise.
51792         * math/w_acoshf.c: Likewise.
51793         * math/w_acoshl.c: Likewise.
51794         * math/w_asin.c: Likewise.
51795         * math/w_asinf.c: Likewise.
51796         * math/w_asinl.c: Likewise.
51797         * math/w_atan2.c: Likewise.
51798         * math/w_atan2f.c: Likewise.
51799         * math/w_atan2l.c: Likewise.
51800         * math/w_atanh.c: Likewise.
51801         * math/w_atanhf.c: Likewise.
51802         * math/w_atanhl.c: Likewise.
51803         * math/w_exp10.c: Likewise.
51804         * math/w_exp10f.c: Likewise.
51805         * math/w_exp10l.c: Likewise.
51806         * math/w_fmod.c: Likewise.
51807         * math/w_fmodf.c: Likewise.
51808         * math/w_fmodl.c: Likewise.
51809         * math/w_j0.c: Likewise.
51810         * math/w_j0f.c: Likewise.
51811         * math/w_j0l.c: Likewise.
51812         * math/w_j1.c: Likewise.
51813         * math/w_j1f.c: Likewise.
51814         * math/w_j1l.c: Likewise.
51815         * math/w_jn.c: Likewise.
51816         * math/w_jnf.c: Likewise.
51817         * math/w_log.c: Likewise.
51818         * math/w_logf.c: Likewise.
51819         * math/w_logl.c: Likewise.
51820         * math/w_log10.c: Likewise.
51821         * math/w_log10f.c: Likewise.
51822         * math/w_log10l.c: Likewise.
51823         * math/w_log2.c: Likewise.
51824         * math/w_log2f.c: Likewise.
51825         * math/w_log2l.c: Likewise.
51826         * math/w_pow.c: Likewise.
51827         * math/w_powf.c: Likewise.
51828         * math/w_powl.c: Likewise.
51829         * math/w_remainder.c: Likewise.
51830         * math/w_remainderf.c: Likewise.
51831         * math/w_remainderl.c: Likewise.
51832         * math/w_scalb.c: Likewise.
51833         * math/w_scalbf.c: Likewise.
51834         * math/w_scalbl.c: Likewise.
51835         * math/w_sqrt.c: Likewise.
51836         * math/w_sqrtf.c: Likewise.
51837         * math/w_sqrtl.c: Likewise.
51838         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
51839         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
51840         used.
51841         * math/math_private.h: Declare __kernel_standard_f.
51842         * math/w_cosh.c: Remove cruft and optimize a bit.
51843         * math/w_coshf.c: Likewise.
51844         * math/w_coshl.c: Likewise.
51845         * math/w_exp2.c: Likewise.
51846         * math/w_exp2f.c: Likewise.
51847         * math/w_exp2l.c: Likewise.
51848         * math/w_hypot.c: Likewise.
51849         * math/w_hypotf.c: Likewise.
51850         * math/w_hypotl.c: Likewise.
51851         * math/w_lgamma.c: Likewise.
51852         * math/w_lgamma_r.c: Likewise.
51853         * math/w_lgammaf.c: Likewise.
51854         * math/w_lgammaf_r.c: Likewise.
51855         * math/w_lgammal.c: Likewise.
51856         * math/w_lgammal_r.c: Likewise.
51857         * math/w_sinh.c: Likewise.
51858         * math/w_sinhf.c: Likewise.
51859         * math/w_sinhl.c: Likewise.
51860         * math/w_tgamma.c: Likewise.
51861         * math/w_tgammaf.c: Likewise.
51862         * math/w_tgammal.c: Likewise.
51863         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
51864         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
51865         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
51866         Minor optimizations.  Pretty printing.  Remove cruft.
51867         * sysdeps/i386/fpu/e_acosf.S: Likewise.
51868         * sysdeps/i386/fpu/e_acosh.S: Likewise.
51869         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
51870         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
51871         * sysdeps/i386/fpu/e_acosl.c: Likewise.
51872         * sysdeps/i386/fpu/e_asin.S: Likewise.
51873         * sysdeps/i386/fpu/e_asinf.S: Likewise.
51874         * sysdeps/i386/fpu/e_atan2.S: Likewise.
51875         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
51876         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
51877         * sysdeps/i386/fpu/e_atanh.S: Likewise.
51878         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
51879         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
51880         * sysdeps/i386/fpu/e_exp10.S: Likewise.
51881         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
51882         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
51883         * sysdeps/i386/fpu/e_exp2.S: Likewise.
51884         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
51885         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
51886         * sysdeps/i386/fpu/e_fmod.S: Likewise.
51887         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
51888         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
51889         * sysdeps/i386/fpu/e_hypot.S: Likewise.
51890         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
51891         * sysdeps/i386/fpu/e_log.S: Likewise.
51892         * sysdeps/i386/fpu/e_log10.S: Likewise.
51893         * sysdeps/i386/fpu/e_log10f.S: Likewise.
51894         * sysdeps/i386/fpu/e_log10l.S: Likewise.
51895         * sysdeps/i386/fpu/e_log2.S: Likewise.
51896         * sysdeps/i386/fpu/e_log2f.S: Likewise.
51897         * sysdeps/i386/fpu/e_log2l.S: Likewise.
51898         * sysdeps/i386/fpu/e_logf.S: Likewise.
51899         * sysdeps/i386/fpu/e_logl.S: Likewise.
51900         * sysdeps/i386/fpu/e_pow.S: Likewise.
51901         * sysdeps/i386/fpu/e_powf.S: Likewise.
51902         * sysdeps/i386/fpu/e_powl.S: Likewise.
51903         * sysdeps/i386/fpu/e_remainder.S: Likewise.
51904         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
51905         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
51906         * sysdeps/i386/fpu/e_scalb.S: Likewise.
51907         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
51908         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
51909         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
51910         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
51911         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
51912         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51913         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
51914         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51915         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51916         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51917         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51918         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51919         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51920         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51921         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51922         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51923         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
51924         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51925         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51926         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51927         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
51928         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51929         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51930         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51931         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51932         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51933         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
51934         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
51935         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
51936         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
51937         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
51938         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
51939         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
51940         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
51941         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
51942         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
51943         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
51944         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
51945         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
51946         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
51947         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
51948         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
51949         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
51950         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
51951         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
51952         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
51953         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
51954         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
51955         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
51956         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
51957         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
51958         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
51959         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
51960         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
51961         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
51962         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
51963         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
51964         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
51965         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
51966         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
51967         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
51968         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
51969         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
51970         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
51971         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
51972         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
51973         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
51974         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
51975         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
51976         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
51977         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
51978         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
51979         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
51980         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
51981         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
51982         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
51983         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
51984         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
51985         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
51986         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
51987         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
51988         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
51989         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
51990         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
51991         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
51992         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
51993         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
51994         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
51995         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
51996         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
51997         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
51998         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
51999         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
52000         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
52001         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
52002         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
52003         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
52004         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
52005         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
52006         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
52007         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
52008         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
52009         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
52010         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
52011         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
52012         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
52013         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
52014         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
52015         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
52016         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
52017         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
52018         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
52019         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
52020         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
52021         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
52022         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
52023         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
52024         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
52025         (__isnanf): Likewise.
52026         (__isinf_ns): Likewise.
52027         (__isinf_nsf): Likewise.
52028         (__finite): Likewise.
52029         (__finitef): Likewise.
52030         (__ieee754_sqrt): Define as macro.
52031         (__ieee754_sqrtf): Define as macro.
52032         (__ieee754_sqrtl): Define as macro.
52033         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
52034         inlined copy.
52035         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
52036         __FINITE_MATH_ONLY__ consistent.
52037         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
52039 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
52041         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
52042         of rawmemchr.
52044         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
52046 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
52048         * po/ja.po: Update from translation team.
52050 2011-10-08  Roland McGrath  <roland@hack.frob.com>
52052         * locale/programs/locarchive.c (prepare_address_space): New function.
52053         (create_archive, enlarge_archive, open_archive): Use it.
52055         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
52056         inside [SHARED], where it is used.
52058         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
52060         * nss/getent.c (netgroup_keys): Remove unused variable.
52061         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
52063 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
52065         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
52066         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
52067         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
52068         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
52069         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
52070         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
52071         * math/Makefile (libm-calls): Add s_isinf_ns.
52072         * math/divtc3.c: Use __isinf_nsl instead of isinf.
52073         * math/multc3.c: Likewise.
52074         * math/s_casin.c: Likewise.
52075         * math/s_casinf.c: Likewise.
52076         * math/s_casinl.c: Likewise.
52077         * math/s_ccos.c: Likewise.
52078         * math/s_ccosf.c: Likewise.
52079         * math/s_ccosl.c: Likewise.
52080         * math/s_ctan.c: Likewise.
52081         * math/s_ctanf.c: Likewise.
52082         * math/s_ctanh.c: Likewise.
52083         * math/s_ctanhf.c: Likewise.
52084         * math/s_ctanhl.c: Likewise.
52085         * math/s_ctanl.c: Likewise.
52086         * math/w_fmod.c: Likewise.
52087         * math/w_fmodf.c: Likewise.
52088         * math/w_fmodl.c: Likewise.
52089         * math/w_remainder.c: Likewise.
52090         * math/w_remainderf.c: Likewise.
52091         * math/w_remainderl.c: Likewise.
52092         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
52093         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
52094         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
52095         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
52096         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
52097         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
52098         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
52099         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
52101         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
52102         of the number.
52103         * stdio-common/printf_fphex.c: Likewise.
52104         * stdio-common/printf_size.c: Likewise.
52106         * math/e_exp10.c: Include math_private.h using <...> not "...".
52107         * math/e_exp10f.c: Likewise.
52108         * math/e_exp10l.c: Likewise.
52109         * math/e_exp2l.c: Likewise.
52110         * math/e_j0l.c: Likewise.
52111         * math/e_j1l.c: Likewise.
52112         * math/e_jnl.c: Likewise.
52113         * math/e_lgammal_r.c: Likewise.
52114         * math/e_rem_pio2l.c: Likewise.
52115         * math/e_scalb.c: Likewise.
52116         * math/e_scalbf.c: Likewise.
52117         * math/e_scalbl.c: Likewise.
52118         * math/k_cosl.c: Likewise.
52119         * math/k_sinl.c: Likewise.
52120         * math/k_tanl.c: Likewise.
52121         * math/s_cacoshf.c: Likewise.
52122         * math/s_catan.c: Likewise.
52123         * math/s_catanf.c: Likewise.
52124         * math/s_catanh.c: Likewise.
52125         * math/s_catanhf.c: Likewise.
52126         * math/s_catanhl.c: Likewise.
52127         * math/s_catanl.c: Likewise.
52128         * math/s_ccosh.c: Likewise.
52129         * math/s_ccoshf.c: Likewise.
52130         * math/s_ccoshl.c: Likewise.
52131         * math/s_cexp.c: Likewise.
52132         * math/s_cexpf.c: Likewise.
52133         * math/s_cexpl.c: Likewise.
52134         * math/s_clog.c: Likewise.
52135         * math/s_clog10.c: Likewise.
52136         * math/s_clog10f.c: Likewise.
52137         * math/s_clog10l.c: Likewise.
52138         * math/s_clogf.c: Likewise.
52139         * math/s_clogl.c: Likewise.
52140         * math/s_csin.c: Likewise.
52141         * math/s_csinf.c: Likewise.
52142         * math/s_csinh.c: Likewise.
52143         * math/s_csinhf.c: Likewise.
52144         * math/s_csinhl.c: Likewise.
52145         * math/s_csinl.c: Likewise.
52146         * math/s_csqrt.c: Likewise.
52147         * math/s_csqrtf.c: Likewise.
52148         * math/s_csqrtl.c: Likewise.
52149         * math/s_ctan.c: Likewise.
52150         * math/s_ctanf.c: Likewise.
52151         * math/s_ctanh.c: Likewise.
52152         * math/s_ctanhf.c: Likewise.
52153         * math/s_ctanhl.c: Likewise.
52154         * math/s_ctanl.c: Likewise.
52155         * math/s_ldexp.c: Likewise.
52156         * math/s_ldexpf.c: Likewise.
52157         * math/s_ldexpl.c: Likewise.
52158         * math/s_significand.c: Likewise.
52159         * math/s_significandf.c: Likewise.
52160         * math/s_significandl.c: Likewise.
52161         * math/w_acos.c: Likewise.
52162         * math/w_acosf.c: Likewise.
52163         * math/w_acosh.c: Likewise.
52164         * math/w_acoshf.c: Likewise.
52165         * math/w_acoshl.c: Likewise.
52166         * math/w_acosl.c: Likewise.
52167         * math/w_asin.c: Likewise.
52168         * math/w_asinf.c: Likewise.
52169         * math/w_asinl.c: Likewise.
52170         * math/w_atan2.c: Likewise.
52171         * math/w_atan2f.c: Likewise.
52172         * math/w_atan2l.c: Likewise.
52173         * math/w_atanh.c: Likewise.
52174         * math/w_atanhf.c: Likewise.
52175         * math/w_atanhl.c: Likewise.
52176         * math/w_cosh.c: Likewise.
52177         * math/w_coshf.c: Likewise.
52178         * math/w_coshl.c: Likewise.
52179         * math/w_dremf.c: Likewise.
52180         * math/w_exp10.c: Likewise.
52181         * math/w_exp10f.c: Likewise.
52182         * math/w_exp10l.c: Likewise.
52183         * math/w_exp2.c: Likewise.
52184         * math/w_exp2f.c: Likewise.
52185         * math/w_fmod.c: Likewise.
52186         * math/w_fmodf.c: Likewise.
52187         * math/w_fmodl.c: Likewise.
52188         * math/w_hypot.c: Likewise.
52189         * math/w_hypotf.c: Likewise.
52190         * math/w_hypotl.c: Likewise.
52191         * math/w_j0.c: Likewise.
52192         * math/w_j0f.c: Likewise.
52193         * math/w_j0l.c: Likewise.
52194         * math/w_j1.c: Likewise.
52195         * math/w_j1f.c: Likewise.
52196         * math/w_j1l.c: Likewise.
52197         * math/w_jn.c: Likewise.
52198         * math/w_jnf.c: Likewise.
52199         * math/w_jnl.c: Likewise.
52200         * math/w_lgamma.c: Likewise.
52201         * math/w_lgamma_r.c: Likewise.
52202         * math/w_lgammaf.c: Likewise.
52203         * math/w_lgammaf_r.c: Likewise.
52204         * math/w_lgammal.c: Likewise.
52205         * math/w_lgammal_r.c: Likewise.
52206         * math/w_log.c: Likewise.
52207         * math/w_log10.c: Likewise.
52208         * math/w_log10f.c: Likewise.
52209         * math/w_log10l.c: Likewise.
52210         * math/w_log2.c: Likewise.
52211         * math/w_log2f.c: Likewise.
52212         * math/w_log2l.c: Likewise.
52213         * math/w_logf.c: Likewise.
52214         * math/w_logl.c: Likewise.
52215         * math/w_pow.c: Likewise.
52216         * math/w_powf.c: Likewise.
52217         * math/w_powl.c: Likewise.
52218         * math/w_remainder.c: Likewise.
52219         * math/w_remainderf.c: Likewise.
52220         * math/w_remainderl.c: Likewise.
52221         * math/w_scalb.c: Likewise.
52222         * math/w_scalbf.c: Likewise.
52223         * math/w_scalbl.c: Likewise.
52224         * math/w_sinh.c: Likewise.
52225         * math/w_sinhf.c: Likewise.
52226         * math/w_sinhl.c: Likewise.
52227         * math/w_sqrt.c: Likewise.
52228         * math/w_sqrtf.c: Likewise.
52229         * math/w_sqrtl.c: Likewise.
52230         * math/w_tgamma.c: Likewise.
52231         * math/w_tgammaf.c: Likewise.
52232         * math/w_tgammal.c: Likewise.
52234         * po/ja.po: Update from translation team.
52236 2011-09-29  Andreas Jaeger  <aj@suse.de>
52238         [BZ #13179]
52239         * sunrpc/netname.c (netname2host): Fix logic.
52241         [BZ #6779]
52242         [BZ #6783]
52243         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
52244         correctly.
52245         * math/w_remainder.c (__remainder): Likewise.
52246         * math/w_remainderf.c (__remainderf): Likewise.
52247         * math/libm-test.inc (remainder_test): Add test cases.
52249 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52251         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
52252         sdiv_qrnnd.
52254 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52256         * string/test-memcmp.c: Avoid unncessary #defines.
52257         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
52259 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52261         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
52262         Use new sse2 version for core i3 - i7 as it's faster
52263         than sse42 version.
52264         (bit_Prefer_PMINUB_for_stringop): New.
52265         * sysdeps/x86_64/rawmemchr.S: Update.
52266         Replace with faster SSE2 version.
52267         * sysdeps/x86_64/memrchr.S: New file.
52268         * sysdeps/x86_64/memchr.S: Update.
52269         Replace with faster SSE2 version.
52271 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
52273         * elf/dl-load.c (lose): Add cast to avoid warning.
52275 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
52277         * po/ca.po: Update from translation team.
52279         * inet/getnetgrent_r.c: Hook up nscd.
52280         * nscd/Makefile (routines): Add nscd_netgroup.
52281         (nscd-modules): Add netgroupcache.
52282         (CFLAGS-netgroupcache.c): Define.
52283         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
52284         (cache_search): Add const to second parameter.
52285         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
52286         INNETGR.
52287         (dbs): Add netgrdb entry.
52288         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
52289         (verify_persistent_db): Handle netgrdb.
52290         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
52291         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
52292         GETFDNETGR.
52293         (netgroup_response_header): Define.
52294         (innetgroup_response_header): Define.
52295         (datahead): Add netgroup_response_header and innetgroup_response_header
52296         elements.
52297         * nscd/nscd.conf: Add entries for netgroup cache.
52298         * nscd/nscd.h (dbtype): Add netgrdb.
52299         (_PATH_NSCD_NETGROUP_DB): Define.
52300         (netgroup_iov_disabled): Declare.
52301         (xmalloc, xcalloc, xrealloc): Move declarations here.
52302         (cache_search): Adjust prototype.
52303         Add netgroup-related prototypes.
52304         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
52305         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
52306         (__nscd_innetgr): Declare.
52307         * nscd/selinux.c (perms): Use access_vector_t as element type and
52308         add netgroup-related initializers.
52309         * nscd/netgroupcache.c: New file.
52310         * nscd/nscd_netgroup.c: New file.
52311         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
52312         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
52313         For four parameters use innetgr.
52314         * nss/nss_files/files-init.c: Add definition and callback for netgr.
52315         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
52316         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
52317         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
52319         * nscd/connections.c (register_traced_file): Don't register file
52320         for disabled databases.
52322 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
52324         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
52326         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
52327         from tree and freeing node.
52329 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
52331         * nss/nsswitch.c (__nss_database_lookup): Handle
52332         nss_parse_service_list out of memory case.
52334 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
52336         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
52337         out of memory case.
52339 2011-10-04  Andreas Schwab  <schwab@redhat.com>
52341         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
52342         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
52343         pass it down.
52344         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
52345         elf_machine_rela, elf_machine_lazy_rel.
52346         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
52347         (ELF_DYNAMIC_DO_REL): Likewise.
52348         (ELF_DYNAMIC_DO_RELA): Likewise.
52349         (ELF_DYNAMIC_RELOCATE): Likewise.
52350         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
52351         to ELF_DYNAMIC_DO_REL.
52352         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
52353         (dl_main): In trace mode always set __RTLD_NOIFUNC.
52354         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
52355         elf_machine_rela.
52356         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
52357         skip_ifunc, don't call ifunc function if non-zero.
52358         (elf_machine_rela): Likewise.
52359         (elf_machine_lazy_rel): Likewise.
52360         (elf_machine_lazy_rela): Likewise.
52361         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
52362         (elf_machine_lazy_rel): Likewise.
52363         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
52364         Likewise.
52365         (elf_machine_lazy_rel): Likewise.
52366         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52367         Likewise.
52368         (elf_machine_lazy_rel): Likewise.
52369         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
52370         (elf_machine_lazy_rel): Likewise.
52371         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
52372         (elf_machine_lazy_rel): Likewise.
52373         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
52374         (elf_machine_lazy_rel): Likewise.
52375         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
52376         (elf_machine_lazy_rel): Likewise.
52377         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
52378         (elf_machine_lazy_rel): Likewise.
52379         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
52380         (elf_machine_lazy_rel): Likewise.
52382 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
52384         * nss/nss_files/files-init.c (_nss_files_init): Use static
52385         initialization for all the *_traced_file variables.
52387 2011-09-28  Andreas Schwab  <schwab@redhat.com>
52389         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52391 2011-09-27  Roland McGrath  <roland@hack.frob.com>
52393         [BZ #13226]
52394         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
52396 2011-09-27  Andreas Schwab  <schwab@redhat.com>
52398         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
52399         Reread the line before reparsing it.
52401 2011-09-26  Andreas Schwab  <schwab@redhat.com>
52403         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
52405 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
52406             Maxim Kuvyrkov  <maxim@codesourcery.com>
52407             Joseph Myers  <joseph@codesourcery.com>
52409         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
52410         if needed for __stack_chk_guard.
52412 2011-09-19  Roland McGrath  <roland@hack.frob.com>
52414         * sysdeps/posix/spawni.c (script_execute): Always define it.
52415         It will be optimized away if unused.
52416         (maybe_script_execute): New function.
52417         (__spawni): Call it.
52419         * Makerules: Don't include tls.make.
52420         (config-tls): Always set to thread.
52421         * tls.make.c: File removed.
52423 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
52425         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
52426         * config.make.in (CPPFLAGS-config): New substituted variable.
52428 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52430         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
52432         [BZ #13192]
52433         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
52434         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
52436 2011-09-15  Roland McGrath  <roland@hack.frob.com>
52438         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
52439         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
52440         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
52441         (CALL_FAIL): Likewise.
52442         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
52443         (CALL_FAIL): Macro removed.
52444         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
52446 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
52448         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
52449         for __FINITE_MATH_ONLY__ == 1.
52451 2011-09-15  Andreas Schwab  <schwab@redhat.com>
52453         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
52454         __ieee754_sqrt instead of sqrt.
52455         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
52456         __ieee754_sqrtf instead of sqrtf.
52457         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
52458         __floorf instead of floorf.
52459         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
52460         __floorf, __truncf instead of floorf, truncf.
52462 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
52464         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
52466         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
52467         __extern_always_inline.
52468         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
52469         32-bit.
52471 2011-09-14  Andreas Schwab  <schwab@redhat.com>
52473         * elf/rtld.c (dl_main): Also relocate in dependency order when
52474         doing symbol dependency testing.
52476 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
52478         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
52479         Always define `refsym'.
52481 2011-09-13  Andreas Schwab  <schwab@redhat.com>
52483         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
52484         (__FD_ELT): Renamed from __FDELT.
52485         * misc/bits/select2.h (__FD_ELT): Likewise.
52486         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
52487         __FD_MASK instead of __FDELT, __FDMASK.
52488         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52489         Likewise.
52490         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
52491         Likewise.
52493         * elf/Makefile (gen-ldd): Fix pattern.
52495         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
52496         (init_tls): Likewise.
52498 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
52500         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
52502 2011-09-12  Andreas Schwab  <schwab@redhat.com>
52504         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
52505         `struct cmsghdr *' instead of `void *'.
52506         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
52507         Likewise.
52509 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
52511         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
52512         if non-absolute.
52513         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
52514         ldd_rewrite_script.
52516 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
52518         * configure.in: Remove --with-tls option.
52519         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
52520         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
52521         out in case it is missing.
52522         * sysdeps/ia64/elf/configure.in: Likewise.
52523         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
52524         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
52525         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
52526         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
52527         * sysdeps/sh/elf/configure.in: Likewise.
52528         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
52529         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
52530         * sysdeps/x86_64/elf/configure.in: Likewise.
52531         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
52532         * sysdeps/mach/hurd/tls.h: Likewise.
52534         [BZ #13067]
52535         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
52537         [BZ #13090]
52538         * configure.in: Fix use of AC_INIT.
52540         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
52542 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
52544         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
52545         __set_errno.
52546         * malloc/hooks.c: Likewise.
52548         [BZ #11929]
52549         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
52550         variables statically.
52551         (narenas): Initialize.
52552         (list_lock): Initialize.
52553         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
52554         initializtion of main_arena and list_lock.  Small cleanups.
52555         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
52556         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
52557         Add initializers to main_arena and mp_.
52558         (malloc_state): Remove pagesize member.  Change all users to use
52559         GLRO(dl_pagesize).
52561         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
52562         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
52563         is always initialized.
52565         * malloc/malloc.c: Removed unused configurations and dead code.
52566         * malloc/arena.c: Likewise.
52567         * malloc/hooks.c: Likewise.
52568         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
52570         * include/tls.h: Removed.  USE___THREAD must always be defined.
52571         * bits/libc-tsd.h: Don't handle !USE___THREAD.
52572         * elf/dl-libc.c: Likewise.
52573         * elf/dl-tsd.c: Likewise.
52574         * include/errno.h: Likewise.
52575         * include/netdb.h: Likewise.
52576         * include/resolv.h: Likewise.
52577         * inet/herrno-loc.c: Likewise.
52578         * inet/herrno.c: Likewise.
52579         * malloc/arena.c: Likewise.
52580         * malloc/hooks.c: Likewise.
52581         * malloc/malloc.c: Likewise.
52582         * resolv/res-state.c: Likewise.
52583         * resolv/res_libc.c: Likewise.
52584         * sysdeps/i386/dl-machine.h: Likewise.
52585         * sysdeps/ia64/dl-machine.h: Likewise.
52586         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
52587         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
52588         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
52589         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
52590         * sysdeps/sh/dl-machine.h: Likewise.
52591         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
52592         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
52593         * sysdeps/unix/i386/sysdep.S: Likewise.
52594         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
52595         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
52596         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
52597         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
52598         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
52599         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
52600         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
52601         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
52602         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
52603         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
52604         * sysdeps/unix/x86_64/sysdep.S: Likewise.
52605         * sysdeps/x86_64/dl-machine.h: Likewise.
52606         * tls.make.c: Likewise.
52608         * configure.in: Remove --with-__thread option.  Make tests for
52609         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
52610         tls_model attribute fail if no support is available.  Remove
52611         USE_IN_LIBIO.
52612         * Makeconfig: Adjust for dropped configure option.  All features are
52613         now mandatory.
52614         * Makerules: Likewise.
52615         * Versions.def: Likewise.
52616         * argp/argp-fmtstream.c: Likewise.
52617         * argp/argp-fmtstream.h: Likewise.
52618         * argp/argp-help.c: Likewise.
52619         * assert/assert.c: Likewise.
52620         * config.h.in: Likewise.
52621         * config.make.in: Likewise.
52622         * configure: Likewise.
52623         * configure.in: Likewise.
52624         * csu/Versions: Likewise.
52625         * csu/init.c: Likewise.
52626         * elf/tst-audit2.c: Likewise.
52627         * elf/tst-tls10.c: Likewise.
52628         * elf/tst-tls10.h: Likewise.
52629         * elf/tst-tls11.c: Likewise.
52630         * elf/tst-tls12.c: Likewise.
52631         * elf/tst-tls14.c: Likewise.
52632         * elf/tst-tlsmod11.c: Likewise.
52633         * elf/tst-tlsmod12.c: Likewise.
52634         * elf/tst-tlsmod13.c: Likewise.
52635         * elf/tst-tlsmod13a.c: Likewise.
52636         * elf/tst-tlsmod14a.c: Likewise.
52637         * elf/tst-tlsmod15b.c: Likewise.
52638         * elf/tst-tlsmod16a.c: Likewise.
52639         * elf/tst-tlsmod16b.c: Likewise.
52640         * elf/tst-tlsmod7.c: Likewise.
52641         * elf/tst-tlsmod8.c: Likewise.
52642         * elf/tst-tlsmod9.c: Likewise.
52643         * gmon/gmon.c: Likewise.
52644         * grp/fgetgrent_r.c: Likewise.
52645         * grp/putgrent.c: Likewise.
52646         * hurd/fopenport.c: Likewise.
52647         * include/libc-symbols.h: Likewise.
52648         * include/tls.h: Likewise.
52649         * intl/gettextP.h: Likewise.
52650         * intl/loadinfo.h: Likewise.
52651         * locale/global-locale.c: Likewise.
52652         * locale/localeinfo.h: Likewise.
52653         * mach/devstream.c: Likewise.
52654         * malloc/arena.c: Likewise.
52655         * malloc/set-freeres.c: Likewise.
52656         * misc/err.c: Likewise.
52657         * misc/getttyent.c: Likewise.
52658         * misc/mntent_r.c: Likewise.
52659         * posix/getopt.c: Likewise.
52660         * posix/wordexp.c: Likewise.
52661         * pwd/fgetpwent_r.c: Likewise.
52662         * resolv/Versions: Likewise.
52663         * resolv/res_hconf.c: Likewise.
52664         * shadow/fgetspent_r.c: Likewise.
52665         * shadow/putspent.c: Likewise.
52666         * stdio-common/printf_fphex.c: Likewise.
52667         * stdio-common/tmpfile.c: Likewise.
52668         * stdlib/abort.c: Likewise.
52669         * stdlib/fmtmsg.c: Likewise.
52670         * sunrpc/auth_unix.c: Likewise.
52671         * sunrpc/clnt_perr.c: Likewise.
52672         * sunrpc/clnt_tcp.c: Likewise.
52673         * sunrpc/clnt_udp.c: Likewise.
52674         * sunrpc/clnt_unix.c: Likewise.
52675         * sunrpc/openchild.c: Likewise.
52676         * sunrpc/svc_simple.c: Likewise.
52677         * sunrpc/svc_tcp.c: Likewise.
52678         * sunrpc/svc_udp.c: Likewise.
52679         * sunrpc/svc_unix.c: Likewise.
52680         * sunrpc/xdr.c: Likewise.
52681         * sunrpc/xdr_array.c: Likewise.
52682         * sunrpc/xdr_rec.c: Likewise.
52683         * sunrpc/xdr_ref.c: Likewise.
52684         * sunrpc/xdr_stdio.c: Likewise.
52686 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52688         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
52690 2011-07-03  Andreas Jaeger  <aj@suse.de>
52692         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
52693         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
52694         regenerate with gen-libm-tests.pl.
52696 2010-05-12  Petr Baudis  <pasky@suse.cz>
52698         [BZ #11589]
52699         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
52700         around j0() zero points by switching to j1().
52701         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
52702         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
52703         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
52704         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
52706 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52708         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
52709         instead of 0.
52710         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
52711         instead of 0.
52712         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
52713         Patch in part by Pavel Roskin <proski@gnu.org>.
52715         [BZ #13138]
52716         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
52717         realloc.
52718         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
52719         Free memory block if necessary.
52721         [BZ #12847]
52722         * libio/genops.c (INTDEF): For string streams the _lock pointer can
52723         be NULL.  Don't lock in this case.
52725 2011-09-09  Roland McGrath  <roland@hack.frob.com>
52727         * elf/elf.h (ELFOSABI_GNU): New macro.
52728         (ELFOSABI_LINUX): Define to that.
52730 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
52732         * string/strncat.c (strncat): Undef the symbol in case it has been
52733         defined in bits/string.h.
52735 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
52737         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
52739         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
52740         link map.
52742 2011-08-17  Andreas Jaeger  <aj@suse.de>
52744         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
52746 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
52747             Ian Lance Taylor  <iant@google.com>
52749         * math/libm-test.inc (lround_test): New testcase.
52750         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
52752 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
52754         * Makefile: Remove support for automatic cvs check-ins.
52755         * Makerules: Likewise.
52756         * config.make.in: Likewise.
52757         * configure.in: Likewise.
52758         * intl/Makefile: Likewise.
52759         * locale/Makefile: Likewise.
52760         * po/Makefile: Likewise.
52761         * posix/Makefile: Likewise.
52762         * sysdeps/gnu/Makefile: Likewise.
52763         * sysdeps/mach/hurd/Makefile: Likewise.
52764         * sysdeps/sparc/sparc32/Makefile: Likewise.
52766         [BZ #13118]
52767         * posix/Makefile (bug-regex32-ENV): Define.
52768         Patch by John Stanley <jpsinthemix@verizon.net>.
52770         * misc/Makefile (headers): Add bits/select2.h.
52771         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
52772         * misc/bits/select2.h: New file.
52773         * include/bits/select2.h: New file.
52774         * debug/Makefile (routines): Add fdelt_chk.
52775         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
52776         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
52777         FD_ISSET.
52778         * debug/fdelt_chk.c: New file.
52780         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
52781         * wcsmbs/test-wmemcmp.c: Likewise.
52782         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
52783         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
52785 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52787         * string/Makefile (strop-tests): Add memcmp.
52788         * string/test-wmemcmp.c: New file.
52789         * string/test-memcmp.c: Add wmemcmp support.
52791 2011-09-08  Roland McGrath  <roland@hack.frob.com>
52793         [BZ #13153]
52794         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
52795         2011-07-19 change.
52797         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
52798         garbage value in a __mach_port_mod_refs call in the cases of the
52799         task-self and thread-self ports.
52801 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
52803         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
52805 2011-09-08  Andreas Schwab  <schwab@redhat.com>
52807         * elf/dl-load.c (lose): Check for non-null L.
52809 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52811         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
52813         * elf/dl-libc.c (dlerror_run): Pass back error code from
52814         dl_catch_error.
52816         [BZ #13123]
52817         * elf/dl-load.c (lose): Free l_origin if it is valid.
52819         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
52820         names.
52821         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
52822         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52823         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
52824         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52825         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
52826         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
52828 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52830         * sysdeps/powerpc/fpu/e_hypot.c: New file.
52831         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
52832         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
52833         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
52834         * sysdeps/powerpc/fpu/k_cosf.c: New file.
52835         * sysdeps/powerpc/fpu/k_sinf.c: New file.
52836         * sysdeps/powerpc/fpu/s_cosf.c: New file.
52837         * sysdeps/powerpc/fpu/s_sinf.c: New file.
52838         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
52839         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
52841 2011-08-15  Alan Modra  <amodra@gmail.com>
52843         [BZ #13092]
52844         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
52845         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
52846         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
52847         ppc_mcount to static-only-routines.
52848         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
52849         __mcount_internal.
52850         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
52851         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
52853 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
52855         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
52856         for finite and infinity parameters.
52858 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
52860         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
52861         and add nop instructions for throughput optimization.
52862         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52864 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
52866         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
52867         aligned copy for power7 with vector-scalar instructions.
52868         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52870 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
52872         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
52873         AVX check.
52875 2011-09-07  Andreas Schwab  <schwab@redhat.com>
52877         [BZ #13144]
52878         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
52879         last change.
52881 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
52883         * sysdeps/unix/sysv/linux/x86_64/init-first.c
52884         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
52885         syscall wrapper around clock_gettime in __vdso_clock_gettime.
52886         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
52887         clock_gettime.
52889 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52891         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
52892         Forgot to demangle the pointer.
52894         * sysdeps/i386/sysdep.h: Define atom_text_section.
52895         * sysdeps/x86_64/sysdep.h: Likewise.
52896         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
52897         section with atom_text_section.
52898         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
52899         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
52900         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
52901         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
52902         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
52904         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
52905         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
52906         already be defined.  Change to take two parameters and don't assign
52907         result to variable.  Adjust all users.
52908         Define INTERNAL_GETTIME if not already defined.
52909         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
52910         call.
52911         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
52912         HAVE_CLOCK_GETTIME_VSYSCALL.
52913         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
52915         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
52916         gettimeofday vsyscall, just use time.
52918 2011-09-06  Andreas Schwab  <schwab@redhat.com>
52920         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
52921         <errno.h>.
52923 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
52925         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
52926         syscall on x86-64.
52927         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
52928         syscall.
52929         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
52930         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
52931         syscall if possible.
52933 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52935         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
52936         e_ident.  Don't pass to find_mapsXX.
52937         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
52939 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52941         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
52942         strchr-sse2-no-bsf strrchr-sse2-no-bsf
52943         * sysdeps/x86_64/multiarch/strchr.S: Update.
52944         Check bit_slow_BSF bit.
52945         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
52946         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
52947         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
52949 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
52951         [BZ #13134]
52952         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
52953         before glibc 2.15.
52954         (tryshell): Define.
52955         (__spawni): Change last parameter to be flag.  Test
52956         SPAWN_XFLAGS_USE_PATH flag to use path or not.
52957         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
52958         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
52959         * posix/spawni.c: Likewise.
52960         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
52961         * posix/spawnp.c: Likewise.  Change normal version to use
52962         SPAWN_XFLAGS_USE_PATH.
52963         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
52964         SPAWN_XFLAGS_TRY_SHELL.
52966         [BZ #13150]
52967         * posix/glob.h: Remove gcc 1.x support.
52969         [BZ #13068]
52970         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
52972 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
52974         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
52975         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
52976         strrchr-sse2-bsf
52977         * sysdeps/i386/i686/multiarch/strchr.S: New file.
52978         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
52979         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
52980         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
52981         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
52982         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
52984 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
52986         * sysdeps/x86_64/wcscmp.S: New file.
52988         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
52989         wcscmp-c wcscmp-sse2
52990         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
52991         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
52992         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
52993         * wcsmbs/wcscmp.c: Allow renaming.
52995 2011-09-05  David S. Miller  <davem@davemloft.net>
52997         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
52998         stack slot, rather than the struct return pointer slot.
52999         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
53000         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
53001         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
53002         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
53004 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
53006         * po/ja.po: Update from translation team.
53008         [BZ #13144]
53009         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
53010         kernel in 64-bit binaries.
53012 2011-09-01  David S. Miller  <davem@davemloft.net>
53014         * elf/elf.h (HWCAP_SPARC_*): Move to..
53015         * sysdeps/sparc/sysdep.h: this new file and add new values.
53016         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
53017         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
53018         _DL_HWCAP_COUNT to 24.
53019         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
53020         entries.
53021         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
53022         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
53023         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
53024         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
53025         instead of magic constants.
53026         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
53028 2011-08-31  David S. Miller  <davem@davemloft.net>
53030         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
53031         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
53032         Reimplement to do errno handling inline.
53033         (SYSCALL_ERROR_HANDLER): New macro.
53034         (__SYSCALL_STRING): Do not do errno handling in asm.
53035         (__CLONE_SYSCALL_STRING): Delete.
53036         (__INTERNAL_SYSCALL_STRING): Delete.
53037         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
53038         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
53039         (PSEUDO): Reimplement to do errno handling inline.
53040         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
53041         (SYSCALL_ERROR_HANDLER): New macro.
53042         (__SYSCALL_STRING): Do not do errno handling in asm.
53043         (__CLONE_SYSCALL_STRING): Delete.
53044         (__INTERNAL_SYSCALL_STRING): Delete.
53045         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
53046         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
53047         i386.
53048         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
53049         (inline_syscall*): Add 'err' argument.
53050         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
53051         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
53052         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
53053         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
53055         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
53056         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
53058 2011-08-30  Andreas Schwab  <schwab@redhat.com>
53060         * elf/rtld.c (dl_main): Relocate objects in dependency order.
53062 2011-08-29  Jiri Olsa <jolsa@redhat.com>
53064         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
53065         directive.
53067 2011-08-24  David S. Miller  <davem@davemloft.net>
53069         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
53071 2011-08-24  Andreas Schwab  <schwab@redhat.com>
53073         * elf/Makefile: Add rules to build and run unload8 test.
53074         * elf/unload8.c: New file.
53075         * elf/unload8mod1.c: New file.
53076         * elf/unload8mod1x.c: New file.
53077         * elf/unload8mod2.c: New file.
53078         * elf/unload8mod3.c: New file.
53080         * elf/dl-close.c (_dl_close_worker): Reset private search list if
53081         it wasn't used.
53083 2011-08-23  David S. Miller  <davem@davemloft.net>
53085         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
53086         subtract stack bias.
53087         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
53088         %sp not %fp in calculations.
53089         (_JMPBUF_UNWINDS_ADJ): Likewise.
53091         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
53092         (aio_suspend): Call it to force an exception region around the
53093         AIO_MISC_WAIT() invocation.
53095 2011-08-23  Andreas Schwab  <schwab@redhat.com>
53097         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
53098         backslash.
53100 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
53102         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
53103         protection macro.
53104         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
53105         and <dl-machine.h>.
53106         (Elf64_FuncDesc): Remove.
53108 2011-08-22  David S. Miller  <davem@davemloft.net>
53110         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
53111         sigaltstack check, add missing cfi directives.
53112         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
53113         missing cfi directives, and sigaltstack handling.
53115 2011-08-16  Andreas Schwab  <schwab@redhat.com>
53117         [BZ #11724]
53118         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
53119         object is seen twice.
53120         * elf/dl-fini.c (_dl_sort_fini): Likewise.
53122         * elf/Makefile (distribute): Add tst-initorder2.c.
53123         (tests): Add tst-initorder2.
53124         (modules-names): Add tst-initorder2a tst-initorder2b
53125         tst-initorder2c tst-initorder2d.  Add rules to build them.
53126         ($(objpfx)tst-initorder2.out): New rule.
53127         * elf/tst-initorder2.c: New file.
53128         * elf/tst-initorder2.exp: New file.
53130 2011-08-22  Andreas Schwab  <schwab@redhat.com>
53132         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
53134         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
53135         dependencies back to end of function.
53137         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
53138         $(elfobjdir)/ld.so.
53140 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
53142         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
53143         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
53144         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
53145         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
53146         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
53147         of __vdso_gettimeofday.
53148         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
53149         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
53150         attribute_hidden.
53151         (_libc_vdso_platform_setup): Remove initialization of
53152         __vdso_gettimeofday and __vdso_time.
53154 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
53156         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
53157         and fgetc_unlocked.
53158         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
53159         getc_unlocked.
53161         * elf/dl-open.c (add_to_global): Report additions to the global scope
53162         for LD_DEBUG=scopes.
53163         (dl_open_worker): Also print scope of newly loaded dependencies.
53164         (_dl_show_scope): Indicate if there is no scope.
53166         [BZ #13114]
53167         * stdio-common/Makefile (tests): Add bug24.
53168         * stdio-common/bug24.c: New file.
53170 2011-08-19  Andreas Jaeger  <aj@suse.de>
53172         [BZ #13114]
53173         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
53174         non-existant file when using close-on-exec mode.
53176 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
53178         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
53179         the very first instruction.
53181         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
53182         the CFI state in the end.
53183         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
53184         inclusion of dl-trampoline.h.
53185         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
53187 2011-08-19  Andreas Schwab  <schwab@redhat.com>
53189         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
53190         expectations for long double.
53192         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
53193         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
53195 2011-08-14  David S. Miller  <davem@davemloft.net>
53197         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
53198         artificual limit depends upon the system page size.
53200 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53202         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
53203         * resolv/Makefile: Define CFLAGS-libresolv.
53205 2011-08-17  Andreas Schwab  <schwab@redhat.com>
53207         * nss/makedb.c (compute_tables): Make variables used in nested
53208         function static.
53210 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
53212         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
53213         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
53214         if buffer was too small.
53216         * elf/pldd.c (main): Attach to all threads in the process.
53217         Rewrite /proc handling to use *at functions.
53219 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
53221         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
53222         specifies first scope to show.
53223         (dl_open_worker): Update callers.  Move printing scope of new
53224         object to before the relocation.
53225         * elf/rtld.c (dl_main): Update _dl_show_scope call.
53226         * sysdeps/generic/ldsodefs.h: Update declaration.
53228         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
53229         string for the scope number.
53231 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
53233         * nscd/servicescache.c (cache_addserv): Make sure written is always
53234         initialized.
53236 2011-08-14  Roland McGrath  <roland@hack.frob.com>
53238         * sysdeps/i386/i486/bits/atomic.h
53239         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
53240         statement expression, so as to suppress "set but not used" warning.
53241         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
53243         * string/strncat.c (STRNCAT): Use prototype definition.
53245         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
53246         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
53247         -Iprograms here.
53248         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
53249         (localedef-modules): Add localedef.
53250         (locale-modules): Add locale.
53252         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
53253         * elf/rtld.c (dl_main): Invert order of assignment in last change,
53254         to avoid a warning.
53256 2011-08-14  David S. Miller  <davem@davemloft.net>
53258         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
53259         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
53261 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
53263         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
53264         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
53265         * elf/rtld.c (dl_main): Set l_name of vDSO.
53266         Call _dl_show_scope when DL_DEBUG_SCOPES.
53267         (process_dl_debug): Recognize scopes flag and also set it for all.
53268         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
53269         Declare _dl_show_scope.
53271         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
53272         (do_dlopen): Pass caller_dlopen to dl_open.
53273         (__libc_dlopen_mode): Initialize caller_dlopen.
53275         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
53276         of libc.  Make tolower call locale-independent.  Optimize a bit by
53277         using isdigit instead of isalnum.
53278         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
53280 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
53282         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
53283         was a dependency or dynamically loaded.
53285 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
53287         * intl/l10nflist.c: Allow architecture-specific pop function.
53288         * sysdeps/x86_64/l10nflist.c: New file.
53290         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
53291         classification.
53293 2011-08-10  Andreas Schwab  <schwab@redhat.com>
53295         * include/dirent.h: Add libc_hidden_proto for scandirat and
53296         scandirat64.  Don't declare __scandirat64.
53297         * dirent/scandirat.c: Add libc_hidden_def.
53298         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
53299         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
53301 2011-08-10  David S. Miller  <davem@davemloft.net>
53303         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
53304         enum.
53305         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53306         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53307         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53309 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
53311         * Versions.def [libc]: Add GLIBC_2.15.
53312         * dirent/Makefile (routines): Add scandirat and scandirat64.
53313         * dirent/Versions [libc]: Export scandirat and scandirat64 for
53314         GLIBC_2.15.
53315         * dirent/dirent.h: Declare scandirat and scandirat64.
53316         * dirent/scandirat.c: New file.
53317         * dirent/scandirat64.c: New file.
53318         * sysdeps/wordsize-64/scandirat.c: New file.
53319         * sysdeps/wordsize-64/scandirat64.c: New file.
53320         * dirent/opendir.c: Define opendirat.
53321         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
53322         using scandirat.
53323         * dirent/scandir64.c: Adjust for scandir.c change.
53324         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
53325         __scandirat64, and __scandir_cancel_handler.
53326         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
53327         additional parameter and use openat instead of open (outside of ld.so).
53328         Add new __opendir as wrapper around __opendirat.
53329         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
53330         here without requiring old scandirat implementation.
53332 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
53334         * dirent/scandir.c (cancel_handler): Renamed to
53335         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
53336         defined.  Adjust users.
53337         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
53338         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
53340 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
53342         * string/test-string.h (IMPL): Use __STRING to expand name and then
53343         stringify it.
53345         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
53346         of cleanups.
53348 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53350         * string/Makefile: Update.
53351         (strop-tests): Append strncat.
53352         * string/test-wcscmp.c: New file.
53353         New comprehensive test for wcscmp.
53354         * string/test-strcmp.c: Update.
53355         (WIDE): New define.
53357 2011-07-22  Andreas Schwab  <schwab@redhat.com>
53359         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
53360         line.
53362 2011-07-26  Andreas Schwab  <schwab@redhat.com>
53364         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53365         encoding to ACE if AI_IDN.
53367 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
53369         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
53370         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
53372 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53374         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
53375         Fix overflow bug in strncat.
53376         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
53378         * string/test-strncat.c: Update.
53379         Add new tests for checking overflow bugs.
53381 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53383         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53384         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
53385         * sysdeps/i386/i686/multiarch/strcat.S: New file.
53386         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
53387         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
53388         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
53389         * sysdeps/i386/i686/multiarch/strncat.S: New file.
53390         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
53391         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
53393         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
53394         (USE_AS_STRCAT): Define.
53395         Add strcat and strncat support.
53396         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
53398 2011-07-25  Andreas Schwab  <schwab@redhat.com>
53400         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
53401         __n bigger than INT_MAX+1.
53402         (__strncmp_g): Likewise.
53404 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
53406         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
53407         * libio/stido.h: Likewise.
53409         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
53410         (AF_NFC): Define.
53411         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
53412         (AF_NFC): Define.
53414         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
53415         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
53416         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
53417         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
53418         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
53420         [BZ #13021]
53421         * scripts/test-installation.pl: Don't expect libnss_test1 to be
53422         installed.
53424         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
53425         typo.
53426         (_dl_x86_64_save_sse): Likewise.
53428 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
53430         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
53431         OSXSAVE.
53432         (_dl_x86_64_save_sse): Likewise.
53434         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
53436         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
53438 2011-07-21  Andreas Schwab  <schwab@redhat.com>
53440         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
53441         change.
53442         (_dl_x86_64_save_sse): Use correct AVX check.
53444 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
53446         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
53447         bug in strncpy/strncat.
53448         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
53450 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
53452         * string/tester.c (test_strcat): Add tests for different alignments
53453         of source and destination.
53454         (test_strncat): Likewise.
53456 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53458         [BZ #12852]
53459         * posix/glob.c (glob): Check passed in values before using them in
53460         expressions to avoid some overflows.
53461         (glob_in_dir): Likewise.
53463         [BZ #13007]
53464         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
53465         check for AVX enablement so that we don't crash with old kernels and
53466         new hardware.
53467         * elf/tst-audit4.c: Add same checks here.
53468         * elf/tst-audit6.c: Likewise.
53470         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
53472 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
53474         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
53476 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
53478         * po/cs.po: Update from translation team.
53479         * po/bg.po: Likewise.
53481 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
53483         * misc/sys/cdefs.h: Add support for const attribute.
53484         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
53485         to gnu_dev_{major,minor,makedev} functions.
53487 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
53489         * intl/dcigettext.c (get_output_charset): Add missing bracket.
53491 2011-07-20  Andreas Schwab  <schwab@redhat.com>
53493         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
53494         strlen results.
53496 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53498         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
53499         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
53500         register in order to avoid conflicts with the soft frame pointer
53501         being held in r11 when necessary.
53502         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
53503         (INTERNAL_VSYSCALL_NCS): Likewise.
53505 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
53507         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
53508         * elf/dl-fini.c (_dl_fini): Adjust caller.
53509         * elf/dl-close.c (_dl_close_worker): Likewise.
53510         * sysdeps/generic/ldsodefs.h: Adjust declaration.
53512 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53514         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
53515         "aux_cache->nlibs < 0".
53517         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
53518         in the reload-count case.
53520 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
53522         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53523         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
53524         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
53525         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
53526         * sysdeps/x86_64/multiarch/strcat.S: New file.
53527         * sysdeps/x86_64/multiarch/strncat.S: New file.
53528         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
53529         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
53530         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
53531         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
53532         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
53533         (USE_AS_STRCAT): Define.
53534         Add strcat and strncat support.
53535         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
53536         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
53537         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
53538         * string/strncat.c: Update.
53539         (USE_AS_STRNCAT): Define.
53540         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53541         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
53542         and i7.
53543         * sysdeps/x86_64/multiarch/init-arch.h
53544         (bit_Prefer_PMINUB_for_stringop): New.
53545         (index_Prefer_PMINUB_for_stringop): Likewise.
53546         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
53547         bit_Prefer_PMINUB_for_stringop.
53549 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53551         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
53552         buffer64.
53553         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
53554         of casting of buffer.
53555         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
53556         buffer32 and buffer64.
53557         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
53558         writes instead of casting of buffer.
53559         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
53560         buffer32.
53561         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
53562         casting of buffer.
53564 2011-07-19  Andreas Schwab  <schwab@redhat.com>
53566         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
53568 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
53570         * nscd/nscd.c (termination_handler): Don't do anything for a database
53571         if it has not yet been initialized.
53573 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53575         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53577 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
53579         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
53581 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
53583         * po/nl.po: Update from translation team.
53584         * po/sv.po: Likewise.
53586 2011-07-16  Roland McGrath  <roland@hack.frob.com>
53588         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
53589         now disallowed by GCC.
53591         * configure.in (use-default-link): Default to yes if a test -shared
53592         link meets our qualifications.
53593         * configure: Regenerated.
53595         * config.make.in (output-format): New variable.
53596         * configure.in: Check for ld --print-output-format support.
53597         * configure: Regenerated.
53598         * Makerules ($(common-objpfx)format.lds)
53599         [$(output-format) != unknown]: Just use $(output-format),
53600         instead of the linker-script munging.
53602 2011-07-14  Roland McGrath  <roland@hack.frob.com>
53604         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
53605         of $(common-objpfx)shlib.lds.
53606         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
53608         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
53609         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
53611         * configure.in (-z relro check): Adjust test code to add a large
53612         writable data section after it.
53613         * configure: Regenerated.
53615 2011-07-11  Roland McGrath  <roland@hack.frob.com>
53617         * configure.in (-z relro check): Fix test code to make the variable
53618         truly const.
53619         * configure: Regenerated.
53621 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
53623         * nscd/nscd.h (struct traced_file): Define.
53624         (struct database_dyn): Remove inotify_descr, reset_res, and filename
53625         elements.  Add traced_files.
53626         (inotify_fd): Declare.
53627         (register_traced_file): Declare.
53628         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
53629         (inotify_fd): Export.
53630         (resolv_conf_descr): Remove.
53631         (nscd_init): Move inotify descriptor creation to main.
53632         Don't register files for notification here.
53633         (register_traced_file): New function.
53634         (invalidate_cache): Don't use reset_res to determine whether to call
53635         res_init, go through the list of registered files.
53636         (main_loop_poll): The inotify descriptors are now stored in the
53637         structures for the traced files.
53638         (main_loop_epoll): Likewise
53639         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
53640         to __nss_disable_nscd.
53641         * nscd/cache.c (prune_cache): There is no single inotify descriptor
53642         for a database anymore.  Check the records for all the registered
53643         files instead.
53644         * nss/Makefile (libnss_files-routines): Add files-init.
53645         (libnss_db-routines): Add db-init.
53646         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
53647         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
53648         * nss/nss_db/db-init.c: New file.
53649         * nss/nss_files/files-init.c: New file.
53650         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
53651         __nss_lookup_function.
53652         (__nss_lookup_function): Call nss_load_library.
53653         (nss_load_all_libraries): New function.
53654         (__nss_disable_nscd): Take parameter with callback function for files
53655         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
53656         used for the cached services.
53657         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
53658         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
53659         options for features to all the files in nscd.
53661         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
53663 2011-07-10  Roland McGrath  <roland@hack.frob.com>
53665         * csu/elf-init.c (__libc_csu_init): Comment typo.
53667 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
53669         * po/pl.po: Update from translation team.
53670         * po/ja.po: Likewise.
53671         * po/ru.po: Likewise.
53672         * po/ko.po: Likewise.
53673         * po/fr.po: Likewise.
53675 2011-07-09  Roland McGrath  <roland@hack.frob.com>
53677         * configure.in (.ctors/.dtors header and trailer check):
53678         Use an empirical test on a built program.
53679         * configure: Regenerated.
53681         * configure.in (-z relro check): Use an empirical test on a built DSO.
53682         Detect, but do not require, on ia64.
53683         * configure: Regenerated.
53685         * configure.in (READELF): Find it with AC_CHECK_TOOL.
53686         Update tests that use readelf to use $READELF instead.
53687         * configure: Regenerated.
53689 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
53691         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
53692         if the result is not used.
53694 2011-07-05  Andreas Jaeger  <aj@suse.de>
53696         [BZ#9696]
53697         * stdlib/tst-strtod.c: Add testcase.
53699 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
53701         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
53702         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
53703         The latter has a higher limit.  Take additional parameter to pass to
53704         the new function.
53705         (__pathconf): Pass file to __statfs_link_max.
53706         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
53707         __statfs_link_max.
53708         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
53709         __statfs_link_max.
53711         [BZ #12868]
53712         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
53713         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53714         Handle Lustre.
53715         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
53716         (__statfs_filesize_max): Likewise.
53717         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
53719 2011-07-05  Andreas Jaeger  <aj@suse.de>
53721         * resolv/res_comp.c (dn_skipname): Remove unused variable.
53723 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
53725         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
53726         `status' variable.
53727         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
53728         Likewise.
53730 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
53732         * Makefile (strop-tests): Add strncat.
53733         * string/test-strncat.c: New file.
53735 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
53737         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
53739 2011-06-21  Andreas Jaeger  <aj@suse.de>
53741         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
53742         Copy rule from iconvdata/Makefile.
53744 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53746         [BZ #12922]
53747         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
53748         but no long options are defined, just return 'W'.
53750 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
53752         [BZ #9696]
53753         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
53755 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
53757         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
53758         netgroups to read.
53759         (innetgr): Likewise.
53761 2011-07-05  Roland McGrath  <roland@hack.frob.com>
53763         * config.make.in (install_root): Default to $(DESTDIR).
53765 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
53767         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
53769 2011-07-02  Roland McGrath  <roland@hack.frob.com>
53771         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
53773         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
53774         containing directory rather than embedding absolute directory names.
53776         * scripts/check-local-headers.sh: Rewritten using awk.
53777         Match by word, not by line.  Print error messages for matches.
53778         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
53780         * Makerules [shlib-lds-flags empty]:
53781         ($(common-objpfx)libc_pic.opts): New target.
53782         ($(common-objpfx)libc_pic.os.clean): New target.
53783         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
53785         * config.make.in (OBJCOPY): New variable.
53786         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
53787         * configure: Regenerated.
53789         * config.make.in (use-default-link): New variable.
53790         * configure.in (use_default_link): Grok --with-default-link to set it.
53791         * configure: Regenerated.
53792         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
53793         (shlib-lds, shlib-lds-flags): Define to empty.
53795         * Makerules (shlib-lds): New variable.
53796         (shlib-lds-flags): New variable.
53797         (build-shlib, build-moduile, build-module-asneeded): Use it.
53798         ($(common-objpfx)libc.so): Use $(shlib-lds).
53799         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
53800         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
53802         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
53803         DT_FLAGS/DT_FLAGS_1 with zero flags.
53805         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
53806         linker script munging.
53808 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
53810         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
53811         as 128-bit value.
53812         * crypt/sha512.c (sha512_process_block): Perform total addition using
53813         128-bit if possible.
53814         (__sha512_finish_ctx): Likewise.
53815         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
53816         as 64-bit value.
53817         * crypt/sha256.c (SWAP64): Define.
53818         (sha256_process_block): Perform total addition using 64-bit if
53819         possible.
53820         (__sha256_finish_ctx): Likewise.
53822 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
53824         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
53825         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53826         * nscd/hstcache.c (cache_addhst): Likewise.
53827         * nscd/grpcache.c (cache_addgr): Likewise.
53828         * nscd/aicache.c (addhstaiX): Likewise
53829         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
53831 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
53833         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
53834         * nscd/initgrcache.c (addinitgroupsX): Likewise.
53835         * nscd/hstcache.c (cache_addhst): Likewise.
53836         * nscd/grpcache.c (cache_addgr): Likewise.
53837         * nscd/aicache.c (addhstaiX): Likewise
53839 2011-07-01  Andreas Schwab  <schwab@redhat.com>
53841         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
53842         domain only when needed.
53844 2011-06-30  Andreas Schwab  <schwab@redhat.com>
53846         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
53847         is always restored.
53849 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
53851         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
53852         are re-adding the entry.
53853         * nscd/servicescache.c (cache_addserv): Likewise.
53855 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
53857         * sysdeps/generic/dl-irel.h: fix protection against multiple
53858         inclusions.
53859         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
53861 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
53863         [BZ #12935]
53864         * malloc/memusage.sh: Fix quoting in message.
53865         * debug/xtrace.sh: Likewise.
53867         * configure.in: Remove support for --experimental-malloc option, make
53868         it the default.
53869         * config.make.in: Likewise.
53870         * malloc/Makefile: Likewise.
53872 2011-06-27  Andreas Schwab  <schwab@redhat.com>
53874         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
53875         two-byte characters.
53877 2011-06-27  Roland McGrath  <roland@hack.frob.com>
53879         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
53880         AC_CACHE_CHECK invocation.
53881         * configure: Regenerated.
53883         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
53885 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
53887         [BZ #12350]
53888         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
53889         bit from old_res_options.
53891         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
53893         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
53894         value type for setfct.
53896 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
53898         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53899         __gettimeofday instead of gettimeofday.
53901 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
53903         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
53905 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
53907         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
53909         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
53910         info.
53912 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53914         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53915         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53916         strcpy-sse2-unaligned strncpy-sse2-unaligned
53917         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
53918         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
53919         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
53920         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
53921         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
53922         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
53923         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
53924         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
53925         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
53926         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
53927         (STRCPY): Support SSE2 and SSSE3 versions.
53929 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
53931         [BZ #12874]
53932         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
53933         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
53934         kernels which artificially limit size of requests.
53936 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
53938         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
53939         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
53940         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
53941         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
53942         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
53943         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
53944         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
53945         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
53946         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
53947         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
53948         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
53949         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
53950         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
53951         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
53952         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
53953         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53954         Enable unaligned load optimization for Intel Core i3, i5 and i7
53955         processors.
53956         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
53957         Define.
53958         (index_Fast_Unaligned_Load): Define.
53959         (HAS_FAST_UNALIGNED_LOAD): Define.
53961 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
53963         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
53965 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53967         [BZ #12907]
53968         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
53969         until it is clear that the information is realy needed.
53970         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
53972 2011-06-22  Andreas Schwab  <schwab@redhat.com>
53974         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
53976 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
53978         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
53979         /sys/devices/system/cpu/online if it is usable.
53981         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
53982         reading the information from the /proc filesystem to once a second.
53984 2011-06-21  Andreas Jaeger  <aj@suse.de>
53986         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
53987         NULL after inclusion of kernel headers.
53989 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
53991         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
53992         calls to internal_setent.
53994         [BZ #12885]
53995         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
53996         addresses using gethostbyname4_r ignore IPv4 addresses.
53998         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
53999         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
54001         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
54003 2011-06-20  David S. Miller  <davem@davemloft.net>
54005         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
54006         inclusions.
54007         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
54009         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
54010         (elf_irel): Use it.
54011         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
54012         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
54013         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
54014         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
54015         * sysdeps/x86_64/dl-irel.h: Likewise.
54017         * elf/dl-runtime.c: Use elf_ifunc_invoke.
54018         * elf/dl-sym.c: Likewise.
54020 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54022         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
54023         need to dereference resplen2.
54025 2011-06-14  Andreas Schwab  <schwab@redhat.com>
54027         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
54029 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
54031         * Makeconfig: Define vardbdir and inst_vardbdir.
54032         * nss/Makefile: Add rules to install db-Makefile.
54034         * nss/nss_db/db-XXX.c: Cleanup.
54036         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
54037         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
54038         GLIBC_PRIVATE.
54039         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
54040         * nss/makedb.c: Implement -g option to specify that value strings
54041         are generated and should not be added to table iterated over for
54042         get*ent calls.
54043         * nss/nss_db/db-initgroups.c: New file.
54045         * nss/getent.c: Add support for initgroups lookups through getgrouplist
54046         interface.
54048         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
54049         (internal_getgrouplist): Adjust to name change.
54050         Update use_initgroups_entry if this is not the first call.
54051         * nss/databases.def: Add initgroups entry.
54053         * nss/makedb.c (compute_tables): Check result of multiple hash table
54054         sizes to minimize maximum chain length.
54056 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
54058         * Versions.def: Add entry for libnss_db.
54059         * shlib-versions: Likewise.
54060         * nss/Makefile: Add rules to build libnss_db.
54061         * nss/Versions: Add libnss_db information.  Organize libnss_files
54062         entries better.
54063         * nss/db-Makefile: Add gshadow support.  Change rules for the new
54064         makedb progra.  Some minor improvements to generate smaller files.
54065         * nss/nss_db/nss_db.h: Move NSS database header data structures to
54066         here from...
54067         * nss/makedb.c: ...here.
54068         Improve database format to be smaller and require less memory at
54069         runtime.
54070         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
54071         db anymore.
54072         * nss/nss_db/db-netgrp.c: Likewise.
54073         * nss/nss_db/db-open.c: Likewise.
54074         * nss/nss_files/flies-XXX.x: Adjust comments.
54075         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
54076         * nss/nss_files/files-grp.c: Likewise.
54077         * nss/nss_files/files-hosts.c: Likewise.
54078         * nss/nss_files/files-network.c: Likewise.
54079         * nss/nss_files/files-proto.c: Likewise.
54080         * nss/nss_files/files-pwd.c: Likewise.
54081         * nss/nss_files/files-rpc.c: Likewise.
54082         * nss/nss_files/files-service.c: Likewise.
54083         * nss/nss_files/files-sgrp.c: Likewise.
54084         * nss/nss_files/files-spwd.c: Likewise.
54085         * nss/nss_db/db-alias.c: Removed.
54086         * nss/nss_db/dummy-db.h: Removed.
54088 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
54090         * nss/makedb.c: Rewritten to not use database library.
54091         * nss/Makefile: Update to build new makedb program.
54093 2011-06-14  Andreas Jaeger  <aj@suse.de>
54095         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
54096         memset declaration.
54098 2011-06-10  Andreas Schwab  <schwab@redhat.com>
54100         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
54101         tmpbuf.
54103 2011-06-10  Roland McGrath  <roland@hack.frob.com>
54105         * Makerules (shlib.lds): Fail if the linker script comes out empty.
54106         * elf/Makefile ($(objpfx)ld.so): Likewise.
54108         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
54109         Don't list ld.so twice in dependencies.
54111         * posix/bug-regex31.c: Include <stdlib.h>.
54113         * nscd/hstcache.c (cache_addhst): Remove unused variable.
54115         * nis/nss_compat/compat-spwd.c
54116         (getspent_next_nss_netgr): Remove unused variable.
54117         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
54119         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
54120         nonmembers" output to use the right array.
54122         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
54124         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
54126         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
54127         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
54128         * catgets/gencat.c (read_input_file): Likewise.
54129         * locale/programs/locarchive.c (enlarge_archive): Likewise.
54131         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
54132         variable definition inside #if's controlling its use.
54134         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
54136         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
54138         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
54140         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
54141         unreachable code.
54143         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
54145         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
54146         * configure: Regenerated.
54148         * Makerules: Revert last change.
54149         * elf/Makefile: Likewise.
54151 2011-06-09  Roland McGrath  <roland@hack.frob.com>
54153         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
54154         * elf/Makefile ($(objpfx)librtld.os): Likewise.
54155         (reloc-link): Likewise.
54157 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
54159         * elf/Makefile: Add rules to build pldd.
54160         * elf/pldd.c: New file.
54161         * elf/pldd-xx.c: New file.
54163 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
54165         * version.h: Update for 2.15 development version.
54167 2011-06-07  David S. Miller  <davem@davemloft.net>
54169         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
54170         ifuncs.
54171         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
54172         elf_machine_lazy_rel): Likewise.
54173         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54174         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
54175         elf_machine_lazy_rel): Likewise.
54176         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
54177         dl_hwcap via passed in argument.
54178         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
54179         Likewise.
54181 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54183         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
54185 2011-06-06  Roland McGrath  <roland@hack.frob.com>
54187         [BZ #12849]
54188         * manual/fdl-1.1.texi: New file, verbatim from:
54189         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
54190         * manual/lgpl-2.1.texi: New file, verbatim from:
54191         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
54192         * manual/Makefile (licenses): New variable, list those new file names.
54193         (texis): Use it.
54194         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
54196         * manual/fdl.texi: File removed.
54197         * manual/lesser.texi: File removed.
54198         * manual/libc.texinfo (Copying, Documentation License):
54199         Use new @include file names, put @appendix directive before @include.
54201 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
54203         [BZ #12841]
54204         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
54205         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
54206         (mq_open): Add __NTH.
54208 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
54210         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54211         Assume Intel Core i3/i5/i7 processor if AVX is available.
54213 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54215         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
54216         typo.
54218 2011-05-31  Andreas Schwab  <schwab@redhat.com>
54220         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
54221         memory.  Use alloca_account.  Fix memory leak when retrying.
54223 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
54225         * version.h (RELEASE): Bump for 2.14 release.
54226         * include/features.h (__GLIBC_MINOR__): Bump to 14.
54228         * config.make.in (RANLIB): Remove entry.
54230 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
54232         * po/Makefile (po-sed-cmd): Add ksh to extensions.
54233         (libc.pot): Work around missing support for .ksh extension in xgettext.
54235         [BZ #12684]
54236         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
54237         if both request failed.
54238         (send_dg): In case of server errors clear resplen or *resplen2.
54240         [BZ #12454]
54241         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
54242         when there are multiple maps.
54243         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
54244         (_dl_fini): Remove test here.
54246         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
54248 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
54250         [BZ #12350]
54251         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
54252         bit from old_res_options.
54253         (gaih_inet): Likewise.
54255         [BZ #11099]
54256         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
54257         as signed.
54259         * resolv/res_init.c (res_setoptions): Make the code more compact.
54261         [BZ #11558]
54262         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
54263         set RES_USEVC.
54265         [BZ #11634]
54266         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
54268         * malloc/malloc.h: Mark malloc hook variables as deprecated.
54270         [BZ #11781]
54271         * malloc/malloc.h: Declare malloc hook variables as volatile.
54273         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
54274         in last patch.
54276         [BZ #11799]
54277         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
54278         raise in the comment.
54279         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
54280         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
54281         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
54283 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
54285         [BZ #12811]
54286         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
54287         grow the buffers more if it already has to be sufficient.
54288         (build_wcs_upper_buffer): Likewise.
54289         * posix/regexec.c (check_matching): Likewise.
54290         (clean_state_log_if_needed): Likewise.
54291         (extend_buffers): Don't enlarge buffers beyond size of the input
54292         buffer.
54293         Patches mostly by Emil Wojak <emil@wojak.eu>.
54294         * posix/bug-regex32.c: New file.
54295         * posix/Makefile (tests): Add bug-regex32.
54297         * locale/findlocale.c (_nl_find_locale): Return right away if
54298         _nl_explode_name failed.
54299         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
54301         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
54303         * debug/xtrace.sh: Unify messages.
54304         * malloc/memusage.sh: Likewise.
54306         [BZ #12813]
54307         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
54308         time symbol from vDSO.  Substitute with vsyscall if not available.
54309         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
54310         __vdso_time.
54312         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
54313         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
54314         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
54315         Add sendmmsg and internal_sendmmsg.
54316         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
54317         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
54318         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
54320         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
54321         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
54322         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
54324 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
54326         [BZ #12813]
54327         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
54328         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
54329         available.
54330         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
54331         __vdso_getcpu.
54333         [BZ #12814]
54334         * iconvdata/Makefile (tests): Add bug-iconv9.
54335         * iconvdata/bug-iconv9.c: New file.
54337 2011-05-27  Andreas Schwab  <schwab@redhat.com>
54339         [BZ #12814]
54340         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
54342 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
54344         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54345         (struct user_regs_struct): Change intcs field back to cs.
54347 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
54349         * po/ja.po: Update from translation team.
54351 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
54353         [BZ #12795]
54354         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
54355         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
54357 2011-05-20  Andreas Schwab  <schwab@redhat.com>
54359         * stdlib/longlong.h: Update from GCC.
54361 2011-05-23  Andreas Schwab  <schwab@redhat.com>
54363         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
54364         parameter name.
54365         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
54366         Add parameter name.
54367         (__sysconf): Pass it down.
54369 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
54371         [BZ #12671]
54372         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
54373         some situations.
54374         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54375         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
54376         add in in __libc_use_alloca calls.  Adjust callers.
54377         (glob): Use malloc in some situations.
54379         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
54380         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
54381         pltexit.
54383 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
54385         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
54386         and CLOCK_BOOTTIME_ALARM.
54388         [BZ #12782]
54389         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
54390         is returned.
54392         * string/_strerror.c (__strerror_r): Print negative errors as signed
54393         numbers.
54395         [BZ #12777]
54396         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
54397         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
54398         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
54400         * configure.in: Fix typo in redirection and correct removal of test
54401         files in two cases.
54403         [BZ #12788]
54404         * locale/setlocale.c (new_composite_name): Fix test to check for
54405         identical name of all categories.
54407         [BZ #12792]
54408         * libio/filedoalloc.c (local_isatty): New function.
54409         (_IO_file_doallocate): Use local_isatty.
54410         * stdio-common/perror.c (perror): In case a new stream is used
54411         forward the stream error.
54412         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
54413         error flag.
54415 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
54417         [BZ #11869]
54418         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
54419         alloca.
54420         * include/alloca.h (extend_alloca_account): Define.
54422         [BZ #11857]
54423         * posix/regex.h: Fix comments with documentation of user-accessible
54424         fields after compilation and describe correct free'ing of pattern
54425         after re_compile_pattern.
54426         Patch by Reuben Thomas <rrt@sc3d.org>.
54428 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
54430         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
54431         and -mno-altivec to prevent the compiler from using Altivec and/or
54432         VSX instructions when the corresponding registers are not available.
54434 2011-05-19  Andreas Schwab  <schwab@redhat.com>
54436         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
54438 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
54440         * libio/freopen.c (freopen): Use __dup2, not dup2.
54441         * libio/freopen64.c (freopen64): Likewise.
54443 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
54445         [BZ #12775]
54446         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
54447         * math/Makefile (tests): Add test-powl.
54448         (CFLAGS-test-powl.c): Define.
54449         * math/test-powl.c: New file.
54451 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
54453         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
54455 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
54457         [BZ #11837]
54458         * iconvdata/gb18030.c: Update to GB18020-2005.
54460 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
54462         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
54463         RE_SYNTAX_POSIX_AWK): Update to match recent development.
54464         Patch by Aharon Robbins <arnold@skeeve.com>.
54466         [BZ #11892]
54467         * stdlib/putenv.c (putenv): Don't always create copy of the variable
54468         on the stack.
54470         [BZ #11895]
54471         * misc/pselect.c (__pselect): Handle timeout value errors hidden
54472         through underflows.
54474         [BZ #12766]
54475         * misc/error.c (error_at_line): Ensure file_name and old_file_name
54476         point to strings before performing equality test for error_one_per_line
54477         mode.
54479         [BZ #11697]
54480         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
54482         [BZ #11820]
54483         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
54484         (struct user_fpregs_struct): Avoid __uint*_t types.
54486         [BZ #6420]
54487         * malloc/mtrace.c (tr_where): Add additional parameter to point to
54488         symbol info.  Use it instead of calling _dl_addr locally.
54489         (lock_and_info): New function.
54490         (tr_freehook): Call lock_and_info and pass symbol info as additional
54491         parameter to tr_where.
54492         (tr_mallochook): Likewise.
54493         (tr_reallochook): Likewise.
54494         (tr_memalignhook): Likewise.
54496         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
54497         used and couldn't be at all thread-safe.
54499 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
54501         * libio/freopen.c (freopen): Don't close old file descriptor
54502         before the new one is opened.  Instead dup the new file descriptor
54503         to the old one after the new stream is created.
54504         * libio/freopen64.c (freopen64): Likewise.
54505         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
54506         * libio/fileops.c (_IO_new_file_close_it): Handle new
54507         _IO_FLAGS2_NOCLOSE flag.
54508         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
54509         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
54510         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
54511         _IO_FLAGS2_NOCLOSE flag.
54512         * include/unistd.h: Add hidden_proto for dup3.
54513         Define __have_dup3.
54514         * io/dup3.c: Define hidden symbol.
54515         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
54517         [BZ #7101]
54518         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
54519         when an incomplete long option is used.
54520         * posix/tst-getopt_long1.c: New file.
54521         * posix/Makefile (tests): Add tst-getopt_long1.
54523         [BZ #10138]
54524         * scripts/config.guess: Update from autoconf-2.68.
54525         * scripts/config.sub: Likewise.
54527         [BZ #10157]
54528         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
54529         tests into ...
54530         (has_cpuclock): ...this.  New function.
54531         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
54532         macro here based on has_cpuclock code.
54534         [BZ #10149]
54535         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54536         First byte (not low byte) is now always NUL.
54537         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
54539         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54540         Use non-cancelable interfaces.
54542         [BZ #9809]
54543         * locale/iso-639.def: Add entry for Sorani.
54545         [BZ #11901]
54546         * include/stdlib.h: Move include protection to the right place.
54547         Define abort_msg_s.  Declare __abort_msg with it.
54548         * stdlib/abort.c (__abort_msg): Adjust type.
54549         * assert/assert.c (__assert_fail_base): New function.  Majority
54550         of code from __assert_fail.  Allocate memory for __abort_msg with
54551         mmap.
54552         (__assert_fail): Now call __assert_fail_base.
54553         * assert/assert-perr.c: Remove bulk of implementation.  Use
54554         __assert_fail_base.
54555         * include/assert.hL Declare __assert_fail_base.
54556         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
54557         mmap.
54558         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
54560 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
54562         [BZ #11952]
54563         [BZ #12453]
54564         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
54565         until all modules are registered in the DTV.
54566         * elf/Makefile: Add rules to build and run tst-tls19.
54567         * elf/tst-tls19.c: New file.
54568         * elf/tst-tls19mod1.c: New file.
54569         * elf/tst-tls19mod2.c: New file.
54570         * elf/tst-tls19mod3.c: New file.
54571         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
54573         [BZ #12083]
54574         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
54575         correctly.
54577         [BZ #12601]
54578         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
54579         two-byte sequence errors.
54580         * iconvdata/Makefile (tests): Add bug-iconv8.
54581         * iconvdata/bug-iconv8.c: New file.
54583         [BZ #12626]
54584         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
54585         buf2 definition.
54587         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
54589         [BZ #12432]
54590         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
54591         (dummy_getcfa): New function.
54592         (init): Get _Unwind_GetCFA address, use dummy if not found.
54593         (backtrace_helper): In recursion check, also check whether CFA changes.
54594         (__backtrace): Completely initialize arg.
54596         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
54597         storing incomplete byte sequence in state object.  Avoid testing for
54598         guaranteed too small input if we know there is enough data available.
54600 2011-05-11  Andreas Schwab  <schwab@redhat.com>
54602         * Makeconfig (+link-pie): Indent.
54603         * Rules (binaries-pie): Define if $(have-fpie) and
54604         $(build-shared).
54605         (binaries-shared): Also filter out $(binaries-pie).
54606         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
54607         * nscd/Makefile (others-pie): Add nscd.
54608         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
54609         ($(objpfx)nscd): Remove command override.
54610         * login/Makefile (others-pie): Add pt_chown.
54611         ($(objpfx)pt_chown): Remove command override.
54612         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
54613         remove command overrides.
54615 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
54617         * libio/tst_putwc.c: Fix error messages.
54619         [BZ #12724]
54620         * libio/fileops.c (_IO_new_file_close_it): Always flush when
54621         currently writing and seek to current position when not.
54622         * libio/Makefile (tests): Add bug-fclose1.
54623         * libio/bug-fclose1.c: New file.
54625 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
54627         [BZ #12511]
54628         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
54629         don't set DF_1_NODELETE here.
54630         (do_lookup_x): When entering new entry test for copy relocation
54631         and if necessary set DF_1_NODELETE flag.
54632         * elf/tst-unique4.cc: New file.
54633         * elf/tst-unique4.h: New file.
54634         * elf/tst-unique4lib.cc: New file.
54635         * elf/Makefile: Add rules to build and run tst-unique4.
54636         Patch by Piotr Bury <pbury@goahead.com>.
54638 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
54640         [BZ #12052]
54641         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
54643         [BZ #12625]
54644         * misc/mntent_r.c (addmntent): Flush the stream after the output
54646         [BZ #12393]
54647         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
54648         (is_trusted_path_normalize): Skip initial colon.  Append slash
54649         to empty buffer.  Duplicate is_trusted_path code but allow
54650         constructed patch to be prefix.
54651         (is_dst): Allow $ORIGIN followed by /.
54652         (_dl_dst_substitute): Correct clearing of check_for_trusted.
54653         Correct testing of result of is_trusted_path_normalize
54654         (decompose_rpath): Fix warning.
54656 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
54658         [BZ #11257]
54659         * grp/initgroups.c (internal_getgrouplist): When we found the service
54660         list through the initgroups entry in nsswitch.conf do not always
54661         continue on a successful lookup.  Don't always use the
54662         __nss_group_database value if it is set.
54663         * nss/nsswitch.conf (initgroups): Change action for successful db
54664         lookup to continue for compatibility.
54666 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
54668         [BZ #11532]
54669         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
54670         and CP774 modules.
54671         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
54672         and CP774 modules.
54673         * iconvdata/tst-tables.sh: Likewise.
54674         * iconvdata/cp770.c: New file.
54675         * iconvdata/cp771.c: New file.
54676         * iconvdata/cp772.c: New file.
54677         * iconvdata/cp773.c: New file.
54678         * iconvdata/cp774.c: New file.
54679         * iconvdata/testdata/CP770: New file.
54680         * iconvdata/testdata/CP770..UTF8: New file.
54681         * iconvdata/testdata/CP771: New file.
54682         * iconvdata/testdata/CP771..UTF8: New file.
54683         * iconvdata/testdata/CP772: New file.
54684         * iconvdata/testdata/CP772..UTF8: New file.
54685         * iconvdata/testdata/CP773: New file.
54686         * iconvdata/testdata/CP773..UTF8: New file.
54687         * iconvdata/testdata/CP774: New file.
54688         * iconvdata/testdata/CP774..UTF8: New file.
54690         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
54691         END CHARMAP line.
54692         * iconvdata/gen-8bit-gap.sh: Likewise.
54693         * iconvdata/gen-8bit.sh: Likewise.
54695         * locale/iso-639.def: Add ary entry.
54697         [BZ #11258]
54698         * locale/C-translit.h.in: Add U20A1 transliteration.
54700         [BZ #12178]
54701         * locale/iso-639.def: Add wae entry.
54702         Patch by Kevin Bortis <bortis@translate-wae.ch>.
54704         [BZ #12545]
54705         * locale/programs/localedef.c (construct_output_path): Use ssize_t
54706         for n.
54708         [BZ #12711]
54709         * locale/C-translit.h.in: Add entry for U20B9.
54710         Patch by pravin.d.s@gmail.com.
54712 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
54714         [BZ #12713]
54715         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
54716         ENAMETOOLONG use generic getcwd.
54717         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
54718         in rtld.  Use *stat64.
54719         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
54720         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
54721         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
54722         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
54723         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
54724         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
54725         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
54726         __fstatat64 macros.
54727         * include/dirent.h: Add libc_hidden_proto for rewinddir.
54728         * dirent/rewinddir.c: Add libc_hidden_def.
54729         * sysdeps/mach/hurd/rewinddir.c: Likewise.
54730         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
54732         * include/dirent.h (__alloc_dir): Add flags parameter.
54733         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
54734         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
54735         __alloc_dir.
54736         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
54737         from fdopendir if O_CLOEXEC is already set.
54739 2011-03-15  Alan Modra  <amodra@gmail.com>
54741         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
54742         l_tls_firstbyte_offset non-zero.  Save padding offset in
54743         l_tls_firstbyte_offset for later use.
54744         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
54745         freeing static tls block.
54747 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
54749         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
54750         where #ifdef was intended.  The intent is to prevent ARG_MAX from
54751         being defined by the kernel headers.
54753 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
54755         [BZ #12734]
54756         * resolv/resolv.h: Define RES_NOTLDQUERY.
54757         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
54758         no-tld-query and set RES_NOTLDQUERY.
54759         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
54760         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
54761         modern BIND to search name as TLD unless forbidden.
54763 2011-05-07  Petr Baudis  <pasky@suse.cz>
54764             Ulrich Drepper  <drepper@gmail.com>
54766         [BZ #12393]
54767         * elf/dl-load.c (fillin_rpath): Move trusted path check...
54768         (is_trusted_path): ...to here.
54769         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
54770         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
54771         using is_trusted_path_normalize() in setuid scripts.
54773 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
54775         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
54776         __BEGIN/__END_DECLS.
54778 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
54780         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
54781         NSS_STATUS_NOTFOUND if no record was found.
54783 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54785         * sunrpc/Makefile (headers): Add rpc/netdb.h.
54786         (headers-not-in-tirpc): Remove rpc/netdb.h
54787         * resolv/netdb.h: Revert last change.
54789 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
54791         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
54792         circular dependency between libgcc.a and libc.a.
54794 2011-05-05  Andreas Schwab  <schwab@redhat.com>
54796         * resolv/netdb.h: Don't include <rpc/netdb.h>.
54797         * nis/Makefile: Don't install rpcsvc/*.
54798         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
54799         instead of <rpc/types.h>.
54800         (MAXHOSTNAMELEN): Define.
54802 2011-05-03  Andreas Schwab  <schwab@redhat.com>
54804         * elf/ldconfig.c (add_dir): Don't crash on empty path.
54806 2011-04-28  Maciej Babinski  <mbabinski@google.com>
54808         [BZ #12714]
54809         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
54810         gethostbyname4_r when IPv6 results are possible.
54812 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
54814         [BZ #12723]
54815         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
54816         _PC_PIPE_BUF handling.
54818 2011-04-30  Bruno Haible  <bruno@clisp.org>
54820         [BZ #12717]
54821         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
54822         * resolv/netdb.h (getnameinfo): Change type of flags parameter
54823         to 'int'.
54824         * inet/getnameinfo.c (getnameinfo): Likewise.
54826 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
54828         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
54829         to groups setting in database lookup.
54830         * nss/nsswitch.conf: Add initgroups entry.
54832 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
54834         [BZ #12685]
54835         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
54836         mode string.
54837         Patch by Eric Blake <eblake@redhat.com>.
54839 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
54841         * sunrpc/Makefile (need-export-routines): Add svc_run.
54842         (routines): Remove svc_run.
54843         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
54844         * sunrpc/clnt_perr.c (clnt_perrno): Export.
54845         * sunrpc/svc_run.c (svc_run): Likewise.
54846         * sunrpc/svc_udp.c (svcudp_create): Likewise.
54848 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
54850         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
54851         problem in reallocation in last patch.
54853 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
54855         * sunrpc/Makefile: Move inclusion of Rules.
54857 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54859         * nss/nss_files/files-initgroups.c: New file.
54860         * nss/Makefile (libnss_files-routines): Add files-initgroups.
54861         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
54862         _nss_files_initgroups_dyn.
54864 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
54866         * elf/elf.h (R_ARM_IRELATIVE): Define.
54868 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
54870         * po/ru.po: Update from translation team.
54872 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54874         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
54875         dependencies.
54877 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
54879         [BZ #12653]
54880         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
54881         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
54882         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
54883         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
54884         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
54886 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
54888         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
54889         differing bytes.
54890         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
54891         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
54892         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
54894 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
54896         [BZ #12420]
54897         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
54898         storing it.
54899         * stdlib/bug-getcontext.c: New file.
54900         * stdlib/Makefile: Add rules to build and run bug-getcontext.
54902 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54904         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
54905         instructions into .machine "z9-109".
54906         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
54907         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
54909 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54911         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
54912         between environment variables and auxiliary vector.
54914 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
54916         * Makefile: Add rules to build linkobj/libc.so.
54917         * include/libc-symbols.h: Define libc_hidden_nolink.
54918         * include/rpc/auth.h: Mark functions which are to be hidden.
54919         * include/rpc/auth_des.h: Likewise.
54920         * include/rpc/auth_unix.h: Likewise.
54921         * include/rpc/clnt.h: Likewise.
54922         * include/rpc/des_crypt.h: Likewise.
54923         * include/rpc/key_prot.h: Likewise.
54924         * include/rpc/pmap_clnt.h: Likewise.
54925         * include/rpc/pmap_prot.h: Likewise.
54926         * include/rpc/pmap_rmt.h: Likewise.
54927         * include/rpc/rpc_msg.h: Likewise.
54928         * include/rpc/svc.h: Likewise.
54929         * include/rpc/svc_auth.h: Likewise.
54930         * include/rpc/xdr.h: Likewise.
54931         * nis/Makefile: Link all DSOs against linkobj/libc.so.
54932         * nss/Makefile: Likewise.
54933         * sunrpc/Makefile: Don't install headers.  Build library with normal
54934         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
54935         * sunrpc/auth_des.c: Hide exported symbols by default, export some
54936         for the compat linking library.  Remove use of INTDEF/INTUSE.
54937         * sunrpc/auth_none.c: Likewise.
54938         * sunrpc/auth_unix.c: Likewise.
54939         * sunrpc/authdes_prot.c: Likewise.
54940         * sunrpc/authuxprot.c: Likewise.
54941         * sunrpc/clnt_gen.c: Likewise.
54942         * sunrpc/clnt_perr.c: Likewise.
54943         * sunrpc/clnt_raw.c: Likewise.
54944         * sunrpc/clnt_simp.c: Likewise.
54945         * sunrpc/clnt_tcp.c: Likewise.
54946         * sunrpc/clnt_udp.c: Likewise.
54947         * sunrpc/clnt_unix.c: Likewise.
54948         * sunrpc/des_crypt.c: Likewise.
54949         * sunrpc/des_soft.c: Likewise.
54950         * sunrpc/get_myaddr.c: Likewise.
54951         * sunrpc/key_call.c: Likewise.
54952         * sunrpc/key_prot.c: Likewise.
54953         * sunrpc/netname.c: Likewise.
54954         * sunrpc/pm_getmaps.c: Likewise.
54955         * sunrpc/pm_getport.c: Likewise.
54956         * sunrpc/pmap_clnt.c: Likewise.
54957         * sunrpc/pmap_prot.c: Likewise.
54958         * sunrpc/pmap_prot2.c: Likewise.
54959         * sunrpc/pmap_rmt.c: Likewise.
54960         * sunrpc/publickey.c: Likewise.
54961         * sunrpc/rpc_cmsg.c: Likewise.
54962         * sunrpc/rpc_common.c: Likewise.
54963         * sunrpc/rpc_dtable.c: Likewise.
54964         * sunrpc/rpc_prot.c: Likewise.
54965         * sunrpc/rpc_thread.c: Likewise.
54966         * sunrpc/rtime.c: Likewise.
54967         * sunrpc/svc.c: Likewise.
54968         * sunrpc/svc_auth.c: Likewise.
54969         * sunrpc/svc_authux.c: Likewise.
54970         * sunrpc/svc_raw.c: Likewise.
54971         * sunrpc/svc_run.c: Likewise.
54972         * sunrpc/svc_simple.c: Likewise.
54973         * sunrpc/svc_tcp.c: Likewise.
54974         * sunrpc/svc_udp.c: Likewise.
54975         * sunrpc/svc_unix.c: Likewise.
54976         * sunrpc/svcauth_des.c: Likewise.
54977         * sunrpc/xcrypt.c: Likewise.
54978         * sunrpc/xdr.c: Likewise.
54979         * sunrpc/xdr_array.c: Likewise.
54980         * sunrpc/xdr_float.c: Likewise.
54981         * sunrpc/xdr_intXX_t.c: Likewise.
54982         * sunrpc/xdr_mem.c: Likewise.
54983         * sunrpc/xdr_rec.c: Likewise.
54984         * sunrpc/xdr_ref.c: Likewise.
54985         * sunrpc/xdr_sizeof.c: Likewise.
54986         * sunrpc/xdr_stdio.c: Likewise.
54988 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
54990         [BZ #12650]
54991         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
54992         * sysdeps/ia64/dl-tls.h: Likewise.
54993         * sysdeps/powerpc/dl-tls.h: Likewise.
54994         * sysdeps/s390/dl-tls.h: Likewise.
54995         * sysdeps/sh/dl-tls.h: Likewise.
54996         * sysdeps/sparc/dl-tls.h: Likewise.
54997         * sysdeps/x86_64/dl-tls.h: Likewise.
54998         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
55000 2011-03-14  Andreas Schwab  <schwab@redhat.com>
55002         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
55003         rpath element also skip the following colon.
55004         (expand_dynamic_string_token): Add is_path parameter and pass
55005         down to DL_DST_REQUIRED and _dl_dst_substitute.
55006         (decompose_rpath): Call expand_dynamic_string_token with
55007         non-zero is_path.  Ignore empty rpaths.
55008         (_dl_map_object_from_fd): Call expand_dynamic_string_token
55009         with zero is_path.
55011 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
55013         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
55014         Make cancelable.
55016 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
55018         [BZ #12655]
55019         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
55020         Patch by Filipe David Manana <fdmanana@apache.org>.
55022 2011-04-07  Andreas Schwab  <schwab@redhat.com>
55024         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
55025         Maintain aligned stack.
55026         (CHECK_RSP): Remove unused macro.
55028 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
55030         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
55031         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
55033 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
55035         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
55037         * include/features.h: Mention __USE_XOPEN2K8 in comment.
55039 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
55041         [BZ #12518]
55042         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
55043         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
55044         * sysdeps/x86_64/memmove.c: New file.
55045         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
55046         (memcpy): Renamed to ...
55047         (__new_memcpy): This.
55048         (memcpy): Provide GLIBC_2_14 memcpy.
55049         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
55050         (memcpy): Provide GLIBC_2_2_5 memcpy.
55052 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55054         [BZ #12631]
55055         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
55057 2011-03-30  Andreas Schwab  <schwab@redhat.com>
55059         * misc/syncfs.c: New file.
55060         * misc/Makefile (routines): Add syncfs.
55061         * posix/unistd.h: Declare syncfs.
55062         * sysdeps/unix/syscalls.list: Add syncfs.
55064 2011-04-01  Andreas Schwab  <schwab@redhat.com>
55066         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
55067         open_by_handle_at.
55068         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
55069         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55070         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55071         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55072         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55073         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
55074         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55076 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55078         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
55079         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55080         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
55081         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55082         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55083         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55084         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55086         * io/Makefile: Compile fallocate.c, fallocate64.c, and
55087         sync_file_range.c with -fexceptions.
55088         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
55089         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
55090         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
55091         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
55092         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
55093         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
55094         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
55095         sync_file_range as cancellation point
55096         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
55097         now a wrapper around __call_sync_file_range with cancellation handling.
55098         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
55099         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
55100         function name to __call_sync_file_range.
55101         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
55102         Add call_sync_file_range.
55104 2011-04-01  Andreas Schwab  <schwab@redhat.com>
55106         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
55107         bits/timex.h.
55109 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
55111         * iconv/iconv.h: Fix typo in comment.
55112         * io/fcntl.h: Likewise.
55113         * libio/stdio.h: Likewise.
55114         * posix/spawn.h: Likewise.
55115         * posix/unistd.h: Likewise.
55116         * stdlib/stdlib.h: Likewise.
55117         * time/time.h: Likewise.
55118         * wcsmbs/wchar.h: Likewise.
55120         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
55121         open_by_handle): Add.
55122         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
55123         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
55124         Augment a few comments.
55125         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
55126         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
55127         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
55128         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
55129         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
55130         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
55131         open_by_handle.
55133         * io/fcntl.h (AT_EMPTY_PATH): Define.
55135 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
55137         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
55138         * sysdeps/unix/sysv/linux/bits/time.h: New file.
55139         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
55140         to...
55141         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
55142         * Versions.def: Add GLIBC_2.14.
55143         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
55144         Export.
55146 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
55148         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
55149         round counter.
55150         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55152 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
55154         [BZ #12597]
55155         * string/test-strncmp.c (do_page_test): New function.
55156         (check2): Likewise.
55157         (test_main): Call check2.
55158         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
55160 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
55162         [BZ #12587]
55163         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
55164         Handle cache information in CPU leaf 4.
55165         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
55167 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
55169         [BZ #12583]
55170         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
55171         character representation.
55172         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
55174 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
55176         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
55177         END(__isnan) to END(__isnanf) to match function entry point/label
55178         EALIGN(__isnanf,...).
55180 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
55182         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
55184 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
55186         [BZ #12510]
55187         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
55188         copy from the symbol referenced in the relocation to initialize the
55189         used variable.
55190         Patch by Piotr Bury <pbury@goahead.com>.
55191         * elf/Makefile: Add rules to build and tst-unique3.
55192         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
55193         * elf/tst-unique3.cc: New file.
55194         * elf/tst-unique3.h: New file.
55195         * elf/tst-unique3lib.cc: New file.
55196         * elf/tst-unique3lib2.cc: New file.
55198         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
55200 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
55202         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
55203         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
55204         to _start.
55206 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
55208         * elf/dl-load.c (_dl_map_object): If we are looking for the first
55209         to-be-loaded object along a path to loader is ld.so.
55211 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55212             Ulrich Drepper  <drepper@gmail.com>
55214         * sysdeps/x86_64/memset.S: After aligning destination, code
55215         branches to different locations depending on the value of
55216         misalignment, when multiarch is enabled. Fix this.
55218 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
55220         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
55221         Set _x86_64_preferred_memory_instruction for AMD processsors.
55222         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55223         Set bit_Prefer_SSE_for_memop for AMD processors.
55225 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
55227         * libio/fmemopen.c (fmemopen): Optimize a bit.
55229 2011-03-03  Andreas Schwab  <schwab@redhat.com>
55231         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
55233 2011-03-03  Roland McGrath  <roland@redhat.com>
55235         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
55237 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
55239         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
55240         __bzero_ultra1 instead of __memset_ultra1.
55242 2011-02-23  Andreas Schwab  <schwab@redhat.com>
55243             Ulrich Drepper  <drepper@gmail.com>
55245         [BZ #12509]
55246         * include/link.h (struct link_map): Add l_orig_initfini.
55247         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
55248         returning unsuccessfully.
55249         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
55250         close of a file loaded at startup, restore the original l_initfini
55251         list.
55252         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
55253         list, store the pointer.
55254         * elf/Makefile ($(objpfx)noload-mem): New rule.
55255         (noload-ENV): Define.
55256         (tests): Add $(objpfx)noload-mem.
55257         * elf/noload.c: Include <memcheck.h>.
55258         (main): Call mtrace.  Close all opened handles.
55260 2011-02-17  Andreas Schwab  <schwab@redhat.com>
55262         [BZ #12454]
55263         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
55264         dependencies are missing.
55266 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55268         Fix __if_freereq crash: Unlike the generic version which uses free,
55269         Hurd needs munmap.
55270         * sysdeps/mach/hurd/ifreq.h: New file.
55272 2011-01-27  Petr Baudis  <pasky@suse.cz>
55273             Ulrich Drepper  <drepper@gmail.com>
55275         [BZ 12445]#
55276         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
55277         to extend_alloca().
55278         * stdio-common/bug23.c: New file.
55279         * stdio-common/Makefile (tests): Add bug23.
55281 2010-09-28  Andreas Schwab  <schwab@redhat.com>
55282             Ulrich Drepper  <drepper@gmail.com>
55284         [BZ #12489]
55285         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
55286         before performing relro protection.  At old place add assertion
55287         to make sure nothing changed.
55289 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
55290             Glauber de Oliveira Costa  <glommer@gmail.com>
55292         * elf/elf.h: Add new ARM TLS relocs.
55294 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
55296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
55297         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
55298         cast from r3.
55299         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
55300         'tests' variable.
55301         * sysdeps/wordsize-64/tst-writev.c: New file.
55303 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
55305         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
55306         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
55307         insns in _dl_start to prevent a TOC reference before relocs are
55308         resolved.
55310 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
55312         [BZ #12469]
55313         * Makeconfig: Remove RANLIB definition.
55314         * Makerules: Don't use RANLIB.
55315         * aclocal.m4: Remove ranlib test.
55316         * configure.in: No need to check for ranlib.
55317         * elf/rtld-Rules: Don't use RANLIB.
55319 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55321         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
55322         protection macro.
55323         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
55324         inclusion protection macro.
55326         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
55327         SIGRTMIN and SIGRTMAX and print information in that case only when
55328         SIGRTMIN is defined.
55330 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
55332         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
55333         arginfo fn returning -1.
55335         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
55336         and thousands string is zero terminated.
55338 2011-02-03  Andreas Schwab  <schwab@redhat.com>
55340         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
55341         sysdeps/unix/sysv/linux/bits/socket.h.
55343 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
55345         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
55346         (__CPU_COUNT): Remove old macros.
55347         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
55348         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
55349         (__CPU_ALLOC, __CPU_FREE): Add macros.
55350         (__sched_cpualloc, __sched_cpufree): Add declarations.
55352 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
55354         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
55355         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
55356         * nscd/aicache.c (addhstaiX): Return timeout of added value.
55357         (readdhstai): Return value of addhstaiX call.
55358         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
55359         (addgrbyX): Return value returned by cache_addgr.
55360         (readdgrbyname): Return value returned by addgrbyX.
55361         (readdgrbygid): Likewise.
55362         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
55363         (addpwbyX): Return value returned by cache_addpw.
55364         (readdpwbyname): Return value returned by addhstbyX.
55365         (readdpwbyuid): Likewise.
55366         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
55367         (addservbyX): Return value returned by cache_addserv.
55368         (readdservbyname): Return value returned by addservbyX:
55369         (readdservbyport): Likewise.
55370         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
55371         (addhstbyX): Return value returned by cache_addhst.
55372         (readdhstbyname): Return value returned by addhstbyX.
55373         (readdhstbyaddr): Likewise.
55374         (readdhstbynamev6): Likewise.
55375         (readdhstbyaddrv6): Likewise.
55376         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
55377         (readdinitgroups): Return value returned by addinitgroupsX.
55378         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
55379         (prune_cache): Keep track of timeout value of re-added entries.
55380         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
55381         * nscd/nscd.h: Adjust prototypes of readd* functions.
55383 2011-02-04  Roland McGrath  <roland@redhat.com>
55385         * nis/nis_server.c (nis_servstate): Use the right name for 0.
55386         (nis_stats): Likewise.
55387         * nis/nis_modify.c (nis_modify): Likewise.
55388         * nis/nis_remove.c (nis_remove): Likewise.
55389         * nis/nis_add.c (nis_add): Likewise.
55391         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
55393         * posix/fnmatch_loop.c: Add some consts.
55395         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
55397 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
55399         [BZ #12460]
55400         * config.make.in (config-cflags-novzeroupper): Define.
55401         * configure.in: Substitute libc_cv_cc_novzeroupper.
55402         * elf/Makefile (AVX-CFLAGS): Define.
55403         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
55404         (CFLAGS-tst-auditmod4a.c): Likewise.
55405         (CFLAGS-tst-auditmod4b.c): Likewise.
55406         (CFLAGS-tst-auditmod6b.c): Likewise.
55407         (CFLAGS-tst-auditmod6c.c): Likewise.
55408         (CFLAGS-tst-auditmod7b.c): Likewise.
55409         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
55411 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
55413         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
55414         function to the callback.
55415         Patch partly by Jiri Olsa <jolsa@redhat.com>.
55417 2011-02-02  Andreas Schwab  <schwab@redhat.com>
55419         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
55420         of errno.
55422 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
55424         [BZ #11724]
55425         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
55426         of constructors.
55427         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
55428         of destructors.
55429         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
55431         [BZ #11724]
55432         * elf/Makefile: Add rules to build and run new test.
55433         * elf/tst-initorder.c: New file.
55434         * elf/tst-initorder.exp: New file.
55435         * elf/tst-initordera1.c: New file.
55436         * elf/tst-initordera2.c: New file.
55437         * elf/tst-initordera3.c: New file.
55438         * elf/tst-initordera4.c: New file.
55439         * elf/tst-initorderb1.c: New file.
55440         * elf/tst-initorderb2.c: New file.
55441         * elf/tst-order-a1.c: New file.
55442         * elf/tst-order-a2.c: New file.
55443         * elf/tst-order-a3.c: New file.
55444         * elf/tst-order-a4.c: New file.
55445         * elf/tst-order-b1.c: New file.
55446         * elf/tst-order-b2.c: New file.
55447         * elf/tst-order-main.c: New file.
55448         New test case by George Gensure <werkt0@gmail.com>.
55450 2010-10-01  Andreas Schwab  <schwab@redhat.com>
55452         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
55453         decoding ACE if AI_CANONIDN.
55455 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
55457         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
55459 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
55461         * version.h (RELEASE): Bump for 2.13 release.
55462         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
55464         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
55466         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
55467         MADV_NOHUGEPAGE.
55468         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
55469         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
55470         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
55471         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
55472         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
55473         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55475         * posix/getconf.c: Update copyright year.
55476         * catgets/gencat.c: Likewise.
55477         * csu/version.c: Likewise.
55478         * debug/catchsegv.sh: Likewise.
55479         * debug/xtrace.sh: Likewise.
55480         * elf/ldconfig.c: Likewise.
55481         * elf/ldd.bash.in: Likewise.
55482         * elf/sprof.c (print_version): Likewise.
55483         * iconv/iconv_prog.c: Likewise.
55484         * iconv/iconvconfig.c: Likewise.
55485         * locale/programs/locale.c: Likewise.
55486         * locale/programs/localedef.c: Likewise.
55487         * malloc/memusage.sh: Likewise.
55488         * malloc/mtrace.pl: Likewise.
55489         * nscd/nscd.c (print_version): Likewise.
55490         * nss/getent.c: Likewise.
55492         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
55493         PF_CAIF, and PF_ALG.
55494         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
55496 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
55498         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
55499         (modules-names): Use them.
55500         (ifunc-test-modules, ifunc-pie-tests): Define.
55501         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
55502         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
55503         (test-extras): Likewise.
55504         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
55505         $(compile-command.c).
55506         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
55507         (all-built-dso): Define.
55508         (check-textrel.out, check-execstack.out): Depend on it.
55510         * configure.in: Don't override --enable-multi-arch.
55512 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
55514         [BZ #6812]
55515         * nscd/hstcache.c (tryagain): Define.
55516         (cache_addhst): Return tryagain not notfound for temporary errors.
55517         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
55518         failed.
55520 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
55522         [BZ #10563]
55523         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
55524         to make the syscall.
55525         * sysdeps/unix/sysv/linux/setgroups.c: New file.
55527         [BZ #12378]
55528         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
55529         and fall back to matching as normal character if the string ends before
55530         the matching ']' is found.  This is what POSIX requires.
55531         * posix/testfnm.c: Adjust test result.
55532         * posix/globtest.sh: Adjust test result.  Add new test.
55533         * posix/tst-fnmatch.input: Likewise.
55534         * posix/tst-fnmatch2.c: Add new test.
55536 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
55538         * elf/Makefile (check-execstack): Revert last change.  Depend on
55539         check-execstack.h.
55540         (check-execstack.h): New target.
55541         (generated): Add check-execstack.h.
55542         * elf/check-execstack.c: Include "check-execstack.h".
55543         (main): Revert last change.
55544         (handle_file): Return zero if GNU_STACK is absent and
55545         DEFAULT_STACK_PERMS doesn't include PF_X.
55547 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
55549         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
55550         in child fails because the descriptor is already closed.
55551         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
55552         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
55553         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
55555         [BZ #12397]
55556         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
55557         syscall.
55559         [BZ #10484]
55560         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
55561         temporary buffer used to handle multi lookups locally.
55562         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
55564 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55566         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
55567         loader is ld.so.
55569 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
55571         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
55572         alignment for SSE2.
55574 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
55576         [BZ #12394]
55577         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
55578         characters.  When rounding increased number of integer digits recompute
55579         number of groups.
55580         * stdio-common/tst-grouping.c: New file.
55581         * stdio-common/Makefile: Add rules to build and run tst-grouping.
55583 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
55585         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
55586         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
55588         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
55589         void.
55590         * bits/select.h: Likewise.
55592 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
55594         * po/ja.po: Update from translation team.
55596 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
55598         [BZ #11155]
55599         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
55600         implementation just like for lxstat, fxstatat, et al.
55602 2010-12-27  Jim Meyering  <meyering@redhat.com>
55604         [BZ #12348]
55605         * posix/regexec.c (build_trtable): Return failure indication upon
55606         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
55608 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
55610         [BZ #12201]
55611         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
55612         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
55613         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
55614         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
55616         [BZ #12207]
55617         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
55619         [BZ #12204]
55620         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
55621         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
55623 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
55625         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
55626         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
55627         script has SORT_BY_INIT_PRIORITY.
55628         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
55629         NO_CTORS_DTORS_SECTIONS is defined.
55630         * elf/soinit.c: Likewise.
55631         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
55632         NO_CTORS_DTORS_SECTIONS is defined.
55633         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
55634         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
55635         * sysdeps/sh/init-first.c: Likewise.
55636         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
55638 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
55640         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
55641         always use the slow path.
55643 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
55645         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
55646         similar rule which adds the sysdep directories to the header search in
55647         order to pick up the correct platform stackinfo.h.
55648         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
55649         perform test if it is, otherwise return successfully without testing.
55650         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
55651         DEFAULT_STACK_PERMS define in stackinfo.h.
55652         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
55653         defined in stackinfo.h.
55654         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
55655         DEFAULT_STACK_PERMS defined in stackinfo.h.
55656         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
55657         * sysdeps/ia64/stackinfo.h: Likewise.
55658         * sysdeps/s390/stackinfo.h: Likewise.
55659         * sysdeps/sh/stackinfo.h: Likewise.
55660         * sysdeps/sparc/stackinfo.h: Likewise.
55661         * sysdeps/x86_64/stackinfo.h: Likewise.
55662         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
55663         PF_X for powerpc64.  Retain PF_X for powerpc32.
55665 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
55667         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
55668         accurately.
55669         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
55670         GETDENTS_64BIT_ALIGNED.
55672 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
55674         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
55676 2010-12-10  Andreas Schwab  <schwab@redhat.com>
55678         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
55679         _GNU_SOURCE.
55681         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
55682         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
55683         Remove __restrict.
55684         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
55685         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
55687 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
55689         [BZ #11655]
55690         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
55691         are initialized.
55693 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
55695         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
55697 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
55699         * po/it.po: Update from translation team.
55701 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
55703         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
55704         unused codes.
55706 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
55708         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
55710 2010-11-24  Andreas Schwab  <schwab@redhat.com>
55712         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
55713         specially.
55714         (gaih_getanswer_slice): Likewise.
55716 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
55718         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
55720 2010-05-31  Petr Baudis  <pasky@suse.cz>
55722         [BZ #11149]
55723         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
55724         silently even in the chroot mode.
55726 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
55728         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
55729         last patch a bit.  Pretty printing
55731 2010-05-31  Petr Baudis <pasky@suse.cz>
55733         [BZ #10085]
55734         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
55735         initialization of skip_initgroups_dyn.
55737 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
55739         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
55740         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
55742 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
55744         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
55746 2010-11-11  Andreas Schwab  <schwab@redhat.com>
55748         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
55749         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
55750         (tst-fnmatch-ENV): Set MALLOC_TRACE.
55751         ($(objpfx)tst-fnmatch-mem): New rule.
55752         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
55753         * posix/tst-fnmatch.c (main): Call mtrace.
55755 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
55757         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55758         Support Intel processor model 6 and model 0x2c.
55760 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
55762         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
55763           signed comparison.
55765 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
55767         [BZ #12205]
55768         * string/test-strncasecmp.c (check_result): New function.
55769         (do_one_test): Use it.
55770         (check1): New function.
55771         (test_main): Use it.
55772         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
55773         Support strcasecmp and strncasecmp.
55775 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
55777         [BZ #12194]
55778         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
55779         * sysdeps/x86_64/bits/byteswap.h: Likewise.
55781 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
55783         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
55784         IFUNC support.
55785         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
55786         memset-x86-64.
55787         * sysdeps/x86_64/multiarch/bzero.S: New file.
55788         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
55789         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
55790         * sysdeps/x86_64/multiarch/memset.S: New file.
55791         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
55792         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55793         Set bit_Prefer_SSE_for_memop for Intel processors.
55794         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
55795         Define.
55796         (index_Prefer_SSE_for_memop): Define.
55797         (HAS_PREFER_SSE_FOR_MEMOP): Define.
55799 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
55801         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
55802         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
55804 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
55806         [BZ #12191]
55807         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55808         (__x86_64_raw_data_cache_size_half): Likewise.
55809         (__x86_64_raw_shared_cache_size): Likewise.
55810         (__x86_64_raw_shared_cache_size_half): Likewise.
55812         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
55813         (__x86_64_raw_data_cache_size_half): Likewise.
55814         (__x86_64_raw_shared_cache_size): Likewise.
55815         (__x86_64_raw_shared_cache_size_half): Likewise.
55816         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
55817         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
55818         and __x86_64_raw_shared_cache_size_half.  Round
55819         __x86_64_data_cache_size_half, __x86_64_data_cache_size
55820         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
55821         to multiple of 256 bytes.
55823 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
55825         [BZ #12167]
55826         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
55827         of inacessible symlinks.  Verify result of symlink before returning it.
55828         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
55829         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
55831 2010-10-28  Erich Ritz  <erichritz@gmail.com>
55833         * math/math.h (isinf): Fix typo in comment.
55835 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
55837         * po/da.po: Update from translation team.
55839 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
55841         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
55842         is added to the list.
55844 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55845             Ulrich Drepper  <drepper@gmail.com>
55847         * elf/dl-object.c (_dl_new_object): Don't append the new object to
55848         the global list here.  Move code to...
55849         (_dl_add_to_namespace_list): ...here.  New function.
55850         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
55851         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
55852         * elf/dl-load.c (lose): Don't remove the element from the list.
55853         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
55854         (_dl_map_object): Likewise.
55856 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
55858         [BZ #12159]
55859         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
55860         into all bytes of SSE register.
55861         Patch by Richard Li <richardpku@gmail.com>.
55863 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
55865         [BZ #12140]
55866         * malloc/malloc.c (_int_free): Fill correct number of bytes when
55867         perturbing.
55869 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
55871         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
55872         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
55873         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
55874         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
55875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
55876         submachine.
55877         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
55879 2010-10-22  Andreas Schwab  <schwab@redhat.com>
55881         * include/dlfcn.h (__RTLD_SECURE): Define.
55882         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
55883         mode & __RTLD_SECURE instead.
55884         (open_path): Rename preloaded parameter to secure.
55885         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
55886         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
55887         * elf/dl-deps.c (openaux): Likewise.
55888         * elf/rtld.c (struct map_args): Remove is_preloaded.
55889         (map_doit): Don't use it.
55890         (dl_main): Likewise.
55891         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
55892         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
55894 2010-09-09  Andreas Schwab  <schwab@redhat.com>
55896         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
55897         (sysd-rules-targets): Remove duplicates.
55898         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
55899         rtld-%.$o dependency.
55901 2010-10-18  Andreas Schwab  <schwab@redhat.com>
55903         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
55904         _dl_map_object do it.
55906 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
55908         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
55909         fast fma builtins, define the macros in the C99 standard.
55910         (FP_FAST_FMAF): Likewise.
55911         (FP_FAST_FMAL): Likewise.
55912         * sysdeps/x86_64/bits/mathdef.h: Likewise.
55914         * bits/mathdef.h: Update copyright year.
55915         * sysdeps/powerpc/bits/mathdef.h: Likewise.
55917 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
55919         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
55920         builtins, define the macros in the C99 standard.
55921         (FP_FAST_FMAF): Likewise.
55922         (FP_FAST_FMAL): Likewise.
55923         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
55924         multiply/add.
55925         (FP_FAST_FMAF): Likewise.
55927 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
55929         [BZ #3268]
55930         * math/libm-test.inc (fma_test): Some new testcases.
55931         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
55932         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
55933         y and infinite z.  Do multiplication by C already in long double.
55934         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
55935         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
55936         y and infinite z.  Do bitwise or of inexact bit into u.d.
55937         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
55938         * sysdeps/i386/fpu/s_fmaf.S: Removed.
55939         * sysdeps/i386/fpu/s_fma.S: Removed.
55940         * sysdeps/i386/fpu/s_fmal.S: Removed.
55942 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
55944         [BZ #3268]
55945         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
55946         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
55947         computation is not scheduled after fetestexcept.  Fix value
55948         of minimum denormal long double.
55950 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
55952         [BZ #3268]
55953         * math/libm-test.inc (fma_test): Add some more tests.
55954         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
55955         correctly.
55957 2010-10-15  Andreas Schwab  <schwab@redhat.com>
55959         * scripts/data/localplt-s390-linux-gnu.data: New file.
55960         * scripts/data/localplt-s390x-linux-gnu.data: New file.
55962 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
55964         [BZ #3268]
55965         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
55966         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
55967         instead of dbl-64.
55968         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
55969         inlines.
55970         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
55971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
55972         if one of x and y is very large and the other is subnormal.
55973         * sysdeps/s390/fpu/s_fmaf.c: New file.
55974         * sysdeps/s390/fpu/s_fma.c: New file.
55975         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
55976         * sysdeps/powerpc/fpu/s_fma.S: New file.
55977         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
55978         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
55979         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
55981 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
55983         [BZ #3268]
55984         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
55985         fma tests.
55986         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
55987         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
55988         * sysdeps/i386/i686/multiarch/s_fma.c: Include
55989         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
55990         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
55991         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
55992         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
55994 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
55996         [BZ #12078]
55997         * posix/regcomp.c (parse_branch): One more memory leak plugged.
55998         * posix/bug-regex31.input: Add test case.
56000 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56002         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
56003         * posix/bug-regex31.input: New file.
56005         [BZ #12078]
56006         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
56007         (parse_sub_exp): Fix last change, use postorder.
56009         * posix/bug-regex31.c: New file.
56010         * posix/Makefile: Add rules to build and run bug-regex31.
56012         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
56014         [BZ #12078]
56015         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
56017         [BZ #12108]
56018         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
56019         to have entries in sys_siglist.
56021         [BZ #12093]
56022         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
56023         be NULL.
56025 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
56027         [BZ #3268]
56028         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
56029         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
56030         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
56031         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
56032         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
56033         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
56034         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
56035         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
56036         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
56037         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
56038         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
56039         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
56040         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
56041         * math/ftestexcept.c (fetestexcept): Likewise.
56042         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
56043         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
56044         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
56045         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
56046         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
56047         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
56048         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
56050 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
56052         [BZ #12107]
56053         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
56054         newline.
56056 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
56058         * string/bug-strstr1.c: New file.
56059         * string/Makefile: Add rules to build and run bug-strstr1.
56061 2010-10-05  Eric Blake  <eblake@redhat.com>
56063         [BZ #12092]
56064         * string/str-two-way.h (two_way_long_needle): Always clear memory
56065         when skipping input due to the shift table.
56067 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
56069         [BZ #12005]
56070         * malloc/mcheck.c: Handle large requests.
56072         [BZ #12077]
56073         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
56074         for strncmp and strncasecmp.
56075         * string/stratcliff.c: Add tests for strcmp and strncmp.
56076         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
56078 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
56080         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
56081         __set_fpscr.
56083 2010-09-30  Andreas Jaeger  <aj@suse.de>
56085         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
56086         (CGROUP_SUPER_MAGIC): Define.
56087         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56088         Handle btrfs and cgroup file systems.
56089         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
56090         Likewise.
56092 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
56094         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
56095         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
56097 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56099         [BZ #12067]
56100         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
56101         trying to locate the ELF header.
56103 2010-09-27  Andreas Schwab  <schwab@redhat.com>
56105         [BZ #11611]
56106         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
56107         Mask out sign-bit copies when constructing f_fsid.
56109 2010-09-24  Petr Baudis <pasky@suse.cz>
56111         * debug/stack_chk_fail_local.c: Add missing licence exception.
56112         * debug/warning-nop.c: Likewise.
56114 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
56116         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
56117         implementing getdents64 using getdents syscall, set d_type if
56118         __ASSUME_GETDENTS32_D_TYPE.
56120 2010-09-16  Andreas Schwab  <schwab@redhat.com>
56122         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
56123         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
56125 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
56127         [BZ #12037]
56128         * posix/unistd.h: Undo change of feature selection for ftruncate from
56129         2010-01-11.
56131 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
56133         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
56134         detection.
56136 2010-09-20  Andreas Schwab  <schwab@redhat.com>
56138         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
56139         fanotify_mark.
56140         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56142 2010-09-14  Andreas Schwab  <schwab@redhat.com>
56144         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
56145         variables after CHECK_SP call.
56146         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
56148 2010-09-13  Andreas Schwab  <schwab@redhat.com>
56149             Ulrich Drepper  <drepper@redhat.com>
56151         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
56152         re-relocationg ld.so.
56153         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
56154         _dl_init_paths call.
56155         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
56156         here anymore.
56158 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
56160         * resolv/res_init.c (__res_vinit): Count the default server we added.
56162 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
56163             Ulrich Drepper  <drepper@redhat.com>
56165         [BZ #11968]
56166         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
56167         (____longjmp_chk): Use %ebx for saving value across system call.
56168         Add unwind info.
56170 2010-09-06  Andreas Schwab  <schwab@redhat.com>
56172         * manual/Makefile: Don't mix pattern rules with normal rules.
56174 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
56176         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
56177         operation.
56178         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
56179         * libio/iofopncook.c (_IO_cookie_init): Likewise.
56180         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
56181         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
56182         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
56183         Likewise.
56185 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
56187         [BZ #11979]
56188         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
56189         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
56191 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
56193         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
56194         * sysdeps/x86_64/addmul_1.S: Likewise.
56195         * sysdeps/x86_64/lshift.S: Likewise.
56196         * sysdeps/x86_64/mul_1.S: Likewise.
56197         * sysdeps/x86_64/rshift.S: Likewise.
56198         * sysdeps/x86_64/sub_n.S: Likewise.
56199         * sysdeps/x86_64/submul_1.S: Likewise.
56201 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56203         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
56204         Define __sched_param instead of SCHED_* and sched_param when
56205         <bits/sched.h> is included with __need_schedparam defined.
56206         * bits/sched.h [__need_schedparam]
56207         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
56208         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
56209         (__defined_schedparam): Define to 1.
56210         (__sched_param): New structure, identical to sched_param.
56211         (__need_schedparam): Undefine.
56213 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
56215         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
56216         (epoll_create1): Declare.
56218         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
56220 2010-08-31  Andreas Schwab  <schwab@redhat.com>
56222         [BZ #7066]
56223         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
56224         shifting retval into place.
56226 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
56228         * nis/rpcsvc/nis.h: Update copyright notice.
56229         * nis/rpcsvc/nis.x: Likewise.
56230         * nis/rpcsvc/nis_callback.h: Likewise.
56231         * nis/rpcsvc/nis_callback.x: Likewise.
56232         * nis/rpcsvc/nis_object.x: Likewise.
56233         * nis/rpcsvc/nis_tags.h: Likewise.
56234         * nis/rpcsvc/yp.h: Likewise.
56235         * nis/rpcsvc/yp.x: Likewise.
56236         * nis/rpcsvc/ypupd.h: Likewise.
56237         * nis/yp_xdr.c: Likewise.
56238         * nis/ypupdate_xdr.c: Likewise.
56240         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
56241         mainly the body of pmap_getport.  Add parameters to specify timeouts.
56242         (pmap_getport): Use __libc_rpc_getport.
56243         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
56244         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
56245         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
56247 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
56249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
56250         fanotify_mark.
56252 2010-08-27  Roland McGrath  <roland@redhat.com>
56254         * sysdeps/i386/i686/multiarch/Makefile
56255         (CFLAGS-varshift.c): New variable.
56257 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
56259         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
56260         * sysdeps/i386/i686/multiarch/varshift.c: New file.
56262         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
56264         * sysdeps/x86_64/strlen.S: Minimal code improvement.
56266 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
56268         * sysdeps/x86_64/strlen.S: Unroll the loop.
56269         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56270         strlen-sse2 strlen-sse2-bsf.
56271         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
56272         __strlen_no_bsf if bit_Slow_BSF is set.
56273         (__strlen_sse42): Removed.
56274         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
56275         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
56277 2010-08-25  Roland McGrath  <roland@redhat.com>
56279         * sysdeps/x86_64/multiarch/varshift.S: File removed.
56280         * sysdeps/x86_64/multiarch/varshift.c: New file.
56281         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
56282         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
56283         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
56284         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
56286 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
56288         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56289         strlen-sse2 strlen-sse2-bsf.
56290         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
56291         __strlen_sse2_bsf if bit_Slow_BSF is unset.
56292         (__strlen_sse2): Removed.
56293         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
56294         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
56295         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
56296         bit_Slow_BSF for Atom.
56297         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
56298         (index_Slow_BSF): Define.
56299         (HAS_SLOW_BSF): Define.
56301 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
56303         [BZ #10851]
56304         * resolv/res_init.c (__res_vinit): When no server address at all
56305         is given default to loopback.
56307 2010-08-24  Roland McGrath  <roland@redhat.com>
56309         * configure.in: Remove config-name.h generation.
56310         * configure: Regenerated.
56311         * config-name.in: File removed.
56312         * scripts/config-uname.sh: New file.
56313         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
56314         ($(objdir)config-name.h): New target.
56316         * sunrpc/rpc_parse.h: Avoid nested comment.
56318 2010-08-24  Richard Henderson  <rth@redhat.com>
56319             Ulrich Drepper  <drepper@redhat.com>
56320             H.J. Lu  <hongjiu.lu@intel.com>
56322         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
56323         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
56324         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
56325         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
56326         _mm_alignr_epi8 with _mm_loadu_si128.
56327         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
56328         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
56329         (__m128i_shift_right): Removed.
56330         * sysdeps/i386/i686/multiarch/varshift.h: New file.
56331         * sysdeps/i386/i686/multiarch/varshift.S: New file.
56332         * sysdeps/x86_64/multiarch/varshift.h: New file.
56333         * sysdeps/x86_64/multiarch/varshift.S: New file.
56335 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
56337         * configure.in: Move assembler checks to before sysdep dir checking.
56339 2010-08-20  Petr Baudis  <pasky@suse.cz>
56341         * LICENSES: Sync the sunrpc license.
56343 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
56345         * sunrpc/auth_des.c: Update copyright notice once again.
56346         * sunrpc/auth_none.c: Likewise.
56347         * sunrpc/auth_unix.c: Likewise.
56348         * sunrpc/authdes_prot.c: Likewise.
56349         * sunrpc/authuxprot.c: Likewise.
56350         * sunrpc/bindrsvprt.c: Likewise.
56351         * sunrpc/clnt_gen.c: Likewise.
56352         * sunrpc/clnt_perr.c: Likewise.
56353         * sunrpc/clnt_raw.c: Likewise.
56354         * sunrpc/clnt_simp.c: Likewise.
56355         * sunrpc/clnt_tcp.c: Likewise.
56356         * sunrpc/clnt_udp.c: Likewise.
56357         * sunrpc/clnt_unix.c: Likewise.
56358         * sunrpc/des_crypt.c: Likewise.
56359         * sunrpc/des_soft.c: Likewise.
56360         * sunrpc/get_myaddr.c: Likewise.
56361         * sunrpc/getrpcport.c: Likewise.
56362         * sunrpc/key_call.c: Likewise.
56363         * sunrpc/key_prot.c: Likewise.
56364         * sunrpc/openchild.c: Likewise.
56365         * sunrpc/pm_getmaps.c: Likewise.
56366         * sunrpc/pm_getport.c: Likewise.
56367         * sunrpc/pmap_clnt.c: Likewise.
56368         * sunrpc/pmap_prot.c: Likewise.
56369         * sunrpc/pmap_prot2.c: Likewise.
56370         * sunrpc/pmap_rmt.c: Likewise.
56371         * sunrpc/rpc/auth.h: Likewise.
56372         * sunrpc/rpc/auth_unix.h: Likewise.
56373         * sunrpc/rpc/clnt.h: Likewise.
56374         * sunrpc/rpc/des_crypt.h: Likewise.
56375         * sunrpc/rpc/key_prot.h: Likewise.
56376         * sunrpc/rpc/netdb.h: Likewise.
56377         * sunrpc/rpc/pmap_clnt.h: Likewise.
56378         * sunrpc/rpc/pmap_prot.h: Likewise.
56379         * sunrpc/rpc/pmap_rmt.h: Likewise.
56380         * sunrpc/rpc/rpc.h: Likewise.
56381         * sunrpc/rpc/rpc_des.h: Likewise.
56382         * sunrpc/rpc/rpc_msg.h: Likewise.
56383         * sunrpc/rpc/svc.h: Likewise.
56384         * sunrpc/rpc/svc_auth.h: Likewise.
56385         * sunrpc/rpc/types.h: Likewise.
56386         * sunrpc/rpc/xdr.h: Likewise.
56387         * sunrpc/rpc_clntout.c: Likewise.
56388         * sunrpc/rpc_cmsg.c: Likewise.
56389         * sunrpc/rpc_common.c: Likewise.
56390         * sunrpc/rpc_cout.c: Likewise.
56391         * sunrpc/rpc_dtable.c: Likewise.
56392         * sunrpc/rpc_hout.c: Likewise.
56393         * sunrpc/rpc_main.c: Likewise.
56394         * sunrpc/rpc_parse.c: Likewise.
56395         * sunrpc/rpc_parse.h: Likewise.
56396         * sunrpc/rpc_prot.c: Likewise.
56397         * sunrpc/rpc_sample.c: Likewise.
56398         * sunrpc/rpc_scan.c: Likewise.
56399         * sunrpc/rpc_scan.h: Likewise.
56400         * sunrpc/rpc_svcout.c: Likewise.
56401         * sunrpc/rpc_tblout.c: Likewise.
56402         * sunrpc/rpc_util.c: Likewise.
56403         * sunrpc/rpc_util.h: Likewise.
56404         * sunrpc/rpcinfo.c: Likewise.
56405         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
56406         * sunrpc/rpcsvc/key_prot.x: Likewise.
56407         * sunrpc/rpcsvc/klm_prot.x: Likewise.
56408         * sunrpc/rpcsvc/mount.x: Likewise.
56409         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
56410         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
56411         * sunrpc/rpcsvc/rex.x: Likewise.
56412         * sunrpc/rpcsvc/rstat.x: Likewise.
56413         * sunrpc/rpcsvc/rusers.x: Likewise.
56414         * sunrpc/rpcsvc/sm_inter.x: Likewise.
56415         * sunrpc/rpcsvc/spray.x: Likewise.
56416         * sunrpc/rpcsvc/yppasswd.x: Likewise.
56417         * sunrpc/rtime.c: Likewise.
56418         * sunrpc/svc.c: Likewise.
56419         * sunrpc/svc_auth.c: Likewise.
56420         * sunrpc/svc_authux.c: Likewise.
56421         * sunrpc/svc_raw.c: Likewise.
56422         * sunrpc/svc_run.c: Likewise.
56423         * sunrpc/svc_simple.c: Likewise.
56424         * sunrpc/svc_tcp.c: Likewise.
56425         * sunrpc/svc_udp.c: Likewise.
56426         * sunrpc/svc_unix.c: Likewise.
56427         * sunrpc/svcauth_des.c: Likewise.
56428         * sunrpc/xcrypt.c: Likewise.
56429         * sunrpc/xdr.c: Likewise.
56430         * sunrpc/xdr_array.c: Likewise.
56431         * sunrpc/xdr_float.c: Likewise.
56432         * sunrpc/xdr_mem.c: Likewise.
56433         * sunrpc/xdr_rec.c: Likewise.
56434         * sunrpc/xdr_ref.c: Likewise.
56435         * sunrpc/xdr_sizeof.c: Likewise.
56436         * sunrpc/xdr_stdio.c: Likewise.
56438         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
56439         handling.
56441 2010-08-19  Andreas Schwab  <schwab@redhat.com>
56443         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
56445 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
56447         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
56448         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
56449         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
56450         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
56451         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
56452         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
56453         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
56454         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
56455         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
56456         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
56457         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
56458         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
56459         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
56460         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
56462 2010-07-26  Anton Blanchard  <anton@samba.org>
56464         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
56465         * malloc/arena.c (heap_trim): Likewise.
56467 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
56469         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
56470         here.  Not...
56471         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
56472         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
56474 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
56476         * sysdeps/i386/elf/Makefile: New file.
56478 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56480         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
56481         from fanotify_init.
56482         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
56483         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56485 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
56487         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
56488         of strncasecmp_l.
56489         * sysdeps/multiarch/strcmp.S: Likewise.
56491 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
56493         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56494         strncase_l-nonascii.
56495         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56496         Add strncase_l-ssse3.
56497         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
56498         * sysdeps/x86_64/strcmp.S: Likewise.
56499         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
56500         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
56501         * sysdeps/x86_64/strncase.S: New file.
56502         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
56503         * sysdeps/x86_64/strncase_l.S: New file.
56504         * string/Makefile (strop-tests): Add strncasecmp.
56505         * string/test-strncasecmp.c: New file.
56507         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
56508         warning.
56510         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
56511         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
56513 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
56515         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
56517 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
56519         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
56520         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
56521         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
56523 2010-05-01  Alan Modra  <amodra@gmail.com>
56525         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
56526         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
56527         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
56528         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
56529         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
56530         tidying.  Don't tail-call __sigjmp_save for static lib.
56531         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
56532         save location.
56533         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
56534         (CALL_MCOUNT): Add eh info, and nop after bl.
56535         (TAIL_CALL_SYSCALL_ERROR): New macro.
56536         (PSEUDO_RET): Use it.
56537         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
56538         Correct save location of integer regs and cr.
56539         (_dl_profile_resolve): Correct cr save location.  Delete nops
56540         after bl when SHARED.  Reduce cfi size a little by better
56541         placement of cfi directives.
56542         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
56543         make a stack frame.  Instead use parm save area as a temp.
56544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
56545         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
56546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
56547         Don't make a stack frame for parent, use parm save area.
56548         Increase child stack frame to 112 bytes.  Don't save unused reg,
56549         and adjust reg usage.  Set up cfi on error recovery and
56550         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
56551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
56552         (__makecontext): Add dummy nop after jump to exit.
56553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
56554         Use correct parm save area and cr save, reduce stack frame.
56555         Correct cfi for possible PSEUDO_RET frame setup.
56556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
56557         Branch to local label emitted by PSEUDO_RET rather than
56558         __syscall_error.
56560 2010-08-12  Andreas Schwab  <schwab@redhat.com>
56562         [BZ #11904]
56563         * locale/programs/locale.c (print_assignment): New function.
56564         (show_locale_vars): Use it.
56566 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
56568         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
56569         field.
56570         (struct statfs64): Likewise.
56571         (_STATFS_F_FLAGS): Define.
56572         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
56573         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
56574         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
56575         (ST_VALID): Define locally.
56576         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
56577         __statvfs_getflags, use the provided value.
56578         * sysdeps/unix/sysv/linux/kernel-features.h: Define
56579         __ASSUME_STATFS_F_FLAGS.
56581         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
56583         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
56584         Add sys/fanotify.h.
56585         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
56586         fanotify_mask for GLIBC_2.13.
56587         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
56588         fanotify_init and fanotify_mark.
56589         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
56590         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
56592         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
56593         Add prlimit.
56594         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
56595         prlimit64 for GLIBC_2.13.
56596         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
56597         prlimit64.
56598         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
56599         syscall.
56600         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
56601         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
56602         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
56603         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
56604         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
56605         add prlimit alias.
56606         * sysdeps/unix/sysv/linux/prlimit.c: New file.
56608         [BZ #11903]
56609         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
56610         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
56612         * nss/Makefile: Add rules to build and run tst-nss-test1.
56613         * shlib-versions: Add entry for libnss_test1.
56614         * nss/nss_test1.c: New file.
56615         * nss/tst-nss-test1.c: New file.
56617         * nss/nsswitch.c (__nss_database_custom): Define new variable.
56618         (__nss_configure_lookup): Set appropriate entry in
56619         __nss_configure_lookup to true.
56620         * nss/nsswitch.h: Define enum with indeces of databases in
56621         databases and __nss_database_custom arrays.  Declare
56622         __nss_database_custom.
56623         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
56624         to avoid using nscd when custom rules are installed.
56625         * nss/getXXbyYY_r.c: Likewise.
56626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
56628         * nss/nss_files/files-parse.c: Whitespace fixes.
56630 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
56632         [BZ #11883]
56633         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
56634         * posix/fnmatch_loop.c: Likewise.
56636 2010-07-17  Andi Kleen  <ak@linux.intel.com>
56638         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
56639         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
56640         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
56641         * Versions.def [GLIBC_2.13]: Add.
56643 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
56645         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56646         Also fail if tpwd after pwuid call is NULL.
56648 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56650         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
56651         when converting to ms.
56653 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
56655         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
56656         EOPNOTSUPP errors with ENOTTY.
56657         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
56658         EOPNOTSUPP errors with ENOTTY.
56660 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
56662         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
56663         Add strcasecmp_l-ssse3.
56664         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
56665         strcasecmp.
56666         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
56667         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
56668         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
56670 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
56672         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
56674         * string/Makefile (strop-tests): Add strcasecmp.
56675         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
56676         strcasecmp_l-nonascii.
56677         (gen-as-const-headers): Add locale-defines.sym.
56678         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
56679         * sysdeps/x86_64/strcasecmp.S: New file.
56680         * sysdeps/x86_64/strcasecmp_l.S: New file.
56681         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
56682         * sysdeps/x86_64/locale-defines.sym: New file.
56683         * string/test-strcasecmp.c: New file.
56685         * string/test-strcasestr.c: Test both ends of the range of characters.
56686         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
56688 2010-07-29  Roland McGrath  <roland@redhat.com>
56690         [BZ #11856]
56691         * manual/locale.texi (Yes-or-No Questions): Fix example code.
56693 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
56695         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
56696         for ld.so.
56698 2010-07-27  Andreas Schwab  <schwab@redhat.com>
56700         * manual/memory.texi (Malloc Tunable Parameters): Document
56701         M_PERTURB.
56703 2010-07-26  Roland McGrath  <roland@redhat.com>
56705         [BZ #11840]
56706         * configure.in (-fgnu89-inline check): Set and substitute
56707         gnu89_inline, not libc_cv_gnu89_inline.
56708         * configure: Regenerated.
56709         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
56711 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
56713         * string/test-strnlen.c: New file.
56714         * string/Makefile (strop-tests): Add strnlen.
56715         * string/tester.c (test_strnlen): Add a few more test cases.
56716         * string/tst-strlen.c: Better error reporting.
56718         * sysdeps/x86_64/strnlen.S: New file.
56720 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
56722         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
56723         lower-latency instructions.
56725 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
56727         * string/test-strcasestr.c: New file.
56728         * string/test-strstr.c: New file.
56729         * string/Makefile (strop-tests): Add strstr and strcasestr.
56730         * string/str-two-way.h: Don't undefine MAX.
56731         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
56733 2010-07-21  Andreas Schwab  <schwab@redhat.com>
56735         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
56736         strcasestr-nonascii.
56737         (CFLAGS-strcasestr-nonascii.c): Define.
56738         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
56739         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
56740         Remove unused attribute.
56742 2010-07-20  Roland McGrath  <roland@redhat.com>
56744         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
56745         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
56746         ld.so.cache was broken.  With it, there is no way to disable dsocaps
56747         like LD_HWCAP_MASK can disable hwcaps.
56749 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56751         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
56753 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
56755         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
56756         call in strcasestr.
56757         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
56758         __strcasestr_sse42_nonascii.
56759         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
56760         strcasestr-nonascii.c.
56761         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
56763 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
56765         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
56766         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
56767         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
56768         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
56770 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
56772         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
56773         fcntl.
56775 2010-07-06  Andreas Schwab  <schwab@redhat.com>
56777         [BZ #11577]
56778         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
56779         dl_signal_cerror.
56781 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
56783         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
56784         _PC_PIPE_BUF using F_GETPIPE_SZ.
56786 2010-07-05  Roland McGrath  <roland@redhat.com>
56788         * manual/arith.texi (Rounding Functions): Fix rint description
56789         implicit in round description.
56791 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
56793         * elf/Makefile: Fix linking for a few tests to make recent linker
56794         happy.
56796 2010-06-30  Andreas Schwab  <schwab@redhat.com>
56798         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
56799         $(common-objpfx)libc_nonshared.a.
56801 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
56803         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
56804         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
56805         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56806         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56807         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
56808         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
56809         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56810         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
56812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
56813         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
56814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
56815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
56816         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
56817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
56818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
56819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
56820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
56821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
56822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
56823         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
56824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
56825         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
56826         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
56827         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
56828         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
56829         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
56830         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
56831         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
56832         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
56833         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
56834         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
56835         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
56836         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
56837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
56838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
56839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
56840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
56841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
56842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
56843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
56844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
56845         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
56846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
56847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
56848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
56849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
56850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
56852 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
56854         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
56855         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
56856         * string/memmove.c (memmove): Renamed to ...
56857         (MEMMOVE): ...this.  Default to memmove.
56858         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
56859         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
56860         (END_CHK): Define.
56861         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
56862         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
56863         mempcpy-ssse3-back memmove-ssse3-back.
56864         * sysdeps/x86_64/multiarch/bcopy.S: New file .
56865         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
56866         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
56867         * sysdeps/x86_64/multiarch/memcpy.S: New file.
56868         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
56869         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
56870         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
56871         * sysdeps/x86_64/multiarch/memmove.c: New file.
56872         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
56873         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
56874         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
56875         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
56876         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
56877         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
56878         Define.
56879         (index_Fast_Copy_Backward): Define.
56880         (HAS_ARCH_FEATURE): Define.
56881         (HAS_FAST_REP_STRING): Define.
56882         (HAS_FAST_COPY_BACKWARD): Define.
56884 2010-06-21  Andreas Schwab  <schwab@redhat.com>
56886         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
56887         Restore proper fallback handling.
56889 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
56891         [BZ #11701]
56892         * posix/group_member.c (__group_member): Correct checking loop.
56894         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
56895         OOM in getpwuid_r correctly.  Return error number when the caller
56896         should return, otherwise -1.
56897         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
56898         call returning > 0 value.
56899         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
56901 2010-06-07  Andreas Schwab  <schwab@redhat.com>
56903         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
56904         libc_nonshared.a from targets in modules-names.
56906 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
56908         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
56909         requires it.
56911 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
56913         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
56914         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
56915         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
56916         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
56918 2010-06-02  Andreas Schwab  <schwab@redhat.com>
56920         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
56922 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
56924         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
56925         and F_GETPIPE_SZ.
56926         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
56927         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
56928         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
56929         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
56930         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
56931         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
56933 2010-06-14  Roland McGrath  <roland@redhat.com>
56935         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
56937 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
56939         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
56940         __REDIRECT followed by __THROW.
56941         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
56942         * posix/getopt.h (getopt): Likewise.
56944 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
56946         * hurd/lookup-at.c (__file_name_lookup_at): Accept
56947         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
56948         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
56949         in AT_FLAGS.
56950         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
56951         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
56953 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
56955         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
56957 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
56959         [BZ #11640]
56960         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
56961         Properly check family and model.
56963 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
56965         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
56967 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
56969         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
56971 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
56973         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
56974         symbol reference.
56976 2010-05-19  Andreas Schwab  <schwab@redhat.com>
56978         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
56979         symbol reference.
56981 2010-05-21  Andreas Schwab  <schwab@redhat.com>
56983         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
56984         and internal_recvmmsg.
56985         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
56986         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
56987         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
56988         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
56990         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
56991         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
56992         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
56994 2010-05-20  Andreas Schwab  <schwab@redhat.com>
56996         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
56998 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
57000         POWER7 optimizations.
57001         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
57002         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
57004 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
57006         * version.h: Update for 2.13 development version.
57008 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
57010         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
57011         exceptions.  Return 0.
57013 2010-05-07  Roland McGrath  <roland@redhat.com>
57015         * elf/ldconfig.c (main): Add a const.
57017 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
57019         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
57020         (args_options): Add no-idn option.
57021         (ahosts_keys_int): Add idn_flags to ai_flags.
57022         (parse_option): Handle 'i' option to clear idn_flags.
57024         * malloc/malloc.c (_int_free): Possible race in the most recently
57025         added check.  Only act on the data if no current modification
57026         happened.
57028 See ChangeLog.17 for earlier changes.